* lib/target-supports.exp (add_options_for_tls): Prepend pthread
[official-gcc.git] / Makefile.in
blob8ffc313f157878e3822f8e41845447510a3ddf99
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
7 # Free Software Foundation
9 # This file is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 3 of the License, or
12 # (at your option) any later version.
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with this program; see the file COPYING3. If not see
21 # <http://www.gnu.org/licenses/>.
24 # First, test for a proper version of make, but only where one is required.
26 @if gcc
27 ifeq (,$(.VARIABLES)) # The variable .VARIABLES, new with 3.80, is never empty.
28 $(error GNU make version 3.80 or newer is required.)
29 endif
30 @endif gcc
32 # -------------------------------
33 # Standard Autoconf-set variables
34 # -------------------------------
35 VPATH=@srcdir@
37 build_alias=@build_noncanonical@
38 build_vendor=@build_vendor@
39 build_os=@build_os@
40 build=@build@
41 host_alias=@host_noncanonical@
42 host_vendor=@host_vendor@
43 host_os=@host_os@
44 host=@host@
45 target_alias=@target_noncanonical@
46 target_vendor=@target_vendor@
47 target_os=@target_os@
48 target=@target@
50 program_transform_name = @program_transform_name@
52 prefix = @prefix@
53 exec_prefix = @exec_prefix@
55 srcdir = @srcdir@
57 bindir = @bindir@
58 sbindir = @sbindir@
59 libexecdir = @libexecdir@
60 datadir = @datadir@
61 sysconfdir = @sysconfdir@
62 sharedstatedir = @sharedstatedir@
63 localstatedir = @localstatedir@
64 libdir = @libdir@
65 includedir = @includedir@
66 oldincludedir = @oldincludedir@
67 infodir = @infodir@
68 datarootdir = @datarootdir@
69 docdir = @docdir@
70 pdfdir = @pdfdir@
71 htmldir = @htmldir@
72 mandir = @mandir@
73 man1dir = $(mandir)/man1
74 man2dir = $(mandir)/man2
75 man3dir = $(mandir)/man3
76 man4dir = $(mandir)/man4
77 man5dir = $(mandir)/man5
78 man6dir = $(mandir)/man6
79 man7dir = $(mandir)/man7
80 man8dir = $(mandir)/man8
81 man9dir = $(mandir)/man9
83 INSTALL = @INSTALL@
84 INSTALL_PROGRAM = @INSTALL_PROGRAM@
85 INSTALL_SCRIPT = @INSTALL_SCRIPT@
86 INSTALL_DATA = @INSTALL_DATA@
87 LN = @LN@
88 LN_S = @LN_S@
89 MAINT = @MAINT@
90 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
91 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
93 # -------------------------------------------------
94 # Miscellaneous non-standard autoconf-set variables
95 # -------------------------------------------------
97 # The gcc driver likes to know the arguments it was configured with.
98 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
100 tooldir = @tooldir@
101 build_tooldir = @build_tooldir@
103 # This is the name of the environment variable used for the path to
104 # the libraries.
105 RPATH_ENVVAR = @RPATH_ENVVAR@
107 # On targets where RPATH_ENVVAR is PATH, a subdirectory of the GCC build path
108 # is used instead of the directory itself to avoid including built
109 # executables in PATH.
110 GCC_SHLIB_SUBDIR = @GCC_SHLIB_SUBDIR@
112 # Build programs are put under this directory.
113 BUILD_SUBDIR = @build_subdir@
114 # This is set by the configure script to the arguments to use when configuring
115 # directories built for the build system.
116 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
118 # Linker flags to use on the host, for stage1 or when not
119 # bootstrapping.
120 STAGE1_LDFLAGS = @stage1_ldflags@
122 # Libraries to use on the host, for stage1 or when not bootstrapping.
123 STAGE1_LIBS = @stage1_libs@
125 # Linker flags to use for stage2 and later.
126 POSTSTAGE1_LDFLAGS = @poststage1_ldflags@
128 # Libraries to use for stage2 and later.
129 POSTSTAGE1_LIBS = @poststage1_libs@
131 # This is the list of variables to export in the environment when
132 # configuring any subdirectory. It must also be exported whenever
133 # recursing into a build directory in case that directory's Makefile
134 # re-runs configure.
135 BASE_EXPORTS = \
136 FLEX="$(FLEX)"; export FLEX; \
137 LEX="$(LEX)"; export LEX; \
138 BISON="$(BISON)"; export BISON; \
139 YACC="$(YACC)"; export YACC; \
140 M4="$(M4)"; export M4; \
141 SED="$(SED)"; export SED; \
142 AWK="$(AWK)"; export AWK; \
143 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
145 # This is the list of variables to export in the environment when
146 # configuring subdirectories for the build system.
147 BUILD_EXPORTS = \
148 $(BASE_EXPORTS) \
149 AR="$(AR_FOR_BUILD)"; export AR; \
150 AS="$(AS_FOR_BUILD)"; export AS; \
151 CC="$(CC_FOR_BUILD)"; export CC; \
152 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
153 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
154 CXX="$(CXX_FOR_BUILD)"; export CXX; \
155 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
156 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
157 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
158 GOC="$(GOC_FOR_BUILD)"; export GOC; \
159 GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \
160 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
161 LD="$(LD_FOR_BUILD)"; export LD; \
162 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
163 NM="$(NM_FOR_BUILD)"; export NM; \
164 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
165 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
166 WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
168 # These variables must be set on the make command line for directories
169 # built for the build system to override those in BASE_FLAGS_TO_PASS.
170 EXTRA_BUILD_FLAGS = \
171 CFLAGS="$(CFLAGS_FOR_BUILD)" \
172 LDFLAGS="$(LDFLAGS_FOR_BUILD)"
174 # This is the list of directories to built for the host system.
175 SUBDIRS = @configdirs@
176 TARGET_CONFIGDIRS = @target_configdirs@
177 # This is set by the configure script to the arguments to use when configuring
178 # directories built for the host system.
179 HOST_CONFIGARGS = @host_configargs@
180 # Host programs are put under this directory, which is . except if building
181 # with srcdir=..
182 HOST_SUBDIR = @host_subdir@
183 # This is the list of variables to export in the environment when
184 # configuring subdirectories for the host system. We need to pass
185 # some to the GCC configure because of its hybrid host/target nature.
186 HOST_EXPORTS = \
187 $(BASE_EXPORTS) \
188 CC="$(CC)"; export CC; \
189 ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
190 CFLAGS="$(CFLAGS)"; export CFLAGS; \
191 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
192 CXX="$(CXX)"; export CXX; \
193 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
194 GCJ="$(GCJ)"; export GCJ; \
195 GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \
196 GOC="$(GOC)"; export GOC; \
197 AR="$(AR)"; export AR; \
198 AS="$(AS)"; export AS; \
199 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
200 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
201 LD="$(LD)"; export LD; \
202 LDFLAGS="$(STAGE1_LDFLAGS) $(LDFLAGS)"; export LDFLAGS; \
203 NM="$(NM)"; export NM; \
204 RANLIB="$(RANLIB)"; export RANLIB; \
205 WINDRES="$(WINDRES)"; export WINDRES; \
206 WINDMC="$(WINDMC)"; export WINDMC; \
207 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
208 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
209 READELF="$(READELF)"; export READELF; \
210 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
211 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
212 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
213 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
214 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
215 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
216 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
217 READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \
218 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
219 HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
220 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
221 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
222 ISLLIBS="$(HOST_ISLLIBS)"; export ISLLIBS; \
223 ISLINC="$(HOST_ISLINC)"; export ISLINC; \
224 LIBELFLIBS="$(HOST_LIBELFLIBS)" ; export LIBELFLIBS; \
225 LIBELFINC="$(HOST_LIBELFINC)" ; export LIBELFINC; \
226 @if gcc-bootstrap
227 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
228 @endif gcc-bootstrap
229 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
231 POSTSTAGE1_CXX_EXPORT = \
232 CXX='$(CXX)'; export CXX; \
233 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
234 @if target-libstdc++-v3-bootstrap
235 # Override the above if we're bootstrapping C++.
236 POSTSTAGE1_CXX_EXPORT = \
237 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xg++$(exeext) \
238 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
239 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
240 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
241 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
242 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
243 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$s/libstdc++-v3/libsupc++ \
244 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
245 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \
246 export CXX; \
247 CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
248 @endif target-libstdc++-v3-bootstrap
250 # Similar, for later GCC stages.
251 POSTSTAGE1_HOST_EXPORTS = \
252 $(HOST_EXPORTS) \
253 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
254 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
255 $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
256 CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
257 $(POSTSTAGE1_CXX_EXPORT) \
258 $(LTO_EXPORTS) \
259 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
260 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
261 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
263 # Target libraries are put under this directory:
264 TARGET_SUBDIR = @target_subdir@
265 # This is set by the configure script to the arguments to use when configuring
266 # directories built for the target.
267 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
268 # This is the list of variables to export in the environment when
269 # configuring subdirectories for the target system.
270 BASE_TARGET_EXPORTS = \
271 $(BASE_EXPORTS) \
272 AR="$(AR_FOR_TARGET)"; export AR; \
273 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
274 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
275 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
276 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
277 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
278 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
279 GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \
280 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
281 GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
282 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
283 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
284 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
285 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
286 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
287 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
288 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
289 READELF="$(READELF_FOR_TARGET)"; export READELF; \
290 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
291 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
292 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
293 @if gcc-bootstrap
294 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
295 @endif gcc-bootstrap
296 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
297 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
299 RAW_CXX_TARGET_EXPORTS = \
300 $(BASE_TARGET_EXPORTS) \
301 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
302 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
304 NORMAL_TARGET_EXPORTS = \
305 $(BASE_TARGET_EXPORTS) \
306 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
308 # Where to find GMP
309 HOST_GMPLIBS = @gmplibs@
310 HOST_GMPINC = @gmpinc@
312 # Where to find ISL
313 HOST_ISLLIBS = @isllibs@
314 HOST_ISLINC = @islinc@
316 # Where to find libelf
317 HOST_LIBELFLIBS = @libelflibs@
318 HOST_LIBELFINC = @libelfinc@
320 EXTRA_CONFIGARGS_LIBJAVA = @EXTRA_CONFIGARGS_LIBJAVA@
322 # ----------------------------------------------
323 # Programs producing files for the BUILD machine
324 # ----------------------------------------------
326 SHELL = @SHELL@
328 # pwd command to use. Allow user to override default by setting PWDCMD in
329 # the environment to account for automounters. The make variable must not
330 # be called PWDCMD, otherwise the value set here is passed to make
331 # subprocesses and overrides the setting from the user's environment.
332 # Don't use PWD since it is a common shell environment variable and we
333 # don't want to corrupt it.
334 PWD_COMMAND = $${PWDCMD-pwd}
336 # compilers to use to create programs which must be run in the build
337 # environment.
338 AR_FOR_BUILD = @AR_FOR_BUILD@
339 AS_FOR_BUILD = @AS_FOR_BUILD@
340 CC_FOR_BUILD = @CC_FOR_BUILD@
341 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
342 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
343 CXX_FOR_BUILD = @CXX_FOR_BUILD@
344 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
345 GCJ_FOR_BUILD = @GCJ_FOR_BUILD@
346 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
347 GOC_FOR_BUILD = @GOC_FOR_BUILD@
348 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
349 LD_FOR_BUILD = @LD_FOR_BUILD@
350 NM_FOR_BUILD = @NM_FOR_BUILD@
351 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
352 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
353 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
355 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
356 # here so that they can be overridden by Makefile fragments.
357 BUILD_PREFIX = @BUILD_PREFIX@
358 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
360 # Flags to pass to stage2 and later makes. They are defined
361 # here so that they can be overridden by Makefile fragments.
362 BOOT_CFLAGS= -g -O2
363 BOOT_LDFLAGS=
364 BOOT_ADAFLAGS= -gnatpg
366 AWK = @AWK@
367 SED = @SED@
368 BISON = @BISON@
369 YACC = @YACC@
370 FLEX = @FLEX@
371 LEX = @LEX@
372 M4 = @M4@
373 MAKEINFO = @MAKEINFO@
374 EXPECT = @EXPECT@
375 RUNTEST = @RUNTEST@
377 # This just becomes part of the MAKEINFO definition passed down to
378 # sub-makes. It lets flags be given on the command line while still
379 # using the makeinfo from the object tree.
380 # (Default to avoid splitting info files by setting the threshold high.)
381 MAKEINFOFLAGS = --split-size=5000000
383 # ---------------------------------------------
384 # Programs producing files for the HOST machine
385 # ---------------------------------------------
387 AS = @AS@
388 AR = @AR@
389 AR_FLAGS = rc
390 CC = @CC@
391 CXX = @CXX@
392 DLLTOOL = @DLLTOOL@
393 LD = @LD@
394 LIPO = @LIPO@
395 NM = @NM@
396 OBJDUMP = @OBJDUMP@
397 RANLIB = @RANLIB@
398 READELF = @READELF@
399 STRIP = @STRIP@
400 WINDRES = @WINDRES@
401 WINDMC = @WINDMC@
403 GNATBIND = @GNATBIND@
404 GNATMAKE = @GNATMAKE@
406 CFLAGS = @CFLAGS@
407 LDFLAGS = @LDFLAGS@
408 LIBCFLAGS = $(CFLAGS)
409 CXXFLAGS = @CXXFLAGS@
410 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
411 GOCFLAGS = $(CFLAGS)
413 TFLAGS =
415 # Defaults for all stages; some are overridden below.
417 STAGE_CFLAGS = $(BOOT_CFLAGS)
418 STAGE_TFLAGS = $(TFLAGS)
419 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
422 # Defaults for stage 1; some are overridden below.
423 STAGE1_CFLAGS = $(STAGE_CFLAGS)
424 STAGE1_CXXFLAGS = $(CXXFLAGS)
425 @if target-libstdc++-v3-bootstrap
426 # Override the above if we're bootstrapping C++.
427 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
428 @endif target-libstdc++-v3-bootstrap
429 STAGE1_TFLAGS = $(STAGE_TFLAGS)
430 STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
432 # Defaults for stage 2; some are overridden below.
433 STAGE2_CFLAGS = $(STAGE_CFLAGS)
434 STAGE2_CXXFLAGS = $(CXXFLAGS)
435 @if target-libstdc++-v3-bootstrap
436 # Override the above if we're bootstrapping C++.
437 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
438 @endif target-libstdc++-v3-bootstrap
439 STAGE2_TFLAGS = $(STAGE_TFLAGS)
440 STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
442 # Defaults for stage 3; some are overridden below.
443 STAGE3_CFLAGS = $(STAGE_CFLAGS)
444 STAGE3_CXXFLAGS = $(CXXFLAGS)
445 @if target-libstdc++-v3-bootstrap
446 # Override the above if we're bootstrapping C++.
447 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
448 @endif target-libstdc++-v3-bootstrap
449 STAGE3_TFLAGS = $(STAGE_TFLAGS)
450 STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
452 # Defaults for stage 4; some are overridden below.
453 STAGE4_CFLAGS = $(STAGE_CFLAGS)
454 STAGE4_CXXFLAGS = $(CXXFLAGS)
455 @if target-libstdc++-v3-bootstrap
456 # Override the above if we're bootstrapping C++.
457 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
458 @endif target-libstdc++-v3-bootstrap
459 STAGE4_TFLAGS = $(STAGE_TFLAGS)
460 STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
462 # Defaults for stage profile; some are overridden below.
463 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
464 STAGEprofile_CXXFLAGS = $(CXXFLAGS)
465 @if target-libstdc++-v3-bootstrap
466 # Override the above if we're bootstrapping C++.
467 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
468 @endif target-libstdc++-v3-bootstrap
469 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
470 STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
472 # Defaults for stage feedback; some are overridden below.
473 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
474 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
475 @if target-libstdc++-v3-bootstrap
476 # Override the above if we're bootstrapping C++.
477 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
478 @endif target-libstdc++-v3-bootstrap
479 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
480 STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
483 # Only build the C compiler for stage1, because that is the only one that
484 # we can guarantee will build with the native compiler, and also it is the
485 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
486 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
487 # overrideable (for a bootstrap build stage1 also builds gcc.info).
489 STAGE1_CFLAGS = @stage1_cflags@
490 STAGE1_CHECKING = @stage1_checking@
491 STAGE1_LANGUAGES = @stage1_languages@
492 # * We force-disable intermodule optimizations, even if
493 # --enable-intermodule was passed, since the installed compiler
494 # probably can't handle them. Luckily, autoconf always respects
495 # the last argument when conflicting --enable arguments are passed.
496 # * Likewise, we force-disable coverage flags, since the installed
497 # compiler probably has never heard of them.
498 # * We also disable -Wformat, since older GCCs don't understand newer %s.
499 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
500 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" \
501 --disable-build-format-warnings
503 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
504 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
506 STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
507 STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
509 do-compare = @do_compare@
510 do-compare3 = $(do-compare)
512 # -----------------------------------------------
513 # Programs producing files for the TARGET machine
514 # -----------------------------------------------
516 AR_FOR_TARGET=@AR_FOR_TARGET@
517 AS_FOR_TARGET=@AS_FOR_TARGET@
518 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
520 # If GCC_FOR_TARGET is not overriden on the command line, then this
521 # variable is passed down to the gcc Makefile, where it is used to
522 # build libgcc2.a. We define it here so that it can itself be
523 # overridden on the command line.
524 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
525 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
526 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
527 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@
528 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
529 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
530 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
531 LD_FOR_TARGET=@LD_FOR_TARGET@
533 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
534 NM_FOR_TARGET=@NM_FOR_TARGET@
535 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
536 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
537 READELF_FOR_TARGET=@READELF_FOR_TARGET@
538 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
539 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
540 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
542 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
543 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
544 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
546 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
547 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
549 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
550 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
551 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
552 GOCFLAGS_FOR_TARGET = -O2 -g
554 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
555 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
556 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
558 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
560 # ------------------------------------
561 # Miscellaneous targets and flag lists
562 # ------------------------------------
564 # The first rule in the file had better be this one. Don't put any above it.
565 # This lives here to allow makefile fragments to contain dependencies.
566 all:
568 #### host and target specific makefile fragments come in here.
569 @target_makefile_frag@
570 @alphaieee_frag@
571 @ospace_frag@
572 @host_makefile_frag@
575 # This is the list of directories that may be needed in RPATH_ENVVAR
576 # so that programs built for the target machine work.
577 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libsanitizer)$(TARGET_LIB_PATH_libvtv)$(TARGET_LIB_PATH_libcilkrts)$(TARGET_LIB_PATH_liboffloadmic)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc)
579 @if target-libstdc++-v3
580 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
581 @endif target-libstdc++-v3
583 @if target-libsanitizer
584 TARGET_LIB_PATH_libsanitizer = $$r/$(TARGET_SUBDIR)/libsanitizer/.libs:
585 @endif target-libsanitizer
587 @if target-libvtv
588 TARGET_LIB_PATH_libvtv = $$r/$(TARGET_SUBDIR)/libvtv/.libs:
589 @endif target-libvtv
591 @if target-libcilkrts
592 TARGET_LIB_PATH_libcilkrts = $$r/$(TARGET_SUBDIR)/libcilkrts/.libs:
593 @endif target-libcilkrts
595 @if target-liboffloadmic
596 TARGET_LIB_PATH_liboffloadmic = $$r/$(TARGET_SUBDIR)/liboffloadmic/.libs:
597 @endif target-liboffloadmic
599 @if target-libssp
600 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
601 @endif target-libssp
603 @if target-libgomp
604 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
605 @endif target-libgomp
607 @if target-libitm
608 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
609 @endif target-libitm
611 @if target-libatomic
612 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
613 @endif target-libatomic
617 # This is the list of directories that may be needed in RPATH_ENVVAR
618 # so that programs built for the host machine work.
619 HOST_LIB_PATH = $(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_isl)$(HOST_LIB_PATH_libelf)
621 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
622 @if gcc
623 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
624 @endif gcc
627 @if gmp
628 HOST_LIB_PATH_gmp = \
629 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
630 @endif gmp
632 @if mpfr
633 HOST_LIB_PATH_mpfr = \
634 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
635 @endif mpfr
637 @if mpc
638 HOST_LIB_PATH_mpc = \
639 $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs:
640 @endif mpc
642 @if isl
643 HOST_LIB_PATH_isl = \
644 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
645 @endif isl
647 @if libelf
648 HOST_LIB_PATH_libelf = \
649 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
650 @endif libelf
653 CXX_FOR_TARGET_FLAG_TO_PASS = \
654 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
655 @if target-libstdc++-v3
656 # CXX_FOR_TARGET is tricky to get right for target libs that require a
657 # functional C++ compiler. When we recurse, if we expand
658 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
659 # libstdc++ include flags from the script. Instead, we get an
660 # -funconfigured-* word, so that we'll get errors if this invalid C++
661 # command line is used for anything, but also so that we can use the
662 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
663 # don't pass it on, sub-make will use the default definition, that
664 # re-expands it at the time of use, so we'll get it right when we need
665 # it. One potential exception is the expansion of CXX_FOR_TARGET
666 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
667 # really work, for C++ host programs can't depend on the current-stage
668 # C++ target library.
669 CXX_FOR_TARGET_FLAG_TO_PASS = \
670 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
671 @endif target-libstdc++-v3
673 # Flags to pass down to all sub-makes.
674 BASE_FLAGS_TO_PASS = \
675 "DESTDIR=$(DESTDIR)" \
676 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
677 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
678 "bindir=$(bindir)" \
679 "datadir=$(datadir)" \
680 "exec_prefix=$(exec_prefix)" \
681 "includedir=$(includedir)" \
682 "datarootdir=$(datarootdir)" \
683 "docdir=$(docdir)" \
684 "infodir=$(infodir)" \
685 "pdfdir=$(pdfdir)" \
686 "htmldir=$(htmldir)" \
687 "libdir=$(libdir)" \
688 "libexecdir=$(libexecdir)" \
689 "lispdir=$(lispdir)" \
690 "localstatedir=$(localstatedir)" \
691 "mandir=$(mandir)" \
692 "oldincludedir=$(oldincludedir)" \
693 "prefix=$(prefix)" \
694 "sbindir=$(sbindir)" \
695 "sharedstatedir=$(sharedstatedir)" \
696 "sysconfdir=$(sysconfdir)" \
697 "tooldir=$(tooldir)" \
698 "build_tooldir=$(build_tooldir)" \
699 "target_alias=$(target_alias)" \
700 "AWK=$(AWK)" \
701 "BISON=$(BISON)" \
702 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
703 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
704 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
705 "EXPECT=$(EXPECT)" \
706 "FLEX=$(FLEX)" \
707 "INSTALL=$(INSTALL)" \
708 "INSTALL_DATA=$(INSTALL_DATA)" \
709 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
710 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
711 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
712 "LEX=$(LEX)" \
713 "M4=$(M4)" \
714 "MAKE=$(MAKE)" \
715 "RUNTEST=$(RUNTEST)" \
716 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
717 "SED=$(SED)" \
718 "SHELL=$(SHELL)" \
719 "YACC=$(YACC)" \
720 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
721 "ADA_CFLAGS=$(ADA_CFLAGS)" \
722 "AR_FLAGS=$(AR_FLAGS)" \
723 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
724 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
725 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
726 "CFLAGS=$(CFLAGS)" \
727 "CXXFLAGS=$(CXXFLAGS)" \
728 "LDFLAGS=$(LDFLAGS)" \
729 "LIBCFLAGS=$(LIBCFLAGS)" \
730 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
731 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
732 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
733 "GNATBIND=$(GNATBIND)" \
734 "GNATMAKE=$(GNATMAKE)" \
735 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
736 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
737 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
738 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
739 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
740 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
741 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
742 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
743 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
744 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
745 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
746 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
747 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
748 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
749 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
750 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
751 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
752 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
753 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
754 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
755 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
756 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
757 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
758 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
759 "BUILD_CONFIG=$(BUILD_CONFIG)" \
760 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
761 "LEAN=$(LEAN)" \
762 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
763 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
764 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
765 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
766 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
767 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
768 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
769 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
770 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
771 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
772 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
773 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
774 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
775 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
776 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
777 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
778 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
779 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
780 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
781 "TFLAGS=$(TFLAGS)" \
782 "CONFIG_SHELL=$(SHELL)" \
783 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
785 # We leave this in just in case, but it is not needed anymore.
786 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
788 # Flags to pass down to most sub-makes, in which we're building with
789 # the host environment.
790 EXTRA_HOST_FLAGS = \
791 'AR=$(AR)' \
792 'AS=$(AS)' \
793 'CC=$(CC)' \
794 'CXX=$(CXX)' \
795 'DLLTOOL=$(DLLTOOL)' \
796 'GCJ=$(GCJ)' \
797 'GFORTRAN=$(GFORTRAN)' \
798 'GOC=$(GOC)' \
799 'LD=$(LD)' \
800 'LIPO=$(LIPO)' \
801 'NM=$(NM)' \
802 'OBJDUMP=$(OBJDUMP)' \
803 'RANLIB=$(RANLIB)' \
804 'READELF=$(READELF)' \
805 'STRIP=$(STRIP)' \
806 'WINDRES=$(WINDRES)' \
807 'WINDMC=$(WINDMC)'
809 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
811 # Flags to pass to stage1 or when not bootstrapping.
813 STAGE1_FLAGS_TO_PASS = \
814 LDFLAGS="$${LDFLAGS}" \
815 HOST_LIBS="$${HOST_LIBS}"
817 # Flags to pass to stage2 and later makes.
819 POSTSTAGE1_FLAGS_TO_PASS = \
820 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
821 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
822 GNATBIND="$${GNATBIND}" \
823 LDFLAGS="$${LDFLAGS}" \
824 HOST_LIBS="$${HOST_LIBS}" \
825 $(LTO_FLAGS_TO_PASS) \
826 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
828 # Flags to pass down to makes which are built with the target environment.
829 # The double $ decreases the length of the command line; those variables
830 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
831 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
832 # so we expand them here.
833 EXTRA_TARGET_FLAGS = \
834 'AR=$$(AR_FOR_TARGET)' \
835 'AS=$(COMPILER_AS_FOR_TARGET)' \
836 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
837 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
838 'CXX=$$(CXX_FOR_TARGET) -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
839 -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
840 $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
841 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
842 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
843 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
844 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
845 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
846 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
847 'LD=$(COMPILER_LD_FOR_TARGET)' \
848 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
849 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
850 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
851 'NM=$(COMPILER_NM_FOR_TARGET)' \
852 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
853 'RANLIB=$$(RANLIB_FOR_TARGET)' \
854 'READELF=$$(READELF_FOR_TARGET)' \
855 'WINDRES=$$(WINDRES_FOR_TARGET)' \
856 'WINDMC=$$(WINDMC_FOR_TARGET)' \
857 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
858 'STAGE1_LDFLAGS=$$(POSTSTAGE1_LDFLAGS)' \
859 'STAGE1_LIBS=$$(POSTSTAGE1_LIBS)' \
860 "TFLAGS=$$TFLAGS"
862 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
864 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
865 # unfortunately needs the native compiler and the target ar and
866 # ranlib.
867 # If any variables are added here, they must be added to do-*, below.
868 # The BUILD_* variables are a special case, which are used for the gcc
869 # cross-building scheme.
870 EXTRA_GCC_FLAGS = \
871 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
872 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
873 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
875 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
877 @if gcc
878 BUILD_CONFIG = @BUILD_CONFIG@
879 ifneq ($(BUILD_CONFIG),)
880 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
881 endif
882 @endif gcc
884 .PHONY: configure-host
885 configure-host: \
886 maybe-configure-bfd \
887 maybe-configure-opcodes \
888 maybe-configure-binutils \
889 maybe-configure-bison \
890 maybe-configure-cgen \
891 maybe-configure-dejagnu \
892 maybe-configure-etc \
893 maybe-configure-fastjar \
894 maybe-configure-fixincludes \
895 maybe-configure-flex \
896 maybe-configure-gas \
897 maybe-configure-gcc \
898 maybe-configure-gmp \
899 maybe-configure-mpfr \
900 maybe-configure-mpc \
901 maybe-configure-isl \
902 maybe-configure-libelf \
903 maybe-configure-gold \
904 maybe-configure-gprof \
905 maybe-configure-intl \
906 maybe-configure-tcl \
907 maybe-configure-itcl \
908 maybe-configure-ld \
909 maybe-configure-libbacktrace \
910 maybe-configure-libcpp \
911 maybe-configure-libdecnumber \
912 maybe-configure-libgui \
913 maybe-configure-libiberty \
914 maybe-configure-libiberty-linker-plugin \
915 maybe-configure-libiconv \
916 maybe-configure-m4 \
917 maybe-configure-readline \
918 maybe-configure-sid \
919 maybe-configure-sim \
920 maybe-configure-texinfo \
921 maybe-configure-zlib \
922 maybe-configure-gdb \
923 maybe-configure-expect \
924 maybe-configure-guile \
925 maybe-configure-tk \
926 maybe-configure-libtermcap \
927 maybe-configure-utils \
928 maybe-configure-gnattools \
929 maybe-configure-lto-plugin \
930 maybe-configure-libcc1
931 .PHONY: configure-target
932 configure-target: \
933 maybe-configure-target-libstdc++-v3 \
934 maybe-configure-target-libsanitizer \
935 maybe-configure-target-libvtv \
936 maybe-configure-target-libcilkrts \
937 maybe-configure-target-liboffloadmic \
938 maybe-configure-target-libssp \
939 maybe-configure-target-newlib \
940 maybe-configure-target-libgcc \
941 maybe-configure-target-libbacktrace \
942 maybe-configure-target-libquadmath \
943 maybe-configure-target-libgfortran \
944 maybe-configure-target-libobjc \
945 maybe-configure-target-libgo \
946 maybe-configure-target-libtermcap \
947 maybe-configure-target-winsup \
948 maybe-configure-target-libgloss \
949 maybe-configure-target-libffi \
950 maybe-configure-target-libjava \
951 maybe-configure-target-zlib \
952 maybe-configure-target-boehm-gc \
953 maybe-configure-target-rda \
954 maybe-configure-target-libada \
955 maybe-configure-target-libgomp \
956 maybe-configure-target-libitm \
957 maybe-configure-target-libatomic
959 # The target built for a native non-bootstrap build.
960 .PHONY: all
961 all:
962 @if gcc-bootstrap
963 [ -f stage_final ] || echo stage3 > stage_final
964 @r=`${PWD_COMMAND}`; export r; \
965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
966 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
967 @endif gcc-bootstrap
968 @: $(MAKE); $(unstage)
969 @r=`${PWD_COMMAND}`; export r; \
970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
971 @if gcc-bootstrap
972 if [ -f stage_last ]; then \
973 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
974 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
975 else \
976 @endif gcc-bootstrap
977 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
978 @if gcc-bootstrap
980 fi \
981 @endif gcc-bootstrap
982 && :
984 .PHONY: all-build
986 all-build: maybe-all-build-libiberty
987 all-build: maybe-all-build-bison
988 all-build: maybe-all-build-flex
989 all-build: maybe-all-build-m4
990 all-build: maybe-all-build-texinfo
991 all-build: maybe-all-build-fixincludes
992 all-build: maybe-all-build-libcpp
994 .PHONY: all-host
996 @if bfd-no-bootstrap
997 all-host: maybe-all-bfd
998 @endif bfd-no-bootstrap
999 @if opcodes-no-bootstrap
1000 all-host: maybe-all-opcodes
1001 @endif opcodes-no-bootstrap
1002 @if binutils-no-bootstrap
1003 all-host: maybe-all-binutils
1004 @endif binutils-no-bootstrap
1005 all-host: maybe-all-bison
1006 all-host: maybe-all-cgen
1007 all-host: maybe-all-dejagnu
1008 all-host: maybe-all-etc
1009 all-host: maybe-all-fastjar
1010 @if fixincludes-no-bootstrap
1011 all-host: maybe-all-fixincludes
1012 @endif fixincludes-no-bootstrap
1013 all-host: maybe-all-flex
1014 @if gas-no-bootstrap
1015 all-host: maybe-all-gas
1016 @endif gas-no-bootstrap
1017 @if gcc-no-bootstrap
1018 all-host: maybe-all-gcc
1019 @endif gcc-no-bootstrap
1020 @if gmp-no-bootstrap
1021 all-host: maybe-all-gmp
1022 @endif gmp-no-bootstrap
1023 @if mpfr-no-bootstrap
1024 all-host: maybe-all-mpfr
1025 @endif mpfr-no-bootstrap
1026 @if mpc-no-bootstrap
1027 all-host: maybe-all-mpc
1028 @endif mpc-no-bootstrap
1029 @if isl-no-bootstrap
1030 all-host: maybe-all-isl
1031 @endif isl-no-bootstrap
1032 @if libelf-no-bootstrap
1033 all-host: maybe-all-libelf
1034 @endif libelf-no-bootstrap
1035 @if gold-no-bootstrap
1036 all-host: maybe-all-gold
1037 @endif gold-no-bootstrap
1038 all-host: maybe-all-gprof
1039 @if intl-no-bootstrap
1040 all-host: maybe-all-intl
1041 @endif intl-no-bootstrap
1042 all-host: maybe-all-tcl
1043 all-host: maybe-all-itcl
1044 @if ld-no-bootstrap
1045 all-host: maybe-all-ld
1046 @endif ld-no-bootstrap
1047 @if libbacktrace-no-bootstrap
1048 all-host: maybe-all-libbacktrace
1049 @endif libbacktrace-no-bootstrap
1050 @if libcpp-no-bootstrap
1051 all-host: maybe-all-libcpp
1052 @endif libcpp-no-bootstrap
1053 @if libdecnumber-no-bootstrap
1054 all-host: maybe-all-libdecnumber
1055 @endif libdecnumber-no-bootstrap
1056 all-host: maybe-all-libgui
1057 @if libiberty-no-bootstrap
1058 all-host: maybe-all-libiberty
1059 @endif libiberty-no-bootstrap
1060 @if libiberty-linker-plugin-no-bootstrap
1061 all-host: maybe-all-libiberty-linker-plugin
1062 @endif libiberty-linker-plugin-no-bootstrap
1063 all-host: maybe-all-libiconv
1064 all-host: maybe-all-m4
1065 all-host: maybe-all-readline
1066 all-host: maybe-all-sid
1067 all-host: maybe-all-sim
1068 all-host: maybe-all-texinfo
1069 @if zlib-no-bootstrap
1070 all-host: maybe-all-zlib
1071 @endif zlib-no-bootstrap
1072 all-host: maybe-all-gdb
1073 all-host: maybe-all-expect
1074 all-host: maybe-all-guile
1075 all-host: maybe-all-tk
1076 all-host: maybe-all-libtermcap
1077 all-host: maybe-all-utils
1078 all-host: maybe-all-gnattools
1079 @if lto-plugin-no-bootstrap
1080 all-host: maybe-all-lto-plugin
1081 @endif lto-plugin-no-bootstrap
1082 all-host: maybe-all-libcc1
1084 .PHONY: all-target
1086 @if target-libstdc++-v3-no-bootstrap
1087 all-target: maybe-all-target-libstdc++-v3
1088 @endif target-libstdc++-v3-no-bootstrap
1089 @if target-libsanitizer-no-bootstrap
1090 all-target: maybe-all-target-libsanitizer
1091 @endif target-libsanitizer-no-bootstrap
1092 @if target-libvtv-no-bootstrap
1093 all-target: maybe-all-target-libvtv
1094 @endif target-libvtv-no-bootstrap
1095 all-target: maybe-all-target-libcilkrts
1096 all-target: maybe-all-target-liboffloadmic
1097 all-target: maybe-all-target-libssp
1098 all-target: maybe-all-target-newlib
1099 @if target-libgcc-no-bootstrap
1100 all-target: maybe-all-target-libgcc
1101 @endif target-libgcc-no-bootstrap
1102 all-target: maybe-all-target-libbacktrace
1103 all-target: maybe-all-target-libquadmath
1104 all-target: maybe-all-target-libgfortran
1105 all-target: maybe-all-target-libobjc
1106 all-target: maybe-all-target-libgo
1107 all-target: maybe-all-target-libtermcap
1108 all-target: maybe-all-target-winsup
1109 all-target: maybe-all-target-libgloss
1110 all-target: maybe-all-target-libffi
1111 all-target: maybe-all-target-libjava
1112 all-target: maybe-all-target-zlib
1113 all-target: maybe-all-target-boehm-gc
1114 all-target: maybe-all-target-rda
1115 all-target: maybe-all-target-libada
1116 @if target-libgomp-no-bootstrap
1117 all-target: maybe-all-target-libgomp
1118 @endif target-libgomp-no-bootstrap
1119 all-target: maybe-all-target-libitm
1120 all-target: maybe-all-target-libatomic
1122 # Do a target for all the subdirectories. A ``make do-X'' will do a
1123 # ``make X'' in all subdirectories (because, in general, there is a
1124 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1125 # but it may do additional work as well).
1127 .PHONY: do-info
1128 do-info:
1129 @: $(MAKE); $(unstage)
1130 @r=`${PWD_COMMAND}`; export r; \
1131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1132 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1133 info-target
1136 .PHONY: info-host
1138 info-host: maybe-info-bfd
1139 info-host: maybe-info-opcodes
1140 info-host: maybe-info-binutils
1141 info-host: maybe-info-bison
1142 info-host: maybe-info-cgen
1143 info-host: maybe-info-dejagnu
1144 info-host: maybe-info-etc
1145 info-host: maybe-info-fastjar
1146 info-host: maybe-info-fixincludes
1147 info-host: maybe-info-flex
1148 info-host: maybe-info-gas
1149 info-host: maybe-info-gcc
1150 info-host: maybe-info-gmp
1151 info-host: maybe-info-mpfr
1152 info-host: maybe-info-mpc
1153 info-host: maybe-info-isl
1154 info-host: maybe-info-libelf
1155 info-host: maybe-info-gold
1156 info-host: maybe-info-gprof
1157 info-host: maybe-info-intl
1158 info-host: maybe-info-tcl
1159 info-host: maybe-info-itcl
1160 info-host: maybe-info-ld
1161 info-host: maybe-info-libbacktrace
1162 info-host: maybe-info-libcpp
1163 info-host: maybe-info-libdecnumber
1164 info-host: maybe-info-libgui
1165 info-host: maybe-info-libiberty
1166 info-host: maybe-info-libiberty-linker-plugin
1167 info-host: maybe-info-libiconv
1168 info-host: maybe-info-m4
1169 info-host: maybe-info-readline
1170 info-host: maybe-info-sid
1171 info-host: maybe-info-sim
1172 info-host: maybe-info-texinfo
1173 info-host: maybe-info-zlib
1174 info-host: maybe-info-gdb
1175 info-host: maybe-info-expect
1176 info-host: maybe-info-guile
1177 info-host: maybe-info-tk
1178 info-host: maybe-info-libtermcap
1179 info-host: maybe-info-utils
1180 info-host: maybe-info-gnattools
1181 info-host: maybe-info-lto-plugin
1182 info-host: maybe-info-libcc1
1184 .PHONY: info-target
1186 info-target: maybe-info-target-libstdc++-v3
1187 info-target: maybe-info-target-libsanitizer
1188 info-target: maybe-info-target-libvtv
1189 info-target: maybe-info-target-libcilkrts
1190 info-target: maybe-info-target-liboffloadmic
1191 info-target: maybe-info-target-libssp
1192 info-target: maybe-info-target-newlib
1193 info-target: maybe-info-target-libgcc
1194 info-target: maybe-info-target-libbacktrace
1195 info-target: maybe-info-target-libquadmath
1196 info-target: maybe-info-target-libgfortran
1197 info-target: maybe-info-target-libobjc
1198 info-target: maybe-info-target-libgo
1199 info-target: maybe-info-target-libtermcap
1200 info-target: maybe-info-target-winsup
1201 info-target: maybe-info-target-libgloss
1202 info-target: maybe-info-target-libffi
1203 info-target: maybe-info-target-libjava
1204 info-target: maybe-info-target-zlib
1205 info-target: maybe-info-target-boehm-gc
1206 info-target: maybe-info-target-rda
1207 info-target: maybe-info-target-libada
1208 info-target: maybe-info-target-libgomp
1209 info-target: maybe-info-target-libitm
1210 info-target: maybe-info-target-libatomic
1212 .PHONY: do-dvi
1213 do-dvi:
1214 @: $(MAKE); $(unstage)
1215 @r=`${PWD_COMMAND}`; export r; \
1216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1217 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1218 dvi-target
1221 .PHONY: dvi-host
1223 dvi-host: maybe-dvi-bfd
1224 dvi-host: maybe-dvi-opcodes
1225 dvi-host: maybe-dvi-binutils
1226 dvi-host: maybe-dvi-bison
1227 dvi-host: maybe-dvi-cgen
1228 dvi-host: maybe-dvi-dejagnu
1229 dvi-host: maybe-dvi-etc
1230 dvi-host: maybe-dvi-fastjar
1231 dvi-host: maybe-dvi-fixincludes
1232 dvi-host: maybe-dvi-flex
1233 dvi-host: maybe-dvi-gas
1234 dvi-host: maybe-dvi-gcc
1235 dvi-host: maybe-dvi-gmp
1236 dvi-host: maybe-dvi-mpfr
1237 dvi-host: maybe-dvi-mpc
1238 dvi-host: maybe-dvi-isl
1239 dvi-host: maybe-dvi-libelf
1240 dvi-host: maybe-dvi-gold
1241 dvi-host: maybe-dvi-gprof
1242 dvi-host: maybe-dvi-intl
1243 dvi-host: maybe-dvi-tcl
1244 dvi-host: maybe-dvi-itcl
1245 dvi-host: maybe-dvi-ld
1246 dvi-host: maybe-dvi-libbacktrace
1247 dvi-host: maybe-dvi-libcpp
1248 dvi-host: maybe-dvi-libdecnumber
1249 dvi-host: maybe-dvi-libgui
1250 dvi-host: maybe-dvi-libiberty
1251 dvi-host: maybe-dvi-libiberty-linker-plugin
1252 dvi-host: maybe-dvi-libiconv
1253 dvi-host: maybe-dvi-m4
1254 dvi-host: maybe-dvi-readline
1255 dvi-host: maybe-dvi-sid
1256 dvi-host: maybe-dvi-sim
1257 dvi-host: maybe-dvi-texinfo
1258 dvi-host: maybe-dvi-zlib
1259 dvi-host: maybe-dvi-gdb
1260 dvi-host: maybe-dvi-expect
1261 dvi-host: maybe-dvi-guile
1262 dvi-host: maybe-dvi-tk
1263 dvi-host: maybe-dvi-libtermcap
1264 dvi-host: maybe-dvi-utils
1265 dvi-host: maybe-dvi-gnattools
1266 dvi-host: maybe-dvi-lto-plugin
1267 dvi-host: maybe-dvi-libcc1
1269 .PHONY: dvi-target
1271 dvi-target: maybe-dvi-target-libstdc++-v3
1272 dvi-target: maybe-dvi-target-libsanitizer
1273 dvi-target: maybe-dvi-target-libvtv
1274 dvi-target: maybe-dvi-target-libcilkrts
1275 dvi-target: maybe-dvi-target-liboffloadmic
1276 dvi-target: maybe-dvi-target-libssp
1277 dvi-target: maybe-dvi-target-newlib
1278 dvi-target: maybe-dvi-target-libgcc
1279 dvi-target: maybe-dvi-target-libbacktrace
1280 dvi-target: maybe-dvi-target-libquadmath
1281 dvi-target: maybe-dvi-target-libgfortran
1282 dvi-target: maybe-dvi-target-libobjc
1283 dvi-target: maybe-dvi-target-libgo
1284 dvi-target: maybe-dvi-target-libtermcap
1285 dvi-target: maybe-dvi-target-winsup
1286 dvi-target: maybe-dvi-target-libgloss
1287 dvi-target: maybe-dvi-target-libffi
1288 dvi-target: maybe-dvi-target-libjava
1289 dvi-target: maybe-dvi-target-zlib
1290 dvi-target: maybe-dvi-target-boehm-gc
1291 dvi-target: maybe-dvi-target-rda
1292 dvi-target: maybe-dvi-target-libada
1293 dvi-target: maybe-dvi-target-libgomp
1294 dvi-target: maybe-dvi-target-libitm
1295 dvi-target: maybe-dvi-target-libatomic
1297 .PHONY: do-pdf
1298 do-pdf:
1299 @: $(MAKE); $(unstage)
1300 @r=`${PWD_COMMAND}`; export r; \
1301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1302 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1303 pdf-target
1306 .PHONY: pdf-host
1308 pdf-host: maybe-pdf-bfd
1309 pdf-host: maybe-pdf-opcodes
1310 pdf-host: maybe-pdf-binutils
1311 pdf-host: maybe-pdf-bison
1312 pdf-host: maybe-pdf-cgen
1313 pdf-host: maybe-pdf-dejagnu
1314 pdf-host: maybe-pdf-etc
1315 pdf-host: maybe-pdf-fastjar
1316 pdf-host: maybe-pdf-fixincludes
1317 pdf-host: maybe-pdf-flex
1318 pdf-host: maybe-pdf-gas
1319 pdf-host: maybe-pdf-gcc
1320 pdf-host: maybe-pdf-gmp
1321 pdf-host: maybe-pdf-mpfr
1322 pdf-host: maybe-pdf-mpc
1323 pdf-host: maybe-pdf-isl
1324 pdf-host: maybe-pdf-libelf
1325 pdf-host: maybe-pdf-gold
1326 pdf-host: maybe-pdf-gprof
1327 pdf-host: maybe-pdf-intl
1328 pdf-host: maybe-pdf-tcl
1329 pdf-host: maybe-pdf-itcl
1330 pdf-host: maybe-pdf-ld
1331 pdf-host: maybe-pdf-libbacktrace
1332 pdf-host: maybe-pdf-libcpp
1333 pdf-host: maybe-pdf-libdecnumber
1334 pdf-host: maybe-pdf-libgui
1335 pdf-host: maybe-pdf-libiberty
1336 pdf-host: maybe-pdf-libiberty-linker-plugin
1337 pdf-host: maybe-pdf-libiconv
1338 pdf-host: maybe-pdf-m4
1339 pdf-host: maybe-pdf-readline
1340 pdf-host: maybe-pdf-sid
1341 pdf-host: maybe-pdf-sim
1342 pdf-host: maybe-pdf-texinfo
1343 pdf-host: maybe-pdf-zlib
1344 pdf-host: maybe-pdf-gdb
1345 pdf-host: maybe-pdf-expect
1346 pdf-host: maybe-pdf-guile
1347 pdf-host: maybe-pdf-tk
1348 pdf-host: maybe-pdf-libtermcap
1349 pdf-host: maybe-pdf-utils
1350 pdf-host: maybe-pdf-gnattools
1351 pdf-host: maybe-pdf-lto-plugin
1352 pdf-host: maybe-pdf-libcc1
1354 .PHONY: pdf-target
1356 pdf-target: maybe-pdf-target-libstdc++-v3
1357 pdf-target: maybe-pdf-target-libsanitizer
1358 pdf-target: maybe-pdf-target-libvtv
1359 pdf-target: maybe-pdf-target-libcilkrts
1360 pdf-target: maybe-pdf-target-liboffloadmic
1361 pdf-target: maybe-pdf-target-libssp
1362 pdf-target: maybe-pdf-target-newlib
1363 pdf-target: maybe-pdf-target-libgcc
1364 pdf-target: maybe-pdf-target-libbacktrace
1365 pdf-target: maybe-pdf-target-libquadmath
1366 pdf-target: maybe-pdf-target-libgfortran
1367 pdf-target: maybe-pdf-target-libobjc
1368 pdf-target: maybe-pdf-target-libgo
1369 pdf-target: maybe-pdf-target-libtermcap
1370 pdf-target: maybe-pdf-target-winsup
1371 pdf-target: maybe-pdf-target-libgloss
1372 pdf-target: maybe-pdf-target-libffi
1373 pdf-target: maybe-pdf-target-libjava
1374 pdf-target: maybe-pdf-target-zlib
1375 pdf-target: maybe-pdf-target-boehm-gc
1376 pdf-target: maybe-pdf-target-rda
1377 pdf-target: maybe-pdf-target-libada
1378 pdf-target: maybe-pdf-target-libgomp
1379 pdf-target: maybe-pdf-target-libitm
1380 pdf-target: maybe-pdf-target-libatomic
1382 .PHONY: do-html
1383 do-html:
1384 @: $(MAKE); $(unstage)
1385 @r=`${PWD_COMMAND}`; export r; \
1386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1387 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1388 html-target
1391 .PHONY: html-host
1393 html-host: maybe-html-bfd
1394 html-host: maybe-html-opcodes
1395 html-host: maybe-html-binutils
1396 html-host: maybe-html-bison
1397 html-host: maybe-html-cgen
1398 html-host: maybe-html-dejagnu
1399 html-host: maybe-html-etc
1400 html-host: maybe-html-fastjar
1401 html-host: maybe-html-fixincludes
1402 html-host: maybe-html-flex
1403 html-host: maybe-html-gas
1404 html-host: maybe-html-gcc
1405 html-host: maybe-html-gmp
1406 html-host: maybe-html-mpfr
1407 html-host: maybe-html-mpc
1408 html-host: maybe-html-isl
1409 html-host: maybe-html-libelf
1410 html-host: maybe-html-gold
1411 html-host: maybe-html-gprof
1412 html-host: maybe-html-intl
1413 html-host: maybe-html-tcl
1414 html-host: maybe-html-itcl
1415 html-host: maybe-html-ld
1416 html-host: maybe-html-libbacktrace
1417 html-host: maybe-html-libcpp
1418 html-host: maybe-html-libdecnumber
1419 html-host: maybe-html-libgui
1420 html-host: maybe-html-libiberty
1421 html-host: maybe-html-libiberty-linker-plugin
1422 html-host: maybe-html-libiconv
1423 html-host: maybe-html-m4
1424 html-host: maybe-html-readline
1425 html-host: maybe-html-sid
1426 html-host: maybe-html-sim
1427 html-host: maybe-html-texinfo
1428 html-host: maybe-html-zlib
1429 html-host: maybe-html-gdb
1430 html-host: maybe-html-expect
1431 html-host: maybe-html-guile
1432 html-host: maybe-html-tk
1433 html-host: maybe-html-libtermcap
1434 html-host: maybe-html-utils
1435 html-host: maybe-html-gnattools
1436 html-host: maybe-html-lto-plugin
1437 html-host: maybe-html-libcc1
1439 .PHONY: html-target
1441 html-target: maybe-html-target-libstdc++-v3
1442 html-target: maybe-html-target-libsanitizer
1443 html-target: maybe-html-target-libvtv
1444 html-target: maybe-html-target-libcilkrts
1445 html-target: maybe-html-target-liboffloadmic
1446 html-target: maybe-html-target-libssp
1447 html-target: maybe-html-target-newlib
1448 html-target: maybe-html-target-libgcc
1449 html-target: maybe-html-target-libbacktrace
1450 html-target: maybe-html-target-libquadmath
1451 html-target: maybe-html-target-libgfortran
1452 html-target: maybe-html-target-libobjc
1453 html-target: maybe-html-target-libgo
1454 html-target: maybe-html-target-libtermcap
1455 html-target: maybe-html-target-winsup
1456 html-target: maybe-html-target-libgloss
1457 html-target: maybe-html-target-libffi
1458 html-target: maybe-html-target-libjava
1459 html-target: maybe-html-target-zlib
1460 html-target: maybe-html-target-boehm-gc
1461 html-target: maybe-html-target-rda
1462 html-target: maybe-html-target-libada
1463 html-target: maybe-html-target-libgomp
1464 html-target: maybe-html-target-libitm
1465 html-target: maybe-html-target-libatomic
1467 .PHONY: do-TAGS
1468 do-TAGS:
1469 @: $(MAKE); $(unstage)
1470 @r=`${PWD_COMMAND}`; export r; \
1471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1472 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1473 TAGS-target
1476 .PHONY: TAGS-host
1478 TAGS-host: maybe-TAGS-bfd
1479 TAGS-host: maybe-TAGS-opcodes
1480 TAGS-host: maybe-TAGS-binutils
1481 TAGS-host: maybe-TAGS-bison
1482 TAGS-host: maybe-TAGS-cgen
1483 TAGS-host: maybe-TAGS-dejagnu
1484 TAGS-host: maybe-TAGS-etc
1485 TAGS-host: maybe-TAGS-fastjar
1486 TAGS-host: maybe-TAGS-fixincludes
1487 TAGS-host: maybe-TAGS-flex
1488 TAGS-host: maybe-TAGS-gas
1489 TAGS-host: maybe-TAGS-gcc
1490 TAGS-host: maybe-TAGS-gmp
1491 TAGS-host: maybe-TAGS-mpfr
1492 TAGS-host: maybe-TAGS-mpc
1493 TAGS-host: maybe-TAGS-isl
1494 TAGS-host: maybe-TAGS-libelf
1495 TAGS-host: maybe-TAGS-gold
1496 TAGS-host: maybe-TAGS-gprof
1497 TAGS-host: maybe-TAGS-intl
1498 TAGS-host: maybe-TAGS-tcl
1499 TAGS-host: maybe-TAGS-itcl
1500 TAGS-host: maybe-TAGS-ld
1501 TAGS-host: maybe-TAGS-libbacktrace
1502 TAGS-host: maybe-TAGS-libcpp
1503 TAGS-host: maybe-TAGS-libdecnumber
1504 TAGS-host: maybe-TAGS-libgui
1505 TAGS-host: maybe-TAGS-libiberty
1506 TAGS-host: maybe-TAGS-libiberty-linker-plugin
1507 TAGS-host: maybe-TAGS-libiconv
1508 TAGS-host: maybe-TAGS-m4
1509 TAGS-host: maybe-TAGS-readline
1510 TAGS-host: maybe-TAGS-sid
1511 TAGS-host: maybe-TAGS-sim
1512 TAGS-host: maybe-TAGS-texinfo
1513 TAGS-host: maybe-TAGS-zlib
1514 TAGS-host: maybe-TAGS-gdb
1515 TAGS-host: maybe-TAGS-expect
1516 TAGS-host: maybe-TAGS-guile
1517 TAGS-host: maybe-TAGS-tk
1518 TAGS-host: maybe-TAGS-libtermcap
1519 TAGS-host: maybe-TAGS-utils
1520 TAGS-host: maybe-TAGS-gnattools
1521 TAGS-host: maybe-TAGS-lto-plugin
1522 TAGS-host: maybe-TAGS-libcc1
1524 .PHONY: TAGS-target
1526 TAGS-target: maybe-TAGS-target-libstdc++-v3
1527 TAGS-target: maybe-TAGS-target-libsanitizer
1528 TAGS-target: maybe-TAGS-target-libvtv
1529 TAGS-target: maybe-TAGS-target-libcilkrts
1530 TAGS-target: maybe-TAGS-target-liboffloadmic
1531 TAGS-target: maybe-TAGS-target-libssp
1532 TAGS-target: maybe-TAGS-target-newlib
1533 TAGS-target: maybe-TAGS-target-libgcc
1534 TAGS-target: maybe-TAGS-target-libbacktrace
1535 TAGS-target: maybe-TAGS-target-libquadmath
1536 TAGS-target: maybe-TAGS-target-libgfortran
1537 TAGS-target: maybe-TAGS-target-libobjc
1538 TAGS-target: maybe-TAGS-target-libgo
1539 TAGS-target: maybe-TAGS-target-libtermcap
1540 TAGS-target: maybe-TAGS-target-winsup
1541 TAGS-target: maybe-TAGS-target-libgloss
1542 TAGS-target: maybe-TAGS-target-libffi
1543 TAGS-target: maybe-TAGS-target-libjava
1544 TAGS-target: maybe-TAGS-target-zlib
1545 TAGS-target: maybe-TAGS-target-boehm-gc
1546 TAGS-target: maybe-TAGS-target-rda
1547 TAGS-target: maybe-TAGS-target-libada
1548 TAGS-target: maybe-TAGS-target-libgomp
1549 TAGS-target: maybe-TAGS-target-libitm
1550 TAGS-target: maybe-TAGS-target-libatomic
1552 .PHONY: do-install-info
1553 do-install-info:
1554 @: $(MAKE); $(unstage)
1555 @r=`${PWD_COMMAND}`; export r; \
1556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1557 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1558 install-info-target
1561 .PHONY: install-info-host
1563 install-info-host: maybe-install-info-bfd
1564 install-info-host: maybe-install-info-opcodes
1565 install-info-host: maybe-install-info-binutils
1566 install-info-host: maybe-install-info-bison
1567 install-info-host: maybe-install-info-cgen
1568 install-info-host: maybe-install-info-dejagnu
1569 install-info-host: maybe-install-info-etc
1570 install-info-host: maybe-install-info-fastjar
1571 install-info-host: maybe-install-info-fixincludes
1572 install-info-host: maybe-install-info-flex
1573 install-info-host: maybe-install-info-gas
1574 install-info-host: maybe-install-info-gcc
1575 install-info-host: maybe-install-info-gmp
1576 install-info-host: maybe-install-info-mpfr
1577 install-info-host: maybe-install-info-mpc
1578 install-info-host: maybe-install-info-isl
1579 install-info-host: maybe-install-info-libelf
1580 install-info-host: maybe-install-info-gold
1581 install-info-host: maybe-install-info-gprof
1582 install-info-host: maybe-install-info-intl
1583 install-info-host: maybe-install-info-tcl
1584 install-info-host: maybe-install-info-itcl
1585 install-info-host: maybe-install-info-ld
1586 install-info-host: maybe-install-info-libbacktrace
1587 install-info-host: maybe-install-info-libcpp
1588 install-info-host: maybe-install-info-libdecnumber
1589 install-info-host: maybe-install-info-libgui
1590 install-info-host: maybe-install-info-libiberty
1591 install-info-host: maybe-install-info-libiberty-linker-plugin
1592 install-info-host: maybe-install-info-libiconv
1593 install-info-host: maybe-install-info-m4
1594 install-info-host: maybe-install-info-readline
1595 install-info-host: maybe-install-info-sid
1596 install-info-host: maybe-install-info-sim
1597 install-info-host: maybe-install-info-texinfo
1598 install-info-host: maybe-install-info-zlib
1599 install-info-host: maybe-install-info-gdb
1600 install-info-host: maybe-install-info-expect
1601 install-info-host: maybe-install-info-guile
1602 install-info-host: maybe-install-info-tk
1603 install-info-host: maybe-install-info-libtermcap
1604 install-info-host: maybe-install-info-utils
1605 install-info-host: maybe-install-info-gnattools
1606 install-info-host: maybe-install-info-lto-plugin
1607 install-info-host: maybe-install-info-libcc1
1609 .PHONY: install-info-target
1611 install-info-target: maybe-install-info-target-libstdc++-v3
1612 install-info-target: maybe-install-info-target-libsanitizer
1613 install-info-target: maybe-install-info-target-libvtv
1614 install-info-target: maybe-install-info-target-libcilkrts
1615 install-info-target: maybe-install-info-target-liboffloadmic
1616 install-info-target: maybe-install-info-target-libssp
1617 install-info-target: maybe-install-info-target-newlib
1618 install-info-target: maybe-install-info-target-libgcc
1619 install-info-target: maybe-install-info-target-libbacktrace
1620 install-info-target: maybe-install-info-target-libquadmath
1621 install-info-target: maybe-install-info-target-libgfortran
1622 install-info-target: maybe-install-info-target-libobjc
1623 install-info-target: maybe-install-info-target-libgo
1624 install-info-target: maybe-install-info-target-libtermcap
1625 install-info-target: maybe-install-info-target-winsup
1626 install-info-target: maybe-install-info-target-libgloss
1627 install-info-target: maybe-install-info-target-libffi
1628 install-info-target: maybe-install-info-target-libjava
1629 install-info-target: maybe-install-info-target-zlib
1630 install-info-target: maybe-install-info-target-boehm-gc
1631 install-info-target: maybe-install-info-target-rda
1632 install-info-target: maybe-install-info-target-libada
1633 install-info-target: maybe-install-info-target-libgomp
1634 install-info-target: maybe-install-info-target-libitm
1635 install-info-target: maybe-install-info-target-libatomic
1637 .PHONY: do-install-pdf
1638 do-install-pdf:
1639 @: $(MAKE); $(unstage)
1640 @r=`${PWD_COMMAND}`; export r; \
1641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1642 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1643 install-pdf-target
1646 .PHONY: install-pdf-host
1648 install-pdf-host: maybe-install-pdf-bfd
1649 install-pdf-host: maybe-install-pdf-opcodes
1650 install-pdf-host: maybe-install-pdf-binutils
1651 install-pdf-host: maybe-install-pdf-bison
1652 install-pdf-host: maybe-install-pdf-cgen
1653 install-pdf-host: maybe-install-pdf-dejagnu
1654 install-pdf-host: maybe-install-pdf-etc
1655 install-pdf-host: maybe-install-pdf-fastjar
1656 install-pdf-host: maybe-install-pdf-fixincludes
1657 install-pdf-host: maybe-install-pdf-flex
1658 install-pdf-host: maybe-install-pdf-gas
1659 install-pdf-host: maybe-install-pdf-gcc
1660 install-pdf-host: maybe-install-pdf-gmp
1661 install-pdf-host: maybe-install-pdf-mpfr
1662 install-pdf-host: maybe-install-pdf-mpc
1663 install-pdf-host: maybe-install-pdf-isl
1664 install-pdf-host: maybe-install-pdf-libelf
1665 install-pdf-host: maybe-install-pdf-gold
1666 install-pdf-host: maybe-install-pdf-gprof
1667 install-pdf-host: maybe-install-pdf-intl
1668 install-pdf-host: maybe-install-pdf-tcl
1669 install-pdf-host: maybe-install-pdf-itcl
1670 install-pdf-host: maybe-install-pdf-ld
1671 install-pdf-host: maybe-install-pdf-libbacktrace
1672 install-pdf-host: maybe-install-pdf-libcpp
1673 install-pdf-host: maybe-install-pdf-libdecnumber
1674 install-pdf-host: maybe-install-pdf-libgui
1675 install-pdf-host: maybe-install-pdf-libiberty
1676 install-pdf-host: maybe-install-pdf-libiberty-linker-plugin
1677 install-pdf-host: maybe-install-pdf-libiconv
1678 install-pdf-host: maybe-install-pdf-m4
1679 install-pdf-host: maybe-install-pdf-readline
1680 install-pdf-host: maybe-install-pdf-sid
1681 install-pdf-host: maybe-install-pdf-sim
1682 install-pdf-host: maybe-install-pdf-texinfo
1683 install-pdf-host: maybe-install-pdf-zlib
1684 install-pdf-host: maybe-install-pdf-gdb
1685 install-pdf-host: maybe-install-pdf-expect
1686 install-pdf-host: maybe-install-pdf-guile
1687 install-pdf-host: maybe-install-pdf-tk
1688 install-pdf-host: maybe-install-pdf-libtermcap
1689 install-pdf-host: maybe-install-pdf-utils
1690 install-pdf-host: maybe-install-pdf-gnattools
1691 install-pdf-host: maybe-install-pdf-lto-plugin
1692 install-pdf-host: maybe-install-pdf-libcc1
1694 .PHONY: install-pdf-target
1696 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1697 install-pdf-target: maybe-install-pdf-target-libsanitizer
1698 install-pdf-target: maybe-install-pdf-target-libvtv
1699 install-pdf-target: maybe-install-pdf-target-libcilkrts
1700 install-pdf-target: maybe-install-pdf-target-liboffloadmic
1701 install-pdf-target: maybe-install-pdf-target-libssp
1702 install-pdf-target: maybe-install-pdf-target-newlib
1703 install-pdf-target: maybe-install-pdf-target-libgcc
1704 install-pdf-target: maybe-install-pdf-target-libbacktrace
1705 install-pdf-target: maybe-install-pdf-target-libquadmath
1706 install-pdf-target: maybe-install-pdf-target-libgfortran
1707 install-pdf-target: maybe-install-pdf-target-libobjc
1708 install-pdf-target: maybe-install-pdf-target-libgo
1709 install-pdf-target: maybe-install-pdf-target-libtermcap
1710 install-pdf-target: maybe-install-pdf-target-winsup
1711 install-pdf-target: maybe-install-pdf-target-libgloss
1712 install-pdf-target: maybe-install-pdf-target-libffi
1713 install-pdf-target: maybe-install-pdf-target-libjava
1714 install-pdf-target: maybe-install-pdf-target-zlib
1715 install-pdf-target: maybe-install-pdf-target-boehm-gc
1716 install-pdf-target: maybe-install-pdf-target-rda
1717 install-pdf-target: maybe-install-pdf-target-libada
1718 install-pdf-target: maybe-install-pdf-target-libgomp
1719 install-pdf-target: maybe-install-pdf-target-libitm
1720 install-pdf-target: maybe-install-pdf-target-libatomic
1722 .PHONY: do-install-html
1723 do-install-html:
1724 @: $(MAKE); $(unstage)
1725 @r=`${PWD_COMMAND}`; export r; \
1726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1727 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1728 install-html-target
1731 .PHONY: install-html-host
1733 install-html-host: maybe-install-html-bfd
1734 install-html-host: maybe-install-html-opcodes
1735 install-html-host: maybe-install-html-binutils
1736 install-html-host: maybe-install-html-bison
1737 install-html-host: maybe-install-html-cgen
1738 install-html-host: maybe-install-html-dejagnu
1739 install-html-host: maybe-install-html-etc
1740 install-html-host: maybe-install-html-fastjar
1741 install-html-host: maybe-install-html-fixincludes
1742 install-html-host: maybe-install-html-flex
1743 install-html-host: maybe-install-html-gas
1744 install-html-host: maybe-install-html-gcc
1745 install-html-host: maybe-install-html-gmp
1746 install-html-host: maybe-install-html-mpfr
1747 install-html-host: maybe-install-html-mpc
1748 install-html-host: maybe-install-html-isl
1749 install-html-host: maybe-install-html-libelf
1750 install-html-host: maybe-install-html-gold
1751 install-html-host: maybe-install-html-gprof
1752 install-html-host: maybe-install-html-intl
1753 install-html-host: maybe-install-html-tcl
1754 install-html-host: maybe-install-html-itcl
1755 install-html-host: maybe-install-html-ld
1756 install-html-host: maybe-install-html-libbacktrace
1757 install-html-host: maybe-install-html-libcpp
1758 install-html-host: maybe-install-html-libdecnumber
1759 install-html-host: maybe-install-html-libgui
1760 install-html-host: maybe-install-html-libiberty
1761 install-html-host: maybe-install-html-libiberty-linker-plugin
1762 install-html-host: maybe-install-html-libiconv
1763 install-html-host: maybe-install-html-m4
1764 install-html-host: maybe-install-html-readline
1765 install-html-host: maybe-install-html-sid
1766 install-html-host: maybe-install-html-sim
1767 install-html-host: maybe-install-html-texinfo
1768 install-html-host: maybe-install-html-zlib
1769 install-html-host: maybe-install-html-gdb
1770 install-html-host: maybe-install-html-expect
1771 install-html-host: maybe-install-html-guile
1772 install-html-host: maybe-install-html-tk
1773 install-html-host: maybe-install-html-libtermcap
1774 install-html-host: maybe-install-html-utils
1775 install-html-host: maybe-install-html-gnattools
1776 install-html-host: maybe-install-html-lto-plugin
1777 install-html-host: maybe-install-html-libcc1
1779 .PHONY: install-html-target
1781 install-html-target: maybe-install-html-target-libstdc++-v3
1782 install-html-target: maybe-install-html-target-libsanitizer
1783 install-html-target: maybe-install-html-target-libvtv
1784 install-html-target: maybe-install-html-target-libcilkrts
1785 install-html-target: maybe-install-html-target-liboffloadmic
1786 install-html-target: maybe-install-html-target-libssp
1787 install-html-target: maybe-install-html-target-newlib
1788 install-html-target: maybe-install-html-target-libgcc
1789 install-html-target: maybe-install-html-target-libbacktrace
1790 install-html-target: maybe-install-html-target-libquadmath
1791 install-html-target: maybe-install-html-target-libgfortran
1792 install-html-target: maybe-install-html-target-libobjc
1793 install-html-target: maybe-install-html-target-libgo
1794 install-html-target: maybe-install-html-target-libtermcap
1795 install-html-target: maybe-install-html-target-winsup
1796 install-html-target: maybe-install-html-target-libgloss
1797 install-html-target: maybe-install-html-target-libffi
1798 install-html-target: maybe-install-html-target-libjava
1799 install-html-target: maybe-install-html-target-zlib
1800 install-html-target: maybe-install-html-target-boehm-gc
1801 install-html-target: maybe-install-html-target-rda
1802 install-html-target: maybe-install-html-target-libada
1803 install-html-target: maybe-install-html-target-libgomp
1804 install-html-target: maybe-install-html-target-libitm
1805 install-html-target: maybe-install-html-target-libatomic
1807 .PHONY: do-installcheck
1808 do-installcheck:
1809 @: $(MAKE); $(unstage)
1810 @r=`${PWD_COMMAND}`; export r; \
1811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1812 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1813 installcheck-target
1816 .PHONY: installcheck-host
1818 installcheck-host: maybe-installcheck-bfd
1819 installcheck-host: maybe-installcheck-opcodes
1820 installcheck-host: maybe-installcheck-binutils
1821 installcheck-host: maybe-installcheck-bison
1822 installcheck-host: maybe-installcheck-cgen
1823 installcheck-host: maybe-installcheck-dejagnu
1824 installcheck-host: maybe-installcheck-etc
1825 installcheck-host: maybe-installcheck-fastjar
1826 installcheck-host: maybe-installcheck-fixincludes
1827 installcheck-host: maybe-installcheck-flex
1828 installcheck-host: maybe-installcheck-gas
1829 installcheck-host: maybe-installcheck-gcc
1830 installcheck-host: maybe-installcheck-gmp
1831 installcheck-host: maybe-installcheck-mpfr
1832 installcheck-host: maybe-installcheck-mpc
1833 installcheck-host: maybe-installcheck-isl
1834 installcheck-host: maybe-installcheck-libelf
1835 installcheck-host: maybe-installcheck-gold
1836 installcheck-host: maybe-installcheck-gprof
1837 installcheck-host: maybe-installcheck-intl
1838 installcheck-host: maybe-installcheck-tcl
1839 installcheck-host: maybe-installcheck-itcl
1840 installcheck-host: maybe-installcheck-ld
1841 installcheck-host: maybe-installcheck-libbacktrace
1842 installcheck-host: maybe-installcheck-libcpp
1843 installcheck-host: maybe-installcheck-libdecnumber
1844 installcheck-host: maybe-installcheck-libgui
1845 installcheck-host: maybe-installcheck-libiberty
1846 installcheck-host: maybe-installcheck-libiberty-linker-plugin
1847 installcheck-host: maybe-installcheck-libiconv
1848 installcheck-host: maybe-installcheck-m4
1849 installcheck-host: maybe-installcheck-readline
1850 installcheck-host: maybe-installcheck-sid
1851 installcheck-host: maybe-installcheck-sim
1852 installcheck-host: maybe-installcheck-texinfo
1853 installcheck-host: maybe-installcheck-zlib
1854 installcheck-host: maybe-installcheck-gdb
1855 installcheck-host: maybe-installcheck-expect
1856 installcheck-host: maybe-installcheck-guile
1857 installcheck-host: maybe-installcheck-tk
1858 installcheck-host: maybe-installcheck-libtermcap
1859 installcheck-host: maybe-installcheck-utils
1860 installcheck-host: maybe-installcheck-gnattools
1861 installcheck-host: maybe-installcheck-lto-plugin
1862 installcheck-host: maybe-installcheck-libcc1
1864 .PHONY: installcheck-target
1866 installcheck-target: maybe-installcheck-target-libstdc++-v3
1867 installcheck-target: maybe-installcheck-target-libsanitizer
1868 installcheck-target: maybe-installcheck-target-libvtv
1869 installcheck-target: maybe-installcheck-target-libcilkrts
1870 installcheck-target: maybe-installcheck-target-liboffloadmic
1871 installcheck-target: maybe-installcheck-target-libssp
1872 installcheck-target: maybe-installcheck-target-newlib
1873 installcheck-target: maybe-installcheck-target-libgcc
1874 installcheck-target: maybe-installcheck-target-libbacktrace
1875 installcheck-target: maybe-installcheck-target-libquadmath
1876 installcheck-target: maybe-installcheck-target-libgfortran
1877 installcheck-target: maybe-installcheck-target-libobjc
1878 installcheck-target: maybe-installcheck-target-libgo
1879 installcheck-target: maybe-installcheck-target-libtermcap
1880 installcheck-target: maybe-installcheck-target-winsup
1881 installcheck-target: maybe-installcheck-target-libgloss
1882 installcheck-target: maybe-installcheck-target-libffi
1883 installcheck-target: maybe-installcheck-target-libjava
1884 installcheck-target: maybe-installcheck-target-zlib
1885 installcheck-target: maybe-installcheck-target-boehm-gc
1886 installcheck-target: maybe-installcheck-target-rda
1887 installcheck-target: maybe-installcheck-target-libada
1888 installcheck-target: maybe-installcheck-target-libgomp
1889 installcheck-target: maybe-installcheck-target-libitm
1890 installcheck-target: maybe-installcheck-target-libatomic
1892 .PHONY: do-mostlyclean
1893 do-mostlyclean:
1894 @: $(MAKE); $(unstage)
1895 @r=`${PWD_COMMAND}`; export r; \
1896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1897 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1898 mostlyclean-target
1901 .PHONY: mostlyclean-host
1903 mostlyclean-host: maybe-mostlyclean-bfd
1904 mostlyclean-host: maybe-mostlyclean-opcodes
1905 mostlyclean-host: maybe-mostlyclean-binutils
1906 mostlyclean-host: maybe-mostlyclean-bison
1907 mostlyclean-host: maybe-mostlyclean-cgen
1908 mostlyclean-host: maybe-mostlyclean-dejagnu
1909 mostlyclean-host: maybe-mostlyclean-etc
1910 mostlyclean-host: maybe-mostlyclean-fastjar
1911 mostlyclean-host: maybe-mostlyclean-fixincludes
1912 mostlyclean-host: maybe-mostlyclean-flex
1913 mostlyclean-host: maybe-mostlyclean-gas
1914 mostlyclean-host: maybe-mostlyclean-gcc
1915 mostlyclean-host: maybe-mostlyclean-gmp
1916 mostlyclean-host: maybe-mostlyclean-mpfr
1917 mostlyclean-host: maybe-mostlyclean-mpc
1918 mostlyclean-host: maybe-mostlyclean-isl
1919 mostlyclean-host: maybe-mostlyclean-libelf
1920 mostlyclean-host: maybe-mostlyclean-gold
1921 mostlyclean-host: maybe-mostlyclean-gprof
1922 mostlyclean-host: maybe-mostlyclean-intl
1923 mostlyclean-host: maybe-mostlyclean-tcl
1924 mostlyclean-host: maybe-mostlyclean-itcl
1925 mostlyclean-host: maybe-mostlyclean-ld
1926 mostlyclean-host: maybe-mostlyclean-libbacktrace
1927 mostlyclean-host: maybe-mostlyclean-libcpp
1928 mostlyclean-host: maybe-mostlyclean-libdecnumber
1929 mostlyclean-host: maybe-mostlyclean-libgui
1930 mostlyclean-host: maybe-mostlyclean-libiberty
1931 mostlyclean-host: maybe-mostlyclean-libiberty-linker-plugin
1932 mostlyclean-host: maybe-mostlyclean-libiconv
1933 mostlyclean-host: maybe-mostlyclean-m4
1934 mostlyclean-host: maybe-mostlyclean-readline
1935 mostlyclean-host: maybe-mostlyclean-sid
1936 mostlyclean-host: maybe-mostlyclean-sim
1937 mostlyclean-host: maybe-mostlyclean-texinfo
1938 mostlyclean-host: maybe-mostlyclean-zlib
1939 mostlyclean-host: maybe-mostlyclean-gdb
1940 mostlyclean-host: maybe-mostlyclean-expect
1941 mostlyclean-host: maybe-mostlyclean-guile
1942 mostlyclean-host: maybe-mostlyclean-tk
1943 mostlyclean-host: maybe-mostlyclean-libtermcap
1944 mostlyclean-host: maybe-mostlyclean-utils
1945 mostlyclean-host: maybe-mostlyclean-gnattools
1946 mostlyclean-host: maybe-mostlyclean-lto-plugin
1947 mostlyclean-host: maybe-mostlyclean-libcc1
1949 .PHONY: mostlyclean-target
1951 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1952 mostlyclean-target: maybe-mostlyclean-target-libsanitizer
1953 mostlyclean-target: maybe-mostlyclean-target-libvtv
1954 mostlyclean-target: maybe-mostlyclean-target-libcilkrts
1955 mostlyclean-target: maybe-mostlyclean-target-liboffloadmic
1956 mostlyclean-target: maybe-mostlyclean-target-libssp
1957 mostlyclean-target: maybe-mostlyclean-target-newlib
1958 mostlyclean-target: maybe-mostlyclean-target-libgcc
1959 mostlyclean-target: maybe-mostlyclean-target-libbacktrace
1960 mostlyclean-target: maybe-mostlyclean-target-libquadmath
1961 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1962 mostlyclean-target: maybe-mostlyclean-target-libobjc
1963 mostlyclean-target: maybe-mostlyclean-target-libgo
1964 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1965 mostlyclean-target: maybe-mostlyclean-target-winsup
1966 mostlyclean-target: maybe-mostlyclean-target-libgloss
1967 mostlyclean-target: maybe-mostlyclean-target-libffi
1968 mostlyclean-target: maybe-mostlyclean-target-libjava
1969 mostlyclean-target: maybe-mostlyclean-target-zlib
1970 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1971 mostlyclean-target: maybe-mostlyclean-target-rda
1972 mostlyclean-target: maybe-mostlyclean-target-libada
1973 mostlyclean-target: maybe-mostlyclean-target-libgomp
1974 mostlyclean-target: maybe-mostlyclean-target-libitm
1975 mostlyclean-target: maybe-mostlyclean-target-libatomic
1977 .PHONY: do-clean
1978 do-clean:
1979 @: $(MAKE); $(unstage)
1980 @r=`${PWD_COMMAND}`; export r; \
1981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1982 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1983 clean-target
1986 .PHONY: clean-host
1988 clean-host: maybe-clean-bfd
1989 clean-host: maybe-clean-opcodes
1990 clean-host: maybe-clean-binutils
1991 clean-host: maybe-clean-bison
1992 clean-host: maybe-clean-cgen
1993 clean-host: maybe-clean-dejagnu
1994 clean-host: maybe-clean-etc
1995 clean-host: maybe-clean-fastjar
1996 clean-host: maybe-clean-fixincludes
1997 clean-host: maybe-clean-flex
1998 clean-host: maybe-clean-gas
1999 clean-host: maybe-clean-gcc
2000 clean-host: maybe-clean-gmp
2001 clean-host: maybe-clean-mpfr
2002 clean-host: maybe-clean-mpc
2003 clean-host: maybe-clean-isl
2004 clean-host: maybe-clean-libelf
2005 clean-host: maybe-clean-gold
2006 clean-host: maybe-clean-gprof
2007 clean-host: maybe-clean-intl
2008 clean-host: maybe-clean-tcl
2009 clean-host: maybe-clean-itcl
2010 clean-host: maybe-clean-ld
2011 clean-host: maybe-clean-libbacktrace
2012 clean-host: maybe-clean-libcpp
2013 clean-host: maybe-clean-libdecnumber
2014 clean-host: maybe-clean-libgui
2015 clean-host: maybe-clean-libiberty
2016 clean-host: maybe-clean-libiberty-linker-plugin
2017 clean-host: maybe-clean-libiconv
2018 clean-host: maybe-clean-m4
2019 clean-host: maybe-clean-readline
2020 clean-host: maybe-clean-sid
2021 clean-host: maybe-clean-sim
2022 clean-host: maybe-clean-texinfo
2023 clean-host: maybe-clean-zlib
2024 clean-host: maybe-clean-gdb
2025 clean-host: maybe-clean-expect
2026 clean-host: maybe-clean-guile
2027 clean-host: maybe-clean-tk
2028 clean-host: maybe-clean-libtermcap
2029 clean-host: maybe-clean-utils
2030 clean-host: maybe-clean-gnattools
2031 clean-host: maybe-clean-lto-plugin
2032 clean-host: maybe-clean-libcc1
2034 .PHONY: clean-target
2036 clean-target: maybe-clean-target-libstdc++-v3
2037 clean-target: maybe-clean-target-libsanitizer
2038 clean-target: maybe-clean-target-libvtv
2039 clean-target: maybe-clean-target-libcilkrts
2040 clean-target: maybe-clean-target-liboffloadmic
2041 clean-target: maybe-clean-target-libssp
2042 clean-target: maybe-clean-target-newlib
2043 clean-target: maybe-clean-target-libgcc
2044 clean-target: maybe-clean-target-libbacktrace
2045 clean-target: maybe-clean-target-libquadmath
2046 clean-target: maybe-clean-target-libgfortran
2047 clean-target: maybe-clean-target-libobjc
2048 clean-target: maybe-clean-target-libgo
2049 clean-target: maybe-clean-target-libtermcap
2050 clean-target: maybe-clean-target-winsup
2051 clean-target: maybe-clean-target-libgloss
2052 clean-target: maybe-clean-target-libffi
2053 clean-target: maybe-clean-target-libjava
2054 clean-target: maybe-clean-target-zlib
2055 clean-target: maybe-clean-target-boehm-gc
2056 clean-target: maybe-clean-target-rda
2057 clean-target: maybe-clean-target-libada
2058 clean-target: maybe-clean-target-libgomp
2059 clean-target: maybe-clean-target-libitm
2060 clean-target: maybe-clean-target-libatomic
2062 .PHONY: do-distclean
2063 do-distclean:
2064 @: $(MAKE); $(unstage)
2065 @r=`${PWD_COMMAND}`; export r; \
2066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2067 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2068 distclean-target
2071 .PHONY: distclean-host
2073 distclean-host: maybe-distclean-bfd
2074 distclean-host: maybe-distclean-opcodes
2075 distclean-host: maybe-distclean-binutils
2076 distclean-host: maybe-distclean-bison
2077 distclean-host: maybe-distclean-cgen
2078 distclean-host: maybe-distclean-dejagnu
2079 distclean-host: maybe-distclean-etc
2080 distclean-host: maybe-distclean-fastjar
2081 distclean-host: maybe-distclean-fixincludes
2082 distclean-host: maybe-distclean-flex
2083 distclean-host: maybe-distclean-gas
2084 distclean-host: maybe-distclean-gcc
2085 distclean-host: maybe-distclean-gmp
2086 distclean-host: maybe-distclean-mpfr
2087 distclean-host: maybe-distclean-mpc
2088 distclean-host: maybe-distclean-isl
2089 distclean-host: maybe-distclean-libelf
2090 distclean-host: maybe-distclean-gold
2091 distclean-host: maybe-distclean-gprof
2092 distclean-host: maybe-distclean-intl
2093 distclean-host: maybe-distclean-tcl
2094 distclean-host: maybe-distclean-itcl
2095 distclean-host: maybe-distclean-ld
2096 distclean-host: maybe-distclean-libbacktrace
2097 distclean-host: maybe-distclean-libcpp
2098 distclean-host: maybe-distclean-libdecnumber
2099 distclean-host: maybe-distclean-libgui
2100 distclean-host: maybe-distclean-libiberty
2101 distclean-host: maybe-distclean-libiberty-linker-plugin
2102 distclean-host: maybe-distclean-libiconv
2103 distclean-host: maybe-distclean-m4
2104 distclean-host: maybe-distclean-readline
2105 distclean-host: maybe-distclean-sid
2106 distclean-host: maybe-distclean-sim
2107 distclean-host: maybe-distclean-texinfo
2108 distclean-host: maybe-distclean-zlib
2109 distclean-host: maybe-distclean-gdb
2110 distclean-host: maybe-distclean-expect
2111 distclean-host: maybe-distclean-guile
2112 distclean-host: maybe-distclean-tk
2113 distclean-host: maybe-distclean-libtermcap
2114 distclean-host: maybe-distclean-utils
2115 distclean-host: maybe-distclean-gnattools
2116 distclean-host: maybe-distclean-lto-plugin
2117 distclean-host: maybe-distclean-libcc1
2119 .PHONY: distclean-target
2121 distclean-target: maybe-distclean-target-libstdc++-v3
2122 distclean-target: maybe-distclean-target-libsanitizer
2123 distclean-target: maybe-distclean-target-libvtv
2124 distclean-target: maybe-distclean-target-libcilkrts
2125 distclean-target: maybe-distclean-target-liboffloadmic
2126 distclean-target: maybe-distclean-target-libssp
2127 distclean-target: maybe-distclean-target-newlib
2128 distclean-target: maybe-distclean-target-libgcc
2129 distclean-target: maybe-distclean-target-libbacktrace
2130 distclean-target: maybe-distclean-target-libquadmath
2131 distclean-target: maybe-distclean-target-libgfortran
2132 distclean-target: maybe-distclean-target-libobjc
2133 distclean-target: maybe-distclean-target-libgo
2134 distclean-target: maybe-distclean-target-libtermcap
2135 distclean-target: maybe-distclean-target-winsup
2136 distclean-target: maybe-distclean-target-libgloss
2137 distclean-target: maybe-distclean-target-libffi
2138 distclean-target: maybe-distclean-target-libjava
2139 distclean-target: maybe-distclean-target-zlib
2140 distclean-target: maybe-distclean-target-boehm-gc
2141 distclean-target: maybe-distclean-target-rda
2142 distclean-target: maybe-distclean-target-libada
2143 distclean-target: maybe-distclean-target-libgomp
2144 distclean-target: maybe-distclean-target-libitm
2145 distclean-target: maybe-distclean-target-libatomic
2147 .PHONY: do-maintainer-clean
2148 do-maintainer-clean:
2149 @: $(MAKE); $(unstage)
2150 @r=`${PWD_COMMAND}`; export r; \
2151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2152 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2153 maintainer-clean-target
2156 .PHONY: maintainer-clean-host
2158 maintainer-clean-host: maybe-maintainer-clean-bfd
2159 maintainer-clean-host: maybe-maintainer-clean-opcodes
2160 maintainer-clean-host: maybe-maintainer-clean-binutils
2161 maintainer-clean-host: maybe-maintainer-clean-bison
2162 maintainer-clean-host: maybe-maintainer-clean-cgen
2163 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2164 maintainer-clean-host: maybe-maintainer-clean-etc
2165 maintainer-clean-host: maybe-maintainer-clean-fastjar
2166 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2167 maintainer-clean-host: maybe-maintainer-clean-flex
2168 maintainer-clean-host: maybe-maintainer-clean-gas
2169 maintainer-clean-host: maybe-maintainer-clean-gcc
2170 maintainer-clean-host: maybe-maintainer-clean-gmp
2171 maintainer-clean-host: maybe-maintainer-clean-mpfr
2172 maintainer-clean-host: maybe-maintainer-clean-mpc
2173 maintainer-clean-host: maybe-maintainer-clean-isl
2174 maintainer-clean-host: maybe-maintainer-clean-libelf
2175 maintainer-clean-host: maybe-maintainer-clean-gold
2176 maintainer-clean-host: maybe-maintainer-clean-gprof
2177 maintainer-clean-host: maybe-maintainer-clean-intl
2178 maintainer-clean-host: maybe-maintainer-clean-tcl
2179 maintainer-clean-host: maybe-maintainer-clean-itcl
2180 maintainer-clean-host: maybe-maintainer-clean-ld
2181 maintainer-clean-host: maybe-maintainer-clean-libbacktrace
2182 maintainer-clean-host: maybe-maintainer-clean-libcpp
2183 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2184 maintainer-clean-host: maybe-maintainer-clean-libgui
2185 maintainer-clean-host: maybe-maintainer-clean-libiberty
2186 maintainer-clean-host: maybe-maintainer-clean-libiberty-linker-plugin
2187 maintainer-clean-host: maybe-maintainer-clean-libiconv
2188 maintainer-clean-host: maybe-maintainer-clean-m4
2189 maintainer-clean-host: maybe-maintainer-clean-readline
2190 maintainer-clean-host: maybe-maintainer-clean-sid
2191 maintainer-clean-host: maybe-maintainer-clean-sim
2192 maintainer-clean-host: maybe-maintainer-clean-texinfo
2193 maintainer-clean-host: maybe-maintainer-clean-zlib
2194 maintainer-clean-host: maybe-maintainer-clean-gdb
2195 maintainer-clean-host: maybe-maintainer-clean-expect
2196 maintainer-clean-host: maybe-maintainer-clean-guile
2197 maintainer-clean-host: maybe-maintainer-clean-tk
2198 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2199 maintainer-clean-host: maybe-maintainer-clean-utils
2200 maintainer-clean-host: maybe-maintainer-clean-gnattools
2201 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2202 maintainer-clean-host: maybe-maintainer-clean-libcc1
2204 .PHONY: maintainer-clean-target
2206 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2207 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
2208 maintainer-clean-target: maybe-maintainer-clean-target-libvtv
2209 maintainer-clean-target: maybe-maintainer-clean-target-libcilkrts
2210 maintainer-clean-target: maybe-maintainer-clean-target-liboffloadmic
2211 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2212 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2213 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2214 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
2215 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2216 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2217 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2218 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2219 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2220 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2221 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2222 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2223 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2224 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2225 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2226 maintainer-clean-target: maybe-maintainer-clean-target-rda
2227 maintainer-clean-target: maybe-maintainer-clean-target-libada
2228 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2229 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2230 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2233 # Here are the targets which correspond to the do-X targets.
2235 .PHONY: info installcheck dvi pdf html
2236 .PHONY: install-info install-pdf install-html
2237 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2238 .PHONY: local-clean local-distclean local-maintainer-clean
2239 info: do-info
2240 installcheck: do-installcheck
2241 dvi: do-dvi
2242 pdf: do-pdf
2243 html: do-html
2245 # Make sure makeinfo is built before we do a `make info', if we're
2246 # in fact building texinfo.
2247 do-info: maybe-all-texinfo
2249 install-info: do-install-info dir.info
2250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2251 if [ -f dir.info ] ; then \
2252 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2253 else true ; fi
2255 install-pdf: do-install-pdf
2257 install-html: do-install-html
2259 local-clean:
2260 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2262 local-distclean:
2263 -rm -f Makefile config.status config.cache mh-frag mt-frag
2264 -rm -f maybedep.tmp serdep.tmp
2265 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2266 rm -rf $(TARGET_SUBDIR); \
2267 else true; fi
2268 -rm -rf $(BUILD_SUBDIR)
2269 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2270 rm -rf $(HOST_SUBDIR); \
2271 else true; fi
2272 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2273 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2274 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2275 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2276 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2277 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2279 local-maintainer-clean:
2280 @echo "This command is intended for maintainers to use;"
2281 @echo "it deletes files that may require special tools to rebuild."
2283 clean: do-clean local-clean
2284 mostlyclean: do-mostlyclean local-clean
2285 distclean: do-distclean local-clean local-distclean
2286 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2287 maintainer-clean: local-distclean
2288 realclean: maintainer-clean
2290 # Check target.
2292 .PHONY: check do-check
2293 check: do-check
2295 # Only include modules actually being configured and built.
2296 .PHONY: check-host
2297 check-host: \
2298 maybe-check-bfd \
2299 maybe-check-opcodes \
2300 maybe-check-binutils \
2301 maybe-check-bison \
2302 maybe-check-cgen \
2303 maybe-check-dejagnu \
2304 maybe-check-etc \
2305 maybe-check-fastjar \
2306 maybe-check-fixincludes \
2307 maybe-check-flex \
2308 maybe-check-gas \
2309 maybe-check-gcc \
2310 maybe-check-gmp \
2311 maybe-check-mpfr \
2312 maybe-check-mpc \
2313 maybe-check-isl \
2314 maybe-check-libelf \
2315 maybe-check-gold \
2316 maybe-check-gprof \
2317 maybe-check-intl \
2318 maybe-check-tcl \
2319 maybe-check-itcl \
2320 maybe-check-ld \
2321 maybe-check-libbacktrace \
2322 maybe-check-libcpp \
2323 maybe-check-libdecnumber \
2324 maybe-check-libgui \
2325 maybe-check-libiberty \
2326 maybe-check-libiberty-linker-plugin \
2327 maybe-check-libiconv \
2328 maybe-check-m4 \
2329 maybe-check-readline \
2330 maybe-check-sid \
2331 maybe-check-sim \
2332 maybe-check-texinfo \
2333 maybe-check-zlib \
2334 maybe-check-gdb \
2335 maybe-check-expect \
2336 maybe-check-guile \
2337 maybe-check-tk \
2338 maybe-check-libtermcap \
2339 maybe-check-utils \
2340 maybe-check-gnattools \
2341 maybe-check-lto-plugin \
2342 maybe-check-libcc1
2344 .PHONY: check-target
2345 check-target: \
2346 maybe-check-target-libstdc++-v3 \
2347 maybe-check-target-libsanitizer \
2348 maybe-check-target-libvtv \
2349 maybe-check-target-libcilkrts \
2350 maybe-check-target-liboffloadmic \
2351 maybe-check-target-libssp \
2352 maybe-check-target-newlib \
2353 maybe-check-target-libgcc \
2354 maybe-check-target-libbacktrace \
2355 maybe-check-target-libquadmath \
2356 maybe-check-target-libgfortran \
2357 maybe-check-target-libobjc \
2358 maybe-check-target-libgo \
2359 maybe-check-target-libtermcap \
2360 maybe-check-target-winsup \
2361 maybe-check-target-libgloss \
2362 maybe-check-target-libffi \
2363 maybe-check-target-libjava \
2364 maybe-check-target-zlib \
2365 maybe-check-target-boehm-gc \
2366 maybe-check-target-rda \
2367 maybe-check-target-libada \
2368 maybe-check-target-libgomp \
2369 maybe-check-target-libitm \
2370 maybe-check-target-libatomic
2372 do-check:
2373 @: $(MAKE); $(unstage)
2374 @r=`${PWD_COMMAND}`; export r; \
2375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2376 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2378 # Automated reporting of test results.
2380 warning.log: build.log
2381 $(srcdir)/contrib/warn_summary build.log > $@
2383 mail-report.log:
2384 if test x'$(BOOT_CFLAGS)' != x''; then \
2385 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2386 fi; \
2387 $(srcdir)/contrib/test_summary -t >$@
2388 chmod +x $@
2389 echo If you really want to send e-mail, run ./$@ now
2391 mail-report-with-warnings.log: warning.log
2392 if test x'$(BOOT_CFLAGS)' != x''; then \
2393 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2394 fi; \
2395 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2396 chmod +x $@
2397 echo If you really want to send e-mail, run ./$@ now
2399 # Local Vim config
2401 $(srcdir)/.local.vimrc:
2402 $(LN_S) $(srcdir)/contrib/vimrc $@
2404 $(srcdir)/.lvimrc:
2405 $(LN_S) $(srcdir)/contrib/vimrc $@
2407 vimrc: $(srcdir)/.local.vimrc $(srcdir)/.lvimrc
2409 .PHONY: vimrc
2411 # Installation targets.
2413 .PHONY: install uninstall
2414 install:
2415 @: $(MAKE); $(unstage)
2416 @r=`${PWD_COMMAND}`; export r; \
2417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2418 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2420 .PHONY: install-host-nogcc
2421 install-host-nogcc: \
2422 maybe-install-bfd \
2423 maybe-install-opcodes \
2424 maybe-install-binutils \
2425 maybe-install-bison \
2426 maybe-install-cgen \
2427 maybe-install-dejagnu \
2428 maybe-install-etc \
2429 maybe-install-fastjar \
2430 maybe-install-fixincludes \
2431 maybe-install-flex \
2432 maybe-install-gas \
2433 maybe-install-gmp \
2434 maybe-install-mpfr \
2435 maybe-install-mpc \
2436 maybe-install-isl \
2437 maybe-install-libelf \
2438 maybe-install-gold \
2439 maybe-install-gprof \
2440 maybe-install-intl \
2441 maybe-install-tcl \
2442 maybe-install-itcl \
2443 maybe-install-ld \
2444 maybe-install-libbacktrace \
2445 maybe-install-libcpp \
2446 maybe-install-libdecnumber \
2447 maybe-install-libgui \
2448 maybe-install-libiberty \
2449 maybe-install-libiberty-linker-plugin \
2450 maybe-install-libiconv \
2451 maybe-install-m4 \
2452 maybe-install-readline \
2453 maybe-install-sid \
2454 maybe-install-sim \
2455 maybe-install-texinfo \
2456 maybe-install-zlib \
2457 maybe-install-gdb \
2458 maybe-install-expect \
2459 maybe-install-guile \
2460 maybe-install-tk \
2461 maybe-install-libtermcap \
2462 maybe-install-utils \
2463 maybe-install-gnattools \
2464 maybe-install-lto-plugin \
2465 maybe-install-libcc1
2467 .PHONY: install-host
2468 install-host: \
2469 maybe-install-bfd \
2470 maybe-install-opcodes \
2471 maybe-install-binutils \
2472 maybe-install-bison \
2473 maybe-install-cgen \
2474 maybe-install-dejagnu \
2475 maybe-install-etc \
2476 maybe-install-fastjar \
2477 maybe-install-fixincludes \
2478 maybe-install-flex \
2479 maybe-install-gas \
2480 maybe-install-gcc \
2481 maybe-install-gmp \
2482 maybe-install-mpfr \
2483 maybe-install-mpc \
2484 maybe-install-isl \
2485 maybe-install-libelf \
2486 maybe-install-gold \
2487 maybe-install-gprof \
2488 maybe-install-intl \
2489 maybe-install-tcl \
2490 maybe-install-itcl \
2491 maybe-install-ld \
2492 maybe-install-libbacktrace \
2493 maybe-install-libcpp \
2494 maybe-install-libdecnumber \
2495 maybe-install-libgui \
2496 maybe-install-libiberty \
2497 maybe-install-libiberty-linker-plugin \
2498 maybe-install-libiconv \
2499 maybe-install-m4 \
2500 maybe-install-readline \
2501 maybe-install-sid \
2502 maybe-install-sim \
2503 maybe-install-texinfo \
2504 maybe-install-zlib \
2505 maybe-install-gdb \
2506 maybe-install-expect \
2507 maybe-install-guile \
2508 maybe-install-tk \
2509 maybe-install-libtermcap \
2510 maybe-install-utils \
2511 maybe-install-gnattools \
2512 maybe-install-lto-plugin \
2513 maybe-install-libcc1
2515 .PHONY: install-target
2516 install-target: \
2517 maybe-install-target-libstdc++-v3 \
2518 maybe-install-target-libsanitizer \
2519 maybe-install-target-libvtv \
2520 maybe-install-target-libcilkrts \
2521 maybe-install-target-liboffloadmic \
2522 maybe-install-target-libssp \
2523 maybe-install-target-newlib \
2524 maybe-install-target-libgcc \
2525 maybe-install-target-libbacktrace \
2526 maybe-install-target-libquadmath \
2527 maybe-install-target-libgfortran \
2528 maybe-install-target-libobjc \
2529 maybe-install-target-libgo \
2530 maybe-install-target-libtermcap \
2531 maybe-install-target-winsup \
2532 maybe-install-target-libgloss \
2533 maybe-install-target-libffi \
2534 maybe-install-target-libjava \
2535 maybe-install-target-zlib \
2536 maybe-install-target-boehm-gc \
2537 maybe-install-target-rda \
2538 maybe-install-target-libada \
2539 maybe-install-target-libgomp \
2540 maybe-install-target-libitm \
2541 maybe-install-target-libatomic
2543 uninstall:
2544 @echo "the uninstall target is not supported in this tree"
2546 .PHONY: install.all
2547 install.all: install-no-fixedincludes
2548 @if [ -f ./gcc/Makefile ] ; then \
2549 r=`${PWD_COMMAND}` ; export r ; \
2550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2551 $(HOST_EXPORTS) \
2552 (cd ./gcc && \
2553 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2554 else \
2555 true ; \
2558 # install-no-fixedincludes is used to allow the elaboration of binary packages
2559 # suitable for distribution, where we cannot include the fixed system header
2560 # files.
2561 .PHONY: install-no-fixedincludes
2562 install-no-fixedincludes: installdirs install-host-nogcc \
2563 install-target gcc-install-no-fixedincludes
2565 .PHONY: install-strip
2566 install-strip:
2567 @: $(MAKE); $(unstage)
2568 @r=`${PWD_COMMAND}`; export r; \
2569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2570 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2572 .PHONY: install-strip-host
2573 install-strip-host: \
2574 maybe-install-strip-bfd \
2575 maybe-install-strip-opcodes \
2576 maybe-install-strip-binutils \
2577 maybe-install-strip-bison \
2578 maybe-install-strip-cgen \
2579 maybe-install-strip-dejagnu \
2580 maybe-install-strip-etc \
2581 maybe-install-strip-fastjar \
2582 maybe-install-strip-fixincludes \
2583 maybe-install-strip-flex \
2584 maybe-install-strip-gas \
2585 maybe-install-strip-gcc \
2586 maybe-install-strip-gmp \
2587 maybe-install-strip-mpfr \
2588 maybe-install-strip-mpc \
2589 maybe-install-strip-isl \
2590 maybe-install-strip-libelf \
2591 maybe-install-strip-gold \
2592 maybe-install-strip-gprof \
2593 maybe-install-strip-intl \
2594 maybe-install-strip-tcl \
2595 maybe-install-strip-itcl \
2596 maybe-install-strip-ld \
2597 maybe-install-strip-libbacktrace \
2598 maybe-install-strip-libcpp \
2599 maybe-install-strip-libdecnumber \
2600 maybe-install-strip-libgui \
2601 maybe-install-strip-libiberty \
2602 maybe-install-strip-libiberty-linker-plugin \
2603 maybe-install-strip-libiconv \
2604 maybe-install-strip-m4 \
2605 maybe-install-strip-readline \
2606 maybe-install-strip-sid \
2607 maybe-install-strip-sim \
2608 maybe-install-strip-texinfo \
2609 maybe-install-strip-zlib \
2610 maybe-install-strip-gdb \
2611 maybe-install-strip-expect \
2612 maybe-install-strip-guile \
2613 maybe-install-strip-tk \
2614 maybe-install-strip-libtermcap \
2615 maybe-install-strip-utils \
2616 maybe-install-strip-gnattools \
2617 maybe-install-strip-lto-plugin \
2618 maybe-install-strip-libcc1
2620 .PHONY: install-strip-target
2621 install-strip-target: \
2622 maybe-install-strip-target-libstdc++-v3 \
2623 maybe-install-strip-target-libsanitizer \
2624 maybe-install-strip-target-libvtv \
2625 maybe-install-strip-target-libcilkrts \
2626 maybe-install-strip-target-liboffloadmic \
2627 maybe-install-strip-target-libssp \
2628 maybe-install-strip-target-newlib \
2629 maybe-install-strip-target-libgcc \
2630 maybe-install-strip-target-libbacktrace \
2631 maybe-install-strip-target-libquadmath \
2632 maybe-install-strip-target-libgfortran \
2633 maybe-install-strip-target-libobjc \
2634 maybe-install-strip-target-libgo \
2635 maybe-install-strip-target-libtermcap \
2636 maybe-install-strip-target-winsup \
2637 maybe-install-strip-target-libgloss \
2638 maybe-install-strip-target-libffi \
2639 maybe-install-strip-target-libjava \
2640 maybe-install-strip-target-zlib \
2641 maybe-install-strip-target-boehm-gc \
2642 maybe-install-strip-target-rda \
2643 maybe-install-strip-target-libada \
2644 maybe-install-strip-target-libgomp \
2645 maybe-install-strip-target-libitm \
2646 maybe-install-strip-target-libatomic
2649 ### other supporting targets
2651 MAKEDIRS= \
2652 $(DESTDIR)$(prefix) \
2653 $(DESTDIR)$(exec_prefix)
2654 .PHONY: installdirs
2655 installdirs: mkinstalldirs
2656 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2658 dir.info: do-install-info
2659 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2660 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2661 mv -f dir.info.new dir.info ; \
2662 else true ; \
2665 dist:
2666 @echo "Building a full distribution of this tree isn't done"
2667 @echo "via 'make dist'. Check out the etc/ subdirectory"
2669 etags tags: TAGS
2671 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2672 # ability to use several tags files at once, so there is probably no need
2673 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2674 # (if we felt like it) have this Makefile write a piece of elisp which
2675 # the user could load to tell emacs19 where all the TAGS files we just
2676 # built are.
2677 TAGS: do-TAGS
2679 # ------------------------------------
2680 # Macros for configure and all targets
2681 # ------------------------------------
2687 # --------------------------------------
2688 # Modules which run on the build machine
2689 # --------------------------------------
2692 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2693 maybe-configure-build-libiberty:
2694 @if gcc-bootstrap
2695 configure-build-libiberty: stage_current
2696 @endif gcc-bootstrap
2697 @if build-libiberty
2698 maybe-configure-build-libiberty: configure-build-libiberty
2699 configure-build-libiberty:
2700 @: $(MAKE); $(unstage)
2701 @r=`${PWD_COMMAND}`; export r; \
2702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2703 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2704 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2705 $(BUILD_EXPORTS) \
2706 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2707 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2708 case $(srcdir) in \
2709 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2710 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2711 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2712 esac; \
2713 module_srcdir=libiberty; \
2714 rm -f no-such-file || : ; \
2715 CONFIG_SITE=no-such-file $(SHELL) \
2716 $$s/$$module_srcdir/configure \
2717 --srcdir=$${topdir}/$$module_srcdir \
2718 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2719 --target=${target_alias} \
2720 || exit 1
2721 @endif build-libiberty
2727 .PHONY: all-build-libiberty maybe-all-build-libiberty
2728 maybe-all-build-libiberty:
2729 @if gcc-bootstrap
2730 all-build-libiberty: stage_current
2731 @endif gcc-bootstrap
2732 @if build-libiberty
2733 TARGET-build-libiberty=all
2734 maybe-all-build-libiberty: all-build-libiberty
2735 all-build-libiberty: configure-build-libiberty
2736 @: $(MAKE); $(unstage)
2737 @r=`${PWD_COMMAND}`; export r; \
2738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2739 $(BUILD_EXPORTS) \
2740 (cd $(BUILD_SUBDIR)/libiberty && \
2741 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2742 $(TARGET-build-libiberty))
2743 @endif build-libiberty
2749 .PHONY: configure-build-bison maybe-configure-build-bison
2750 maybe-configure-build-bison:
2751 @if gcc-bootstrap
2752 configure-build-bison: stage_current
2753 @endif gcc-bootstrap
2754 @if build-bison
2755 maybe-configure-build-bison: configure-build-bison
2756 configure-build-bison:
2757 @: $(MAKE); $(unstage)
2758 @r=`${PWD_COMMAND}`; export r; \
2759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2760 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2761 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2762 $(BUILD_EXPORTS) \
2763 echo Configuring in $(BUILD_SUBDIR)/bison; \
2764 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2765 case $(srcdir) in \
2766 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2767 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2768 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2769 esac; \
2770 module_srcdir=bison; \
2771 rm -f no-such-file || : ; \
2772 CONFIG_SITE=no-such-file $(SHELL) \
2773 $$s/$$module_srcdir/configure \
2774 --srcdir=$${topdir}/$$module_srcdir \
2775 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2776 --target=${target_alias} \
2777 || exit 1
2778 @endif build-bison
2784 .PHONY: all-build-bison maybe-all-build-bison
2785 maybe-all-build-bison:
2786 @if gcc-bootstrap
2787 all-build-bison: stage_current
2788 @endif gcc-bootstrap
2789 @if build-bison
2790 TARGET-build-bison=all
2791 maybe-all-build-bison: all-build-bison
2792 all-build-bison: configure-build-bison
2793 @: $(MAKE); $(unstage)
2794 @r=`${PWD_COMMAND}`; export r; \
2795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2796 $(BUILD_EXPORTS) \
2797 (cd $(BUILD_SUBDIR)/bison && \
2798 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2799 $(TARGET-build-bison))
2800 @endif build-bison
2806 .PHONY: configure-build-flex maybe-configure-build-flex
2807 maybe-configure-build-flex:
2808 @if gcc-bootstrap
2809 configure-build-flex: stage_current
2810 @endif gcc-bootstrap
2811 @if build-flex
2812 maybe-configure-build-flex: configure-build-flex
2813 configure-build-flex:
2814 @: $(MAKE); $(unstage)
2815 @r=`${PWD_COMMAND}`; export r; \
2816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2817 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2818 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2819 $(BUILD_EXPORTS) \
2820 echo Configuring in $(BUILD_SUBDIR)/flex; \
2821 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2822 case $(srcdir) in \
2823 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2824 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2825 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2826 esac; \
2827 module_srcdir=flex; \
2828 rm -f no-such-file || : ; \
2829 CONFIG_SITE=no-such-file $(SHELL) \
2830 $$s/$$module_srcdir/configure \
2831 --srcdir=$${topdir}/$$module_srcdir \
2832 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2833 --target=${target_alias} \
2834 || exit 1
2835 @endif build-flex
2841 .PHONY: all-build-flex maybe-all-build-flex
2842 maybe-all-build-flex:
2843 @if gcc-bootstrap
2844 all-build-flex: stage_current
2845 @endif gcc-bootstrap
2846 @if build-flex
2847 TARGET-build-flex=all
2848 maybe-all-build-flex: all-build-flex
2849 all-build-flex: configure-build-flex
2850 @: $(MAKE); $(unstage)
2851 @r=`${PWD_COMMAND}`; export r; \
2852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2853 $(BUILD_EXPORTS) \
2854 (cd $(BUILD_SUBDIR)/flex && \
2855 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2856 $(TARGET-build-flex))
2857 @endif build-flex
2863 .PHONY: configure-build-m4 maybe-configure-build-m4
2864 maybe-configure-build-m4:
2865 @if gcc-bootstrap
2866 configure-build-m4: stage_current
2867 @endif gcc-bootstrap
2868 @if build-m4
2869 maybe-configure-build-m4: configure-build-m4
2870 configure-build-m4:
2871 @: $(MAKE); $(unstage)
2872 @r=`${PWD_COMMAND}`; export r; \
2873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2874 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2875 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2876 $(BUILD_EXPORTS) \
2877 echo Configuring in $(BUILD_SUBDIR)/m4; \
2878 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2879 case $(srcdir) in \
2880 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2881 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2882 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2883 esac; \
2884 module_srcdir=m4; \
2885 rm -f no-such-file || : ; \
2886 CONFIG_SITE=no-such-file $(SHELL) \
2887 $$s/$$module_srcdir/configure \
2888 --srcdir=$${topdir}/$$module_srcdir \
2889 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2890 --target=${target_alias} \
2891 || exit 1
2892 @endif build-m4
2898 .PHONY: all-build-m4 maybe-all-build-m4
2899 maybe-all-build-m4:
2900 @if gcc-bootstrap
2901 all-build-m4: stage_current
2902 @endif gcc-bootstrap
2903 @if build-m4
2904 TARGET-build-m4=all
2905 maybe-all-build-m4: all-build-m4
2906 all-build-m4: configure-build-m4
2907 @: $(MAKE); $(unstage)
2908 @r=`${PWD_COMMAND}`; export r; \
2909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2910 $(BUILD_EXPORTS) \
2911 (cd $(BUILD_SUBDIR)/m4 && \
2912 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2913 $(TARGET-build-m4))
2914 @endif build-m4
2920 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2921 maybe-configure-build-texinfo:
2922 @if gcc-bootstrap
2923 configure-build-texinfo: stage_current
2924 @endif gcc-bootstrap
2925 @if build-texinfo
2926 maybe-configure-build-texinfo: configure-build-texinfo
2927 configure-build-texinfo:
2928 @: $(MAKE); $(unstage)
2929 @r=`${PWD_COMMAND}`; export r; \
2930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2931 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2932 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2933 $(BUILD_EXPORTS) \
2934 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2935 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2936 case $(srcdir) in \
2937 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2938 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2939 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2940 esac; \
2941 module_srcdir=texinfo; \
2942 rm -f no-such-file || : ; \
2943 CONFIG_SITE=no-such-file $(SHELL) \
2944 $$s/$$module_srcdir/configure \
2945 --srcdir=$${topdir}/$$module_srcdir \
2946 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2947 --target=${target_alias} \
2948 || exit 1
2949 @endif build-texinfo
2955 .PHONY: all-build-texinfo maybe-all-build-texinfo
2956 maybe-all-build-texinfo:
2957 @if gcc-bootstrap
2958 all-build-texinfo: stage_current
2959 @endif gcc-bootstrap
2960 @if build-texinfo
2961 TARGET-build-texinfo=all
2962 maybe-all-build-texinfo: all-build-texinfo
2963 all-build-texinfo: configure-build-texinfo
2964 @: $(MAKE); $(unstage)
2965 @r=`${PWD_COMMAND}`; export r; \
2966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2967 $(BUILD_EXPORTS) \
2968 (cd $(BUILD_SUBDIR)/texinfo && \
2969 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2970 $(TARGET-build-texinfo))
2971 @endif build-texinfo
2977 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2978 maybe-configure-build-fixincludes:
2979 @if gcc-bootstrap
2980 configure-build-fixincludes: stage_current
2981 @endif gcc-bootstrap
2982 @if build-fixincludes
2983 maybe-configure-build-fixincludes: configure-build-fixincludes
2984 configure-build-fixincludes:
2985 @: $(MAKE); $(unstage)
2986 @r=`${PWD_COMMAND}`; export r; \
2987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2988 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2989 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2990 $(BUILD_EXPORTS) \
2991 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2992 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2993 case $(srcdir) in \
2994 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2995 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2996 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2997 esac; \
2998 module_srcdir=fixincludes; \
2999 rm -f no-such-file || : ; \
3000 CONFIG_SITE=no-such-file $(SHELL) \
3001 $$s/$$module_srcdir/configure \
3002 --srcdir=$${topdir}/$$module_srcdir \
3003 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3004 --target=${target_alias} \
3005 || exit 1
3006 @endif build-fixincludes
3012 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
3013 maybe-all-build-fixincludes:
3014 @if gcc-bootstrap
3015 all-build-fixincludes: stage_current
3016 @endif gcc-bootstrap
3017 @if build-fixincludes
3018 TARGET-build-fixincludes=all
3019 maybe-all-build-fixincludes: all-build-fixincludes
3020 all-build-fixincludes: configure-build-fixincludes
3021 @: $(MAKE); $(unstage)
3022 @r=`${PWD_COMMAND}`; export r; \
3023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3024 $(BUILD_EXPORTS) \
3025 (cd $(BUILD_SUBDIR)/fixincludes && \
3026 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3027 $(TARGET-build-fixincludes))
3028 @endif build-fixincludes
3034 .PHONY: configure-build-libcpp maybe-configure-build-libcpp
3035 maybe-configure-build-libcpp:
3036 @if gcc-bootstrap
3037 configure-build-libcpp: stage_current
3038 @endif gcc-bootstrap
3039 @if build-libcpp
3040 maybe-configure-build-libcpp: configure-build-libcpp
3041 configure-build-libcpp:
3042 @: $(MAKE); $(unstage)
3043 @r=`${PWD_COMMAND}`; export r; \
3044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3045 test ! -f $(BUILD_SUBDIR)/libcpp/Makefile || exit 0; \
3046 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libcpp ; \
3047 $(BUILD_EXPORTS) \
3048 echo Configuring in $(BUILD_SUBDIR)/libcpp; \
3049 cd "$(BUILD_SUBDIR)/libcpp" || exit 1; \
3050 case $(srcdir) in \
3051 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3052 *) topdir=`echo $(BUILD_SUBDIR)/libcpp/ | \
3053 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3054 esac; \
3055 module_srcdir=libcpp; \
3056 rm -f no-such-file || : ; \
3057 CONFIG_SITE=no-such-file $(SHELL) \
3058 $$s/$$module_srcdir/configure \
3059 --srcdir=$${topdir}/$$module_srcdir \
3060 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3061 --target=${target_alias} --disable-nls am_cv_func_iconv=no \
3062 || exit 1
3063 @endif build-libcpp
3069 .PHONY: all-build-libcpp maybe-all-build-libcpp
3070 maybe-all-build-libcpp:
3071 @if gcc-bootstrap
3072 all-build-libcpp: stage_current
3073 @endif gcc-bootstrap
3074 @if build-libcpp
3075 TARGET-build-libcpp=all
3076 maybe-all-build-libcpp: all-build-libcpp
3077 all-build-libcpp: configure-build-libcpp
3078 @: $(MAKE); $(unstage)
3079 @r=`${PWD_COMMAND}`; export r; \
3080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3081 $(BUILD_EXPORTS) \
3082 (cd $(BUILD_SUBDIR)/libcpp && \
3083 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3084 $(TARGET-build-libcpp))
3085 @endif build-libcpp
3091 # --------------------------------------
3092 # Modules which run on the host machine
3093 # --------------------------------------
3096 .PHONY: configure-bfd maybe-configure-bfd
3097 maybe-configure-bfd:
3098 @if gcc-bootstrap
3099 configure-bfd: stage_current
3100 @endif gcc-bootstrap
3101 @if bfd
3102 maybe-configure-bfd: configure-bfd
3103 configure-bfd:
3104 @r=`${PWD_COMMAND}`; export r; \
3105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3106 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3107 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3108 $(HOST_EXPORTS) \
3109 echo Configuring in $(HOST_SUBDIR)/bfd; \
3110 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3111 case $(srcdir) in \
3112 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3113 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3114 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3115 esac; \
3116 module_srcdir=bfd; \
3117 $(SHELL) \
3118 $$s/$$module_srcdir/configure \
3119 --srcdir=$${topdir}/$$module_srcdir \
3120 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3121 --target=${target_alias} \
3122 || exit 1
3123 @endif bfd
3127 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3128 maybe-configure-stage1-bfd:
3129 @if bfd-bootstrap
3130 maybe-configure-stage1-bfd: configure-stage1-bfd
3131 configure-stage1-bfd:
3132 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3133 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3134 @r=`${PWD_COMMAND}`; export r; \
3135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3136 TFLAGS="$(STAGE1_TFLAGS)"; \
3137 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3138 $(HOST_EXPORTS) \
3139 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3140 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3141 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3142 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
3143 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3144 cd $(HOST_SUBDIR)/bfd || exit 1; \
3145 case $(srcdir) in \
3146 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3147 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3148 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3149 esac; \
3150 module_srcdir=bfd; \
3151 $(SHELL) $$s/$$module_srcdir/configure \
3152 --srcdir=$${topdir}/$$module_srcdir \
3153 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3154 --target=${target_alias} \
3156 $(STAGE1_CONFIGURE_FLAGS)
3157 @endif bfd-bootstrap
3159 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3160 maybe-configure-stage2-bfd:
3161 @if bfd-bootstrap
3162 maybe-configure-stage2-bfd: configure-stage2-bfd
3163 configure-stage2-bfd:
3164 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3165 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3166 @r=`${PWD_COMMAND}`; export r; \
3167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3168 TFLAGS="$(STAGE2_TFLAGS)"; \
3169 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3170 $(HOST_EXPORTS) \
3171 $(POSTSTAGE1_HOST_EXPORTS) \
3172 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3173 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3174 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3175 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
3176 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3177 cd $(HOST_SUBDIR)/bfd || exit 1; \
3178 case $(srcdir) in \
3179 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3180 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3181 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3182 esac; \
3183 module_srcdir=bfd; \
3184 $(SHELL) $$s/$$module_srcdir/configure \
3185 --srcdir=$${topdir}/$$module_srcdir \
3186 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3187 --target=${target_alias} \
3188 --with-build-libsubdir=$(HOST_SUBDIR) \
3189 $(STAGE2_CONFIGURE_FLAGS)
3190 @endif bfd-bootstrap
3192 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3193 maybe-configure-stage3-bfd:
3194 @if bfd-bootstrap
3195 maybe-configure-stage3-bfd: configure-stage3-bfd
3196 configure-stage3-bfd:
3197 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3198 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3199 @r=`${PWD_COMMAND}`; export r; \
3200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3201 TFLAGS="$(STAGE3_TFLAGS)"; \
3202 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3203 $(HOST_EXPORTS) \
3204 $(POSTSTAGE1_HOST_EXPORTS) \
3205 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3206 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3207 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3208 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
3209 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3210 cd $(HOST_SUBDIR)/bfd || exit 1; \
3211 case $(srcdir) in \
3212 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3213 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3214 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3215 esac; \
3216 module_srcdir=bfd; \
3217 $(SHELL) $$s/$$module_srcdir/configure \
3218 --srcdir=$${topdir}/$$module_srcdir \
3219 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3220 --target=${target_alias} \
3221 --with-build-libsubdir=$(HOST_SUBDIR) \
3222 $(STAGE3_CONFIGURE_FLAGS)
3223 @endif bfd-bootstrap
3225 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3226 maybe-configure-stage4-bfd:
3227 @if bfd-bootstrap
3228 maybe-configure-stage4-bfd: configure-stage4-bfd
3229 configure-stage4-bfd:
3230 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3231 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3232 @r=`${PWD_COMMAND}`; export r; \
3233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3234 TFLAGS="$(STAGE4_TFLAGS)"; \
3235 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3236 $(HOST_EXPORTS) \
3237 $(POSTSTAGE1_HOST_EXPORTS) \
3238 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3239 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3240 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3241 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
3242 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3243 cd $(HOST_SUBDIR)/bfd || exit 1; \
3244 case $(srcdir) in \
3245 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3246 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3247 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3248 esac; \
3249 module_srcdir=bfd; \
3250 $(SHELL) $$s/$$module_srcdir/configure \
3251 --srcdir=$${topdir}/$$module_srcdir \
3252 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3253 --target=${target_alias} \
3254 --with-build-libsubdir=$(HOST_SUBDIR) \
3255 $(STAGE4_CONFIGURE_FLAGS)
3256 @endif bfd-bootstrap
3258 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3259 maybe-configure-stageprofile-bfd:
3260 @if bfd-bootstrap
3261 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3262 configure-stageprofile-bfd:
3263 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3264 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3265 @r=`${PWD_COMMAND}`; export r; \
3266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3267 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3268 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3269 $(HOST_EXPORTS) \
3270 $(POSTSTAGE1_HOST_EXPORTS) \
3271 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3272 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3273 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3274 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
3275 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3276 cd $(HOST_SUBDIR)/bfd || exit 1; \
3277 case $(srcdir) in \
3278 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3279 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3280 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3281 esac; \
3282 module_srcdir=bfd; \
3283 $(SHELL) $$s/$$module_srcdir/configure \
3284 --srcdir=$${topdir}/$$module_srcdir \
3285 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3286 --target=${target_alias} \
3287 --with-build-libsubdir=$(HOST_SUBDIR) \
3288 $(STAGEprofile_CONFIGURE_FLAGS)
3289 @endif bfd-bootstrap
3291 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3292 maybe-configure-stagefeedback-bfd:
3293 @if bfd-bootstrap
3294 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3295 configure-stagefeedback-bfd:
3296 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3297 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3298 @r=`${PWD_COMMAND}`; export r; \
3299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3300 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3301 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3302 $(HOST_EXPORTS) \
3303 $(POSTSTAGE1_HOST_EXPORTS) \
3304 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3305 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3306 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3307 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
3308 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3309 cd $(HOST_SUBDIR)/bfd || exit 1; \
3310 case $(srcdir) in \
3311 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3312 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3313 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3314 esac; \
3315 module_srcdir=bfd; \
3316 $(SHELL) $$s/$$module_srcdir/configure \
3317 --srcdir=$${topdir}/$$module_srcdir \
3318 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3319 --target=${target_alias} \
3320 --with-build-libsubdir=$(HOST_SUBDIR) \
3321 $(STAGEfeedback_CONFIGURE_FLAGS)
3322 @endif bfd-bootstrap
3328 .PHONY: all-bfd maybe-all-bfd
3329 maybe-all-bfd:
3330 @if gcc-bootstrap
3331 all-bfd: stage_current
3332 @endif gcc-bootstrap
3333 @if bfd
3334 TARGET-bfd=all
3335 maybe-all-bfd: all-bfd
3336 all-bfd: configure-bfd
3337 @r=`${PWD_COMMAND}`; export r; \
3338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3339 $(HOST_EXPORTS) \
3340 (cd $(HOST_SUBDIR)/bfd && \
3341 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
3342 $(TARGET-bfd))
3343 @endif bfd
3347 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3348 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3349 maybe-all-stage1-bfd:
3350 maybe-clean-stage1-bfd:
3351 @if bfd-bootstrap
3352 maybe-all-stage1-bfd: all-stage1-bfd
3353 all-stage1: all-stage1-bfd
3354 TARGET-stage1-bfd = $(TARGET-bfd)
3355 all-stage1-bfd: configure-stage1-bfd
3356 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3357 @r=`${PWD_COMMAND}`; export r; \
3358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3359 TFLAGS="$(STAGE1_TFLAGS)"; \
3360 $(HOST_EXPORTS) \
3361 cd $(HOST_SUBDIR)/bfd && \
3362 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3363 CFLAGS="$(STAGE1_CFLAGS)" \
3364 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3365 LIBCFLAGS="$(LIBCFLAGS)" \
3366 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3367 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3368 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3369 $(EXTRA_HOST_FLAGS) \
3370 $(STAGE1_FLAGS_TO_PASS) \
3371 TFLAGS="$(STAGE1_TFLAGS)" \
3372 $(TARGET-stage1-bfd)
3374 maybe-clean-stage1-bfd: clean-stage1-bfd
3375 clean-stage1: clean-stage1-bfd
3376 clean-stage1-bfd:
3377 @if [ $(current_stage) = stage1 ]; then \
3378 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3379 else \
3380 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3381 $(MAKE) stage1-start; \
3382 fi; \
3383 cd $(HOST_SUBDIR)/bfd && \
3384 $(MAKE) $(EXTRA_HOST_FLAGS) \
3385 $(STAGE1_FLAGS_TO_PASS) clean
3386 @endif bfd-bootstrap
3389 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3390 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3391 maybe-all-stage2-bfd:
3392 maybe-clean-stage2-bfd:
3393 @if bfd-bootstrap
3394 maybe-all-stage2-bfd: all-stage2-bfd
3395 all-stage2: all-stage2-bfd
3396 TARGET-stage2-bfd = $(TARGET-bfd)
3397 all-stage2-bfd: configure-stage2-bfd
3398 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3399 @r=`${PWD_COMMAND}`; export r; \
3400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3401 TFLAGS="$(STAGE2_TFLAGS)"; \
3402 $(HOST_EXPORTS) \
3403 $(POSTSTAGE1_HOST_EXPORTS) \
3404 cd $(HOST_SUBDIR)/bfd && \
3405 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3406 CFLAGS="$(STAGE2_CFLAGS)" \
3407 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3408 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3409 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3410 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3411 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3412 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3413 TFLAGS="$(STAGE2_TFLAGS)" \
3414 $(TARGET-stage2-bfd)
3416 maybe-clean-stage2-bfd: clean-stage2-bfd
3417 clean-stage2: clean-stage2-bfd
3418 clean-stage2-bfd:
3419 @if [ $(current_stage) = stage2 ]; then \
3420 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3421 else \
3422 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3423 $(MAKE) stage2-start; \
3424 fi; \
3425 cd $(HOST_SUBDIR)/bfd && \
3426 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3427 @endif bfd-bootstrap
3430 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3431 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3432 maybe-all-stage3-bfd:
3433 maybe-clean-stage3-bfd:
3434 @if bfd-bootstrap
3435 maybe-all-stage3-bfd: all-stage3-bfd
3436 all-stage3: all-stage3-bfd
3437 TARGET-stage3-bfd = $(TARGET-bfd)
3438 all-stage3-bfd: configure-stage3-bfd
3439 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3440 @r=`${PWD_COMMAND}`; export r; \
3441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3442 TFLAGS="$(STAGE3_TFLAGS)"; \
3443 $(HOST_EXPORTS) \
3444 $(POSTSTAGE1_HOST_EXPORTS) \
3445 cd $(HOST_SUBDIR)/bfd && \
3446 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3447 CFLAGS="$(STAGE3_CFLAGS)" \
3448 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3449 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3450 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3451 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3452 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3453 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3454 TFLAGS="$(STAGE3_TFLAGS)" \
3455 $(TARGET-stage3-bfd)
3457 maybe-clean-stage3-bfd: clean-stage3-bfd
3458 clean-stage3: clean-stage3-bfd
3459 clean-stage3-bfd:
3460 @if [ $(current_stage) = stage3 ]; then \
3461 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3462 else \
3463 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3464 $(MAKE) stage3-start; \
3465 fi; \
3466 cd $(HOST_SUBDIR)/bfd && \
3467 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3468 @endif bfd-bootstrap
3471 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3472 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3473 maybe-all-stage4-bfd:
3474 maybe-clean-stage4-bfd:
3475 @if bfd-bootstrap
3476 maybe-all-stage4-bfd: all-stage4-bfd
3477 all-stage4: all-stage4-bfd
3478 TARGET-stage4-bfd = $(TARGET-bfd)
3479 all-stage4-bfd: configure-stage4-bfd
3480 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3481 @r=`${PWD_COMMAND}`; export r; \
3482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3483 TFLAGS="$(STAGE4_TFLAGS)"; \
3484 $(HOST_EXPORTS) \
3485 $(POSTSTAGE1_HOST_EXPORTS) \
3486 cd $(HOST_SUBDIR)/bfd && \
3487 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3488 CFLAGS="$(STAGE4_CFLAGS)" \
3489 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3490 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3491 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3492 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3493 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3494 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3495 TFLAGS="$(STAGE4_TFLAGS)" \
3496 $(TARGET-stage4-bfd)
3498 maybe-clean-stage4-bfd: clean-stage4-bfd
3499 clean-stage4: clean-stage4-bfd
3500 clean-stage4-bfd:
3501 @if [ $(current_stage) = stage4 ]; then \
3502 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3503 else \
3504 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3505 $(MAKE) stage4-start; \
3506 fi; \
3507 cd $(HOST_SUBDIR)/bfd && \
3508 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3509 @endif bfd-bootstrap
3512 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3513 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3514 maybe-all-stageprofile-bfd:
3515 maybe-clean-stageprofile-bfd:
3516 @if bfd-bootstrap
3517 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3518 all-stageprofile: all-stageprofile-bfd
3519 TARGET-stageprofile-bfd = $(TARGET-bfd)
3520 all-stageprofile-bfd: configure-stageprofile-bfd
3521 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3522 @r=`${PWD_COMMAND}`; export r; \
3523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3524 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3525 $(HOST_EXPORTS) \
3526 $(POSTSTAGE1_HOST_EXPORTS) \
3527 cd $(HOST_SUBDIR)/bfd && \
3528 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3529 CFLAGS="$(STAGEprofile_CFLAGS)" \
3530 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3531 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3532 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3533 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3534 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3535 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3536 TFLAGS="$(STAGEprofile_TFLAGS)" \
3537 $(TARGET-stageprofile-bfd)
3539 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3540 clean-stageprofile: clean-stageprofile-bfd
3541 clean-stageprofile-bfd:
3542 @if [ $(current_stage) = stageprofile ]; then \
3543 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3544 else \
3545 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3546 $(MAKE) stageprofile-start; \
3547 fi; \
3548 cd $(HOST_SUBDIR)/bfd && \
3549 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3550 @endif bfd-bootstrap
3553 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3554 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3555 maybe-all-stagefeedback-bfd:
3556 maybe-clean-stagefeedback-bfd:
3557 @if bfd-bootstrap
3558 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3559 all-stagefeedback: all-stagefeedback-bfd
3560 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3561 all-stagefeedback-bfd: configure-stagefeedback-bfd
3562 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3563 @r=`${PWD_COMMAND}`; export r; \
3564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3565 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3566 $(HOST_EXPORTS) \
3567 $(POSTSTAGE1_HOST_EXPORTS) \
3568 cd $(HOST_SUBDIR)/bfd && \
3569 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3570 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3571 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3572 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3573 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3574 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3575 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3576 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3577 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3578 $(TARGET-stagefeedback-bfd)
3580 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3581 clean-stagefeedback: clean-stagefeedback-bfd
3582 clean-stagefeedback-bfd:
3583 @if [ $(current_stage) = stagefeedback ]; then \
3584 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3585 else \
3586 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3587 $(MAKE) stagefeedback-start; \
3588 fi; \
3589 cd $(HOST_SUBDIR)/bfd && \
3590 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3591 @endif bfd-bootstrap
3597 .PHONY: check-bfd maybe-check-bfd
3598 maybe-check-bfd:
3599 @if bfd
3600 maybe-check-bfd: check-bfd
3602 check-bfd:
3603 @: $(MAKE); $(unstage)
3604 @r=`${PWD_COMMAND}`; export r; \
3605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3606 $(HOST_EXPORTS) \
3607 (cd $(HOST_SUBDIR)/bfd && \
3608 $(MAKE) $(FLAGS_TO_PASS) check)
3610 @endif bfd
3612 .PHONY: install-bfd maybe-install-bfd
3613 maybe-install-bfd:
3614 @if bfd
3615 maybe-install-bfd: install-bfd
3617 install-bfd: installdirs
3618 @: $(MAKE); $(unstage)
3619 @r=`${PWD_COMMAND}`; export r; \
3620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3621 $(HOST_EXPORTS) \
3622 (cd $(HOST_SUBDIR)/bfd && \
3623 $(MAKE) $(FLAGS_TO_PASS) install)
3625 @endif bfd
3627 .PHONY: install-strip-bfd maybe-install-strip-bfd
3628 maybe-install-strip-bfd:
3629 @if bfd
3630 maybe-install-strip-bfd: install-strip-bfd
3632 install-strip-bfd: installdirs
3633 @: $(MAKE); $(unstage)
3634 @r=`${PWD_COMMAND}`; export r; \
3635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3636 $(HOST_EXPORTS) \
3637 (cd $(HOST_SUBDIR)/bfd && \
3638 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3640 @endif bfd
3642 # Other targets (info, dvi, pdf, etc.)
3644 .PHONY: maybe-info-bfd info-bfd
3645 maybe-info-bfd:
3646 @if bfd
3647 maybe-info-bfd: info-bfd
3649 info-bfd: \
3650 configure-bfd
3651 @[ -f ./bfd/Makefile ] || exit 0; \
3652 r=`${PWD_COMMAND}`; export r; \
3653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3654 $(HOST_EXPORTS) \
3655 for flag in $(EXTRA_HOST_FLAGS) ; do \
3656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3657 done; \
3658 echo "Doing info in bfd" ; \
3659 (cd $(HOST_SUBDIR)/bfd && \
3660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3662 "RANLIB=$${RANLIB}" \
3663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3664 info) \
3665 || exit 1
3667 @endif bfd
3669 .PHONY: maybe-dvi-bfd dvi-bfd
3670 maybe-dvi-bfd:
3671 @if bfd
3672 maybe-dvi-bfd: dvi-bfd
3674 dvi-bfd: \
3675 configure-bfd
3676 @[ -f ./bfd/Makefile ] || exit 0; \
3677 r=`${PWD_COMMAND}`; export r; \
3678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3679 $(HOST_EXPORTS) \
3680 for flag in $(EXTRA_HOST_FLAGS) ; do \
3681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3682 done; \
3683 echo "Doing dvi in bfd" ; \
3684 (cd $(HOST_SUBDIR)/bfd && \
3685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3687 "RANLIB=$${RANLIB}" \
3688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3689 dvi) \
3690 || exit 1
3692 @endif bfd
3694 .PHONY: maybe-pdf-bfd pdf-bfd
3695 maybe-pdf-bfd:
3696 @if bfd
3697 maybe-pdf-bfd: pdf-bfd
3699 pdf-bfd: \
3700 configure-bfd
3701 @[ -f ./bfd/Makefile ] || exit 0; \
3702 r=`${PWD_COMMAND}`; export r; \
3703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3704 $(HOST_EXPORTS) \
3705 for flag in $(EXTRA_HOST_FLAGS) ; do \
3706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3707 done; \
3708 echo "Doing pdf in bfd" ; \
3709 (cd $(HOST_SUBDIR)/bfd && \
3710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3712 "RANLIB=$${RANLIB}" \
3713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3714 pdf) \
3715 || exit 1
3717 @endif bfd
3719 .PHONY: maybe-html-bfd html-bfd
3720 maybe-html-bfd:
3721 @if bfd
3722 maybe-html-bfd: html-bfd
3724 html-bfd: \
3725 configure-bfd
3726 @[ -f ./bfd/Makefile ] || exit 0; \
3727 r=`${PWD_COMMAND}`; export r; \
3728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3729 $(HOST_EXPORTS) \
3730 for flag in $(EXTRA_HOST_FLAGS) ; do \
3731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3732 done; \
3733 echo "Doing html in bfd" ; \
3734 (cd $(HOST_SUBDIR)/bfd && \
3735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3737 "RANLIB=$${RANLIB}" \
3738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3739 html) \
3740 || exit 1
3742 @endif bfd
3744 .PHONY: maybe-TAGS-bfd TAGS-bfd
3745 maybe-TAGS-bfd:
3746 @if bfd
3747 maybe-TAGS-bfd: TAGS-bfd
3749 TAGS-bfd: \
3750 configure-bfd
3751 @[ -f ./bfd/Makefile ] || exit 0; \
3752 r=`${PWD_COMMAND}`; export r; \
3753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3754 $(HOST_EXPORTS) \
3755 for flag in $(EXTRA_HOST_FLAGS) ; do \
3756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3757 done; \
3758 echo "Doing TAGS in bfd" ; \
3759 (cd $(HOST_SUBDIR)/bfd && \
3760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3762 "RANLIB=$${RANLIB}" \
3763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3764 TAGS) \
3765 || exit 1
3767 @endif bfd
3769 .PHONY: maybe-install-info-bfd install-info-bfd
3770 maybe-install-info-bfd:
3771 @if bfd
3772 maybe-install-info-bfd: install-info-bfd
3774 install-info-bfd: \
3775 configure-bfd \
3776 info-bfd
3777 @[ -f ./bfd/Makefile ] || exit 0; \
3778 r=`${PWD_COMMAND}`; export r; \
3779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3780 $(HOST_EXPORTS) \
3781 for flag in $(EXTRA_HOST_FLAGS) ; do \
3782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3783 done; \
3784 echo "Doing install-info in bfd" ; \
3785 (cd $(HOST_SUBDIR)/bfd && \
3786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3788 "RANLIB=$${RANLIB}" \
3789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3790 install-info) \
3791 || exit 1
3793 @endif bfd
3795 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
3796 maybe-install-pdf-bfd:
3797 @if bfd
3798 maybe-install-pdf-bfd: install-pdf-bfd
3800 install-pdf-bfd: \
3801 configure-bfd \
3802 pdf-bfd
3803 @[ -f ./bfd/Makefile ] || exit 0; \
3804 r=`${PWD_COMMAND}`; export r; \
3805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3806 $(HOST_EXPORTS) \
3807 for flag in $(EXTRA_HOST_FLAGS) ; do \
3808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3809 done; \
3810 echo "Doing install-pdf in bfd" ; \
3811 (cd $(HOST_SUBDIR)/bfd && \
3812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3814 "RANLIB=$${RANLIB}" \
3815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3816 install-pdf) \
3817 || exit 1
3819 @endif bfd
3821 .PHONY: maybe-install-html-bfd install-html-bfd
3822 maybe-install-html-bfd:
3823 @if bfd
3824 maybe-install-html-bfd: install-html-bfd
3826 install-html-bfd: \
3827 configure-bfd \
3828 html-bfd
3829 @[ -f ./bfd/Makefile ] || exit 0; \
3830 r=`${PWD_COMMAND}`; export r; \
3831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3832 $(HOST_EXPORTS) \
3833 for flag in $(EXTRA_HOST_FLAGS) ; do \
3834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3835 done; \
3836 echo "Doing install-html in bfd" ; \
3837 (cd $(HOST_SUBDIR)/bfd && \
3838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3840 "RANLIB=$${RANLIB}" \
3841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3842 install-html) \
3843 || exit 1
3845 @endif bfd
3847 .PHONY: maybe-installcheck-bfd installcheck-bfd
3848 maybe-installcheck-bfd:
3849 @if bfd
3850 maybe-installcheck-bfd: installcheck-bfd
3852 installcheck-bfd: \
3853 configure-bfd
3854 @[ -f ./bfd/Makefile ] || exit 0; \
3855 r=`${PWD_COMMAND}`; export r; \
3856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3857 $(HOST_EXPORTS) \
3858 for flag in $(EXTRA_HOST_FLAGS) ; do \
3859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3860 done; \
3861 echo "Doing installcheck in bfd" ; \
3862 (cd $(HOST_SUBDIR)/bfd && \
3863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3865 "RANLIB=$${RANLIB}" \
3866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3867 installcheck) \
3868 || exit 1
3870 @endif bfd
3872 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3873 maybe-mostlyclean-bfd:
3874 @if bfd
3875 maybe-mostlyclean-bfd: mostlyclean-bfd
3877 mostlyclean-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 mostlyclean 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 mostlyclean) \
3892 || exit 1
3894 @endif bfd
3896 .PHONY: maybe-clean-bfd clean-bfd
3897 maybe-clean-bfd:
3898 @if bfd
3899 maybe-clean-bfd: clean-bfd
3901 clean-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 clean 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 clean) \
3916 || exit 1
3918 @endif bfd
3920 .PHONY: maybe-distclean-bfd distclean-bfd
3921 maybe-distclean-bfd:
3922 @if bfd
3923 maybe-distclean-bfd: distclean-bfd
3925 distclean-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 distclean 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 distclean) \
3940 || exit 1
3942 @endif bfd
3944 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3945 maybe-maintainer-clean-bfd:
3946 @if bfd
3947 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3949 maintainer-clean-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 maintainer-clean 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 maintainer-clean) \
3964 || exit 1
3966 @endif bfd
3970 .PHONY: configure-opcodes maybe-configure-opcodes
3971 maybe-configure-opcodes:
3972 @if gcc-bootstrap
3973 configure-opcodes: stage_current
3974 @endif gcc-bootstrap
3975 @if opcodes
3976 maybe-configure-opcodes: configure-opcodes
3977 configure-opcodes:
3978 @r=`${PWD_COMMAND}`; export r; \
3979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3980 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3981 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3982 $(HOST_EXPORTS) \
3983 echo Configuring in $(HOST_SUBDIR)/opcodes; \
3984 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
3985 case $(srcdir) in \
3986 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3987 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3988 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3989 esac; \
3990 module_srcdir=opcodes; \
3991 $(SHELL) \
3992 $$s/$$module_srcdir/configure \
3993 --srcdir=$${topdir}/$$module_srcdir \
3994 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3995 --target=${target_alias} \
3996 || exit 1
3997 @endif opcodes
4001 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4002 maybe-configure-stage1-opcodes:
4003 @if opcodes-bootstrap
4004 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4005 configure-stage1-opcodes:
4006 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4007 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4008 @r=`${PWD_COMMAND}`; export r; \
4009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4010 TFLAGS="$(STAGE1_TFLAGS)"; \
4011 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4012 $(HOST_EXPORTS) \
4013 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4014 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4015 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4016 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
4017 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4018 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4019 case $(srcdir) in \
4020 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4021 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4022 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4023 esac; \
4024 module_srcdir=opcodes; \
4025 $(SHELL) $$s/$$module_srcdir/configure \
4026 --srcdir=$${topdir}/$$module_srcdir \
4027 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4028 --target=${target_alias} \
4030 $(STAGE1_CONFIGURE_FLAGS)
4031 @endif opcodes-bootstrap
4033 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4034 maybe-configure-stage2-opcodes:
4035 @if opcodes-bootstrap
4036 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4037 configure-stage2-opcodes:
4038 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4039 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4040 @r=`${PWD_COMMAND}`; export r; \
4041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4042 TFLAGS="$(STAGE2_TFLAGS)"; \
4043 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4044 $(HOST_EXPORTS) \
4045 $(POSTSTAGE1_HOST_EXPORTS) \
4046 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4047 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4048 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4049 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
4050 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4051 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4052 case $(srcdir) in \
4053 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4054 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4055 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4056 esac; \
4057 module_srcdir=opcodes; \
4058 $(SHELL) $$s/$$module_srcdir/configure \
4059 --srcdir=$${topdir}/$$module_srcdir \
4060 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4061 --target=${target_alias} \
4062 --with-build-libsubdir=$(HOST_SUBDIR) \
4063 $(STAGE2_CONFIGURE_FLAGS)
4064 @endif opcodes-bootstrap
4066 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4067 maybe-configure-stage3-opcodes:
4068 @if opcodes-bootstrap
4069 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4070 configure-stage3-opcodes:
4071 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4072 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4073 @r=`${PWD_COMMAND}`; export r; \
4074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4075 TFLAGS="$(STAGE3_TFLAGS)"; \
4076 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4077 $(HOST_EXPORTS) \
4078 $(POSTSTAGE1_HOST_EXPORTS) \
4079 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4080 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4081 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4082 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
4083 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4084 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4085 case $(srcdir) in \
4086 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4087 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4088 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4089 esac; \
4090 module_srcdir=opcodes; \
4091 $(SHELL) $$s/$$module_srcdir/configure \
4092 --srcdir=$${topdir}/$$module_srcdir \
4093 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4094 --target=${target_alias} \
4095 --with-build-libsubdir=$(HOST_SUBDIR) \
4096 $(STAGE3_CONFIGURE_FLAGS)
4097 @endif opcodes-bootstrap
4099 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4100 maybe-configure-stage4-opcodes:
4101 @if opcodes-bootstrap
4102 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4103 configure-stage4-opcodes:
4104 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4105 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4106 @r=`${PWD_COMMAND}`; export r; \
4107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4108 TFLAGS="$(STAGE4_TFLAGS)"; \
4109 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4110 $(HOST_EXPORTS) \
4111 $(POSTSTAGE1_HOST_EXPORTS) \
4112 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4113 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4114 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4115 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
4116 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4117 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4118 case $(srcdir) in \
4119 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4120 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4121 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4122 esac; \
4123 module_srcdir=opcodes; \
4124 $(SHELL) $$s/$$module_srcdir/configure \
4125 --srcdir=$${topdir}/$$module_srcdir \
4126 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4127 --target=${target_alias} \
4128 --with-build-libsubdir=$(HOST_SUBDIR) \
4129 $(STAGE4_CONFIGURE_FLAGS)
4130 @endif opcodes-bootstrap
4132 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4133 maybe-configure-stageprofile-opcodes:
4134 @if opcodes-bootstrap
4135 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4136 configure-stageprofile-opcodes:
4137 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4138 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4139 @r=`${PWD_COMMAND}`; export r; \
4140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4141 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4142 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4143 $(HOST_EXPORTS) \
4144 $(POSTSTAGE1_HOST_EXPORTS) \
4145 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4146 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4147 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4148 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4149 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4150 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4151 case $(srcdir) in \
4152 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4153 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4154 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4155 esac; \
4156 module_srcdir=opcodes; \
4157 $(SHELL) $$s/$$module_srcdir/configure \
4158 --srcdir=$${topdir}/$$module_srcdir \
4159 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4160 --target=${target_alias} \
4161 --with-build-libsubdir=$(HOST_SUBDIR) \
4162 $(STAGEprofile_CONFIGURE_FLAGS)
4163 @endif opcodes-bootstrap
4165 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4166 maybe-configure-stagefeedback-opcodes:
4167 @if opcodes-bootstrap
4168 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4169 configure-stagefeedback-opcodes:
4170 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4171 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4172 @r=`${PWD_COMMAND}`; export r; \
4173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4174 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4175 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4176 $(HOST_EXPORTS) \
4177 $(POSTSTAGE1_HOST_EXPORTS) \
4178 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4179 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4180 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4181 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4182 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4183 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4184 case $(srcdir) in \
4185 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4186 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4187 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4188 esac; \
4189 module_srcdir=opcodes; \
4190 $(SHELL) $$s/$$module_srcdir/configure \
4191 --srcdir=$${topdir}/$$module_srcdir \
4192 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4193 --target=${target_alias} \
4194 --with-build-libsubdir=$(HOST_SUBDIR) \
4195 $(STAGEfeedback_CONFIGURE_FLAGS)
4196 @endif opcodes-bootstrap
4202 .PHONY: all-opcodes maybe-all-opcodes
4203 maybe-all-opcodes:
4204 @if gcc-bootstrap
4205 all-opcodes: stage_current
4206 @endif gcc-bootstrap
4207 @if opcodes
4208 TARGET-opcodes=all
4209 maybe-all-opcodes: all-opcodes
4210 all-opcodes: configure-opcodes
4211 @r=`${PWD_COMMAND}`; export r; \
4212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4213 $(HOST_EXPORTS) \
4214 (cd $(HOST_SUBDIR)/opcodes && \
4215 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4216 $(TARGET-opcodes))
4217 @endif opcodes
4221 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4222 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4223 maybe-all-stage1-opcodes:
4224 maybe-clean-stage1-opcodes:
4225 @if opcodes-bootstrap
4226 maybe-all-stage1-opcodes: all-stage1-opcodes
4227 all-stage1: all-stage1-opcodes
4228 TARGET-stage1-opcodes = $(TARGET-opcodes)
4229 all-stage1-opcodes: configure-stage1-opcodes
4230 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4231 @r=`${PWD_COMMAND}`; export r; \
4232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4233 TFLAGS="$(STAGE1_TFLAGS)"; \
4234 $(HOST_EXPORTS) \
4235 cd $(HOST_SUBDIR)/opcodes && \
4236 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4237 CFLAGS="$(STAGE1_CFLAGS)" \
4238 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4239 LIBCFLAGS="$(LIBCFLAGS)" \
4240 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4241 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4242 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4243 $(EXTRA_HOST_FLAGS) \
4244 $(STAGE1_FLAGS_TO_PASS) \
4245 TFLAGS="$(STAGE1_TFLAGS)" \
4246 $(TARGET-stage1-opcodes)
4248 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4249 clean-stage1: clean-stage1-opcodes
4250 clean-stage1-opcodes:
4251 @if [ $(current_stage) = stage1 ]; then \
4252 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4253 else \
4254 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4255 $(MAKE) stage1-start; \
4256 fi; \
4257 cd $(HOST_SUBDIR)/opcodes && \
4258 $(MAKE) $(EXTRA_HOST_FLAGS) \
4259 $(STAGE1_FLAGS_TO_PASS) clean
4260 @endif opcodes-bootstrap
4263 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4264 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4265 maybe-all-stage2-opcodes:
4266 maybe-clean-stage2-opcodes:
4267 @if opcodes-bootstrap
4268 maybe-all-stage2-opcodes: all-stage2-opcodes
4269 all-stage2: all-stage2-opcodes
4270 TARGET-stage2-opcodes = $(TARGET-opcodes)
4271 all-stage2-opcodes: configure-stage2-opcodes
4272 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4273 @r=`${PWD_COMMAND}`; export r; \
4274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4275 TFLAGS="$(STAGE2_TFLAGS)"; \
4276 $(HOST_EXPORTS) \
4277 $(POSTSTAGE1_HOST_EXPORTS) \
4278 cd $(HOST_SUBDIR)/opcodes && \
4279 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4280 CFLAGS="$(STAGE2_CFLAGS)" \
4281 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4282 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4283 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4284 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4285 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4286 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4287 TFLAGS="$(STAGE2_TFLAGS)" \
4288 $(TARGET-stage2-opcodes)
4290 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4291 clean-stage2: clean-stage2-opcodes
4292 clean-stage2-opcodes:
4293 @if [ $(current_stage) = stage2 ]; then \
4294 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4295 else \
4296 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4297 $(MAKE) stage2-start; \
4298 fi; \
4299 cd $(HOST_SUBDIR)/opcodes && \
4300 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4301 @endif opcodes-bootstrap
4304 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4305 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4306 maybe-all-stage3-opcodes:
4307 maybe-clean-stage3-opcodes:
4308 @if opcodes-bootstrap
4309 maybe-all-stage3-opcodes: all-stage3-opcodes
4310 all-stage3: all-stage3-opcodes
4311 TARGET-stage3-opcodes = $(TARGET-opcodes)
4312 all-stage3-opcodes: configure-stage3-opcodes
4313 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4314 @r=`${PWD_COMMAND}`; export r; \
4315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4316 TFLAGS="$(STAGE3_TFLAGS)"; \
4317 $(HOST_EXPORTS) \
4318 $(POSTSTAGE1_HOST_EXPORTS) \
4319 cd $(HOST_SUBDIR)/opcodes && \
4320 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4321 CFLAGS="$(STAGE3_CFLAGS)" \
4322 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4323 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4324 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4325 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4326 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4327 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4328 TFLAGS="$(STAGE3_TFLAGS)" \
4329 $(TARGET-stage3-opcodes)
4331 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4332 clean-stage3: clean-stage3-opcodes
4333 clean-stage3-opcodes:
4334 @if [ $(current_stage) = stage3 ]; then \
4335 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4336 else \
4337 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4338 $(MAKE) stage3-start; \
4339 fi; \
4340 cd $(HOST_SUBDIR)/opcodes && \
4341 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4342 @endif opcodes-bootstrap
4345 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4346 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4347 maybe-all-stage4-opcodes:
4348 maybe-clean-stage4-opcodes:
4349 @if opcodes-bootstrap
4350 maybe-all-stage4-opcodes: all-stage4-opcodes
4351 all-stage4: all-stage4-opcodes
4352 TARGET-stage4-opcodes = $(TARGET-opcodes)
4353 all-stage4-opcodes: configure-stage4-opcodes
4354 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4355 @r=`${PWD_COMMAND}`; export r; \
4356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4357 TFLAGS="$(STAGE4_TFLAGS)"; \
4358 $(HOST_EXPORTS) \
4359 $(POSTSTAGE1_HOST_EXPORTS) \
4360 cd $(HOST_SUBDIR)/opcodes && \
4361 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4362 CFLAGS="$(STAGE4_CFLAGS)" \
4363 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4364 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4365 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4366 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4367 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4368 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4369 TFLAGS="$(STAGE4_TFLAGS)" \
4370 $(TARGET-stage4-opcodes)
4372 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4373 clean-stage4: clean-stage4-opcodes
4374 clean-stage4-opcodes:
4375 @if [ $(current_stage) = stage4 ]; then \
4376 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4377 else \
4378 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4379 $(MAKE) stage4-start; \
4380 fi; \
4381 cd $(HOST_SUBDIR)/opcodes && \
4382 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4383 @endif opcodes-bootstrap
4386 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4387 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4388 maybe-all-stageprofile-opcodes:
4389 maybe-clean-stageprofile-opcodes:
4390 @if opcodes-bootstrap
4391 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4392 all-stageprofile: all-stageprofile-opcodes
4393 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4394 all-stageprofile-opcodes: configure-stageprofile-opcodes
4395 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4396 @r=`${PWD_COMMAND}`; export r; \
4397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4398 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4399 $(HOST_EXPORTS) \
4400 $(POSTSTAGE1_HOST_EXPORTS) \
4401 cd $(HOST_SUBDIR)/opcodes && \
4402 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4403 CFLAGS="$(STAGEprofile_CFLAGS)" \
4404 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4405 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4406 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4407 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4408 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4409 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4410 TFLAGS="$(STAGEprofile_TFLAGS)" \
4411 $(TARGET-stageprofile-opcodes)
4413 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4414 clean-stageprofile: clean-stageprofile-opcodes
4415 clean-stageprofile-opcodes:
4416 @if [ $(current_stage) = stageprofile ]; then \
4417 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4418 else \
4419 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4420 $(MAKE) stageprofile-start; \
4421 fi; \
4422 cd $(HOST_SUBDIR)/opcodes && \
4423 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4424 @endif opcodes-bootstrap
4427 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4428 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4429 maybe-all-stagefeedback-opcodes:
4430 maybe-clean-stagefeedback-opcodes:
4431 @if opcodes-bootstrap
4432 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4433 all-stagefeedback: all-stagefeedback-opcodes
4434 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4435 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4436 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4437 @r=`${PWD_COMMAND}`; export r; \
4438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4439 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4440 $(HOST_EXPORTS) \
4441 $(POSTSTAGE1_HOST_EXPORTS) \
4442 cd $(HOST_SUBDIR)/opcodes && \
4443 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4444 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4445 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4446 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4447 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4448 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4449 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4450 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4451 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4452 $(TARGET-stagefeedback-opcodes)
4454 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4455 clean-stagefeedback: clean-stagefeedback-opcodes
4456 clean-stagefeedback-opcodes:
4457 @if [ $(current_stage) = stagefeedback ]; then \
4458 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4459 else \
4460 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4461 $(MAKE) stagefeedback-start; \
4462 fi; \
4463 cd $(HOST_SUBDIR)/opcodes && \
4464 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4465 @endif opcodes-bootstrap
4471 .PHONY: check-opcodes maybe-check-opcodes
4472 maybe-check-opcodes:
4473 @if opcodes
4474 maybe-check-opcodes: check-opcodes
4476 check-opcodes:
4477 @: $(MAKE); $(unstage)
4478 @r=`${PWD_COMMAND}`; export r; \
4479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4480 $(HOST_EXPORTS) \
4481 (cd $(HOST_SUBDIR)/opcodes && \
4482 $(MAKE) $(FLAGS_TO_PASS) check)
4484 @endif opcodes
4486 .PHONY: install-opcodes maybe-install-opcodes
4487 maybe-install-opcodes:
4488 @if opcodes
4489 maybe-install-opcodes: install-opcodes
4491 install-opcodes: installdirs
4492 @: $(MAKE); $(unstage)
4493 @r=`${PWD_COMMAND}`; export r; \
4494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4495 $(HOST_EXPORTS) \
4496 (cd $(HOST_SUBDIR)/opcodes && \
4497 $(MAKE) $(FLAGS_TO_PASS) install)
4499 @endif opcodes
4501 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
4502 maybe-install-strip-opcodes:
4503 @if opcodes
4504 maybe-install-strip-opcodes: install-strip-opcodes
4506 install-strip-opcodes: installdirs
4507 @: $(MAKE); $(unstage)
4508 @r=`${PWD_COMMAND}`; export r; \
4509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4510 $(HOST_EXPORTS) \
4511 (cd $(HOST_SUBDIR)/opcodes && \
4512 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4514 @endif opcodes
4516 # Other targets (info, dvi, pdf, etc.)
4518 .PHONY: maybe-info-opcodes info-opcodes
4519 maybe-info-opcodes:
4520 @if opcodes
4521 maybe-info-opcodes: info-opcodes
4523 info-opcodes: \
4524 configure-opcodes
4525 @[ -f ./opcodes/Makefile ] || exit 0; \
4526 r=`${PWD_COMMAND}`; export r; \
4527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4528 $(HOST_EXPORTS) \
4529 for flag in $(EXTRA_HOST_FLAGS) ; do \
4530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4531 done; \
4532 echo "Doing info in opcodes" ; \
4533 (cd $(HOST_SUBDIR)/opcodes && \
4534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4536 "RANLIB=$${RANLIB}" \
4537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4538 info) \
4539 || exit 1
4541 @endif opcodes
4543 .PHONY: maybe-dvi-opcodes dvi-opcodes
4544 maybe-dvi-opcodes:
4545 @if opcodes
4546 maybe-dvi-opcodes: dvi-opcodes
4548 dvi-opcodes: \
4549 configure-opcodes
4550 @[ -f ./opcodes/Makefile ] || exit 0; \
4551 r=`${PWD_COMMAND}`; export r; \
4552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4553 $(HOST_EXPORTS) \
4554 for flag in $(EXTRA_HOST_FLAGS) ; do \
4555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4556 done; \
4557 echo "Doing dvi in opcodes" ; \
4558 (cd $(HOST_SUBDIR)/opcodes && \
4559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4561 "RANLIB=$${RANLIB}" \
4562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4563 dvi) \
4564 || exit 1
4566 @endif opcodes
4568 .PHONY: maybe-pdf-opcodes pdf-opcodes
4569 maybe-pdf-opcodes:
4570 @if opcodes
4571 maybe-pdf-opcodes: pdf-opcodes
4573 pdf-opcodes: \
4574 configure-opcodes
4575 @[ -f ./opcodes/Makefile ] || exit 0; \
4576 r=`${PWD_COMMAND}`; export r; \
4577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4578 $(HOST_EXPORTS) \
4579 for flag in $(EXTRA_HOST_FLAGS) ; do \
4580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4581 done; \
4582 echo "Doing pdf in opcodes" ; \
4583 (cd $(HOST_SUBDIR)/opcodes && \
4584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4586 "RANLIB=$${RANLIB}" \
4587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4588 pdf) \
4589 || exit 1
4591 @endif opcodes
4593 .PHONY: maybe-html-opcodes html-opcodes
4594 maybe-html-opcodes:
4595 @if opcodes
4596 maybe-html-opcodes: html-opcodes
4598 html-opcodes: \
4599 configure-opcodes
4600 @[ -f ./opcodes/Makefile ] || exit 0; \
4601 r=`${PWD_COMMAND}`; export r; \
4602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4603 $(HOST_EXPORTS) \
4604 for flag in $(EXTRA_HOST_FLAGS) ; do \
4605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4606 done; \
4607 echo "Doing html in opcodes" ; \
4608 (cd $(HOST_SUBDIR)/opcodes && \
4609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4611 "RANLIB=$${RANLIB}" \
4612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4613 html) \
4614 || exit 1
4616 @endif opcodes
4618 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4619 maybe-TAGS-opcodes:
4620 @if opcodes
4621 maybe-TAGS-opcodes: TAGS-opcodes
4623 TAGS-opcodes: \
4624 configure-opcodes
4625 @[ -f ./opcodes/Makefile ] || exit 0; \
4626 r=`${PWD_COMMAND}`; export r; \
4627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4628 $(HOST_EXPORTS) \
4629 for flag in $(EXTRA_HOST_FLAGS) ; do \
4630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4631 done; \
4632 echo "Doing TAGS in opcodes" ; \
4633 (cd $(HOST_SUBDIR)/opcodes && \
4634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4636 "RANLIB=$${RANLIB}" \
4637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4638 TAGS) \
4639 || exit 1
4641 @endif opcodes
4643 .PHONY: maybe-install-info-opcodes install-info-opcodes
4644 maybe-install-info-opcodes:
4645 @if opcodes
4646 maybe-install-info-opcodes: install-info-opcodes
4648 install-info-opcodes: \
4649 configure-opcodes \
4650 info-opcodes
4651 @[ -f ./opcodes/Makefile ] || exit 0; \
4652 r=`${PWD_COMMAND}`; export r; \
4653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4654 $(HOST_EXPORTS) \
4655 for flag in $(EXTRA_HOST_FLAGS) ; do \
4656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4657 done; \
4658 echo "Doing install-info in opcodes" ; \
4659 (cd $(HOST_SUBDIR)/opcodes && \
4660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4662 "RANLIB=$${RANLIB}" \
4663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4664 install-info) \
4665 || exit 1
4667 @endif opcodes
4669 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
4670 maybe-install-pdf-opcodes:
4671 @if opcodes
4672 maybe-install-pdf-opcodes: install-pdf-opcodes
4674 install-pdf-opcodes: \
4675 configure-opcodes \
4676 pdf-opcodes
4677 @[ -f ./opcodes/Makefile ] || exit 0; \
4678 r=`${PWD_COMMAND}`; export r; \
4679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4680 $(HOST_EXPORTS) \
4681 for flag in $(EXTRA_HOST_FLAGS) ; do \
4682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4683 done; \
4684 echo "Doing install-pdf in opcodes" ; \
4685 (cd $(HOST_SUBDIR)/opcodes && \
4686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4688 "RANLIB=$${RANLIB}" \
4689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4690 install-pdf) \
4691 || exit 1
4693 @endif opcodes
4695 .PHONY: maybe-install-html-opcodes install-html-opcodes
4696 maybe-install-html-opcodes:
4697 @if opcodes
4698 maybe-install-html-opcodes: install-html-opcodes
4700 install-html-opcodes: \
4701 configure-opcodes \
4702 html-opcodes
4703 @[ -f ./opcodes/Makefile ] || exit 0; \
4704 r=`${PWD_COMMAND}`; export r; \
4705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4706 $(HOST_EXPORTS) \
4707 for flag in $(EXTRA_HOST_FLAGS) ; do \
4708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4709 done; \
4710 echo "Doing install-html in opcodes" ; \
4711 (cd $(HOST_SUBDIR)/opcodes && \
4712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4714 "RANLIB=$${RANLIB}" \
4715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4716 install-html) \
4717 || exit 1
4719 @endif opcodes
4721 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4722 maybe-installcheck-opcodes:
4723 @if opcodes
4724 maybe-installcheck-opcodes: installcheck-opcodes
4726 installcheck-opcodes: \
4727 configure-opcodes
4728 @[ -f ./opcodes/Makefile ] || exit 0; \
4729 r=`${PWD_COMMAND}`; export r; \
4730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4731 $(HOST_EXPORTS) \
4732 for flag in $(EXTRA_HOST_FLAGS) ; do \
4733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4734 done; \
4735 echo "Doing installcheck in opcodes" ; \
4736 (cd $(HOST_SUBDIR)/opcodes && \
4737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4739 "RANLIB=$${RANLIB}" \
4740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4741 installcheck) \
4742 || exit 1
4744 @endif opcodes
4746 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4747 maybe-mostlyclean-opcodes:
4748 @if opcodes
4749 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4751 mostlyclean-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 mostlyclean 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 mostlyclean) \
4766 || exit 1
4768 @endif opcodes
4770 .PHONY: maybe-clean-opcodes clean-opcodes
4771 maybe-clean-opcodes:
4772 @if opcodes
4773 maybe-clean-opcodes: clean-opcodes
4775 clean-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 clean 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 clean) \
4790 || exit 1
4792 @endif opcodes
4794 .PHONY: maybe-distclean-opcodes distclean-opcodes
4795 maybe-distclean-opcodes:
4796 @if opcodes
4797 maybe-distclean-opcodes: distclean-opcodes
4799 distclean-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 distclean 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 distclean) \
4814 || exit 1
4816 @endif opcodes
4818 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4819 maybe-maintainer-clean-opcodes:
4820 @if opcodes
4821 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4823 maintainer-clean-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 maintainer-clean 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 maintainer-clean) \
4838 || exit 1
4840 @endif opcodes
4844 .PHONY: configure-binutils maybe-configure-binutils
4845 maybe-configure-binutils:
4846 @if gcc-bootstrap
4847 configure-binutils: stage_current
4848 @endif gcc-bootstrap
4849 @if binutils
4850 maybe-configure-binutils: configure-binutils
4851 configure-binutils:
4852 @r=`${PWD_COMMAND}`; export r; \
4853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4854 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4855 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4856 $(HOST_EXPORTS) \
4857 echo Configuring in $(HOST_SUBDIR)/binutils; \
4858 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
4859 case $(srcdir) in \
4860 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4861 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4862 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4863 esac; \
4864 module_srcdir=binutils; \
4865 $(SHELL) \
4866 $$s/$$module_srcdir/configure \
4867 --srcdir=$${topdir}/$$module_srcdir \
4868 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4869 --target=${target_alias} \
4870 || exit 1
4871 @endif binutils
4875 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
4876 maybe-configure-stage1-binutils:
4877 @if binutils-bootstrap
4878 maybe-configure-stage1-binutils: configure-stage1-binutils
4879 configure-stage1-binutils:
4880 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4881 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4882 @r=`${PWD_COMMAND}`; export r; \
4883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4884 TFLAGS="$(STAGE1_TFLAGS)"; \
4885 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4886 $(HOST_EXPORTS) \
4887 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4888 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4889 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4890 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
4891 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4892 cd $(HOST_SUBDIR)/binutils || exit 1; \
4893 case $(srcdir) in \
4894 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4895 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4896 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4897 esac; \
4898 module_srcdir=binutils; \
4899 $(SHELL) $$s/$$module_srcdir/configure \
4900 --srcdir=$${topdir}/$$module_srcdir \
4901 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4902 --target=${target_alias} \
4904 $(STAGE1_CONFIGURE_FLAGS)
4905 @endif binutils-bootstrap
4907 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
4908 maybe-configure-stage2-binutils:
4909 @if binutils-bootstrap
4910 maybe-configure-stage2-binutils: configure-stage2-binutils
4911 configure-stage2-binutils:
4912 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4913 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4914 @r=`${PWD_COMMAND}`; export r; \
4915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4916 TFLAGS="$(STAGE2_TFLAGS)"; \
4917 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4918 $(HOST_EXPORTS) \
4919 $(POSTSTAGE1_HOST_EXPORTS) \
4920 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4921 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4922 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4923 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
4924 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4925 cd $(HOST_SUBDIR)/binutils || exit 1; \
4926 case $(srcdir) in \
4927 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4928 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4929 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4930 esac; \
4931 module_srcdir=binutils; \
4932 $(SHELL) $$s/$$module_srcdir/configure \
4933 --srcdir=$${topdir}/$$module_srcdir \
4934 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4935 --target=${target_alias} \
4936 --with-build-libsubdir=$(HOST_SUBDIR) \
4937 $(STAGE2_CONFIGURE_FLAGS)
4938 @endif binutils-bootstrap
4940 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
4941 maybe-configure-stage3-binutils:
4942 @if binutils-bootstrap
4943 maybe-configure-stage3-binutils: configure-stage3-binutils
4944 configure-stage3-binutils:
4945 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4946 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4947 @r=`${PWD_COMMAND}`; export r; \
4948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4949 TFLAGS="$(STAGE3_TFLAGS)"; \
4950 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4951 $(HOST_EXPORTS) \
4952 $(POSTSTAGE1_HOST_EXPORTS) \
4953 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4954 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4955 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4956 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
4957 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4958 cd $(HOST_SUBDIR)/binutils || exit 1; \
4959 case $(srcdir) in \
4960 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4961 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4962 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4963 esac; \
4964 module_srcdir=binutils; \
4965 $(SHELL) $$s/$$module_srcdir/configure \
4966 --srcdir=$${topdir}/$$module_srcdir \
4967 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4968 --target=${target_alias} \
4969 --with-build-libsubdir=$(HOST_SUBDIR) \
4970 $(STAGE3_CONFIGURE_FLAGS)
4971 @endif binutils-bootstrap
4973 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
4974 maybe-configure-stage4-binutils:
4975 @if binutils-bootstrap
4976 maybe-configure-stage4-binutils: configure-stage4-binutils
4977 configure-stage4-binutils:
4978 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4979 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4980 @r=`${PWD_COMMAND}`; export r; \
4981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4982 TFLAGS="$(STAGE4_TFLAGS)"; \
4983 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4984 $(HOST_EXPORTS) \
4985 $(POSTSTAGE1_HOST_EXPORTS) \
4986 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4987 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4988 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4989 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
4990 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4991 cd $(HOST_SUBDIR)/binutils || exit 1; \
4992 case $(srcdir) in \
4993 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4994 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4995 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4996 esac; \
4997 module_srcdir=binutils; \
4998 $(SHELL) $$s/$$module_srcdir/configure \
4999 --srcdir=$${topdir}/$$module_srcdir \
5000 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5001 --target=${target_alias} \
5002 --with-build-libsubdir=$(HOST_SUBDIR) \
5003 $(STAGE4_CONFIGURE_FLAGS)
5004 @endif binutils-bootstrap
5006 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5007 maybe-configure-stageprofile-binutils:
5008 @if binutils-bootstrap
5009 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5010 configure-stageprofile-binutils:
5011 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5012 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5013 @r=`${PWD_COMMAND}`; export r; \
5014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5015 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5016 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5017 $(HOST_EXPORTS) \
5018 $(POSTSTAGE1_HOST_EXPORTS) \
5019 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
5020 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
5021 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
5022 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
5023 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5024 cd $(HOST_SUBDIR)/binutils || exit 1; \
5025 case $(srcdir) in \
5026 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5027 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5028 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5029 esac; \
5030 module_srcdir=binutils; \
5031 $(SHELL) $$s/$$module_srcdir/configure \
5032 --srcdir=$${topdir}/$$module_srcdir \
5033 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5034 --target=${target_alias} \
5035 --with-build-libsubdir=$(HOST_SUBDIR) \
5036 $(STAGEprofile_CONFIGURE_FLAGS)
5037 @endif binutils-bootstrap
5039 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5040 maybe-configure-stagefeedback-binutils:
5041 @if binutils-bootstrap
5042 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5043 configure-stagefeedback-binutils:
5044 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5045 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5046 @r=`${PWD_COMMAND}`; export r; \
5047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5048 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5049 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5050 $(HOST_EXPORTS) \
5051 $(POSTSTAGE1_HOST_EXPORTS) \
5052 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
5053 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
5054 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
5055 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
5056 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5057 cd $(HOST_SUBDIR)/binutils || exit 1; \
5058 case $(srcdir) in \
5059 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5060 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5061 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5062 esac; \
5063 module_srcdir=binutils; \
5064 $(SHELL) $$s/$$module_srcdir/configure \
5065 --srcdir=$${topdir}/$$module_srcdir \
5066 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5067 --target=${target_alias} \
5068 --with-build-libsubdir=$(HOST_SUBDIR) \
5069 $(STAGEfeedback_CONFIGURE_FLAGS)
5070 @endif binutils-bootstrap
5076 .PHONY: all-binutils maybe-all-binutils
5077 maybe-all-binutils:
5078 @if gcc-bootstrap
5079 all-binutils: stage_current
5080 @endif gcc-bootstrap
5081 @if binutils
5082 TARGET-binutils=all
5083 maybe-all-binutils: all-binutils
5084 all-binutils: configure-binutils
5085 @r=`${PWD_COMMAND}`; export r; \
5086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5087 $(HOST_EXPORTS) \
5088 (cd $(HOST_SUBDIR)/binutils && \
5089 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5090 $(TARGET-binutils))
5091 @endif binutils
5095 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5096 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5097 maybe-all-stage1-binutils:
5098 maybe-clean-stage1-binutils:
5099 @if binutils-bootstrap
5100 maybe-all-stage1-binutils: all-stage1-binutils
5101 all-stage1: all-stage1-binutils
5102 TARGET-stage1-binutils = $(TARGET-binutils)
5103 all-stage1-binutils: configure-stage1-binutils
5104 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5105 @r=`${PWD_COMMAND}`; export r; \
5106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5107 TFLAGS="$(STAGE1_TFLAGS)"; \
5108 $(HOST_EXPORTS) \
5109 cd $(HOST_SUBDIR)/binutils && \
5110 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5111 CFLAGS="$(STAGE1_CFLAGS)" \
5112 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
5113 LIBCFLAGS="$(LIBCFLAGS)" \
5114 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5115 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5116 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5117 $(EXTRA_HOST_FLAGS) \
5118 $(STAGE1_FLAGS_TO_PASS) \
5119 TFLAGS="$(STAGE1_TFLAGS)" \
5120 $(TARGET-stage1-binutils)
5122 maybe-clean-stage1-binutils: clean-stage1-binutils
5123 clean-stage1: clean-stage1-binutils
5124 clean-stage1-binutils:
5125 @if [ $(current_stage) = stage1 ]; then \
5126 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5127 else \
5128 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
5129 $(MAKE) stage1-start; \
5130 fi; \
5131 cd $(HOST_SUBDIR)/binutils && \
5132 $(MAKE) $(EXTRA_HOST_FLAGS) \
5133 $(STAGE1_FLAGS_TO_PASS) clean
5134 @endif binutils-bootstrap
5137 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5138 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5139 maybe-all-stage2-binutils:
5140 maybe-clean-stage2-binutils:
5141 @if binutils-bootstrap
5142 maybe-all-stage2-binutils: all-stage2-binutils
5143 all-stage2: all-stage2-binutils
5144 TARGET-stage2-binutils = $(TARGET-binutils)
5145 all-stage2-binutils: configure-stage2-binutils
5146 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5147 @r=`${PWD_COMMAND}`; export r; \
5148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5149 TFLAGS="$(STAGE2_TFLAGS)"; \
5150 $(HOST_EXPORTS) \
5151 $(POSTSTAGE1_HOST_EXPORTS) \
5152 cd $(HOST_SUBDIR)/binutils && \
5153 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5154 CFLAGS="$(STAGE2_CFLAGS)" \
5155 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5156 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5157 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5158 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5159 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5160 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5161 TFLAGS="$(STAGE2_TFLAGS)" \
5162 $(TARGET-stage2-binutils)
5164 maybe-clean-stage2-binutils: clean-stage2-binutils
5165 clean-stage2: clean-stage2-binutils
5166 clean-stage2-binutils:
5167 @if [ $(current_stage) = stage2 ]; then \
5168 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5169 else \
5170 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
5171 $(MAKE) stage2-start; \
5172 fi; \
5173 cd $(HOST_SUBDIR)/binutils && \
5174 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5175 @endif binutils-bootstrap
5178 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5179 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5180 maybe-all-stage3-binutils:
5181 maybe-clean-stage3-binutils:
5182 @if binutils-bootstrap
5183 maybe-all-stage3-binutils: all-stage3-binutils
5184 all-stage3: all-stage3-binutils
5185 TARGET-stage3-binutils = $(TARGET-binutils)
5186 all-stage3-binutils: configure-stage3-binutils
5187 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5188 @r=`${PWD_COMMAND}`; export r; \
5189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5190 TFLAGS="$(STAGE3_TFLAGS)"; \
5191 $(HOST_EXPORTS) \
5192 $(POSTSTAGE1_HOST_EXPORTS) \
5193 cd $(HOST_SUBDIR)/binutils && \
5194 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5195 CFLAGS="$(STAGE3_CFLAGS)" \
5196 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5197 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5198 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5199 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5200 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5201 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5202 TFLAGS="$(STAGE3_TFLAGS)" \
5203 $(TARGET-stage3-binutils)
5205 maybe-clean-stage3-binutils: clean-stage3-binutils
5206 clean-stage3: clean-stage3-binutils
5207 clean-stage3-binutils:
5208 @if [ $(current_stage) = stage3 ]; then \
5209 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5210 else \
5211 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5212 $(MAKE) stage3-start; \
5213 fi; \
5214 cd $(HOST_SUBDIR)/binutils && \
5215 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5216 @endif binutils-bootstrap
5219 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5220 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5221 maybe-all-stage4-binutils:
5222 maybe-clean-stage4-binutils:
5223 @if binutils-bootstrap
5224 maybe-all-stage4-binutils: all-stage4-binutils
5225 all-stage4: all-stage4-binutils
5226 TARGET-stage4-binutils = $(TARGET-binutils)
5227 all-stage4-binutils: configure-stage4-binutils
5228 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5229 @r=`${PWD_COMMAND}`; export r; \
5230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5231 TFLAGS="$(STAGE4_TFLAGS)"; \
5232 $(HOST_EXPORTS) \
5233 $(POSTSTAGE1_HOST_EXPORTS) \
5234 cd $(HOST_SUBDIR)/binutils && \
5235 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5236 CFLAGS="$(STAGE4_CFLAGS)" \
5237 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5238 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5239 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5240 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5241 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5242 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5243 TFLAGS="$(STAGE4_TFLAGS)" \
5244 $(TARGET-stage4-binutils)
5246 maybe-clean-stage4-binutils: clean-stage4-binutils
5247 clean-stage4: clean-stage4-binutils
5248 clean-stage4-binutils:
5249 @if [ $(current_stage) = stage4 ]; then \
5250 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5251 else \
5252 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5253 $(MAKE) stage4-start; \
5254 fi; \
5255 cd $(HOST_SUBDIR)/binutils && \
5256 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5257 @endif binutils-bootstrap
5260 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5261 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5262 maybe-all-stageprofile-binutils:
5263 maybe-clean-stageprofile-binutils:
5264 @if binutils-bootstrap
5265 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5266 all-stageprofile: all-stageprofile-binutils
5267 TARGET-stageprofile-binutils = $(TARGET-binutils)
5268 all-stageprofile-binutils: configure-stageprofile-binutils
5269 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5270 @r=`${PWD_COMMAND}`; export r; \
5271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5272 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5273 $(HOST_EXPORTS) \
5274 $(POSTSTAGE1_HOST_EXPORTS) \
5275 cd $(HOST_SUBDIR)/binutils && \
5276 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5277 CFLAGS="$(STAGEprofile_CFLAGS)" \
5278 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5279 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5280 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5281 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5282 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5283 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5284 TFLAGS="$(STAGEprofile_TFLAGS)" \
5285 $(TARGET-stageprofile-binutils)
5287 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5288 clean-stageprofile: clean-stageprofile-binutils
5289 clean-stageprofile-binutils:
5290 @if [ $(current_stage) = stageprofile ]; then \
5291 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5292 else \
5293 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5294 $(MAKE) stageprofile-start; \
5295 fi; \
5296 cd $(HOST_SUBDIR)/binutils && \
5297 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5298 @endif binutils-bootstrap
5301 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5302 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5303 maybe-all-stagefeedback-binutils:
5304 maybe-clean-stagefeedback-binutils:
5305 @if binutils-bootstrap
5306 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5307 all-stagefeedback: all-stagefeedback-binutils
5308 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5309 all-stagefeedback-binutils: configure-stagefeedback-binutils
5310 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5311 @r=`${PWD_COMMAND}`; export r; \
5312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5313 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5314 $(HOST_EXPORTS) \
5315 $(POSTSTAGE1_HOST_EXPORTS) \
5316 cd $(HOST_SUBDIR)/binutils && \
5317 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5318 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5319 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5320 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5321 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5322 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5323 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5324 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5325 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5326 $(TARGET-stagefeedback-binutils)
5328 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5329 clean-stagefeedback: clean-stagefeedback-binutils
5330 clean-stagefeedback-binutils:
5331 @if [ $(current_stage) = stagefeedback ]; then \
5332 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5333 else \
5334 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
5335 $(MAKE) stagefeedback-start; \
5336 fi; \
5337 cd $(HOST_SUBDIR)/binutils && \
5338 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5339 @endif binutils-bootstrap
5345 .PHONY: check-binutils maybe-check-binutils
5346 maybe-check-binutils:
5347 @if binutils
5348 maybe-check-binutils: check-binutils
5350 check-binutils:
5351 @: $(MAKE); $(unstage)
5352 @r=`${PWD_COMMAND}`; export r; \
5353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5354 $(HOST_EXPORTS) \
5355 (cd $(HOST_SUBDIR)/binutils && \
5356 $(MAKE) $(FLAGS_TO_PASS) check)
5358 @endif binutils
5360 .PHONY: install-binutils maybe-install-binutils
5361 maybe-install-binutils:
5362 @if binutils
5363 maybe-install-binutils: install-binutils
5365 install-binutils: installdirs
5366 @: $(MAKE); $(unstage)
5367 @r=`${PWD_COMMAND}`; export r; \
5368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5369 $(HOST_EXPORTS) \
5370 (cd $(HOST_SUBDIR)/binutils && \
5371 $(MAKE) $(FLAGS_TO_PASS) install)
5373 @endif binutils
5375 .PHONY: install-strip-binutils maybe-install-strip-binutils
5376 maybe-install-strip-binutils:
5377 @if binutils
5378 maybe-install-strip-binutils: install-strip-binutils
5380 install-strip-binutils: installdirs
5381 @: $(MAKE); $(unstage)
5382 @r=`${PWD_COMMAND}`; export r; \
5383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5384 $(HOST_EXPORTS) \
5385 (cd $(HOST_SUBDIR)/binutils && \
5386 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5388 @endif binutils
5390 # Other targets (info, dvi, pdf, etc.)
5392 .PHONY: maybe-info-binutils info-binutils
5393 maybe-info-binutils:
5394 @if binutils
5395 maybe-info-binutils: info-binutils
5397 info-binutils: \
5398 configure-binutils
5399 @[ -f ./binutils/Makefile ] || exit 0; \
5400 r=`${PWD_COMMAND}`; export r; \
5401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5402 $(HOST_EXPORTS) \
5403 for flag in $(EXTRA_HOST_FLAGS) ; do \
5404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5405 done; \
5406 echo "Doing info in binutils" ; \
5407 (cd $(HOST_SUBDIR)/binutils && \
5408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5410 "RANLIB=$${RANLIB}" \
5411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5412 info) \
5413 || exit 1
5415 @endif binutils
5417 .PHONY: maybe-dvi-binutils dvi-binutils
5418 maybe-dvi-binutils:
5419 @if binutils
5420 maybe-dvi-binutils: dvi-binutils
5422 dvi-binutils: \
5423 configure-binutils
5424 @[ -f ./binutils/Makefile ] || exit 0; \
5425 r=`${PWD_COMMAND}`; export r; \
5426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5427 $(HOST_EXPORTS) \
5428 for flag in $(EXTRA_HOST_FLAGS) ; do \
5429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5430 done; \
5431 echo "Doing dvi in binutils" ; \
5432 (cd $(HOST_SUBDIR)/binutils && \
5433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5435 "RANLIB=$${RANLIB}" \
5436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5437 dvi) \
5438 || exit 1
5440 @endif binutils
5442 .PHONY: maybe-pdf-binutils pdf-binutils
5443 maybe-pdf-binutils:
5444 @if binutils
5445 maybe-pdf-binutils: pdf-binutils
5447 pdf-binutils: \
5448 configure-binutils
5449 @[ -f ./binutils/Makefile ] || exit 0; \
5450 r=`${PWD_COMMAND}`; export r; \
5451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5452 $(HOST_EXPORTS) \
5453 for flag in $(EXTRA_HOST_FLAGS) ; do \
5454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5455 done; \
5456 echo "Doing pdf in binutils" ; \
5457 (cd $(HOST_SUBDIR)/binutils && \
5458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5460 "RANLIB=$${RANLIB}" \
5461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5462 pdf) \
5463 || exit 1
5465 @endif binutils
5467 .PHONY: maybe-html-binutils html-binutils
5468 maybe-html-binutils:
5469 @if binutils
5470 maybe-html-binutils: html-binutils
5472 html-binutils: \
5473 configure-binutils
5474 @[ -f ./binutils/Makefile ] || exit 0; \
5475 r=`${PWD_COMMAND}`; export r; \
5476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5477 $(HOST_EXPORTS) \
5478 for flag in $(EXTRA_HOST_FLAGS) ; do \
5479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5480 done; \
5481 echo "Doing html in binutils" ; \
5482 (cd $(HOST_SUBDIR)/binutils && \
5483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5485 "RANLIB=$${RANLIB}" \
5486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5487 html) \
5488 || exit 1
5490 @endif binutils
5492 .PHONY: maybe-TAGS-binutils TAGS-binutils
5493 maybe-TAGS-binutils:
5494 @if binutils
5495 maybe-TAGS-binutils: TAGS-binutils
5497 TAGS-binutils: \
5498 configure-binutils
5499 @[ -f ./binutils/Makefile ] || exit 0; \
5500 r=`${PWD_COMMAND}`; export r; \
5501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5502 $(HOST_EXPORTS) \
5503 for flag in $(EXTRA_HOST_FLAGS) ; do \
5504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5505 done; \
5506 echo "Doing TAGS in binutils" ; \
5507 (cd $(HOST_SUBDIR)/binutils && \
5508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5510 "RANLIB=$${RANLIB}" \
5511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5512 TAGS) \
5513 || exit 1
5515 @endif binutils
5517 .PHONY: maybe-install-info-binutils install-info-binutils
5518 maybe-install-info-binutils:
5519 @if binutils
5520 maybe-install-info-binutils: install-info-binutils
5522 install-info-binutils: \
5523 configure-binutils \
5524 info-binutils
5525 @[ -f ./binutils/Makefile ] || exit 0; \
5526 r=`${PWD_COMMAND}`; export r; \
5527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5528 $(HOST_EXPORTS) \
5529 for flag in $(EXTRA_HOST_FLAGS) ; do \
5530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5531 done; \
5532 echo "Doing install-info in binutils" ; \
5533 (cd $(HOST_SUBDIR)/binutils && \
5534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5536 "RANLIB=$${RANLIB}" \
5537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5538 install-info) \
5539 || exit 1
5541 @endif binutils
5543 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
5544 maybe-install-pdf-binutils:
5545 @if binutils
5546 maybe-install-pdf-binutils: install-pdf-binutils
5548 install-pdf-binutils: \
5549 configure-binutils \
5550 pdf-binutils
5551 @[ -f ./binutils/Makefile ] || exit 0; \
5552 r=`${PWD_COMMAND}`; export r; \
5553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5554 $(HOST_EXPORTS) \
5555 for flag in $(EXTRA_HOST_FLAGS) ; do \
5556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5557 done; \
5558 echo "Doing install-pdf in binutils" ; \
5559 (cd $(HOST_SUBDIR)/binutils && \
5560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5562 "RANLIB=$${RANLIB}" \
5563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5564 install-pdf) \
5565 || exit 1
5567 @endif binutils
5569 .PHONY: maybe-install-html-binutils install-html-binutils
5570 maybe-install-html-binutils:
5571 @if binutils
5572 maybe-install-html-binutils: install-html-binutils
5574 install-html-binutils: \
5575 configure-binutils \
5576 html-binutils
5577 @[ -f ./binutils/Makefile ] || exit 0; \
5578 r=`${PWD_COMMAND}`; export r; \
5579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5580 $(HOST_EXPORTS) \
5581 for flag in $(EXTRA_HOST_FLAGS) ; do \
5582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5583 done; \
5584 echo "Doing install-html in binutils" ; \
5585 (cd $(HOST_SUBDIR)/binutils && \
5586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5588 "RANLIB=$${RANLIB}" \
5589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5590 install-html) \
5591 || exit 1
5593 @endif binutils
5595 .PHONY: maybe-installcheck-binutils installcheck-binutils
5596 maybe-installcheck-binutils:
5597 @if binutils
5598 maybe-installcheck-binutils: installcheck-binutils
5600 installcheck-binutils: \
5601 configure-binutils
5602 @[ -f ./binutils/Makefile ] || exit 0; \
5603 r=`${PWD_COMMAND}`; export r; \
5604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5605 $(HOST_EXPORTS) \
5606 for flag in $(EXTRA_HOST_FLAGS) ; do \
5607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5608 done; \
5609 echo "Doing installcheck in binutils" ; \
5610 (cd $(HOST_SUBDIR)/binutils && \
5611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5613 "RANLIB=$${RANLIB}" \
5614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5615 installcheck) \
5616 || exit 1
5618 @endif binutils
5620 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5621 maybe-mostlyclean-binutils:
5622 @if binutils
5623 maybe-mostlyclean-binutils: mostlyclean-binutils
5625 mostlyclean-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 mostlyclean 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 mostlyclean) \
5640 || exit 1
5642 @endif binutils
5644 .PHONY: maybe-clean-binutils clean-binutils
5645 maybe-clean-binutils:
5646 @if binutils
5647 maybe-clean-binutils: clean-binutils
5649 clean-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 clean 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 clean) \
5664 || exit 1
5666 @endif binutils
5668 .PHONY: maybe-distclean-binutils distclean-binutils
5669 maybe-distclean-binutils:
5670 @if binutils
5671 maybe-distclean-binutils: distclean-binutils
5673 distclean-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 distclean 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 distclean) \
5688 || exit 1
5690 @endif binutils
5692 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5693 maybe-maintainer-clean-binutils:
5694 @if binutils
5695 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5697 maintainer-clean-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 maintainer-clean 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 maintainer-clean) \
5712 || exit 1
5714 @endif binutils
5718 .PHONY: configure-bison maybe-configure-bison
5719 maybe-configure-bison:
5720 @if gcc-bootstrap
5721 configure-bison: stage_current
5722 @endif gcc-bootstrap
5723 @if bison
5724 maybe-configure-bison: configure-bison
5725 configure-bison:
5726 @: $(MAKE); $(unstage)
5727 @r=`${PWD_COMMAND}`; export r; \
5728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5729 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5730 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5731 $(HOST_EXPORTS) \
5732 echo Configuring in $(HOST_SUBDIR)/bison; \
5733 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5734 case $(srcdir) in \
5735 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5736 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5737 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5738 esac; \
5739 module_srcdir=bison; \
5740 $(SHELL) \
5741 $$s/$$module_srcdir/configure \
5742 --srcdir=$${topdir}/$$module_srcdir \
5743 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5744 --target=${target_alias} \
5745 || exit 1
5746 @endif bison
5752 .PHONY: all-bison maybe-all-bison
5753 maybe-all-bison:
5754 @if gcc-bootstrap
5755 all-bison: stage_current
5756 @endif gcc-bootstrap
5757 @if bison
5758 TARGET-bison=all
5759 maybe-all-bison: all-bison
5760 all-bison: configure-bison
5761 @: $(MAKE); $(unstage)
5762 @r=`${PWD_COMMAND}`; export r; \
5763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5764 $(HOST_EXPORTS) \
5765 (cd $(HOST_SUBDIR)/bison && \
5766 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5767 $(TARGET-bison))
5768 @endif bison
5773 .PHONY: check-bison maybe-check-bison
5774 maybe-check-bison:
5775 @if bison
5776 maybe-check-bison: check-bison
5778 # This module is only tested in a native toolchain.
5779 check-bison:
5780 @: $(MAKE); $(unstage)
5781 @if [ '$(host)' = '$(target)' ] ; then \
5782 r=`${PWD_COMMAND}`; export r; \
5783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5784 $(HOST_EXPORTS) \
5785 (cd $(HOST_SUBDIR)/bison && \
5786 $(MAKE) $(FLAGS_TO_PASS) check); \
5789 @endif bison
5791 .PHONY: install-bison maybe-install-bison
5792 maybe-install-bison:
5793 @if bison
5794 maybe-install-bison: install-bison
5796 install-bison: installdirs
5797 @: $(MAKE); $(unstage)
5798 @r=`${PWD_COMMAND}`; export r; \
5799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5800 $(HOST_EXPORTS) \
5801 (cd $(HOST_SUBDIR)/bison && \
5802 $(MAKE) $(FLAGS_TO_PASS) install)
5804 @endif bison
5806 .PHONY: install-strip-bison maybe-install-strip-bison
5807 maybe-install-strip-bison:
5808 @if bison
5809 maybe-install-strip-bison: install-strip-bison
5811 install-strip-bison: installdirs
5812 @: $(MAKE); $(unstage)
5813 @r=`${PWD_COMMAND}`; export r; \
5814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5815 $(HOST_EXPORTS) \
5816 (cd $(HOST_SUBDIR)/bison && \
5817 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5819 @endif bison
5821 # Other targets (info, dvi, pdf, etc.)
5823 .PHONY: maybe-info-bison info-bison
5824 maybe-info-bison:
5825 @if bison
5826 maybe-info-bison: info-bison
5828 info-bison: \
5829 configure-bison
5830 @: $(MAKE); $(unstage)
5831 @[ -f ./bison/Makefile ] || exit 0; \
5832 r=`${PWD_COMMAND}`; export r; \
5833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5834 $(HOST_EXPORTS) \
5835 for flag in $(EXTRA_HOST_FLAGS) ; do \
5836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5837 done; \
5838 echo "Doing info in bison" ; \
5839 (cd $(HOST_SUBDIR)/bison && \
5840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5842 "RANLIB=$${RANLIB}" \
5843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5844 info) \
5845 || exit 1
5847 @endif bison
5849 .PHONY: maybe-dvi-bison dvi-bison
5850 maybe-dvi-bison:
5851 @if bison
5852 maybe-dvi-bison: dvi-bison
5854 dvi-bison: \
5855 configure-bison
5856 @: $(MAKE); $(unstage)
5857 @[ -f ./bison/Makefile ] || exit 0; \
5858 r=`${PWD_COMMAND}`; export r; \
5859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5860 $(HOST_EXPORTS) \
5861 for flag in $(EXTRA_HOST_FLAGS) ; do \
5862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5863 done; \
5864 echo "Doing dvi in bison" ; \
5865 (cd $(HOST_SUBDIR)/bison && \
5866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5868 "RANLIB=$${RANLIB}" \
5869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5870 dvi) \
5871 || exit 1
5873 @endif bison
5875 .PHONY: maybe-pdf-bison pdf-bison
5876 maybe-pdf-bison:
5877 @if bison
5878 maybe-pdf-bison: pdf-bison
5880 pdf-bison: \
5881 configure-bison
5882 @: $(MAKE); $(unstage)
5883 @[ -f ./bison/Makefile ] || exit 0; \
5884 r=`${PWD_COMMAND}`; export r; \
5885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5886 $(HOST_EXPORTS) \
5887 for flag in $(EXTRA_HOST_FLAGS) ; do \
5888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5889 done; \
5890 echo "Doing pdf in bison" ; \
5891 (cd $(HOST_SUBDIR)/bison && \
5892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5894 "RANLIB=$${RANLIB}" \
5895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5896 pdf) \
5897 || exit 1
5899 @endif bison
5901 .PHONY: maybe-html-bison html-bison
5902 maybe-html-bison:
5903 @if bison
5904 maybe-html-bison: html-bison
5906 html-bison: \
5907 configure-bison
5908 @: $(MAKE); $(unstage)
5909 @[ -f ./bison/Makefile ] || exit 0; \
5910 r=`${PWD_COMMAND}`; export r; \
5911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5912 $(HOST_EXPORTS) \
5913 for flag in $(EXTRA_HOST_FLAGS) ; do \
5914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5915 done; \
5916 echo "Doing html in bison" ; \
5917 (cd $(HOST_SUBDIR)/bison && \
5918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5920 "RANLIB=$${RANLIB}" \
5921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5922 html) \
5923 || exit 1
5925 @endif bison
5927 .PHONY: maybe-TAGS-bison TAGS-bison
5928 maybe-TAGS-bison:
5929 @if bison
5930 maybe-TAGS-bison: TAGS-bison
5932 TAGS-bison: \
5933 configure-bison
5934 @: $(MAKE); $(unstage)
5935 @[ -f ./bison/Makefile ] || exit 0; \
5936 r=`${PWD_COMMAND}`; export r; \
5937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5938 $(HOST_EXPORTS) \
5939 for flag in $(EXTRA_HOST_FLAGS) ; do \
5940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5941 done; \
5942 echo "Doing TAGS in bison" ; \
5943 (cd $(HOST_SUBDIR)/bison && \
5944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5946 "RANLIB=$${RANLIB}" \
5947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5948 TAGS) \
5949 || exit 1
5951 @endif bison
5953 .PHONY: maybe-install-info-bison install-info-bison
5954 maybe-install-info-bison:
5955 @if bison
5956 maybe-install-info-bison: install-info-bison
5958 install-info-bison: \
5959 configure-bison \
5960 info-bison
5961 @: $(MAKE); $(unstage)
5962 @[ -f ./bison/Makefile ] || exit 0; \
5963 r=`${PWD_COMMAND}`; export r; \
5964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5965 $(HOST_EXPORTS) \
5966 for flag in $(EXTRA_HOST_FLAGS) ; do \
5967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5968 done; \
5969 echo "Doing install-info in bison" ; \
5970 (cd $(HOST_SUBDIR)/bison && \
5971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5973 "RANLIB=$${RANLIB}" \
5974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5975 install-info) \
5976 || exit 1
5978 @endif bison
5980 .PHONY: maybe-install-pdf-bison install-pdf-bison
5981 maybe-install-pdf-bison:
5982 @if bison
5983 maybe-install-pdf-bison: install-pdf-bison
5985 install-pdf-bison: \
5986 configure-bison \
5987 pdf-bison
5988 @: $(MAKE); $(unstage)
5989 @[ -f ./bison/Makefile ] || exit 0; \
5990 r=`${PWD_COMMAND}`; export r; \
5991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5992 $(HOST_EXPORTS) \
5993 for flag in $(EXTRA_HOST_FLAGS) ; do \
5994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5995 done; \
5996 echo "Doing install-pdf in bison" ; \
5997 (cd $(HOST_SUBDIR)/bison && \
5998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6000 "RANLIB=$${RANLIB}" \
6001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6002 install-pdf) \
6003 || exit 1
6005 @endif bison
6007 .PHONY: maybe-install-html-bison install-html-bison
6008 maybe-install-html-bison:
6009 @if bison
6010 maybe-install-html-bison: install-html-bison
6012 install-html-bison: \
6013 configure-bison \
6014 html-bison
6015 @: $(MAKE); $(unstage)
6016 @[ -f ./bison/Makefile ] || exit 0; \
6017 r=`${PWD_COMMAND}`; export r; \
6018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6019 $(HOST_EXPORTS) \
6020 for flag in $(EXTRA_HOST_FLAGS) ; do \
6021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6022 done; \
6023 echo "Doing install-html in bison" ; \
6024 (cd $(HOST_SUBDIR)/bison && \
6025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6027 "RANLIB=$${RANLIB}" \
6028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6029 install-html) \
6030 || exit 1
6032 @endif bison
6034 .PHONY: maybe-installcheck-bison installcheck-bison
6035 maybe-installcheck-bison:
6036 @if bison
6037 maybe-installcheck-bison: installcheck-bison
6039 installcheck-bison: \
6040 configure-bison
6041 @: $(MAKE); $(unstage)
6042 @[ -f ./bison/Makefile ] || exit 0; \
6043 r=`${PWD_COMMAND}`; export r; \
6044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6045 $(HOST_EXPORTS) \
6046 for flag in $(EXTRA_HOST_FLAGS) ; do \
6047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6048 done; \
6049 echo "Doing installcheck in bison" ; \
6050 (cd $(HOST_SUBDIR)/bison && \
6051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6053 "RANLIB=$${RANLIB}" \
6054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6055 installcheck) \
6056 || exit 1
6058 @endif bison
6060 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6061 maybe-mostlyclean-bison:
6062 @if bison
6063 maybe-mostlyclean-bison: mostlyclean-bison
6065 mostlyclean-bison:
6066 @: $(MAKE); $(unstage)
6067 @[ -f ./bison/Makefile ] || exit 0; \
6068 r=`${PWD_COMMAND}`; export r; \
6069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6070 $(HOST_EXPORTS) \
6071 for flag in $(EXTRA_HOST_FLAGS) ; do \
6072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6073 done; \
6074 echo "Doing mostlyclean in bison" ; \
6075 (cd $(HOST_SUBDIR)/bison && \
6076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6078 "RANLIB=$${RANLIB}" \
6079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6080 mostlyclean) \
6081 || exit 1
6083 @endif bison
6085 .PHONY: maybe-clean-bison clean-bison
6086 maybe-clean-bison:
6087 @if bison
6088 maybe-clean-bison: clean-bison
6090 clean-bison:
6091 @: $(MAKE); $(unstage)
6092 @[ -f ./bison/Makefile ] || exit 0; \
6093 r=`${PWD_COMMAND}`; export r; \
6094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6095 $(HOST_EXPORTS) \
6096 for flag in $(EXTRA_HOST_FLAGS) ; do \
6097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6098 done; \
6099 echo "Doing clean in bison" ; \
6100 (cd $(HOST_SUBDIR)/bison && \
6101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6103 "RANLIB=$${RANLIB}" \
6104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6105 clean) \
6106 || exit 1
6108 @endif bison
6110 .PHONY: maybe-distclean-bison distclean-bison
6111 maybe-distclean-bison:
6112 @if bison
6113 maybe-distclean-bison: distclean-bison
6115 distclean-bison:
6116 @: $(MAKE); $(unstage)
6117 @[ -f ./bison/Makefile ] || exit 0; \
6118 r=`${PWD_COMMAND}`; export r; \
6119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6120 $(HOST_EXPORTS) \
6121 for flag in $(EXTRA_HOST_FLAGS) ; do \
6122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6123 done; \
6124 echo "Doing distclean in bison" ; \
6125 (cd $(HOST_SUBDIR)/bison && \
6126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6128 "RANLIB=$${RANLIB}" \
6129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6130 distclean) \
6131 || exit 1
6133 @endif bison
6135 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6136 maybe-maintainer-clean-bison:
6137 @if bison
6138 maybe-maintainer-clean-bison: maintainer-clean-bison
6140 maintainer-clean-bison:
6141 @: $(MAKE); $(unstage)
6142 @[ -f ./bison/Makefile ] || exit 0; \
6143 r=`${PWD_COMMAND}`; export r; \
6144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6145 $(HOST_EXPORTS) \
6146 for flag in $(EXTRA_HOST_FLAGS) ; do \
6147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6148 done; \
6149 echo "Doing maintainer-clean in bison" ; \
6150 (cd $(HOST_SUBDIR)/bison && \
6151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6153 "RANLIB=$${RANLIB}" \
6154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6155 maintainer-clean) \
6156 || exit 1
6158 @endif bison
6162 .PHONY: configure-cgen maybe-configure-cgen
6163 maybe-configure-cgen:
6164 @if gcc-bootstrap
6165 configure-cgen: stage_current
6166 @endif gcc-bootstrap
6167 @if cgen
6168 maybe-configure-cgen: configure-cgen
6169 configure-cgen:
6170 @: $(MAKE); $(unstage)
6171 @r=`${PWD_COMMAND}`; export r; \
6172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6173 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
6174 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \
6175 $(HOST_EXPORTS) \
6176 echo Configuring in $(HOST_SUBDIR)/cgen; \
6177 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
6178 case $(srcdir) in \
6179 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6180 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
6181 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6182 esac; \
6183 module_srcdir=cgen; \
6184 $(SHELL) \
6185 $$s/$$module_srcdir/configure \
6186 --srcdir=$${topdir}/$$module_srcdir \
6187 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6188 --target=${target_alias} \
6189 || exit 1
6190 @endif cgen
6196 .PHONY: all-cgen maybe-all-cgen
6197 maybe-all-cgen:
6198 @if gcc-bootstrap
6199 all-cgen: stage_current
6200 @endif gcc-bootstrap
6201 @if cgen
6202 TARGET-cgen=all
6203 maybe-all-cgen: all-cgen
6204 all-cgen: configure-cgen
6205 @: $(MAKE); $(unstage)
6206 @r=`${PWD_COMMAND}`; export r; \
6207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6208 $(HOST_EXPORTS) \
6209 (cd $(HOST_SUBDIR)/cgen && \
6210 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6211 $(TARGET-cgen))
6212 @endif cgen
6217 .PHONY: check-cgen maybe-check-cgen
6218 maybe-check-cgen:
6219 @if cgen
6220 maybe-check-cgen: check-cgen
6222 check-cgen:
6223 @: $(MAKE); $(unstage)
6224 @r=`${PWD_COMMAND}`; export r; \
6225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6226 $(HOST_EXPORTS) \
6227 (cd $(HOST_SUBDIR)/cgen && \
6228 $(MAKE) $(FLAGS_TO_PASS) check)
6230 @endif cgen
6232 .PHONY: install-cgen maybe-install-cgen
6233 maybe-install-cgen:
6234 @if cgen
6235 maybe-install-cgen: install-cgen
6237 install-cgen: installdirs
6238 @: $(MAKE); $(unstage)
6239 @r=`${PWD_COMMAND}`; export r; \
6240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6241 $(HOST_EXPORTS) \
6242 (cd $(HOST_SUBDIR)/cgen && \
6243 $(MAKE) $(FLAGS_TO_PASS) install)
6245 @endif cgen
6247 .PHONY: install-strip-cgen maybe-install-strip-cgen
6248 maybe-install-strip-cgen:
6249 @if cgen
6250 maybe-install-strip-cgen: install-strip-cgen
6252 install-strip-cgen: installdirs
6253 @: $(MAKE); $(unstage)
6254 @r=`${PWD_COMMAND}`; export r; \
6255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6256 $(HOST_EXPORTS) \
6257 (cd $(HOST_SUBDIR)/cgen && \
6258 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6260 @endif cgen
6262 # Other targets (info, dvi, pdf, etc.)
6264 .PHONY: maybe-info-cgen info-cgen
6265 maybe-info-cgen:
6266 @if cgen
6267 maybe-info-cgen: info-cgen
6269 info-cgen: \
6270 configure-cgen
6271 @: $(MAKE); $(unstage)
6272 @[ -f ./cgen/Makefile ] || exit 0; \
6273 r=`${PWD_COMMAND}`; export r; \
6274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6275 $(HOST_EXPORTS) \
6276 for flag in $(EXTRA_HOST_FLAGS) ; do \
6277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6278 done; \
6279 echo "Doing info in cgen" ; \
6280 (cd $(HOST_SUBDIR)/cgen && \
6281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6283 "RANLIB=$${RANLIB}" \
6284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6285 info) \
6286 || exit 1
6288 @endif cgen
6290 .PHONY: maybe-dvi-cgen dvi-cgen
6291 maybe-dvi-cgen:
6292 @if cgen
6293 maybe-dvi-cgen: dvi-cgen
6295 dvi-cgen: \
6296 configure-cgen
6297 @: $(MAKE); $(unstage)
6298 @[ -f ./cgen/Makefile ] || exit 0; \
6299 r=`${PWD_COMMAND}`; export r; \
6300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6301 $(HOST_EXPORTS) \
6302 for flag in $(EXTRA_HOST_FLAGS) ; do \
6303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6304 done; \
6305 echo "Doing dvi in cgen" ; \
6306 (cd $(HOST_SUBDIR)/cgen && \
6307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6309 "RANLIB=$${RANLIB}" \
6310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6311 dvi) \
6312 || exit 1
6314 @endif cgen
6316 .PHONY: maybe-pdf-cgen pdf-cgen
6317 maybe-pdf-cgen:
6318 @if cgen
6319 maybe-pdf-cgen: pdf-cgen
6321 pdf-cgen: \
6322 configure-cgen
6323 @: $(MAKE); $(unstage)
6324 @[ -f ./cgen/Makefile ] || exit 0; \
6325 r=`${PWD_COMMAND}`; export r; \
6326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6327 $(HOST_EXPORTS) \
6328 for flag in $(EXTRA_HOST_FLAGS) ; do \
6329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6330 done; \
6331 echo "Doing pdf in cgen" ; \
6332 (cd $(HOST_SUBDIR)/cgen && \
6333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6335 "RANLIB=$${RANLIB}" \
6336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6337 pdf) \
6338 || exit 1
6340 @endif cgen
6342 .PHONY: maybe-html-cgen html-cgen
6343 maybe-html-cgen:
6344 @if cgen
6345 maybe-html-cgen: html-cgen
6347 html-cgen: \
6348 configure-cgen
6349 @: $(MAKE); $(unstage)
6350 @[ -f ./cgen/Makefile ] || exit 0; \
6351 r=`${PWD_COMMAND}`; export r; \
6352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6353 $(HOST_EXPORTS) \
6354 for flag in $(EXTRA_HOST_FLAGS) ; do \
6355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6356 done; \
6357 echo "Doing html in cgen" ; \
6358 (cd $(HOST_SUBDIR)/cgen && \
6359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6361 "RANLIB=$${RANLIB}" \
6362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6363 html) \
6364 || exit 1
6366 @endif cgen
6368 .PHONY: maybe-TAGS-cgen TAGS-cgen
6369 maybe-TAGS-cgen:
6370 @if cgen
6371 maybe-TAGS-cgen: TAGS-cgen
6373 TAGS-cgen: \
6374 configure-cgen
6375 @: $(MAKE); $(unstage)
6376 @[ -f ./cgen/Makefile ] || exit 0; \
6377 r=`${PWD_COMMAND}`; export r; \
6378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6379 $(HOST_EXPORTS) \
6380 for flag in $(EXTRA_HOST_FLAGS) ; do \
6381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6382 done; \
6383 echo "Doing TAGS in cgen" ; \
6384 (cd $(HOST_SUBDIR)/cgen && \
6385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6387 "RANLIB=$${RANLIB}" \
6388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6389 TAGS) \
6390 || exit 1
6392 @endif cgen
6394 .PHONY: maybe-install-info-cgen install-info-cgen
6395 maybe-install-info-cgen:
6396 @if cgen
6397 maybe-install-info-cgen: install-info-cgen
6399 install-info-cgen: \
6400 configure-cgen \
6401 info-cgen
6402 @: $(MAKE); $(unstage)
6403 @[ -f ./cgen/Makefile ] || exit 0; \
6404 r=`${PWD_COMMAND}`; export r; \
6405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6406 $(HOST_EXPORTS) \
6407 for flag in $(EXTRA_HOST_FLAGS) ; do \
6408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6409 done; \
6410 echo "Doing install-info in cgen" ; \
6411 (cd $(HOST_SUBDIR)/cgen && \
6412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6414 "RANLIB=$${RANLIB}" \
6415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6416 install-info) \
6417 || exit 1
6419 @endif cgen
6421 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
6422 maybe-install-pdf-cgen:
6423 @if cgen
6424 maybe-install-pdf-cgen: install-pdf-cgen
6426 install-pdf-cgen: \
6427 configure-cgen \
6428 pdf-cgen
6429 @: $(MAKE); $(unstage)
6430 @[ -f ./cgen/Makefile ] || exit 0; \
6431 r=`${PWD_COMMAND}`; export r; \
6432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6433 $(HOST_EXPORTS) \
6434 for flag in $(EXTRA_HOST_FLAGS) ; do \
6435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6436 done; \
6437 echo "Doing install-pdf in cgen" ; \
6438 (cd $(HOST_SUBDIR)/cgen && \
6439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6441 "RANLIB=$${RANLIB}" \
6442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6443 install-pdf) \
6444 || exit 1
6446 @endif cgen
6448 .PHONY: maybe-install-html-cgen install-html-cgen
6449 maybe-install-html-cgen:
6450 @if cgen
6451 maybe-install-html-cgen: install-html-cgen
6453 install-html-cgen: \
6454 configure-cgen \
6455 html-cgen
6456 @: $(MAKE); $(unstage)
6457 @[ -f ./cgen/Makefile ] || exit 0; \
6458 r=`${PWD_COMMAND}`; export r; \
6459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6460 $(HOST_EXPORTS) \
6461 for flag in $(EXTRA_HOST_FLAGS) ; do \
6462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6463 done; \
6464 echo "Doing install-html in cgen" ; \
6465 (cd $(HOST_SUBDIR)/cgen && \
6466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6468 "RANLIB=$${RANLIB}" \
6469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6470 install-html) \
6471 || exit 1
6473 @endif cgen
6475 .PHONY: maybe-installcheck-cgen installcheck-cgen
6476 maybe-installcheck-cgen:
6477 @if cgen
6478 maybe-installcheck-cgen: installcheck-cgen
6480 installcheck-cgen: \
6481 configure-cgen
6482 @: $(MAKE); $(unstage)
6483 @[ -f ./cgen/Makefile ] || exit 0; \
6484 r=`${PWD_COMMAND}`; export r; \
6485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6486 $(HOST_EXPORTS) \
6487 for flag in $(EXTRA_HOST_FLAGS) ; do \
6488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6489 done; \
6490 echo "Doing installcheck in cgen" ; \
6491 (cd $(HOST_SUBDIR)/cgen && \
6492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6494 "RANLIB=$${RANLIB}" \
6495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6496 installcheck) \
6497 || exit 1
6499 @endif cgen
6501 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
6502 maybe-mostlyclean-cgen:
6503 @if cgen
6504 maybe-mostlyclean-cgen: mostlyclean-cgen
6506 mostlyclean-cgen:
6507 @: $(MAKE); $(unstage)
6508 @[ -f ./cgen/Makefile ] || exit 0; \
6509 r=`${PWD_COMMAND}`; export r; \
6510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6511 $(HOST_EXPORTS) \
6512 for flag in $(EXTRA_HOST_FLAGS) ; do \
6513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6514 done; \
6515 echo "Doing mostlyclean in cgen" ; \
6516 (cd $(HOST_SUBDIR)/cgen && \
6517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6519 "RANLIB=$${RANLIB}" \
6520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6521 mostlyclean) \
6522 || exit 1
6524 @endif cgen
6526 .PHONY: maybe-clean-cgen clean-cgen
6527 maybe-clean-cgen:
6528 @if cgen
6529 maybe-clean-cgen: clean-cgen
6531 clean-cgen:
6532 @: $(MAKE); $(unstage)
6533 @[ -f ./cgen/Makefile ] || exit 0; \
6534 r=`${PWD_COMMAND}`; export r; \
6535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6536 $(HOST_EXPORTS) \
6537 for flag in $(EXTRA_HOST_FLAGS) ; do \
6538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6539 done; \
6540 echo "Doing clean in cgen" ; \
6541 (cd $(HOST_SUBDIR)/cgen && \
6542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6544 "RANLIB=$${RANLIB}" \
6545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6546 clean) \
6547 || exit 1
6549 @endif cgen
6551 .PHONY: maybe-distclean-cgen distclean-cgen
6552 maybe-distclean-cgen:
6553 @if cgen
6554 maybe-distclean-cgen: distclean-cgen
6556 distclean-cgen:
6557 @: $(MAKE); $(unstage)
6558 @[ -f ./cgen/Makefile ] || exit 0; \
6559 r=`${PWD_COMMAND}`; export r; \
6560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6561 $(HOST_EXPORTS) \
6562 for flag in $(EXTRA_HOST_FLAGS) ; do \
6563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6564 done; \
6565 echo "Doing distclean in cgen" ; \
6566 (cd $(HOST_SUBDIR)/cgen && \
6567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6569 "RANLIB=$${RANLIB}" \
6570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6571 distclean) \
6572 || exit 1
6574 @endif cgen
6576 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
6577 maybe-maintainer-clean-cgen:
6578 @if cgen
6579 maybe-maintainer-clean-cgen: maintainer-clean-cgen
6581 maintainer-clean-cgen:
6582 @: $(MAKE); $(unstage)
6583 @[ -f ./cgen/Makefile ] || exit 0; \
6584 r=`${PWD_COMMAND}`; export r; \
6585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6586 $(HOST_EXPORTS) \
6587 for flag in $(EXTRA_HOST_FLAGS) ; do \
6588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6589 done; \
6590 echo "Doing maintainer-clean in cgen" ; \
6591 (cd $(HOST_SUBDIR)/cgen && \
6592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6594 "RANLIB=$${RANLIB}" \
6595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6596 maintainer-clean) \
6597 || exit 1
6599 @endif cgen
6603 .PHONY: configure-dejagnu maybe-configure-dejagnu
6604 maybe-configure-dejagnu:
6605 @if gcc-bootstrap
6606 configure-dejagnu: stage_current
6607 @endif gcc-bootstrap
6608 @if dejagnu
6609 maybe-configure-dejagnu: configure-dejagnu
6610 configure-dejagnu:
6611 @: $(MAKE); $(unstage)
6612 @r=`${PWD_COMMAND}`; export r; \
6613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6614 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6615 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6616 $(HOST_EXPORTS) \
6617 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6618 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6619 case $(srcdir) in \
6620 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6621 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6622 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6623 esac; \
6624 module_srcdir=dejagnu; \
6625 $(SHELL) \
6626 $$s/$$module_srcdir/configure \
6627 --srcdir=$${topdir}/$$module_srcdir \
6628 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6629 --target=${target_alias} \
6630 || exit 1
6631 @endif dejagnu
6637 .PHONY: all-dejagnu maybe-all-dejagnu
6638 maybe-all-dejagnu:
6639 @if gcc-bootstrap
6640 all-dejagnu: stage_current
6641 @endif gcc-bootstrap
6642 @if dejagnu
6643 TARGET-dejagnu=all
6644 maybe-all-dejagnu: all-dejagnu
6645 all-dejagnu: configure-dejagnu
6646 @: $(MAKE); $(unstage)
6647 @r=`${PWD_COMMAND}`; export r; \
6648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6649 $(HOST_EXPORTS) \
6650 (cd $(HOST_SUBDIR)/dejagnu && \
6651 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6652 $(TARGET-dejagnu))
6653 @endif dejagnu
6658 .PHONY: check-dejagnu maybe-check-dejagnu
6659 maybe-check-dejagnu:
6660 @if dejagnu
6661 maybe-check-dejagnu: check-dejagnu
6663 check-dejagnu:
6664 @: $(MAKE); $(unstage)
6665 @r=`${PWD_COMMAND}`; export r; \
6666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6667 $(HOST_EXPORTS) \
6668 (cd $(HOST_SUBDIR)/dejagnu && \
6669 $(MAKE) $(FLAGS_TO_PASS) check)
6671 @endif dejagnu
6673 .PHONY: install-dejagnu maybe-install-dejagnu
6674 maybe-install-dejagnu:
6675 @if dejagnu
6676 maybe-install-dejagnu: install-dejagnu
6678 install-dejagnu: installdirs
6679 @: $(MAKE); $(unstage)
6680 @r=`${PWD_COMMAND}`; export r; \
6681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6682 $(HOST_EXPORTS) \
6683 (cd $(HOST_SUBDIR)/dejagnu && \
6684 $(MAKE) $(FLAGS_TO_PASS) install)
6686 @endif dejagnu
6688 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
6689 maybe-install-strip-dejagnu:
6690 @if dejagnu
6691 maybe-install-strip-dejagnu: install-strip-dejagnu
6693 install-strip-dejagnu: installdirs
6694 @: $(MAKE); $(unstage)
6695 @r=`${PWD_COMMAND}`; export r; \
6696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6697 $(HOST_EXPORTS) \
6698 (cd $(HOST_SUBDIR)/dejagnu && \
6699 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6701 @endif dejagnu
6703 # Other targets (info, dvi, pdf, etc.)
6705 .PHONY: maybe-info-dejagnu info-dejagnu
6706 maybe-info-dejagnu:
6707 @if dejagnu
6708 maybe-info-dejagnu: info-dejagnu
6710 info-dejagnu: \
6711 configure-dejagnu
6712 @: $(MAKE); $(unstage)
6713 @[ -f ./dejagnu/Makefile ] || exit 0; \
6714 r=`${PWD_COMMAND}`; export r; \
6715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6716 $(HOST_EXPORTS) \
6717 for flag in $(EXTRA_HOST_FLAGS) ; do \
6718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6719 done; \
6720 echo "Doing info in dejagnu" ; \
6721 (cd $(HOST_SUBDIR)/dejagnu && \
6722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6724 "RANLIB=$${RANLIB}" \
6725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6726 info) \
6727 || exit 1
6729 @endif dejagnu
6731 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6732 maybe-dvi-dejagnu:
6733 @if dejagnu
6734 maybe-dvi-dejagnu: dvi-dejagnu
6736 dvi-dejagnu: \
6737 configure-dejagnu
6738 @: $(MAKE); $(unstage)
6739 @[ -f ./dejagnu/Makefile ] || exit 0; \
6740 r=`${PWD_COMMAND}`; export r; \
6741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6742 $(HOST_EXPORTS) \
6743 for flag in $(EXTRA_HOST_FLAGS) ; do \
6744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6745 done; \
6746 echo "Doing dvi in dejagnu" ; \
6747 (cd $(HOST_SUBDIR)/dejagnu && \
6748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6750 "RANLIB=$${RANLIB}" \
6751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6752 dvi) \
6753 || exit 1
6755 @endif dejagnu
6757 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
6758 maybe-pdf-dejagnu:
6759 @if dejagnu
6760 maybe-pdf-dejagnu: pdf-dejagnu
6762 pdf-dejagnu: \
6763 configure-dejagnu
6764 @: $(MAKE); $(unstage)
6765 @[ -f ./dejagnu/Makefile ] || exit 0; \
6766 r=`${PWD_COMMAND}`; export r; \
6767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6768 $(HOST_EXPORTS) \
6769 for flag in $(EXTRA_HOST_FLAGS) ; do \
6770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6771 done; \
6772 echo "Doing pdf in dejagnu" ; \
6773 (cd $(HOST_SUBDIR)/dejagnu && \
6774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6776 "RANLIB=$${RANLIB}" \
6777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6778 pdf) \
6779 || exit 1
6781 @endif dejagnu
6783 .PHONY: maybe-html-dejagnu html-dejagnu
6784 maybe-html-dejagnu:
6785 @if dejagnu
6786 maybe-html-dejagnu: html-dejagnu
6788 html-dejagnu: \
6789 configure-dejagnu
6790 @: $(MAKE); $(unstage)
6791 @[ -f ./dejagnu/Makefile ] || exit 0; \
6792 r=`${PWD_COMMAND}`; export r; \
6793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6794 $(HOST_EXPORTS) \
6795 for flag in $(EXTRA_HOST_FLAGS) ; do \
6796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6797 done; \
6798 echo "Doing html in dejagnu" ; \
6799 (cd $(HOST_SUBDIR)/dejagnu && \
6800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6802 "RANLIB=$${RANLIB}" \
6803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6804 html) \
6805 || exit 1
6807 @endif dejagnu
6809 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6810 maybe-TAGS-dejagnu:
6811 @if dejagnu
6812 maybe-TAGS-dejagnu: TAGS-dejagnu
6814 TAGS-dejagnu: \
6815 configure-dejagnu
6816 @: $(MAKE); $(unstage)
6817 @[ -f ./dejagnu/Makefile ] || exit 0; \
6818 r=`${PWD_COMMAND}`; export r; \
6819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6820 $(HOST_EXPORTS) \
6821 for flag in $(EXTRA_HOST_FLAGS) ; do \
6822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6823 done; \
6824 echo "Doing TAGS in dejagnu" ; \
6825 (cd $(HOST_SUBDIR)/dejagnu && \
6826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6828 "RANLIB=$${RANLIB}" \
6829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6830 TAGS) \
6831 || exit 1
6833 @endif dejagnu
6835 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6836 maybe-install-info-dejagnu:
6837 @if dejagnu
6838 maybe-install-info-dejagnu: install-info-dejagnu
6840 install-info-dejagnu: \
6841 configure-dejagnu \
6842 info-dejagnu
6843 @: $(MAKE); $(unstage)
6844 @[ -f ./dejagnu/Makefile ] || exit 0; \
6845 r=`${PWD_COMMAND}`; export r; \
6846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6847 $(HOST_EXPORTS) \
6848 for flag in $(EXTRA_HOST_FLAGS) ; do \
6849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6850 done; \
6851 echo "Doing install-info in dejagnu" ; \
6852 (cd $(HOST_SUBDIR)/dejagnu && \
6853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6855 "RANLIB=$${RANLIB}" \
6856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6857 install-info) \
6858 || exit 1
6860 @endif dejagnu
6862 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
6863 maybe-install-pdf-dejagnu:
6864 @if dejagnu
6865 maybe-install-pdf-dejagnu: install-pdf-dejagnu
6867 install-pdf-dejagnu: \
6868 configure-dejagnu \
6869 pdf-dejagnu
6870 @: $(MAKE); $(unstage)
6871 @[ -f ./dejagnu/Makefile ] || exit 0; \
6872 r=`${PWD_COMMAND}`; export r; \
6873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6874 $(HOST_EXPORTS) \
6875 for flag in $(EXTRA_HOST_FLAGS) ; do \
6876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6877 done; \
6878 echo "Doing install-pdf in dejagnu" ; \
6879 (cd $(HOST_SUBDIR)/dejagnu && \
6880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6882 "RANLIB=$${RANLIB}" \
6883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6884 install-pdf) \
6885 || exit 1
6887 @endif dejagnu
6889 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
6890 maybe-install-html-dejagnu:
6891 @if dejagnu
6892 maybe-install-html-dejagnu: install-html-dejagnu
6894 install-html-dejagnu: \
6895 configure-dejagnu \
6896 html-dejagnu
6897 @: $(MAKE); $(unstage)
6898 @[ -f ./dejagnu/Makefile ] || exit 0; \
6899 r=`${PWD_COMMAND}`; export r; \
6900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6901 $(HOST_EXPORTS) \
6902 for flag in $(EXTRA_HOST_FLAGS) ; do \
6903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6904 done; \
6905 echo "Doing install-html in dejagnu" ; \
6906 (cd $(HOST_SUBDIR)/dejagnu && \
6907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6909 "RANLIB=$${RANLIB}" \
6910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6911 install-html) \
6912 || exit 1
6914 @endif dejagnu
6916 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6917 maybe-installcheck-dejagnu:
6918 @if dejagnu
6919 maybe-installcheck-dejagnu: installcheck-dejagnu
6921 installcheck-dejagnu: \
6922 configure-dejagnu
6923 @: $(MAKE); $(unstage)
6924 @[ -f ./dejagnu/Makefile ] || exit 0; \
6925 r=`${PWD_COMMAND}`; export r; \
6926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6927 $(HOST_EXPORTS) \
6928 for flag in $(EXTRA_HOST_FLAGS) ; do \
6929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6930 done; \
6931 echo "Doing installcheck in dejagnu" ; \
6932 (cd $(HOST_SUBDIR)/dejagnu && \
6933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6935 "RANLIB=$${RANLIB}" \
6936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6937 installcheck) \
6938 || exit 1
6940 @endif dejagnu
6942 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6943 maybe-mostlyclean-dejagnu:
6944 @if dejagnu
6945 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6947 mostlyclean-dejagnu:
6948 @: $(MAKE); $(unstage)
6949 @[ -f ./dejagnu/Makefile ] || exit 0; \
6950 r=`${PWD_COMMAND}`; export r; \
6951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6952 $(HOST_EXPORTS) \
6953 for flag in $(EXTRA_HOST_FLAGS) ; do \
6954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6955 done; \
6956 echo "Doing mostlyclean in dejagnu" ; \
6957 (cd $(HOST_SUBDIR)/dejagnu && \
6958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6960 "RANLIB=$${RANLIB}" \
6961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6962 mostlyclean) \
6963 || exit 1
6965 @endif dejagnu
6967 .PHONY: maybe-clean-dejagnu clean-dejagnu
6968 maybe-clean-dejagnu:
6969 @if dejagnu
6970 maybe-clean-dejagnu: clean-dejagnu
6972 clean-dejagnu:
6973 @: $(MAKE); $(unstage)
6974 @[ -f ./dejagnu/Makefile ] || exit 0; \
6975 r=`${PWD_COMMAND}`; export r; \
6976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6977 $(HOST_EXPORTS) \
6978 for flag in $(EXTRA_HOST_FLAGS) ; do \
6979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6980 done; \
6981 echo "Doing clean in dejagnu" ; \
6982 (cd $(HOST_SUBDIR)/dejagnu && \
6983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6985 "RANLIB=$${RANLIB}" \
6986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6987 clean) \
6988 || exit 1
6990 @endif dejagnu
6992 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6993 maybe-distclean-dejagnu:
6994 @if dejagnu
6995 maybe-distclean-dejagnu: distclean-dejagnu
6997 distclean-dejagnu:
6998 @: $(MAKE); $(unstage)
6999 @[ -f ./dejagnu/Makefile ] || exit 0; \
7000 r=`${PWD_COMMAND}`; export r; \
7001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7002 $(HOST_EXPORTS) \
7003 for flag in $(EXTRA_HOST_FLAGS) ; do \
7004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7005 done; \
7006 echo "Doing distclean in dejagnu" ; \
7007 (cd $(HOST_SUBDIR)/dejagnu && \
7008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7010 "RANLIB=$${RANLIB}" \
7011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7012 distclean) \
7013 || exit 1
7015 @endif dejagnu
7017 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7018 maybe-maintainer-clean-dejagnu:
7019 @if dejagnu
7020 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7022 maintainer-clean-dejagnu:
7023 @: $(MAKE); $(unstage)
7024 @[ -f ./dejagnu/Makefile ] || exit 0; \
7025 r=`${PWD_COMMAND}`; export r; \
7026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7027 $(HOST_EXPORTS) \
7028 for flag in $(EXTRA_HOST_FLAGS) ; do \
7029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7030 done; \
7031 echo "Doing maintainer-clean in dejagnu" ; \
7032 (cd $(HOST_SUBDIR)/dejagnu && \
7033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7035 "RANLIB=$${RANLIB}" \
7036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7037 maintainer-clean) \
7038 || exit 1
7040 @endif dejagnu
7044 .PHONY: configure-etc maybe-configure-etc
7045 maybe-configure-etc:
7046 @if gcc-bootstrap
7047 configure-etc: stage_current
7048 @endif gcc-bootstrap
7049 @if etc
7050 maybe-configure-etc: configure-etc
7051 configure-etc:
7052 @: $(MAKE); $(unstage)
7053 @r=`${PWD_COMMAND}`; export r; \
7054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7055 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
7056 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
7057 $(HOST_EXPORTS) \
7058 echo Configuring in $(HOST_SUBDIR)/etc; \
7059 cd "$(HOST_SUBDIR)/etc" || exit 1; \
7060 case $(srcdir) in \
7061 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7062 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
7063 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7064 esac; \
7065 module_srcdir=etc; \
7066 $(SHELL) \
7067 $$s/$$module_srcdir/configure \
7068 --srcdir=$${topdir}/$$module_srcdir \
7069 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7070 --target=${target_alias} \
7071 || exit 1
7072 @endif etc
7078 .PHONY: all-etc maybe-all-etc
7079 maybe-all-etc:
7080 @if gcc-bootstrap
7081 all-etc: stage_current
7082 @endif gcc-bootstrap
7083 @if etc
7084 TARGET-etc=all
7085 maybe-all-etc: all-etc
7086 all-etc: configure-etc
7087 @: $(MAKE); $(unstage)
7088 @r=`${PWD_COMMAND}`; export r; \
7089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7090 $(HOST_EXPORTS) \
7091 (cd $(HOST_SUBDIR)/etc && \
7092 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7093 $(TARGET-etc))
7094 @endif etc
7099 .PHONY: check-etc maybe-check-etc
7100 maybe-check-etc:
7101 @if etc
7102 maybe-check-etc: check-etc
7104 check-etc:
7105 @: $(MAKE); $(unstage)
7106 @r=`${PWD_COMMAND}`; export r; \
7107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7108 $(HOST_EXPORTS) \
7109 (cd $(HOST_SUBDIR)/etc && \
7110 $(MAKE) $(FLAGS_TO_PASS) check)
7112 @endif etc
7114 .PHONY: install-etc maybe-install-etc
7115 maybe-install-etc:
7116 @if etc
7117 maybe-install-etc: install-etc
7119 install-etc: installdirs
7120 @: $(MAKE); $(unstage)
7121 @r=`${PWD_COMMAND}`; export r; \
7122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7123 $(HOST_EXPORTS) \
7124 (cd $(HOST_SUBDIR)/etc && \
7125 $(MAKE) $(FLAGS_TO_PASS) install)
7127 @endif etc
7129 .PHONY: install-strip-etc maybe-install-strip-etc
7130 maybe-install-strip-etc:
7131 @if etc
7132 maybe-install-strip-etc: install-strip-etc
7134 install-strip-etc: installdirs
7135 @: $(MAKE); $(unstage)
7136 @r=`${PWD_COMMAND}`; export r; \
7137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7138 $(HOST_EXPORTS) \
7139 (cd $(HOST_SUBDIR)/etc && \
7140 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7142 @endif etc
7144 # Other targets (info, dvi, pdf, etc.)
7146 .PHONY: maybe-info-etc info-etc
7147 maybe-info-etc:
7148 @if etc
7149 maybe-info-etc: info-etc
7151 info-etc: \
7152 configure-etc
7153 @: $(MAKE); $(unstage)
7154 @[ -f ./etc/Makefile ] || exit 0; \
7155 r=`${PWD_COMMAND}`; export r; \
7156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7157 $(HOST_EXPORTS) \
7158 for flag in $(EXTRA_HOST_FLAGS) ; do \
7159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7160 done; \
7161 echo "Doing info in etc" ; \
7162 (cd $(HOST_SUBDIR)/etc && \
7163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7165 "RANLIB=$${RANLIB}" \
7166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7167 info) \
7168 || exit 1
7170 @endif etc
7172 .PHONY: maybe-dvi-etc dvi-etc
7173 maybe-dvi-etc:
7174 @if etc
7175 maybe-dvi-etc: dvi-etc
7177 dvi-etc: \
7178 configure-etc
7179 @: $(MAKE); $(unstage)
7180 @[ -f ./etc/Makefile ] || exit 0; \
7181 r=`${PWD_COMMAND}`; export r; \
7182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7183 $(HOST_EXPORTS) \
7184 for flag in $(EXTRA_HOST_FLAGS) ; do \
7185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7186 done; \
7187 echo "Doing dvi in etc" ; \
7188 (cd $(HOST_SUBDIR)/etc && \
7189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7191 "RANLIB=$${RANLIB}" \
7192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7193 dvi) \
7194 || exit 1
7196 @endif etc
7198 .PHONY: maybe-pdf-etc pdf-etc
7199 maybe-pdf-etc:
7200 @if etc
7201 maybe-pdf-etc: pdf-etc
7203 pdf-etc: \
7204 configure-etc
7205 @: $(MAKE); $(unstage)
7206 @[ -f ./etc/Makefile ] || exit 0; \
7207 r=`${PWD_COMMAND}`; export r; \
7208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7209 $(HOST_EXPORTS) \
7210 for flag in $(EXTRA_HOST_FLAGS) ; do \
7211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7212 done; \
7213 echo "Doing pdf in etc" ; \
7214 (cd $(HOST_SUBDIR)/etc && \
7215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7217 "RANLIB=$${RANLIB}" \
7218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7219 pdf) \
7220 || exit 1
7222 @endif etc
7224 .PHONY: maybe-html-etc html-etc
7225 maybe-html-etc:
7226 @if etc
7227 maybe-html-etc: html-etc
7229 html-etc: \
7230 configure-etc
7231 @: $(MAKE); $(unstage)
7232 @[ -f ./etc/Makefile ] || exit 0; \
7233 r=`${PWD_COMMAND}`; export r; \
7234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7235 $(HOST_EXPORTS) \
7236 for flag in $(EXTRA_HOST_FLAGS) ; do \
7237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7238 done; \
7239 echo "Doing html in etc" ; \
7240 (cd $(HOST_SUBDIR)/etc && \
7241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7243 "RANLIB=$${RANLIB}" \
7244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7245 html) \
7246 || exit 1
7248 @endif etc
7250 .PHONY: maybe-TAGS-etc TAGS-etc
7251 maybe-TAGS-etc:
7252 @if etc
7253 maybe-TAGS-etc: TAGS-etc
7255 TAGS-etc: \
7256 configure-etc
7257 @: $(MAKE); $(unstage)
7258 @[ -f ./etc/Makefile ] || exit 0; \
7259 r=`${PWD_COMMAND}`; export r; \
7260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7261 $(HOST_EXPORTS) \
7262 for flag in $(EXTRA_HOST_FLAGS) ; do \
7263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7264 done; \
7265 echo "Doing TAGS in etc" ; \
7266 (cd $(HOST_SUBDIR)/etc && \
7267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7269 "RANLIB=$${RANLIB}" \
7270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7271 TAGS) \
7272 || exit 1
7274 @endif etc
7276 .PHONY: maybe-install-info-etc install-info-etc
7277 maybe-install-info-etc:
7278 @if etc
7279 maybe-install-info-etc: install-info-etc
7281 install-info-etc: \
7282 configure-etc \
7283 info-etc
7284 @: $(MAKE); $(unstage)
7285 @[ -f ./etc/Makefile ] || exit 0; \
7286 r=`${PWD_COMMAND}`; export r; \
7287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7288 $(HOST_EXPORTS) \
7289 for flag in $(EXTRA_HOST_FLAGS) ; do \
7290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7291 done; \
7292 echo "Doing install-info in etc" ; \
7293 (cd $(HOST_SUBDIR)/etc && \
7294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7296 "RANLIB=$${RANLIB}" \
7297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7298 install-info) \
7299 || exit 1
7301 @endif etc
7303 .PHONY: maybe-install-pdf-etc install-pdf-etc
7304 maybe-install-pdf-etc:
7305 @if etc
7306 maybe-install-pdf-etc: install-pdf-etc
7308 install-pdf-etc: \
7309 configure-etc \
7310 pdf-etc
7311 @: $(MAKE); $(unstage)
7312 @[ -f ./etc/Makefile ] || exit 0; \
7313 r=`${PWD_COMMAND}`; export r; \
7314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7315 $(HOST_EXPORTS) \
7316 for flag in $(EXTRA_HOST_FLAGS) ; do \
7317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7318 done; \
7319 echo "Doing install-pdf in etc" ; \
7320 (cd $(HOST_SUBDIR)/etc && \
7321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7323 "RANLIB=$${RANLIB}" \
7324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7325 install-pdf) \
7326 || exit 1
7328 @endif etc
7330 .PHONY: maybe-install-html-etc install-html-etc
7331 maybe-install-html-etc:
7332 @if etc
7333 maybe-install-html-etc: install-html-etc
7335 install-html-etc: \
7336 configure-etc \
7337 html-etc
7338 @: $(MAKE); $(unstage)
7339 @[ -f ./etc/Makefile ] || exit 0; \
7340 r=`${PWD_COMMAND}`; export r; \
7341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7342 $(HOST_EXPORTS) \
7343 for flag in $(EXTRA_HOST_FLAGS) ; do \
7344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7345 done; \
7346 echo "Doing install-html in etc" ; \
7347 (cd $(HOST_SUBDIR)/etc && \
7348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7350 "RANLIB=$${RANLIB}" \
7351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7352 install-html) \
7353 || exit 1
7355 @endif etc
7357 .PHONY: maybe-installcheck-etc installcheck-etc
7358 maybe-installcheck-etc:
7359 @if etc
7360 maybe-installcheck-etc: installcheck-etc
7362 installcheck-etc: \
7363 configure-etc
7364 @: $(MAKE); $(unstage)
7365 @[ -f ./etc/Makefile ] || exit 0; \
7366 r=`${PWD_COMMAND}`; export r; \
7367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7368 $(HOST_EXPORTS) \
7369 for flag in $(EXTRA_HOST_FLAGS) ; do \
7370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7371 done; \
7372 echo "Doing installcheck in etc" ; \
7373 (cd $(HOST_SUBDIR)/etc && \
7374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7376 "RANLIB=$${RANLIB}" \
7377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7378 installcheck) \
7379 || exit 1
7381 @endif etc
7383 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7384 maybe-mostlyclean-etc:
7385 @if etc
7386 maybe-mostlyclean-etc: mostlyclean-etc
7388 mostlyclean-etc:
7389 @: $(MAKE); $(unstage)
7390 @[ -f ./etc/Makefile ] || exit 0; \
7391 r=`${PWD_COMMAND}`; export r; \
7392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7393 $(HOST_EXPORTS) \
7394 for flag in $(EXTRA_HOST_FLAGS) ; do \
7395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7396 done; \
7397 echo "Doing mostlyclean in etc" ; \
7398 (cd $(HOST_SUBDIR)/etc && \
7399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7401 "RANLIB=$${RANLIB}" \
7402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7403 mostlyclean) \
7404 || exit 1
7406 @endif etc
7408 .PHONY: maybe-clean-etc clean-etc
7409 maybe-clean-etc:
7410 @if etc
7411 maybe-clean-etc: clean-etc
7413 clean-etc:
7414 @: $(MAKE); $(unstage)
7415 @[ -f ./etc/Makefile ] || exit 0; \
7416 r=`${PWD_COMMAND}`; export r; \
7417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7418 $(HOST_EXPORTS) \
7419 for flag in $(EXTRA_HOST_FLAGS) ; do \
7420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7421 done; \
7422 echo "Doing clean in etc" ; \
7423 (cd $(HOST_SUBDIR)/etc && \
7424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7426 "RANLIB=$${RANLIB}" \
7427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7428 clean) \
7429 || exit 1
7431 @endif etc
7433 .PHONY: maybe-distclean-etc distclean-etc
7434 maybe-distclean-etc:
7435 @if etc
7436 maybe-distclean-etc: distclean-etc
7438 distclean-etc:
7439 @: $(MAKE); $(unstage)
7440 @[ -f ./etc/Makefile ] || exit 0; \
7441 r=`${PWD_COMMAND}`; export r; \
7442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7443 $(HOST_EXPORTS) \
7444 for flag in $(EXTRA_HOST_FLAGS) ; do \
7445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7446 done; \
7447 echo "Doing distclean in etc" ; \
7448 (cd $(HOST_SUBDIR)/etc && \
7449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7451 "RANLIB=$${RANLIB}" \
7452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7453 distclean) \
7454 || exit 1
7456 @endif etc
7458 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7459 maybe-maintainer-clean-etc:
7460 @if etc
7461 maybe-maintainer-clean-etc: maintainer-clean-etc
7463 maintainer-clean-etc:
7464 @: $(MAKE); $(unstage)
7465 @[ -f ./etc/Makefile ] || exit 0; \
7466 r=`${PWD_COMMAND}`; export r; \
7467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7468 $(HOST_EXPORTS) \
7469 for flag in $(EXTRA_HOST_FLAGS) ; do \
7470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7471 done; \
7472 echo "Doing maintainer-clean in etc" ; \
7473 (cd $(HOST_SUBDIR)/etc && \
7474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7476 "RANLIB=$${RANLIB}" \
7477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7478 maintainer-clean) \
7479 || exit 1
7481 @endif etc
7485 .PHONY: configure-fastjar maybe-configure-fastjar
7486 maybe-configure-fastjar:
7487 @if gcc-bootstrap
7488 configure-fastjar: stage_current
7489 @endif gcc-bootstrap
7490 @if fastjar
7491 maybe-configure-fastjar: configure-fastjar
7492 configure-fastjar:
7493 @: $(MAKE); $(unstage)
7494 @r=`${PWD_COMMAND}`; export r; \
7495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7496 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
7497 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
7498 $(HOST_EXPORTS) \
7499 echo Configuring in $(HOST_SUBDIR)/fastjar; \
7500 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
7501 case $(srcdir) in \
7502 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7503 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
7504 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7505 esac; \
7506 module_srcdir=fastjar; \
7507 $(SHELL) \
7508 $$s/$$module_srcdir/configure \
7509 --srcdir=$${topdir}/$$module_srcdir \
7510 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7511 --target=${target_alias} \
7512 || exit 1
7513 @endif fastjar
7519 .PHONY: all-fastjar maybe-all-fastjar
7520 maybe-all-fastjar:
7521 @if gcc-bootstrap
7522 all-fastjar: stage_current
7523 @endif gcc-bootstrap
7524 @if fastjar
7525 TARGET-fastjar=all
7526 maybe-all-fastjar: all-fastjar
7527 all-fastjar: configure-fastjar
7528 @: $(MAKE); $(unstage)
7529 @r=`${PWD_COMMAND}`; export r; \
7530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7531 $(HOST_EXPORTS) \
7532 (cd $(HOST_SUBDIR)/fastjar && \
7533 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7534 $(TARGET-fastjar))
7535 @endif fastjar
7540 .PHONY: check-fastjar maybe-check-fastjar
7541 maybe-check-fastjar:
7542 @if fastjar
7543 maybe-check-fastjar: check-fastjar
7545 # This module is only tested in a native toolchain.
7546 check-fastjar:
7547 @: $(MAKE); $(unstage)
7548 @if [ '$(host)' = '$(target)' ] ; then \
7549 r=`${PWD_COMMAND}`; export r; \
7550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7551 $(HOST_EXPORTS) \
7552 (cd $(HOST_SUBDIR)/fastjar && \
7553 $(MAKE) $(FLAGS_TO_PASS) check); \
7556 @endif fastjar
7558 .PHONY: install-fastjar maybe-install-fastjar
7559 maybe-install-fastjar:
7560 @if fastjar
7561 maybe-install-fastjar: install-fastjar
7563 install-fastjar: installdirs
7564 @: $(MAKE); $(unstage)
7565 @r=`${PWD_COMMAND}`; export r; \
7566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7567 $(HOST_EXPORTS) \
7568 (cd $(HOST_SUBDIR)/fastjar && \
7569 $(MAKE) $(FLAGS_TO_PASS) install)
7571 @endif fastjar
7573 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
7574 maybe-install-strip-fastjar:
7575 @if fastjar
7576 maybe-install-strip-fastjar: install-strip-fastjar
7578 install-strip-fastjar: installdirs
7579 @: $(MAKE); $(unstage)
7580 @r=`${PWD_COMMAND}`; export r; \
7581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7582 $(HOST_EXPORTS) \
7583 (cd $(HOST_SUBDIR)/fastjar && \
7584 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7586 @endif fastjar
7588 # Other targets (info, dvi, pdf, etc.)
7590 .PHONY: maybe-info-fastjar info-fastjar
7591 maybe-info-fastjar:
7592 @if fastjar
7593 maybe-info-fastjar: info-fastjar
7595 info-fastjar: \
7596 configure-fastjar
7597 @: $(MAKE); $(unstage)
7598 @[ -f ./fastjar/Makefile ] || exit 0; \
7599 r=`${PWD_COMMAND}`; export r; \
7600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7601 $(HOST_EXPORTS) \
7602 for flag in $(EXTRA_HOST_FLAGS) ; do \
7603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7604 done; \
7605 echo "Doing info in fastjar" ; \
7606 (cd $(HOST_SUBDIR)/fastjar && \
7607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7609 "RANLIB=$${RANLIB}" \
7610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7611 info) \
7612 || exit 1
7614 @endif fastjar
7616 .PHONY: maybe-dvi-fastjar dvi-fastjar
7617 maybe-dvi-fastjar:
7618 @if fastjar
7619 maybe-dvi-fastjar: dvi-fastjar
7621 dvi-fastjar: \
7622 configure-fastjar
7623 @: $(MAKE); $(unstage)
7624 @[ -f ./fastjar/Makefile ] || exit 0; \
7625 r=`${PWD_COMMAND}`; export r; \
7626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7627 $(HOST_EXPORTS) \
7628 for flag in $(EXTRA_HOST_FLAGS) ; do \
7629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7630 done; \
7631 echo "Doing dvi in fastjar" ; \
7632 (cd $(HOST_SUBDIR)/fastjar && \
7633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7635 "RANLIB=$${RANLIB}" \
7636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7637 dvi) \
7638 || exit 1
7640 @endif fastjar
7642 .PHONY: maybe-pdf-fastjar pdf-fastjar
7643 maybe-pdf-fastjar:
7644 @if fastjar
7645 maybe-pdf-fastjar: pdf-fastjar
7647 pdf-fastjar: \
7648 configure-fastjar
7649 @: $(MAKE); $(unstage)
7650 @[ -f ./fastjar/Makefile ] || exit 0; \
7651 r=`${PWD_COMMAND}`; export r; \
7652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7653 $(HOST_EXPORTS) \
7654 for flag in $(EXTRA_HOST_FLAGS) ; do \
7655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7656 done; \
7657 echo "Doing pdf in fastjar" ; \
7658 (cd $(HOST_SUBDIR)/fastjar && \
7659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7661 "RANLIB=$${RANLIB}" \
7662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7663 pdf) \
7664 || exit 1
7666 @endif fastjar
7668 .PHONY: maybe-html-fastjar html-fastjar
7669 maybe-html-fastjar:
7670 @if fastjar
7671 maybe-html-fastjar: html-fastjar
7673 html-fastjar: \
7674 configure-fastjar
7675 @: $(MAKE); $(unstage)
7676 @[ -f ./fastjar/Makefile ] || exit 0; \
7677 r=`${PWD_COMMAND}`; export r; \
7678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7679 $(HOST_EXPORTS) \
7680 for flag in $(EXTRA_HOST_FLAGS) ; do \
7681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7682 done; \
7683 echo "Doing html in fastjar" ; \
7684 (cd $(HOST_SUBDIR)/fastjar && \
7685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7687 "RANLIB=$${RANLIB}" \
7688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7689 html) \
7690 || exit 1
7692 @endif fastjar
7694 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7695 maybe-TAGS-fastjar:
7696 @if fastjar
7697 maybe-TAGS-fastjar: TAGS-fastjar
7699 TAGS-fastjar: \
7700 configure-fastjar
7701 @: $(MAKE); $(unstage)
7702 @[ -f ./fastjar/Makefile ] || exit 0; \
7703 r=`${PWD_COMMAND}`; export r; \
7704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7705 $(HOST_EXPORTS) \
7706 for flag in $(EXTRA_HOST_FLAGS) ; do \
7707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7708 done; \
7709 echo "Doing TAGS in fastjar" ; \
7710 (cd $(HOST_SUBDIR)/fastjar && \
7711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7713 "RANLIB=$${RANLIB}" \
7714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7715 TAGS) \
7716 || exit 1
7718 @endif fastjar
7720 .PHONY: maybe-install-info-fastjar install-info-fastjar
7721 maybe-install-info-fastjar:
7722 @if fastjar
7723 maybe-install-info-fastjar: install-info-fastjar
7725 install-info-fastjar: \
7726 configure-fastjar \
7727 info-fastjar
7728 @: $(MAKE); $(unstage)
7729 @[ -f ./fastjar/Makefile ] || exit 0; \
7730 r=`${PWD_COMMAND}`; export r; \
7731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7732 $(HOST_EXPORTS) \
7733 for flag in $(EXTRA_HOST_FLAGS) ; do \
7734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7735 done; \
7736 echo "Doing install-info in fastjar" ; \
7737 (cd $(HOST_SUBDIR)/fastjar && \
7738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7740 "RANLIB=$${RANLIB}" \
7741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7742 install-info) \
7743 || exit 1
7745 @endif fastjar
7747 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
7748 maybe-install-pdf-fastjar:
7749 @if fastjar
7750 maybe-install-pdf-fastjar: install-pdf-fastjar
7752 install-pdf-fastjar: \
7753 configure-fastjar \
7754 pdf-fastjar
7755 @: $(MAKE); $(unstage)
7756 @[ -f ./fastjar/Makefile ] || exit 0; \
7757 r=`${PWD_COMMAND}`; export r; \
7758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7759 $(HOST_EXPORTS) \
7760 for flag in $(EXTRA_HOST_FLAGS) ; do \
7761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7762 done; \
7763 echo "Doing install-pdf in fastjar" ; \
7764 (cd $(HOST_SUBDIR)/fastjar && \
7765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7767 "RANLIB=$${RANLIB}" \
7768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7769 install-pdf) \
7770 || exit 1
7772 @endif fastjar
7774 .PHONY: maybe-install-html-fastjar install-html-fastjar
7775 maybe-install-html-fastjar:
7776 @if fastjar
7777 maybe-install-html-fastjar: install-html-fastjar
7779 install-html-fastjar: \
7780 configure-fastjar \
7781 html-fastjar
7782 @: $(MAKE); $(unstage)
7783 @[ -f ./fastjar/Makefile ] || exit 0; \
7784 r=`${PWD_COMMAND}`; export r; \
7785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7786 $(HOST_EXPORTS) \
7787 for flag in $(EXTRA_HOST_FLAGS) ; do \
7788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7789 done; \
7790 echo "Doing install-html in fastjar" ; \
7791 (cd $(HOST_SUBDIR)/fastjar && \
7792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7794 "RANLIB=$${RANLIB}" \
7795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7796 install-html) \
7797 || exit 1
7799 @endif fastjar
7801 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7802 maybe-installcheck-fastjar:
7803 @if fastjar
7804 maybe-installcheck-fastjar: installcheck-fastjar
7806 installcheck-fastjar: \
7807 configure-fastjar
7808 @: $(MAKE); $(unstage)
7809 @[ -f ./fastjar/Makefile ] || exit 0; \
7810 r=`${PWD_COMMAND}`; export r; \
7811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7812 $(HOST_EXPORTS) \
7813 for flag in $(EXTRA_HOST_FLAGS) ; do \
7814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7815 done; \
7816 echo "Doing installcheck in fastjar" ; \
7817 (cd $(HOST_SUBDIR)/fastjar && \
7818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7820 "RANLIB=$${RANLIB}" \
7821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7822 installcheck) \
7823 || exit 1
7825 @endif fastjar
7827 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7828 maybe-mostlyclean-fastjar:
7829 @if fastjar
7830 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7832 mostlyclean-fastjar:
7833 @: $(MAKE); $(unstage)
7834 @[ -f ./fastjar/Makefile ] || exit 0; \
7835 r=`${PWD_COMMAND}`; export r; \
7836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7837 $(HOST_EXPORTS) \
7838 for flag in $(EXTRA_HOST_FLAGS) ; do \
7839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7840 done; \
7841 echo "Doing mostlyclean in fastjar" ; \
7842 (cd $(HOST_SUBDIR)/fastjar && \
7843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7845 "RANLIB=$${RANLIB}" \
7846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7847 mostlyclean) \
7848 || exit 1
7850 @endif fastjar
7852 .PHONY: maybe-clean-fastjar clean-fastjar
7853 maybe-clean-fastjar:
7854 @if fastjar
7855 maybe-clean-fastjar: clean-fastjar
7857 clean-fastjar:
7858 @: $(MAKE); $(unstage)
7859 @[ -f ./fastjar/Makefile ] || exit 0; \
7860 r=`${PWD_COMMAND}`; export r; \
7861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7862 $(HOST_EXPORTS) \
7863 for flag in $(EXTRA_HOST_FLAGS) ; do \
7864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7865 done; \
7866 echo "Doing clean in fastjar" ; \
7867 (cd $(HOST_SUBDIR)/fastjar && \
7868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7870 "RANLIB=$${RANLIB}" \
7871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7872 clean) \
7873 || exit 1
7875 @endif fastjar
7877 .PHONY: maybe-distclean-fastjar distclean-fastjar
7878 maybe-distclean-fastjar:
7879 @if fastjar
7880 maybe-distclean-fastjar: distclean-fastjar
7882 distclean-fastjar:
7883 @: $(MAKE); $(unstage)
7884 @[ -f ./fastjar/Makefile ] || exit 0; \
7885 r=`${PWD_COMMAND}`; export r; \
7886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7887 $(HOST_EXPORTS) \
7888 for flag in $(EXTRA_HOST_FLAGS) ; do \
7889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7890 done; \
7891 echo "Doing distclean in fastjar" ; \
7892 (cd $(HOST_SUBDIR)/fastjar && \
7893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7895 "RANLIB=$${RANLIB}" \
7896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7897 distclean) \
7898 || exit 1
7900 @endif fastjar
7902 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7903 maybe-maintainer-clean-fastjar:
7904 @if fastjar
7905 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7907 maintainer-clean-fastjar:
7908 @: $(MAKE); $(unstage)
7909 @[ -f ./fastjar/Makefile ] || exit 0; \
7910 r=`${PWD_COMMAND}`; export r; \
7911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7912 $(HOST_EXPORTS) \
7913 for flag in $(EXTRA_HOST_FLAGS) ; do \
7914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7915 done; \
7916 echo "Doing maintainer-clean in fastjar" ; \
7917 (cd $(HOST_SUBDIR)/fastjar && \
7918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7920 "RANLIB=$${RANLIB}" \
7921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7922 maintainer-clean) \
7923 || exit 1
7925 @endif fastjar
7929 .PHONY: configure-fixincludes maybe-configure-fixincludes
7930 maybe-configure-fixincludes:
7931 @if gcc-bootstrap
7932 configure-fixincludes: stage_current
7933 @endif gcc-bootstrap
7934 @if fixincludes
7935 maybe-configure-fixincludes: configure-fixincludes
7936 configure-fixincludes:
7937 @r=`${PWD_COMMAND}`; export r; \
7938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7939 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7940 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7941 $(HOST_EXPORTS) \
7942 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
7943 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
7944 case $(srcdir) in \
7945 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7946 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7947 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7948 esac; \
7949 module_srcdir=fixincludes; \
7950 $(SHELL) \
7951 $$s/$$module_srcdir/configure \
7952 --srcdir=$${topdir}/$$module_srcdir \
7953 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7954 --target=${target_alias} \
7955 || exit 1
7956 @endif fixincludes
7960 .PHONY: configure-stage1-fixincludes maybe-configure-stage1-fixincludes
7961 maybe-configure-stage1-fixincludes:
7962 @if fixincludes-bootstrap
7963 maybe-configure-stage1-fixincludes: configure-stage1-fixincludes
7964 configure-stage1-fixincludes:
7965 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
7966 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
7967 @r=`${PWD_COMMAND}`; export r; \
7968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7969 TFLAGS="$(STAGE1_TFLAGS)"; \
7970 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7971 $(HOST_EXPORTS) \
7972 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
7973 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
7974 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
7975 echo Configuring stage 1 in $(HOST_SUBDIR)/fixincludes ; \
7976 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7977 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
7978 case $(srcdir) in \
7979 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7980 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7981 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7982 esac; \
7983 module_srcdir=fixincludes; \
7984 $(SHELL) $$s/$$module_srcdir/configure \
7985 --srcdir=$${topdir}/$$module_srcdir \
7986 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7987 --target=${target_alias} \
7989 $(STAGE1_CONFIGURE_FLAGS)
7990 @endif fixincludes-bootstrap
7992 .PHONY: configure-stage2-fixincludes maybe-configure-stage2-fixincludes
7993 maybe-configure-stage2-fixincludes:
7994 @if fixincludes-bootstrap
7995 maybe-configure-stage2-fixincludes: configure-stage2-fixincludes
7996 configure-stage2-fixincludes:
7997 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
7998 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
7999 @r=`${PWD_COMMAND}`; export r; \
8000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8001 TFLAGS="$(STAGE2_TFLAGS)"; \
8002 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8003 $(HOST_EXPORTS) \
8004 $(POSTSTAGE1_HOST_EXPORTS) \
8005 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8006 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8007 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8008 echo Configuring stage 2 in $(HOST_SUBDIR)/fixincludes ; \
8009 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
8010 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8011 case $(srcdir) in \
8012 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8013 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8014 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8015 esac; \
8016 module_srcdir=fixincludes; \
8017 $(SHELL) $$s/$$module_srcdir/configure \
8018 --srcdir=$${topdir}/$$module_srcdir \
8019 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8020 --target=${target_alias} \
8021 --with-build-libsubdir=$(HOST_SUBDIR) \
8022 $(STAGE2_CONFIGURE_FLAGS)
8023 @endif fixincludes-bootstrap
8025 .PHONY: configure-stage3-fixincludes maybe-configure-stage3-fixincludes
8026 maybe-configure-stage3-fixincludes:
8027 @if fixincludes-bootstrap
8028 maybe-configure-stage3-fixincludes: configure-stage3-fixincludes
8029 configure-stage3-fixincludes:
8030 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8031 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8032 @r=`${PWD_COMMAND}`; export r; \
8033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8034 TFLAGS="$(STAGE3_TFLAGS)"; \
8035 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8036 $(HOST_EXPORTS) \
8037 $(POSTSTAGE1_HOST_EXPORTS) \
8038 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8039 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8040 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8041 echo Configuring stage 3 in $(HOST_SUBDIR)/fixincludes ; \
8042 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
8043 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8044 case $(srcdir) in \
8045 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8046 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8047 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8048 esac; \
8049 module_srcdir=fixincludes; \
8050 $(SHELL) $$s/$$module_srcdir/configure \
8051 --srcdir=$${topdir}/$$module_srcdir \
8052 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8053 --target=${target_alias} \
8054 --with-build-libsubdir=$(HOST_SUBDIR) \
8055 $(STAGE3_CONFIGURE_FLAGS)
8056 @endif fixincludes-bootstrap
8058 .PHONY: configure-stage4-fixincludes maybe-configure-stage4-fixincludes
8059 maybe-configure-stage4-fixincludes:
8060 @if fixincludes-bootstrap
8061 maybe-configure-stage4-fixincludes: configure-stage4-fixincludes
8062 configure-stage4-fixincludes:
8063 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8064 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8065 @r=`${PWD_COMMAND}`; export r; \
8066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8067 TFLAGS="$(STAGE4_TFLAGS)"; \
8068 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8069 $(HOST_EXPORTS) \
8070 $(POSTSTAGE1_HOST_EXPORTS) \
8071 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8072 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8073 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8074 echo Configuring stage 4 in $(HOST_SUBDIR)/fixincludes ; \
8075 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
8076 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8077 case $(srcdir) in \
8078 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8079 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8080 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8081 esac; \
8082 module_srcdir=fixincludes; \
8083 $(SHELL) $$s/$$module_srcdir/configure \
8084 --srcdir=$${topdir}/$$module_srcdir \
8085 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8086 --target=${target_alias} \
8087 --with-build-libsubdir=$(HOST_SUBDIR) \
8088 $(STAGE4_CONFIGURE_FLAGS)
8089 @endif fixincludes-bootstrap
8091 .PHONY: configure-stageprofile-fixincludes maybe-configure-stageprofile-fixincludes
8092 maybe-configure-stageprofile-fixincludes:
8093 @if fixincludes-bootstrap
8094 maybe-configure-stageprofile-fixincludes: configure-stageprofile-fixincludes
8095 configure-stageprofile-fixincludes:
8096 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8097 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8098 @r=`${PWD_COMMAND}`; export r; \
8099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8100 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8101 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8102 $(HOST_EXPORTS) \
8103 $(POSTSTAGE1_HOST_EXPORTS) \
8104 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8105 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8106 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8107 echo Configuring stage profile in $(HOST_SUBDIR)/fixincludes ; \
8108 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
8109 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8110 case $(srcdir) in \
8111 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8112 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8113 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8114 esac; \
8115 module_srcdir=fixincludes; \
8116 $(SHELL) $$s/$$module_srcdir/configure \
8117 --srcdir=$${topdir}/$$module_srcdir \
8118 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8119 --target=${target_alias} \
8120 --with-build-libsubdir=$(HOST_SUBDIR) \
8121 $(STAGEprofile_CONFIGURE_FLAGS)
8122 @endif fixincludes-bootstrap
8124 .PHONY: configure-stagefeedback-fixincludes maybe-configure-stagefeedback-fixincludes
8125 maybe-configure-stagefeedback-fixincludes:
8126 @if fixincludes-bootstrap
8127 maybe-configure-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
8128 configure-stagefeedback-fixincludes:
8129 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8130 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8131 @r=`${PWD_COMMAND}`; export r; \
8132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8133 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8134 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8135 $(HOST_EXPORTS) \
8136 $(POSTSTAGE1_HOST_EXPORTS) \
8137 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8138 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8139 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8140 echo Configuring stage feedback in $(HOST_SUBDIR)/fixincludes ; \
8141 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
8142 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8143 case $(srcdir) in \
8144 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8145 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8146 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8147 esac; \
8148 module_srcdir=fixincludes; \
8149 $(SHELL) $$s/$$module_srcdir/configure \
8150 --srcdir=$${topdir}/$$module_srcdir \
8151 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8152 --target=${target_alias} \
8153 --with-build-libsubdir=$(HOST_SUBDIR) \
8154 $(STAGEfeedback_CONFIGURE_FLAGS)
8155 @endif fixincludes-bootstrap
8161 .PHONY: all-fixincludes maybe-all-fixincludes
8162 maybe-all-fixincludes:
8163 @if gcc-bootstrap
8164 all-fixincludes: stage_current
8165 @endif gcc-bootstrap
8166 @if fixincludes
8167 TARGET-fixincludes=all
8168 maybe-all-fixincludes: all-fixincludes
8169 all-fixincludes: configure-fixincludes
8170 @r=`${PWD_COMMAND}`; export r; \
8171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8172 $(HOST_EXPORTS) \
8173 (cd $(HOST_SUBDIR)/fixincludes && \
8174 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8175 $(TARGET-fixincludes))
8176 @endif fixincludes
8180 .PHONY: all-stage1-fixincludes maybe-all-stage1-fixincludes
8181 .PHONY: clean-stage1-fixincludes maybe-clean-stage1-fixincludes
8182 maybe-all-stage1-fixincludes:
8183 maybe-clean-stage1-fixincludes:
8184 @if fixincludes-bootstrap
8185 maybe-all-stage1-fixincludes: all-stage1-fixincludes
8186 all-stage1: all-stage1-fixincludes
8187 TARGET-stage1-fixincludes = $(TARGET-fixincludes)
8188 all-stage1-fixincludes: configure-stage1-fixincludes
8189 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8190 @r=`${PWD_COMMAND}`; export r; \
8191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8192 TFLAGS="$(STAGE1_TFLAGS)"; \
8193 $(HOST_EXPORTS) \
8194 cd $(HOST_SUBDIR)/fixincludes && \
8195 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8196 CFLAGS="$(STAGE1_CFLAGS)" \
8197 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
8198 LIBCFLAGS="$(LIBCFLAGS)" \
8199 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8200 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8201 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8202 $(EXTRA_HOST_FLAGS) \
8203 $(STAGE1_FLAGS_TO_PASS) \
8204 TFLAGS="$(STAGE1_TFLAGS)" \
8205 $(TARGET-stage1-fixincludes)
8207 maybe-clean-stage1-fixincludes: clean-stage1-fixincludes
8208 clean-stage1: clean-stage1-fixincludes
8209 clean-stage1-fixincludes:
8210 @if [ $(current_stage) = stage1 ]; then \
8211 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8212 else \
8213 [ -f $(HOST_SUBDIR)/stage1-fixincludes/Makefile ] || exit 0; \
8214 $(MAKE) stage1-start; \
8215 fi; \
8216 cd $(HOST_SUBDIR)/fixincludes && \
8217 $(MAKE) $(EXTRA_HOST_FLAGS) \
8218 $(STAGE1_FLAGS_TO_PASS) clean
8219 @endif fixincludes-bootstrap
8222 .PHONY: all-stage2-fixincludes maybe-all-stage2-fixincludes
8223 .PHONY: clean-stage2-fixincludes maybe-clean-stage2-fixincludes
8224 maybe-all-stage2-fixincludes:
8225 maybe-clean-stage2-fixincludes:
8226 @if fixincludes-bootstrap
8227 maybe-all-stage2-fixincludes: all-stage2-fixincludes
8228 all-stage2: all-stage2-fixincludes
8229 TARGET-stage2-fixincludes = $(TARGET-fixincludes)
8230 all-stage2-fixincludes: configure-stage2-fixincludes
8231 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8232 @r=`${PWD_COMMAND}`; export r; \
8233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8234 TFLAGS="$(STAGE2_TFLAGS)"; \
8235 $(HOST_EXPORTS) \
8236 $(POSTSTAGE1_HOST_EXPORTS) \
8237 cd $(HOST_SUBDIR)/fixincludes && \
8238 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8239 CFLAGS="$(STAGE2_CFLAGS)" \
8240 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
8241 LIBCFLAGS="$(STAGE2_CFLAGS)" \
8242 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8243 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8244 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8245 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8246 TFLAGS="$(STAGE2_TFLAGS)" \
8247 $(TARGET-stage2-fixincludes)
8249 maybe-clean-stage2-fixincludes: clean-stage2-fixincludes
8250 clean-stage2: clean-stage2-fixincludes
8251 clean-stage2-fixincludes:
8252 @if [ $(current_stage) = stage2 ]; then \
8253 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8254 else \
8255 [ -f $(HOST_SUBDIR)/stage2-fixincludes/Makefile ] || exit 0; \
8256 $(MAKE) stage2-start; \
8257 fi; \
8258 cd $(HOST_SUBDIR)/fixincludes && \
8259 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8260 @endif fixincludes-bootstrap
8263 .PHONY: all-stage3-fixincludes maybe-all-stage3-fixincludes
8264 .PHONY: clean-stage3-fixincludes maybe-clean-stage3-fixincludes
8265 maybe-all-stage3-fixincludes:
8266 maybe-clean-stage3-fixincludes:
8267 @if fixincludes-bootstrap
8268 maybe-all-stage3-fixincludes: all-stage3-fixincludes
8269 all-stage3: all-stage3-fixincludes
8270 TARGET-stage3-fixincludes = $(TARGET-fixincludes)
8271 all-stage3-fixincludes: configure-stage3-fixincludes
8272 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8273 @r=`${PWD_COMMAND}`; export r; \
8274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8275 TFLAGS="$(STAGE3_TFLAGS)"; \
8276 $(HOST_EXPORTS) \
8277 $(POSTSTAGE1_HOST_EXPORTS) \
8278 cd $(HOST_SUBDIR)/fixincludes && \
8279 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8280 CFLAGS="$(STAGE3_CFLAGS)" \
8281 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
8282 LIBCFLAGS="$(STAGE3_CFLAGS)" \
8283 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8284 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8285 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8286 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8287 TFLAGS="$(STAGE3_TFLAGS)" \
8288 $(TARGET-stage3-fixincludes)
8290 maybe-clean-stage3-fixincludes: clean-stage3-fixincludes
8291 clean-stage3: clean-stage3-fixincludes
8292 clean-stage3-fixincludes:
8293 @if [ $(current_stage) = stage3 ]; then \
8294 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8295 else \
8296 [ -f $(HOST_SUBDIR)/stage3-fixincludes/Makefile ] || exit 0; \
8297 $(MAKE) stage3-start; \
8298 fi; \
8299 cd $(HOST_SUBDIR)/fixincludes && \
8300 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8301 @endif fixincludes-bootstrap
8304 .PHONY: all-stage4-fixincludes maybe-all-stage4-fixincludes
8305 .PHONY: clean-stage4-fixincludes maybe-clean-stage4-fixincludes
8306 maybe-all-stage4-fixincludes:
8307 maybe-clean-stage4-fixincludes:
8308 @if fixincludes-bootstrap
8309 maybe-all-stage4-fixincludes: all-stage4-fixincludes
8310 all-stage4: all-stage4-fixincludes
8311 TARGET-stage4-fixincludes = $(TARGET-fixincludes)
8312 all-stage4-fixincludes: configure-stage4-fixincludes
8313 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8314 @r=`${PWD_COMMAND}`; export r; \
8315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8316 TFLAGS="$(STAGE4_TFLAGS)"; \
8317 $(HOST_EXPORTS) \
8318 $(POSTSTAGE1_HOST_EXPORTS) \
8319 cd $(HOST_SUBDIR)/fixincludes && \
8320 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8321 CFLAGS="$(STAGE4_CFLAGS)" \
8322 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
8323 LIBCFLAGS="$(STAGE4_CFLAGS)" \
8324 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8325 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8326 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8327 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8328 TFLAGS="$(STAGE4_TFLAGS)" \
8329 $(TARGET-stage4-fixincludes)
8331 maybe-clean-stage4-fixincludes: clean-stage4-fixincludes
8332 clean-stage4: clean-stage4-fixincludes
8333 clean-stage4-fixincludes:
8334 @if [ $(current_stage) = stage4 ]; then \
8335 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8336 else \
8337 [ -f $(HOST_SUBDIR)/stage4-fixincludes/Makefile ] || exit 0; \
8338 $(MAKE) stage4-start; \
8339 fi; \
8340 cd $(HOST_SUBDIR)/fixincludes && \
8341 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8342 @endif fixincludes-bootstrap
8345 .PHONY: all-stageprofile-fixincludes maybe-all-stageprofile-fixincludes
8346 .PHONY: clean-stageprofile-fixincludes maybe-clean-stageprofile-fixincludes
8347 maybe-all-stageprofile-fixincludes:
8348 maybe-clean-stageprofile-fixincludes:
8349 @if fixincludes-bootstrap
8350 maybe-all-stageprofile-fixincludes: all-stageprofile-fixincludes
8351 all-stageprofile: all-stageprofile-fixincludes
8352 TARGET-stageprofile-fixincludes = $(TARGET-fixincludes)
8353 all-stageprofile-fixincludes: configure-stageprofile-fixincludes
8354 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8355 @r=`${PWD_COMMAND}`; export r; \
8356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8357 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8358 $(HOST_EXPORTS) \
8359 $(POSTSTAGE1_HOST_EXPORTS) \
8360 cd $(HOST_SUBDIR)/fixincludes && \
8361 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8362 CFLAGS="$(STAGEprofile_CFLAGS)" \
8363 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
8364 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
8365 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8366 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8367 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8368 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8369 TFLAGS="$(STAGEprofile_TFLAGS)" \
8370 $(TARGET-stageprofile-fixincludes)
8372 maybe-clean-stageprofile-fixincludes: clean-stageprofile-fixincludes
8373 clean-stageprofile: clean-stageprofile-fixincludes
8374 clean-stageprofile-fixincludes:
8375 @if [ $(current_stage) = stageprofile ]; then \
8376 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8377 else \
8378 [ -f $(HOST_SUBDIR)/stageprofile-fixincludes/Makefile ] || exit 0; \
8379 $(MAKE) stageprofile-start; \
8380 fi; \
8381 cd $(HOST_SUBDIR)/fixincludes && \
8382 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8383 @endif fixincludes-bootstrap
8386 .PHONY: all-stagefeedback-fixincludes maybe-all-stagefeedback-fixincludes
8387 .PHONY: clean-stagefeedback-fixincludes maybe-clean-stagefeedback-fixincludes
8388 maybe-all-stagefeedback-fixincludes:
8389 maybe-clean-stagefeedback-fixincludes:
8390 @if fixincludes-bootstrap
8391 maybe-all-stagefeedback-fixincludes: all-stagefeedback-fixincludes
8392 all-stagefeedback: all-stagefeedback-fixincludes
8393 TARGET-stagefeedback-fixincludes = $(TARGET-fixincludes)
8394 all-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
8395 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8396 @r=`${PWD_COMMAND}`; export r; \
8397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8398 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8399 $(HOST_EXPORTS) \
8400 $(POSTSTAGE1_HOST_EXPORTS) \
8401 cd $(HOST_SUBDIR)/fixincludes && \
8402 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8403 CFLAGS="$(STAGEfeedback_CFLAGS)" \
8404 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
8405 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
8406 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8407 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8408 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8409 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8410 TFLAGS="$(STAGEfeedback_TFLAGS)" \
8411 $(TARGET-stagefeedback-fixincludes)
8413 maybe-clean-stagefeedback-fixincludes: clean-stagefeedback-fixincludes
8414 clean-stagefeedback: clean-stagefeedback-fixincludes
8415 clean-stagefeedback-fixincludes:
8416 @if [ $(current_stage) = stagefeedback ]; then \
8417 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8418 else \
8419 [ -f $(HOST_SUBDIR)/stagefeedback-fixincludes/Makefile ] || exit 0; \
8420 $(MAKE) stagefeedback-start; \
8421 fi; \
8422 cd $(HOST_SUBDIR)/fixincludes && \
8423 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8424 @endif fixincludes-bootstrap
8430 .PHONY: check-fixincludes maybe-check-fixincludes
8431 maybe-check-fixincludes:
8432 @if fixincludes
8433 maybe-check-fixincludes: check-fixincludes
8435 check-fixincludes:
8436 @: $(MAKE); $(unstage)
8437 @r=`${PWD_COMMAND}`; export r; \
8438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8439 $(HOST_EXPORTS) \
8440 (cd $(HOST_SUBDIR)/fixincludes && \
8441 $(MAKE) $(FLAGS_TO_PASS) check)
8443 @endif fixincludes
8445 .PHONY: install-fixincludes maybe-install-fixincludes
8446 maybe-install-fixincludes:
8447 @if fixincludes
8448 maybe-install-fixincludes: install-fixincludes
8450 install-fixincludes: installdirs
8451 @: $(MAKE); $(unstage)
8452 @r=`${PWD_COMMAND}`; export r; \
8453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8454 $(HOST_EXPORTS) \
8455 (cd $(HOST_SUBDIR)/fixincludes && \
8456 $(MAKE) $(FLAGS_TO_PASS) install)
8458 @endif fixincludes
8460 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
8461 maybe-install-strip-fixincludes:
8462 @if fixincludes
8463 maybe-install-strip-fixincludes: install-strip-fixincludes
8465 install-strip-fixincludes: installdirs
8466 @: $(MAKE); $(unstage)
8467 @r=`${PWD_COMMAND}`; export r; \
8468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8469 $(HOST_EXPORTS) \
8470 (cd $(HOST_SUBDIR)/fixincludes && \
8471 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8473 @endif fixincludes
8475 # Other targets (info, dvi, pdf, etc.)
8477 .PHONY: maybe-info-fixincludes info-fixincludes
8478 maybe-info-fixincludes:
8479 @if fixincludes
8480 maybe-info-fixincludes: info-fixincludes
8482 info-fixincludes: \
8483 configure-fixincludes
8484 @[ -f ./fixincludes/Makefile ] || exit 0; \
8485 r=`${PWD_COMMAND}`; export r; \
8486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8487 $(HOST_EXPORTS) \
8488 for flag in $(EXTRA_HOST_FLAGS) ; do \
8489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8490 done; \
8491 echo "Doing info in fixincludes" ; \
8492 (cd $(HOST_SUBDIR)/fixincludes && \
8493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8495 "RANLIB=$${RANLIB}" \
8496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8497 info) \
8498 || exit 1
8500 @endif fixincludes
8502 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
8503 maybe-dvi-fixincludes:
8504 @if fixincludes
8505 maybe-dvi-fixincludes: dvi-fixincludes
8507 dvi-fixincludes: \
8508 configure-fixincludes
8509 @[ -f ./fixincludes/Makefile ] || exit 0; \
8510 r=`${PWD_COMMAND}`; export r; \
8511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8512 $(HOST_EXPORTS) \
8513 for flag in $(EXTRA_HOST_FLAGS) ; do \
8514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8515 done; \
8516 echo "Doing dvi in fixincludes" ; \
8517 (cd $(HOST_SUBDIR)/fixincludes && \
8518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8520 "RANLIB=$${RANLIB}" \
8521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8522 dvi) \
8523 || exit 1
8525 @endif fixincludes
8527 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
8528 maybe-pdf-fixincludes:
8529 @if fixincludes
8530 maybe-pdf-fixincludes: pdf-fixincludes
8532 pdf-fixincludes: \
8533 configure-fixincludes
8534 @[ -f ./fixincludes/Makefile ] || exit 0; \
8535 r=`${PWD_COMMAND}`; export r; \
8536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8537 $(HOST_EXPORTS) \
8538 for flag in $(EXTRA_HOST_FLAGS) ; do \
8539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8540 done; \
8541 echo "Doing pdf in fixincludes" ; \
8542 (cd $(HOST_SUBDIR)/fixincludes && \
8543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8545 "RANLIB=$${RANLIB}" \
8546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8547 pdf) \
8548 || exit 1
8550 @endif fixincludes
8552 .PHONY: maybe-html-fixincludes html-fixincludes
8553 maybe-html-fixincludes:
8554 @if fixincludes
8555 maybe-html-fixincludes: html-fixincludes
8557 html-fixincludes: \
8558 configure-fixincludes
8559 @[ -f ./fixincludes/Makefile ] || exit 0; \
8560 r=`${PWD_COMMAND}`; export r; \
8561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8562 $(HOST_EXPORTS) \
8563 for flag in $(EXTRA_HOST_FLAGS) ; do \
8564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8565 done; \
8566 echo "Doing html in fixincludes" ; \
8567 (cd $(HOST_SUBDIR)/fixincludes && \
8568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8570 "RANLIB=$${RANLIB}" \
8571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8572 html) \
8573 || exit 1
8575 @endif fixincludes
8577 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
8578 maybe-TAGS-fixincludes:
8579 @if fixincludes
8580 maybe-TAGS-fixincludes: TAGS-fixincludes
8582 # fixincludes doesn't support TAGS.
8583 TAGS-fixincludes:
8585 @endif fixincludes
8587 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
8588 maybe-install-info-fixincludes:
8589 @if fixincludes
8590 maybe-install-info-fixincludes: install-info-fixincludes
8592 install-info-fixincludes: \
8593 configure-fixincludes \
8594 info-fixincludes
8595 @[ -f ./fixincludes/Makefile ] || exit 0; \
8596 r=`${PWD_COMMAND}`; export r; \
8597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8598 $(HOST_EXPORTS) \
8599 for flag in $(EXTRA_HOST_FLAGS) ; do \
8600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8601 done; \
8602 echo "Doing install-info in fixincludes" ; \
8603 (cd $(HOST_SUBDIR)/fixincludes && \
8604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8606 "RANLIB=$${RANLIB}" \
8607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8608 install-info) \
8609 || exit 1
8611 @endif fixincludes
8613 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
8614 maybe-install-pdf-fixincludes:
8615 @if fixincludes
8616 maybe-install-pdf-fixincludes: install-pdf-fixincludes
8618 install-pdf-fixincludes: \
8619 configure-fixincludes \
8620 pdf-fixincludes
8621 @[ -f ./fixincludes/Makefile ] || exit 0; \
8622 r=`${PWD_COMMAND}`; export r; \
8623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8624 $(HOST_EXPORTS) \
8625 for flag in $(EXTRA_HOST_FLAGS) ; do \
8626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8627 done; \
8628 echo "Doing install-pdf in fixincludes" ; \
8629 (cd $(HOST_SUBDIR)/fixincludes && \
8630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8632 "RANLIB=$${RANLIB}" \
8633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8634 install-pdf) \
8635 || exit 1
8637 @endif fixincludes
8639 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
8640 maybe-install-html-fixincludes:
8641 @if fixincludes
8642 maybe-install-html-fixincludes: install-html-fixincludes
8644 install-html-fixincludes: \
8645 configure-fixincludes \
8646 html-fixincludes
8647 @[ -f ./fixincludes/Makefile ] || exit 0; \
8648 r=`${PWD_COMMAND}`; export r; \
8649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8650 $(HOST_EXPORTS) \
8651 for flag in $(EXTRA_HOST_FLAGS) ; do \
8652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8653 done; \
8654 echo "Doing install-html in fixincludes" ; \
8655 (cd $(HOST_SUBDIR)/fixincludes && \
8656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8658 "RANLIB=$${RANLIB}" \
8659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8660 install-html) \
8661 || exit 1
8663 @endif fixincludes
8665 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8666 maybe-installcheck-fixincludes:
8667 @if fixincludes
8668 maybe-installcheck-fixincludes: installcheck-fixincludes
8670 installcheck-fixincludes: \
8671 configure-fixincludes
8672 @[ -f ./fixincludes/Makefile ] || exit 0; \
8673 r=`${PWD_COMMAND}`; export r; \
8674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8675 $(HOST_EXPORTS) \
8676 for flag in $(EXTRA_HOST_FLAGS) ; do \
8677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8678 done; \
8679 echo "Doing installcheck in fixincludes" ; \
8680 (cd $(HOST_SUBDIR)/fixincludes && \
8681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8683 "RANLIB=$${RANLIB}" \
8684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8685 installcheck) \
8686 || exit 1
8688 @endif fixincludes
8690 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8691 maybe-mostlyclean-fixincludes:
8692 @if fixincludes
8693 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8695 mostlyclean-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 mostlyclean 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 mostlyclean) \
8710 || exit 1
8712 @endif fixincludes
8714 .PHONY: maybe-clean-fixincludes clean-fixincludes
8715 maybe-clean-fixincludes:
8716 @if fixincludes
8717 maybe-clean-fixincludes: clean-fixincludes
8719 clean-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 clean 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 clean) \
8734 || exit 1
8736 @endif fixincludes
8738 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8739 maybe-distclean-fixincludes:
8740 @if fixincludes
8741 maybe-distclean-fixincludes: distclean-fixincludes
8743 distclean-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 distclean 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 distclean) \
8758 || exit 1
8760 @endif fixincludes
8762 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8763 maybe-maintainer-clean-fixincludes:
8764 @if fixincludes
8765 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8767 maintainer-clean-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 maintainer-clean 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 maintainer-clean) \
8782 || exit 1
8784 @endif fixincludes
8788 .PHONY: configure-flex maybe-configure-flex
8789 maybe-configure-flex:
8790 @if gcc-bootstrap
8791 configure-flex: stage_current
8792 @endif gcc-bootstrap
8793 @if flex
8794 maybe-configure-flex: configure-flex
8795 configure-flex:
8796 @: $(MAKE); $(unstage)
8797 @r=`${PWD_COMMAND}`; export r; \
8798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8799 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8800 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
8801 $(HOST_EXPORTS) \
8802 echo Configuring in $(HOST_SUBDIR)/flex; \
8803 cd "$(HOST_SUBDIR)/flex" || exit 1; \
8804 case $(srcdir) in \
8805 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8806 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8807 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8808 esac; \
8809 module_srcdir=flex; \
8810 $(SHELL) \
8811 $$s/$$module_srcdir/configure \
8812 --srcdir=$${topdir}/$$module_srcdir \
8813 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8814 --target=${target_alias} \
8815 || exit 1
8816 @endif flex
8822 .PHONY: all-flex maybe-all-flex
8823 maybe-all-flex:
8824 @if gcc-bootstrap
8825 all-flex: stage_current
8826 @endif gcc-bootstrap
8827 @if flex
8828 TARGET-flex=all
8829 maybe-all-flex: all-flex
8830 all-flex: configure-flex
8831 @: $(MAKE); $(unstage)
8832 @r=`${PWD_COMMAND}`; export r; \
8833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8834 $(HOST_EXPORTS) \
8835 (cd $(HOST_SUBDIR)/flex && \
8836 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8837 $(TARGET-flex))
8838 @endif flex
8843 .PHONY: check-flex maybe-check-flex
8844 maybe-check-flex:
8845 @if flex
8846 maybe-check-flex: check-flex
8848 # This module is only tested in a native toolchain.
8849 check-flex:
8850 @: $(MAKE); $(unstage)
8851 @if [ '$(host)' = '$(target)' ] ; then \
8852 r=`${PWD_COMMAND}`; export r; \
8853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8854 $(HOST_EXPORTS) \
8855 (cd $(HOST_SUBDIR)/flex && \
8856 $(MAKE) $(FLAGS_TO_PASS) check); \
8859 @endif flex
8861 .PHONY: install-flex maybe-install-flex
8862 maybe-install-flex:
8863 @if flex
8864 maybe-install-flex: install-flex
8866 install-flex: installdirs
8867 @: $(MAKE); $(unstage)
8868 @r=`${PWD_COMMAND}`; export r; \
8869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8870 $(HOST_EXPORTS) \
8871 (cd $(HOST_SUBDIR)/flex && \
8872 $(MAKE) $(FLAGS_TO_PASS) install)
8874 @endif flex
8876 .PHONY: install-strip-flex maybe-install-strip-flex
8877 maybe-install-strip-flex:
8878 @if flex
8879 maybe-install-strip-flex: install-strip-flex
8881 install-strip-flex: installdirs
8882 @: $(MAKE); $(unstage)
8883 @r=`${PWD_COMMAND}`; export r; \
8884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8885 $(HOST_EXPORTS) \
8886 (cd $(HOST_SUBDIR)/flex && \
8887 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8889 @endif flex
8891 # Other targets (info, dvi, pdf, etc.)
8893 .PHONY: maybe-info-flex info-flex
8894 maybe-info-flex:
8895 @if flex
8896 maybe-info-flex: info-flex
8898 info-flex: \
8899 configure-flex
8900 @: $(MAKE); $(unstage)
8901 @[ -f ./flex/Makefile ] || exit 0; \
8902 r=`${PWD_COMMAND}`; export r; \
8903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8904 $(HOST_EXPORTS) \
8905 for flag in $(EXTRA_HOST_FLAGS) ; do \
8906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8907 done; \
8908 echo "Doing info in flex" ; \
8909 (cd $(HOST_SUBDIR)/flex && \
8910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8912 "RANLIB=$${RANLIB}" \
8913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8914 info) \
8915 || exit 1
8917 @endif flex
8919 .PHONY: maybe-dvi-flex dvi-flex
8920 maybe-dvi-flex:
8921 @if flex
8922 maybe-dvi-flex: dvi-flex
8924 dvi-flex: \
8925 configure-flex
8926 @: $(MAKE); $(unstage)
8927 @[ -f ./flex/Makefile ] || exit 0; \
8928 r=`${PWD_COMMAND}`; export r; \
8929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8930 $(HOST_EXPORTS) \
8931 for flag in $(EXTRA_HOST_FLAGS) ; do \
8932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8933 done; \
8934 echo "Doing dvi in flex" ; \
8935 (cd $(HOST_SUBDIR)/flex && \
8936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8938 "RANLIB=$${RANLIB}" \
8939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8940 dvi) \
8941 || exit 1
8943 @endif flex
8945 .PHONY: maybe-pdf-flex pdf-flex
8946 maybe-pdf-flex:
8947 @if flex
8948 maybe-pdf-flex: pdf-flex
8950 pdf-flex: \
8951 configure-flex
8952 @: $(MAKE); $(unstage)
8953 @[ -f ./flex/Makefile ] || exit 0; \
8954 r=`${PWD_COMMAND}`; export r; \
8955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8956 $(HOST_EXPORTS) \
8957 for flag in $(EXTRA_HOST_FLAGS) ; do \
8958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8959 done; \
8960 echo "Doing pdf in flex" ; \
8961 (cd $(HOST_SUBDIR)/flex && \
8962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8964 "RANLIB=$${RANLIB}" \
8965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8966 pdf) \
8967 || exit 1
8969 @endif flex
8971 .PHONY: maybe-html-flex html-flex
8972 maybe-html-flex:
8973 @if flex
8974 maybe-html-flex: html-flex
8976 html-flex: \
8977 configure-flex
8978 @: $(MAKE); $(unstage)
8979 @[ -f ./flex/Makefile ] || exit 0; \
8980 r=`${PWD_COMMAND}`; export r; \
8981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8982 $(HOST_EXPORTS) \
8983 for flag in $(EXTRA_HOST_FLAGS) ; do \
8984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8985 done; \
8986 echo "Doing html in flex" ; \
8987 (cd $(HOST_SUBDIR)/flex && \
8988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8990 "RANLIB=$${RANLIB}" \
8991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8992 html) \
8993 || exit 1
8995 @endif flex
8997 .PHONY: maybe-TAGS-flex TAGS-flex
8998 maybe-TAGS-flex:
8999 @if flex
9000 maybe-TAGS-flex: TAGS-flex
9002 TAGS-flex: \
9003 configure-flex
9004 @: $(MAKE); $(unstage)
9005 @[ -f ./flex/Makefile ] || exit 0; \
9006 r=`${PWD_COMMAND}`; export r; \
9007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9008 $(HOST_EXPORTS) \
9009 for flag in $(EXTRA_HOST_FLAGS) ; do \
9010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9011 done; \
9012 echo "Doing TAGS in flex" ; \
9013 (cd $(HOST_SUBDIR)/flex && \
9014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9016 "RANLIB=$${RANLIB}" \
9017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9018 TAGS) \
9019 || exit 1
9021 @endif flex
9023 .PHONY: maybe-install-info-flex install-info-flex
9024 maybe-install-info-flex:
9025 @if flex
9026 maybe-install-info-flex: install-info-flex
9028 install-info-flex: \
9029 configure-flex \
9030 info-flex
9031 @: $(MAKE); $(unstage)
9032 @[ -f ./flex/Makefile ] || exit 0; \
9033 r=`${PWD_COMMAND}`; export r; \
9034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9035 $(HOST_EXPORTS) \
9036 for flag in $(EXTRA_HOST_FLAGS) ; do \
9037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9038 done; \
9039 echo "Doing install-info in flex" ; \
9040 (cd $(HOST_SUBDIR)/flex && \
9041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9043 "RANLIB=$${RANLIB}" \
9044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9045 install-info) \
9046 || exit 1
9048 @endif flex
9050 .PHONY: maybe-install-pdf-flex install-pdf-flex
9051 maybe-install-pdf-flex:
9052 @if flex
9053 maybe-install-pdf-flex: install-pdf-flex
9055 install-pdf-flex: \
9056 configure-flex \
9057 pdf-flex
9058 @: $(MAKE); $(unstage)
9059 @[ -f ./flex/Makefile ] || exit 0; \
9060 r=`${PWD_COMMAND}`; export r; \
9061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9062 $(HOST_EXPORTS) \
9063 for flag in $(EXTRA_HOST_FLAGS) ; do \
9064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9065 done; \
9066 echo "Doing install-pdf in flex" ; \
9067 (cd $(HOST_SUBDIR)/flex && \
9068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9070 "RANLIB=$${RANLIB}" \
9071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9072 install-pdf) \
9073 || exit 1
9075 @endif flex
9077 .PHONY: maybe-install-html-flex install-html-flex
9078 maybe-install-html-flex:
9079 @if flex
9080 maybe-install-html-flex: install-html-flex
9082 install-html-flex: \
9083 configure-flex \
9084 html-flex
9085 @: $(MAKE); $(unstage)
9086 @[ -f ./flex/Makefile ] || exit 0; \
9087 r=`${PWD_COMMAND}`; export r; \
9088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9089 $(HOST_EXPORTS) \
9090 for flag in $(EXTRA_HOST_FLAGS) ; do \
9091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9092 done; \
9093 echo "Doing install-html in flex" ; \
9094 (cd $(HOST_SUBDIR)/flex && \
9095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9097 "RANLIB=$${RANLIB}" \
9098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9099 install-html) \
9100 || exit 1
9102 @endif flex
9104 .PHONY: maybe-installcheck-flex installcheck-flex
9105 maybe-installcheck-flex:
9106 @if flex
9107 maybe-installcheck-flex: installcheck-flex
9109 installcheck-flex: \
9110 configure-flex
9111 @: $(MAKE); $(unstage)
9112 @[ -f ./flex/Makefile ] || exit 0; \
9113 r=`${PWD_COMMAND}`; export r; \
9114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9115 $(HOST_EXPORTS) \
9116 for flag in $(EXTRA_HOST_FLAGS) ; do \
9117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9118 done; \
9119 echo "Doing installcheck in flex" ; \
9120 (cd $(HOST_SUBDIR)/flex && \
9121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9123 "RANLIB=$${RANLIB}" \
9124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9125 installcheck) \
9126 || exit 1
9128 @endif flex
9130 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
9131 maybe-mostlyclean-flex:
9132 @if flex
9133 maybe-mostlyclean-flex: mostlyclean-flex
9135 mostlyclean-flex:
9136 @: $(MAKE); $(unstage)
9137 @[ -f ./flex/Makefile ] || exit 0; \
9138 r=`${PWD_COMMAND}`; export r; \
9139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9140 $(HOST_EXPORTS) \
9141 for flag in $(EXTRA_HOST_FLAGS) ; do \
9142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9143 done; \
9144 echo "Doing mostlyclean in flex" ; \
9145 (cd $(HOST_SUBDIR)/flex && \
9146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9148 "RANLIB=$${RANLIB}" \
9149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9150 mostlyclean) \
9151 || exit 1
9153 @endif flex
9155 .PHONY: maybe-clean-flex clean-flex
9156 maybe-clean-flex:
9157 @if flex
9158 maybe-clean-flex: clean-flex
9160 clean-flex:
9161 @: $(MAKE); $(unstage)
9162 @[ -f ./flex/Makefile ] || exit 0; \
9163 r=`${PWD_COMMAND}`; export r; \
9164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9165 $(HOST_EXPORTS) \
9166 for flag in $(EXTRA_HOST_FLAGS) ; do \
9167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9168 done; \
9169 echo "Doing clean in flex" ; \
9170 (cd $(HOST_SUBDIR)/flex && \
9171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9173 "RANLIB=$${RANLIB}" \
9174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9175 clean) \
9176 || exit 1
9178 @endif flex
9180 .PHONY: maybe-distclean-flex distclean-flex
9181 maybe-distclean-flex:
9182 @if flex
9183 maybe-distclean-flex: distclean-flex
9185 distclean-flex:
9186 @: $(MAKE); $(unstage)
9187 @[ -f ./flex/Makefile ] || exit 0; \
9188 r=`${PWD_COMMAND}`; export r; \
9189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9190 $(HOST_EXPORTS) \
9191 for flag in $(EXTRA_HOST_FLAGS) ; do \
9192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9193 done; \
9194 echo "Doing distclean in flex" ; \
9195 (cd $(HOST_SUBDIR)/flex && \
9196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9198 "RANLIB=$${RANLIB}" \
9199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9200 distclean) \
9201 || exit 1
9203 @endif flex
9205 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
9206 maybe-maintainer-clean-flex:
9207 @if flex
9208 maybe-maintainer-clean-flex: maintainer-clean-flex
9210 maintainer-clean-flex:
9211 @: $(MAKE); $(unstage)
9212 @[ -f ./flex/Makefile ] || exit 0; \
9213 r=`${PWD_COMMAND}`; export r; \
9214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9215 $(HOST_EXPORTS) \
9216 for flag in $(EXTRA_HOST_FLAGS) ; do \
9217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9218 done; \
9219 echo "Doing maintainer-clean in flex" ; \
9220 (cd $(HOST_SUBDIR)/flex && \
9221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9223 "RANLIB=$${RANLIB}" \
9224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9225 maintainer-clean) \
9226 || exit 1
9228 @endif flex
9232 .PHONY: configure-gas maybe-configure-gas
9233 maybe-configure-gas:
9234 @if gcc-bootstrap
9235 configure-gas: stage_current
9236 @endif gcc-bootstrap
9237 @if gas
9238 maybe-configure-gas: configure-gas
9239 configure-gas:
9240 @r=`${PWD_COMMAND}`; export r; \
9241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9242 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9243 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9244 $(HOST_EXPORTS) \
9245 echo Configuring in $(HOST_SUBDIR)/gas; \
9246 cd "$(HOST_SUBDIR)/gas" || exit 1; \
9247 case $(srcdir) in \
9248 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9249 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9250 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9251 esac; \
9252 module_srcdir=gas; \
9253 $(SHELL) \
9254 $$s/$$module_srcdir/configure \
9255 --srcdir=$${topdir}/$$module_srcdir \
9256 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9257 --target=${target_alias} \
9258 || exit 1
9259 @endif gas
9263 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
9264 maybe-configure-stage1-gas:
9265 @if gas-bootstrap
9266 maybe-configure-stage1-gas: configure-stage1-gas
9267 configure-stage1-gas:
9268 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9269 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9270 @r=`${PWD_COMMAND}`; export r; \
9271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9272 TFLAGS="$(STAGE1_TFLAGS)"; \
9273 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9274 $(HOST_EXPORTS) \
9275 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
9276 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
9277 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
9278 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
9279 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9280 cd $(HOST_SUBDIR)/gas || exit 1; \
9281 case $(srcdir) in \
9282 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9283 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9284 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9285 esac; \
9286 module_srcdir=gas; \
9287 $(SHELL) $$s/$$module_srcdir/configure \
9288 --srcdir=$${topdir}/$$module_srcdir \
9289 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9290 --target=${target_alias} \
9292 $(STAGE1_CONFIGURE_FLAGS)
9293 @endif gas-bootstrap
9295 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
9296 maybe-configure-stage2-gas:
9297 @if gas-bootstrap
9298 maybe-configure-stage2-gas: configure-stage2-gas
9299 configure-stage2-gas:
9300 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9301 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9302 @r=`${PWD_COMMAND}`; export r; \
9303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9304 TFLAGS="$(STAGE2_TFLAGS)"; \
9305 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9306 $(HOST_EXPORTS) \
9307 $(POSTSTAGE1_HOST_EXPORTS) \
9308 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
9309 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
9310 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
9311 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
9312 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9313 cd $(HOST_SUBDIR)/gas || exit 1; \
9314 case $(srcdir) in \
9315 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9316 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9317 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9318 esac; \
9319 module_srcdir=gas; \
9320 $(SHELL) $$s/$$module_srcdir/configure \
9321 --srcdir=$${topdir}/$$module_srcdir \
9322 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9323 --target=${target_alias} \
9324 --with-build-libsubdir=$(HOST_SUBDIR) \
9325 $(STAGE2_CONFIGURE_FLAGS)
9326 @endif gas-bootstrap
9328 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
9329 maybe-configure-stage3-gas:
9330 @if gas-bootstrap
9331 maybe-configure-stage3-gas: configure-stage3-gas
9332 configure-stage3-gas:
9333 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9334 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9335 @r=`${PWD_COMMAND}`; export r; \
9336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9337 TFLAGS="$(STAGE3_TFLAGS)"; \
9338 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9339 $(HOST_EXPORTS) \
9340 $(POSTSTAGE1_HOST_EXPORTS) \
9341 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
9342 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
9343 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
9344 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
9345 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9346 cd $(HOST_SUBDIR)/gas || exit 1; \
9347 case $(srcdir) in \
9348 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9349 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9350 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9351 esac; \
9352 module_srcdir=gas; \
9353 $(SHELL) $$s/$$module_srcdir/configure \
9354 --srcdir=$${topdir}/$$module_srcdir \
9355 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9356 --target=${target_alias} \
9357 --with-build-libsubdir=$(HOST_SUBDIR) \
9358 $(STAGE3_CONFIGURE_FLAGS)
9359 @endif gas-bootstrap
9361 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
9362 maybe-configure-stage4-gas:
9363 @if gas-bootstrap
9364 maybe-configure-stage4-gas: configure-stage4-gas
9365 configure-stage4-gas:
9366 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9367 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9368 @r=`${PWD_COMMAND}`; export r; \
9369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9370 TFLAGS="$(STAGE4_TFLAGS)"; \
9371 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9372 $(HOST_EXPORTS) \
9373 $(POSTSTAGE1_HOST_EXPORTS) \
9374 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
9375 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
9376 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
9377 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
9378 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9379 cd $(HOST_SUBDIR)/gas || exit 1; \
9380 case $(srcdir) in \
9381 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9382 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9383 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9384 esac; \
9385 module_srcdir=gas; \
9386 $(SHELL) $$s/$$module_srcdir/configure \
9387 --srcdir=$${topdir}/$$module_srcdir \
9388 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9389 --target=${target_alias} \
9390 --with-build-libsubdir=$(HOST_SUBDIR) \
9391 $(STAGE4_CONFIGURE_FLAGS)
9392 @endif gas-bootstrap
9394 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
9395 maybe-configure-stageprofile-gas:
9396 @if gas-bootstrap
9397 maybe-configure-stageprofile-gas: configure-stageprofile-gas
9398 configure-stageprofile-gas:
9399 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9400 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9401 @r=`${PWD_COMMAND}`; export r; \
9402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9403 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9404 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9405 $(HOST_EXPORTS) \
9406 $(POSTSTAGE1_HOST_EXPORTS) \
9407 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
9408 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
9409 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
9410 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
9411 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9412 cd $(HOST_SUBDIR)/gas || exit 1; \
9413 case $(srcdir) in \
9414 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9415 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9416 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9417 esac; \
9418 module_srcdir=gas; \
9419 $(SHELL) $$s/$$module_srcdir/configure \
9420 --srcdir=$${topdir}/$$module_srcdir \
9421 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9422 --target=${target_alias} \
9423 --with-build-libsubdir=$(HOST_SUBDIR) \
9424 $(STAGEprofile_CONFIGURE_FLAGS)
9425 @endif gas-bootstrap
9427 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
9428 maybe-configure-stagefeedback-gas:
9429 @if gas-bootstrap
9430 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
9431 configure-stagefeedback-gas:
9432 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9433 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9434 @r=`${PWD_COMMAND}`; export r; \
9435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9436 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9437 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9438 $(HOST_EXPORTS) \
9439 $(POSTSTAGE1_HOST_EXPORTS) \
9440 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9441 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9442 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9443 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
9444 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9445 cd $(HOST_SUBDIR)/gas || exit 1; \
9446 case $(srcdir) in \
9447 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9448 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9449 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9450 esac; \
9451 module_srcdir=gas; \
9452 $(SHELL) $$s/$$module_srcdir/configure \
9453 --srcdir=$${topdir}/$$module_srcdir \
9454 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9455 --target=${target_alias} \
9456 --with-build-libsubdir=$(HOST_SUBDIR) \
9457 $(STAGEfeedback_CONFIGURE_FLAGS)
9458 @endif gas-bootstrap
9464 .PHONY: all-gas maybe-all-gas
9465 maybe-all-gas:
9466 @if gcc-bootstrap
9467 all-gas: stage_current
9468 @endif gcc-bootstrap
9469 @if gas
9470 TARGET-gas=all
9471 maybe-all-gas: all-gas
9472 all-gas: configure-gas
9473 @r=`${PWD_COMMAND}`; export r; \
9474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9475 $(HOST_EXPORTS) \
9476 (cd $(HOST_SUBDIR)/gas && \
9477 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9478 $(TARGET-gas))
9479 @endif gas
9483 .PHONY: all-stage1-gas maybe-all-stage1-gas
9484 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
9485 maybe-all-stage1-gas:
9486 maybe-clean-stage1-gas:
9487 @if gas-bootstrap
9488 maybe-all-stage1-gas: all-stage1-gas
9489 all-stage1: all-stage1-gas
9490 TARGET-stage1-gas = $(TARGET-gas)
9491 all-stage1-gas: configure-stage1-gas
9492 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9493 @r=`${PWD_COMMAND}`; export r; \
9494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9495 TFLAGS="$(STAGE1_TFLAGS)"; \
9496 $(HOST_EXPORTS) \
9497 cd $(HOST_SUBDIR)/gas && \
9498 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9499 CFLAGS="$(STAGE1_CFLAGS)" \
9500 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9501 LIBCFLAGS="$(LIBCFLAGS)" \
9502 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9503 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9504 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9505 $(EXTRA_HOST_FLAGS) \
9506 $(STAGE1_FLAGS_TO_PASS) \
9507 TFLAGS="$(STAGE1_TFLAGS)" \
9508 $(TARGET-stage1-gas)
9510 maybe-clean-stage1-gas: clean-stage1-gas
9511 clean-stage1: clean-stage1-gas
9512 clean-stage1-gas:
9513 @if [ $(current_stage) = stage1 ]; then \
9514 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9515 else \
9516 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
9517 $(MAKE) stage1-start; \
9518 fi; \
9519 cd $(HOST_SUBDIR)/gas && \
9520 $(MAKE) $(EXTRA_HOST_FLAGS) \
9521 $(STAGE1_FLAGS_TO_PASS) clean
9522 @endif gas-bootstrap
9525 .PHONY: all-stage2-gas maybe-all-stage2-gas
9526 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
9527 maybe-all-stage2-gas:
9528 maybe-clean-stage2-gas:
9529 @if gas-bootstrap
9530 maybe-all-stage2-gas: all-stage2-gas
9531 all-stage2: all-stage2-gas
9532 TARGET-stage2-gas = $(TARGET-gas)
9533 all-stage2-gas: configure-stage2-gas
9534 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9535 @r=`${PWD_COMMAND}`; export r; \
9536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9537 TFLAGS="$(STAGE2_TFLAGS)"; \
9538 $(HOST_EXPORTS) \
9539 $(POSTSTAGE1_HOST_EXPORTS) \
9540 cd $(HOST_SUBDIR)/gas && \
9541 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9542 CFLAGS="$(STAGE2_CFLAGS)" \
9543 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9544 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9545 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9546 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9547 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9548 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9549 TFLAGS="$(STAGE2_TFLAGS)" \
9550 $(TARGET-stage2-gas)
9552 maybe-clean-stage2-gas: clean-stage2-gas
9553 clean-stage2: clean-stage2-gas
9554 clean-stage2-gas:
9555 @if [ $(current_stage) = stage2 ]; then \
9556 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9557 else \
9558 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
9559 $(MAKE) stage2-start; \
9560 fi; \
9561 cd $(HOST_SUBDIR)/gas && \
9562 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9563 @endif gas-bootstrap
9566 .PHONY: all-stage3-gas maybe-all-stage3-gas
9567 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
9568 maybe-all-stage3-gas:
9569 maybe-clean-stage3-gas:
9570 @if gas-bootstrap
9571 maybe-all-stage3-gas: all-stage3-gas
9572 all-stage3: all-stage3-gas
9573 TARGET-stage3-gas = $(TARGET-gas)
9574 all-stage3-gas: configure-stage3-gas
9575 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9576 @r=`${PWD_COMMAND}`; export r; \
9577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9578 TFLAGS="$(STAGE3_TFLAGS)"; \
9579 $(HOST_EXPORTS) \
9580 $(POSTSTAGE1_HOST_EXPORTS) \
9581 cd $(HOST_SUBDIR)/gas && \
9582 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9583 CFLAGS="$(STAGE3_CFLAGS)" \
9584 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9585 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9586 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9587 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9588 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9589 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9590 TFLAGS="$(STAGE3_TFLAGS)" \
9591 $(TARGET-stage3-gas)
9593 maybe-clean-stage3-gas: clean-stage3-gas
9594 clean-stage3: clean-stage3-gas
9595 clean-stage3-gas:
9596 @if [ $(current_stage) = stage3 ]; then \
9597 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9598 else \
9599 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
9600 $(MAKE) stage3-start; \
9601 fi; \
9602 cd $(HOST_SUBDIR)/gas && \
9603 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9604 @endif gas-bootstrap
9607 .PHONY: all-stage4-gas maybe-all-stage4-gas
9608 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
9609 maybe-all-stage4-gas:
9610 maybe-clean-stage4-gas:
9611 @if gas-bootstrap
9612 maybe-all-stage4-gas: all-stage4-gas
9613 all-stage4: all-stage4-gas
9614 TARGET-stage4-gas = $(TARGET-gas)
9615 all-stage4-gas: configure-stage4-gas
9616 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9617 @r=`${PWD_COMMAND}`; export r; \
9618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9619 TFLAGS="$(STAGE4_TFLAGS)"; \
9620 $(HOST_EXPORTS) \
9621 $(POSTSTAGE1_HOST_EXPORTS) \
9622 cd $(HOST_SUBDIR)/gas && \
9623 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9624 CFLAGS="$(STAGE4_CFLAGS)" \
9625 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9626 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9627 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9628 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9629 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9630 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9631 TFLAGS="$(STAGE4_TFLAGS)" \
9632 $(TARGET-stage4-gas)
9634 maybe-clean-stage4-gas: clean-stage4-gas
9635 clean-stage4: clean-stage4-gas
9636 clean-stage4-gas:
9637 @if [ $(current_stage) = stage4 ]; then \
9638 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9639 else \
9640 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
9641 $(MAKE) stage4-start; \
9642 fi; \
9643 cd $(HOST_SUBDIR)/gas && \
9644 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9645 @endif gas-bootstrap
9648 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
9649 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
9650 maybe-all-stageprofile-gas:
9651 maybe-clean-stageprofile-gas:
9652 @if gas-bootstrap
9653 maybe-all-stageprofile-gas: all-stageprofile-gas
9654 all-stageprofile: all-stageprofile-gas
9655 TARGET-stageprofile-gas = $(TARGET-gas)
9656 all-stageprofile-gas: configure-stageprofile-gas
9657 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9658 @r=`${PWD_COMMAND}`; export r; \
9659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9660 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9661 $(HOST_EXPORTS) \
9662 $(POSTSTAGE1_HOST_EXPORTS) \
9663 cd $(HOST_SUBDIR)/gas && \
9664 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9665 CFLAGS="$(STAGEprofile_CFLAGS)" \
9666 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9667 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9668 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9669 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9670 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9671 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9672 TFLAGS="$(STAGEprofile_TFLAGS)" \
9673 $(TARGET-stageprofile-gas)
9675 maybe-clean-stageprofile-gas: clean-stageprofile-gas
9676 clean-stageprofile: clean-stageprofile-gas
9677 clean-stageprofile-gas:
9678 @if [ $(current_stage) = stageprofile ]; then \
9679 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9680 else \
9681 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
9682 $(MAKE) stageprofile-start; \
9683 fi; \
9684 cd $(HOST_SUBDIR)/gas && \
9685 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9686 @endif gas-bootstrap
9689 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
9690 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
9691 maybe-all-stagefeedback-gas:
9692 maybe-clean-stagefeedback-gas:
9693 @if gas-bootstrap
9694 maybe-all-stagefeedback-gas: all-stagefeedback-gas
9695 all-stagefeedback: all-stagefeedback-gas
9696 TARGET-stagefeedback-gas = $(TARGET-gas)
9697 all-stagefeedback-gas: configure-stagefeedback-gas
9698 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9699 @r=`${PWD_COMMAND}`; export r; \
9700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9701 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9702 $(HOST_EXPORTS) \
9703 $(POSTSTAGE1_HOST_EXPORTS) \
9704 cd $(HOST_SUBDIR)/gas && \
9705 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9706 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9707 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9708 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9709 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9710 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9711 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9712 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9713 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9714 $(TARGET-stagefeedback-gas)
9716 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
9717 clean-stagefeedback: clean-stagefeedback-gas
9718 clean-stagefeedback-gas:
9719 @if [ $(current_stage) = stagefeedback ]; then \
9720 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9721 else \
9722 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
9723 $(MAKE) stagefeedback-start; \
9724 fi; \
9725 cd $(HOST_SUBDIR)/gas && \
9726 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9727 @endif gas-bootstrap
9733 .PHONY: check-gas maybe-check-gas
9734 maybe-check-gas:
9735 @if gas
9736 maybe-check-gas: check-gas
9738 check-gas:
9739 @: $(MAKE); $(unstage)
9740 @r=`${PWD_COMMAND}`; export r; \
9741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9742 $(HOST_EXPORTS) \
9743 (cd $(HOST_SUBDIR)/gas && \
9744 $(MAKE) $(FLAGS_TO_PASS) check)
9746 @endif gas
9748 .PHONY: install-gas maybe-install-gas
9749 maybe-install-gas:
9750 @if gas
9751 maybe-install-gas: install-gas
9753 install-gas: installdirs
9754 @: $(MAKE); $(unstage)
9755 @r=`${PWD_COMMAND}`; export r; \
9756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9757 $(HOST_EXPORTS) \
9758 (cd $(HOST_SUBDIR)/gas && \
9759 $(MAKE) $(FLAGS_TO_PASS) install)
9761 @endif gas
9763 .PHONY: install-strip-gas maybe-install-strip-gas
9764 maybe-install-strip-gas:
9765 @if gas
9766 maybe-install-strip-gas: install-strip-gas
9768 install-strip-gas: installdirs
9769 @: $(MAKE); $(unstage)
9770 @r=`${PWD_COMMAND}`; export r; \
9771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9772 $(HOST_EXPORTS) \
9773 (cd $(HOST_SUBDIR)/gas && \
9774 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9776 @endif gas
9778 # Other targets (info, dvi, pdf, etc.)
9780 .PHONY: maybe-info-gas info-gas
9781 maybe-info-gas:
9782 @if gas
9783 maybe-info-gas: info-gas
9785 info-gas: \
9786 configure-gas
9787 @[ -f ./gas/Makefile ] || exit 0; \
9788 r=`${PWD_COMMAND}`; export r; \
9789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9790 $(HOST_EXPORTS) \
9791 for flag in $(EXTRA_HOST_FLAGS) ; do \
9792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9793 done; \
9794 echo "Doing info in gas" ; \
9795 (cd $(HOST_SUBDIR)/gas && \
9796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9798 "RANLIB=$${RANLIB}" \
9799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9800 info) \
9801 || exit 1
9803 @endif gas
9805 .PHONY: maybe-dvi-gas dvi-gas
9806 maybe-dvi-gas:
9807 @if gas
9808 maybe-dvi-gas: dvi-gas
9810 dvi-gas: \
9811 configure-gas
9812 @[ -f ./gas/Makefile ] || exit 0; \
9813 r=`${PWD_COMMAND}`; export r; \
9814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9815 $(HOST_EXPORTS) \
9816 for flag in $(EXTRA_HOST_FLAGS) ; do \
9817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9818 done; \
9819 echo "Doing dvi in gas" ; \
9820 (cd $(HOST_SUBDIR)/gas && \
9821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9823 "RANLIB=$${RANLIB}" \
9824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9825 dvi) \
9826 || exit 1
9828 @endif gas
9830 .PHONY: maybe-pdf-gas pdf-gas
9831 maybe-pdf-gas:
9832 @if gas
9833 maybe-pdf-gas: pdf-gas
9835 pdf-gas: \
9836 configure-gas
9837 @[ -f ./gas/Makefile ] || exit 0; \
9838 r=`${PWD_COMMAND}`; export r; \
9839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9840 $(HOST_EXPORTS) \
9841 for flag in $(EXTRA_HOST_FLAGS) ; do \
9842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9843 done; \
9844 echo "Doing pdf in gas" ; \
9845 (cd $(HOST_SUBDIR)/gas && \
9846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9848 "RANLIB=$${RANLIB}" \
9849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9850 pdf) \
9851 || exit 1
9853 @endif gas
9855 .PHONY: maybe-html-gas html-gas
9856 maybe-html-gas:
9857 @if gas
9858 maybe-html-gas: html-gas
9860 html-gas: \
9861 configure-gas
9862 @[ -f ./gas/Makefile ] || exit 0; \
9863 r=`${PWD_COMMAND}`; export r; \
9864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9865 $(HOST_EXPORTS) \
9866 for flag in $(EXTRA_HOST_FLAGS) ; do \
9867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9868 done; \
9869 echo "Doing html in gas" ; \
9870 (cd $(HOST_SUBDIR)/gas && \
9871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9873 "RANLIB=$${RANLIB}" \
9874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9875 html) \
9876 || exit 1
9878 @endif gas
9880 .PHONY: maybe-TAGS-gas TAGS-gas
9881 maybe-TAGS-gas:
9882 @if gas
9883 maybe-TAGS-gas: TAGS-gas
9885 TAGS-gas: \
9886 configure-gas
9887 @[ -f ./gas/Makefile ] || exit 0; \
9888 r=`${PWD_COMMAND}`; export r; \
9889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9890 $(HOST_EXPORTS) \
9891 for flag in $(EXTRA_HOST_FLAGS) ; do \
9892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9893 done; \
9894 echo "Doing TAGS in gas" ; \
9895 (cd $(HOST_SUBDIR)/gas && \
9896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9898 "RANLIB=$${RANLIB}" \
9899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9900 TAGS) \
9901 || exit 1
9903 @endif gas
9905 .PHONY: maybe-install-info-gas install-info-gas
9906 maybe-install-info-gas:
9907 @if gas
9908 maybe-install-info-gas: install-info-gas
9910 install-info-gas: \
9911 configure-gas \
9912 info-gas
9913 @[ -f ./gas/Makefile ] || exit 0; \
9914 r=`${PWD_COMMAND}`; export r; \
9915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9916 $(HOST_EXPORTS) \
9917 for flag in $(EXTRA_HOST_FLAGS) ; do \
9918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9919 done; \
9920 echo "Doing install-info in gas" ; \
9921 (cd $(HOST_SUBDIR)/gas && \
9922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9924 "RANLIB=$${RANLIB}" \
9925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9926 install-info) \
9927 || exit 1
9929 @endif gas
9931 .PHONY: maybe-install-pdf-gas install-pdf-gas
9932 maybe-install-pdf-gas:
9933 @if gas
9934 maybe-install-pdf-gas: install-pdf-gas
9936 install-pdf-gas: \
9937 configure-gas \
9938 pdf-gas
9939 @[ -f ./gas/Makefile ] || exit 0; \
9940 r=`${PWD_COMMAND}`; export r; \
9941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9942 $(HOST_EXPORTS) \
9943 for flag in $(EXTRA_HOST_FLAGS) ; do \
9944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9945 done; \
9946 echo "Doing install-pdf in gas" ; \
9947 (cd $(HOST_SUBDIR)/gas && \
9948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9950 "RANLIB=$${RANLIB}" \
9951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9952 install-pdf) \
9953 || exit 1
9955 @endif gas
9957 .PHONY: maybe-install-html-gas install-html-gas
9958 maybe-install-html-gas:
9959 @if gas
9960 maybe-install-html-gas: install-html-gas
9962 install-html-gas: \
9963 configure-gas \
9964 html-gas
9965 @[ -f ./gas/Makefile ] || exit 0; \
9966 r=`${PWD_COMMAND}`; export r; \
9967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9968 $(HOST_EXPORTS) \
9969 for flag in $(EXTRA_HOST_FLAGS) ; do \
9970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9971 done; \
9972 echo "Doing install-html in gas" ; \
9973 (cd $(HOST_SUBDIR)/gas && \
9974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9976 "RANLIB=$${RANLIB}" \
9977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9978 install-html) \
9979 || exit 1
9981 @endif gas
9983 .PHONY: maybe-installcheck-gas installcheck-gas
9984 maybe-installcheck-gas:
9985 @if gas
9986 maybe-installcheck-gas: installcheck-gas
9988 installcheck-gas: \
9989 configure-gas
9990 @[ -f ./gas/Makefile ] || exit 0; \
9991 r=`${PWD_COMMAND}`; export r; \
9992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9993 $(HOST_EXPORTS) \
9994 for flag in $(EXTRA_HOST_FLAGS) ; do \
9995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9996 done; \
9997 echo "Doing installcheck in gas" ; \
9998 (cd $(HOST_SUBDIR)/gas && \
9999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10001 "RANLIB=$${RANLIB}" \
10002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10003 installcheck) \
10004 || exit 1
10006 @endif gas
10008 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
10009 maybe-mostlyclean-gas:
10010 @if gas
10011 maybe-mostlyclean-gas: mostlyclean-gas
10013 mostlyclean-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 mostlyclean 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 mostlyclean) \
10028 || exit 1
10030 @endif gas
10032 .PHONY: maybe-clean-gas clean-gas
10033 maybe-clean-gas:
10034 @if gas
10035 maybe-clean-gas: clean-gas
10037 clean-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 clean 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 clean) \
10052 || exit 1
10054 @endif gas
10056 .PHONY: maybe-distclean-gas distclean-gas
10057 maybe-distclean-gas:
10058 @if gas
10059 maybe-distclean-gas: distclean-gas
10061 distclean-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 distclean 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 distclean) \
10076 || exit 1
10078 @endif gas
10080 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
10081 maybe-maintainer-clean-gas:
10082 @if gas
10083 maybe-maintainer-clean-gas: maintainer-clean-gas
10085 maintainer-clean-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 maintainer-clean 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 maintainer-clean) \
10100 || exit 1
10102 @endif gas
10106 .PHONY: configure-gcc maybe-configure-gcc
10107 maybe-configure-gcc:
10108 @if gcc-bootstrap
10109 configure-gcc: stage_current
10110 @endif gcc-bootstrap
10111 @if gcc
10112 maybe-configure-gcc: configure-gcc
10113 configure-gcc:
10114 @r=`${PWD_COMMAND}`; export r; \
10115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10116 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10117 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10118 $(HOST_EXPORTS) \
10119 echo Configuring in $(HOST_SUBDIR)/gcc; \
10120 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
10121 case $(srcdir) in \
10122 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10123 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10124 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10125 esac; \
10126 module_srcdir=gcc; \
10127 $(SHELL) \
10128 $$s/$$module_srcdir/configure \
10129 --srcdir=$${topdir}/$$module_srcdir \
10130 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10131 --target=${target_alias} \
10132 || exit 1
10133 @endif gcc
10137 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
10138 maybe-configure-stage1-gcc:
10139 @if gcc-bootstrap
10140 maybe-configure-stage1-gcc: configure-stage1-gcc
10141 configure-stage1-gcc:
10142 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10143 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10144 @r=`${PWD_COMMAND}`; export r; \
10145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10146 TFLAGS="$(STAGE1_TFLAGS)"; \
10147 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10148 $(HOST_EXPORTS) \
10149 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10150 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10151 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10152 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
10153 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10154 cd $(HOST_SUBDIR)/gcc || exit 1; \
10155 case $(srcdir) in \
10156 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10157 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10158 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10159 esac; \
10160 module_srcdir=gcc; \
10161 $(SHELL) $$s/$$module_srcdir/configure \
10162 --srcdir=$${topdir}/$$module_srcdir \
10163 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10164 --target=${target_alias} \
10166 $(STAGE1_CONFIGURE_FLAGS)
10167 @endif gcc-bootstrap
10169 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
10170 maybe-configure-stage2-gcc:
10171 @if gcc-bootstrap
10172 maybe-configure-stage2-gcc: configure-stage2-gcc
10173 configure-stage2-gcc:
10174 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10175 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10176 @r=`${PWD_COMMAND}`; export r; \
10177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10178 TFLAGS="$(STAGE2_TFLAGS)"; \
10179 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10180 $(HOST_EXPORTS) \
10181 $(POSTSTAGE1_HOST_EXPORTS) \
10182 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10183 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10184 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10185 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
10186 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10187 cd $(HOST_SUBDIR)/gcc || exit 1; \
10188 case $(srcdir) in \
10189 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10190 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10191 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10192 esac; \
10193 module_srcdir=gcc; \
10194 $(SHELL) $$s/$$module_srcdir/configure \
10195 --srcdir=$${topdir}/$$module_srcdir \
10196 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10197 --target=${target_alias} \
10198 --with-build-libsubdir=$(HOST_SUBDIR) \
10199 $(STAGE2_CONFIGURE_FLAGS)
10200 @endif gcc-bootstrap
10202 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
10203 maybe-configure-stage3-gcc:
10204 @if gcc-bootstrap
10205 maybe-configure-stage3-gcc: configure-stage3-gcc
10206 configure-stage3-gcc:
10207 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10208 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10209 @r=`${PWD_COMMAND}`; export r; \
10210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10211 TFLAGS="$(STAGE3_TFLAGS)"; \
10212 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10213 $(HOST_EXPORTS) \
10214 $(POSTSTAGE1_HOST_EXPORTS) \
10215 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10216 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10217 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10218 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
10219 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10220 cd $(HOST_SUBDIR)/gcc || exit 1; \
10221 case $(srcdir) in \
10222 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10223 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10224 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10225 esac; \
10226 module_srcdir=gcc; \
10227 $(SHELL) $$s/$$module_srcdir/configure \
10228 --srcdir=$${topdir}/$$module_srcdir \
10229 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10230 --target=${target_alias} \
10231 --with-build-libsubdir=$(HOST_SUBDIR) \
10232 $(STAGE3_CONFIGURE_FLAGS)
10233 @endif gcc-bootstrap
10235 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
10236 maybe-configure-stage4-gcc:
10237 @if gcc-bootstrap
10238 maybe-configure-stage4-gcc: configure-stage4-gcc
10239 configure-stage4-gcc:
10240 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10241 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10242 @r=`${PWD_COMMAND}`; export r; \
10243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10244 TFLAGS="$(STAGE4_TFLAGS)"; \
10245 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10246 $(HOST_EXPORTS) \
10247 $(POSTSTAGE1_HOST_EXPORTS) \
10248 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10249 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10250 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10251 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
10252 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10253 cd $(HOST_SUBDIR)/gcc || exit 1; \
10254 case $(srcdir) in \
10255 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10256 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10257 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10258 esac; \
10259 module_srcdir=gcc; \
10260 $(SHELL) $$s/$$module_srcdir/configure \
10261 --srcdir=$${topdir}/$$module_srcdir \
10262 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10263 --target=${target_alias} \
10264 --with-build-libsubdir=$(HOST_SUBDIR) \
10265 $(STAGE4_CONFIGURE_FLAGS)
10266 @endif gcc-bootstrap
10268 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
10269 maybe-configure-stageprofile-gcc:
10270 @if gcc-bootstrap
10271 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
10272 configure-stageprofile-gcc:
10273 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10274 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10275 @r=`${PWD_COMMAND}`; export r; \
10276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10277 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10278 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10279 $(HOST_EXPORTS) \
10280 $(POSTSTAGE1_HOST_EXPORTS) \
10281 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10282 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10283 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10284 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
10285 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10286 cd $(HOST_SUBDIR)/gcc || exit 1; \
10287 case $(srcdir) in \
10288 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10289 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10290 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10291 esac; \
10292 module_srcdir=gcc; \
10293 $(SHELL) $$s/$$module_srcdir/configure \
10294 --srcdir=$${topdir}/$$module_srcdir \
10295 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10296 --target=${target_alias} \
10297 --with-build-libsubdir=$(HOST_SUBDIR) \
10298 $(STAGEprofile_CONFIGURE_FLAGS)
10299 @endif gcc-bootstrap
10301 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
10302 maybe-configure-stagefeedback-gcc:
10303 @if gcc-bootstrap
10304 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
10305 configure-stagefeedback-gcc:
10306 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10307 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10308 @r=`${PWD_COMMAND}`; export r; \
10309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10310 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10311 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10312 $(HOST_EXPORTS) \
10313 $(POSTSTAGE1_HOST_EXPORTS) \
10314 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10315 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10316 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10317 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
10318 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10319 cd $(HOST_SUBDIR)/gcc || exit 1; \
10320 case $(srcdir) in \
10321 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10322 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10323 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10324 esac; \
10325 module_srcdir=gcc; \
10326 $(SHELL) $$s/$$module_srcdir/configure \
10327 --srcdir=$${topdir}/$$module_srcdir \
10328 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10329 --target=${target_alias} \
10330 --with-build-libsubdir=$(HOST_SUBDIR) \
10331 $(STAGEfeedback_CONFIGURE_FLAGS)
10332 @endif gcc-bootstrap
10338 .PHONY: all-gcc maybe-all-gcc
10339 maybe-all-gcc:
10340 @if gcc-bootstrap
10341 all-gcc: stage_current
10342 @endif gcc-bootstrap
10343 @if gcc
10344 TARGET-gcc=all
10345 maybe-all-gcc: all-gcc
10346 all-gcc: configure-gcc
10347 @r=`${PWD_COMMAND}`; export r; \
10348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10349 $(HOST_EXPORTS) \
10350 (cd $(HOST_SUBDIR)/gcc && \
10351 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10352 $(TARGET-gcc))
10353 @endif gcc
10357 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
10358 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
10359 maybe-all-stage1-gcc:
10360 maybe-clean-stage1-gcc:
10361 @if gcc-bootstrap
10362 maybe-all-stage1-gcc: all-stage1-gcc
10363 all-stage1: all-stage1-gcc
10364 TARGET-stage1-gcc = $(TARGET-gcc)
10365 all-stage1-gcc: configure-stage1-gcc
10366 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10367 @r=`${PWD_COMMAND}`; export r; \
10368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10369 TFLAGS="$(STAGE1_TFLAGS)"; \
10370 $(HOST_EXPORTS) \
10371 cd $(HOST_SUBDIR)/gcc && \
10372 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10373 CFLAGS="$(STAGE1_CFLAGS)" \
10374 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10375 LIBCFLAGS="$(LIBCFLAGS)" \
10376 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10377 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10378 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10379 $(EXTRA_HOST_FLAGS) \
10380 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10381 TFLAGS="$(STAGE1_TFLAGS)" \
10382 $(TARGET-stage1-gcc)
10384 maybe-clean-stage1-gcc: clean-stage1-gcc
10385 clean-stage1: clean-stage1-gcc
10386 clean-stage1-gcc:
10387 @if [ $(current_stage) = stage1 ]; then \
10388 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10389 else \
10390 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
10391 $(MAKE) stage1-start; \
10392 fi; \
10393 cd $(HOST_SUBDIR)/gcc && \
10394 $(MAKE) $(EXTRA_HOST_FLAGS) \
10395 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10396 @endif gcc-bootstrap
10399 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
10400 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
10401 maybe-all-stage2-gcc:
10402 maybe-clean-stage2-gcc:
10403 @if gcc-bootstrap
10404 maybe-all-stage2-gcc: all-stage2-gcc
10405 all-stage2: all-stage2-gcc
10406 TARGET-stage2-gcc = $(TARGET-gcc)
10407 all-stage2-gcc: configure-stage2-gcc
10408 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10409 @r=`${PWD_COMMAND}`; export r; \
10410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10411 TFLAGS="$(STAGE2_TFLAGS)"; \
10412 $(HOST_EXPORTS) \
10413 $(POSTSTAGE1_HOST_EXPORTS) \
10414 cd $(HOST_SUBDIR)/gcc && \
10415 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10416 CFLAGS="$(STAGE2_CFLAGS)" \
10417 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10418 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10419 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10420 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10421 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10422 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10423 TFLAGS="$(STAGE2_TFLAGS)" \
10424 $(TARGET-stage2-gcc)
10426 maybe-clean-stage2-gcc: clean-stage2-gcc
10427 clean-stage2: clean-stage2-gcc
10428 clean-stage2-gcc:
10429 @if [ $(current_stage) = stage2 ]; then \
10430 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10431 else \
10432 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
10433 $(MAKE) stage2-start; \
10434 fi; \
10435 cd $(HOST_SUBDIR)/gcc && \
10436 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10437 @endif gcc-bootstrap
10440 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
10441 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
10442 maybe-all-stage3-gcc:
10443 maybe-clean-stage3-gcc:
10444 @if gcc-bootstrap
10445 maybe-all-stage3-gcc: all-stage3-gcc
10446 all-stage3: all-stage3-gcc
10447 TARGET-stage3-gcc = $(TARGET-gcc)
10448 all-stage3-gcc: configure-stage3-gcc
10449 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10450 @r=`${PWD_COMMAND}`; export r; \
10451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10452 TFLAGS="$(STAGE3_TFLAGS)"; \
10453 $(HOST_EXPORTS) \
10454 $(POSTSTAGE1_HOST_EXPORTS) \
10455 cd $(HOST_SUBDIR)/gcc && \
10456 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10457 CFLAGS="$(STAGE3_CFLAGS)" \
10458 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10459 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10460 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10461 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10462 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10463 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10464 TFLAGS="$(STAGE3_TFLAGS)" \
10465 $(TARGET-stage3-gcc)
10467 maybe-clean-stage3-gcc: clean-stage3-gcc
10468 clean-stage3: clean-stage3-gcc
10469 clean-stage3-gcc:
10470 @if [ $(current_stage) = stage3 ]; then \
10471 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10472 else \
10473 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
10474 $(MAKE) stage3-start; \
10475 fi; \
10476 cd $(HOST_SUBDIR)/gcc && \
10477 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10478 @endif gcc-bootstrap
10481 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
10482 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
10483 maybe-all-stage4-gcc:
10484 maybe-clean-stage4-gcc:
10485 @if gcc-bootstrap
10486 maybe-all-stage4-gcc: all-stage4-gcc
10487 all-stage4: all-stage4-gcc
10488 TARGET-stage4-gcc = $(TARGET-gcc)
10489 all-stage4-gcc: configure-stage4-gcc
10490 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10491 @r=`${PWD_COMMAND}`; export r; \
10492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10493 TFLAGS="$(STAGE4_TFLAGS)"; \
10494 $(HOST_EXPORTS) \
10495 $(POSTSTAGE1_HOST_EXPORTS) \
10496 cd $(HOST_SUBDIR)/gcc && \
10497 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10498 CFLAGS="$(STAGE4_CFLAGS)" \
10499 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10500 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10501 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10502 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10503 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10504 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10505 TFLAGS="$(STAGE4_TFLAGS)" \
10506 $(TARGET-stage4-gcc)
10508 maybe-clean-stage4-gcc: clean-stage4-gcc
10509 clean-stage4: clean-stage4-gcc
10510 clean-stage4-gcc:
10511 @if [ $(current_stage) = stage4 ]; then \
10512 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10513 else \
10514 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
10515 $(MAKE) stage4-start; \
10516 fi; \
10517 cd $(HOST_SUBDIR)/gcc && \
10518 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10519 @endif gcc-bootstrap
10522 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
10523 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
10524 maybe-all-stageprofile-gcc:
10525 maybe-clean-stageprofile-gcc:
10526 @if gcc-bootstrap
10527 maybe-all-stageprofile-gcc: all-stageprofile-gcc
10528 all-stageprofile: all-stageprofile-gcc
10529 TARGET-stageprofile-gcc = $(TARGET-gcc)
10530 all-stageprofile-gcc: configure-stageprofile-gcc
10531 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10532 @r=`${PWD_COMMAND}`; export r; \
10533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10534 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10535 $(HOST_EXPORTS) \
10536 $(POSTSTAGE1_HOST_EXPORTS) \
10537 cd $(HOST_SUBDIR)/gcc && \
10538 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10539 CFLAGS="$(STAGEprofile_CFLAGS)" \
10540 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10541 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10542 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10543 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10544 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10545 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10546 TFLAGS="$(STAGEprofile_TFLAGS)" \
10547 $(TARGET-stageprofile-gcc)
10549 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
10550 clean-stageprofile: clean-stageprofile-gcc
10551 clean-stageprofile-gcc:
10552 @if [ $(current_stage) = stageprofile ]; then \
10553 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10554 else \
10555 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
10556 $(MAKE) stageprofile-start; \
10557 fi; \
10558 cd $(HOST_SUBDIR)/gcc && \
10559 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10560 @endif gcc-bootstrap
10563 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
10564 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
10565 maybe-all-stagefeedback-gcc:
10566 maybe-clean-stagefeedback-gcc:
10567 @if gcc-bootstrap
10568 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
10569 all-stagefeedback: all-stagefeedback-gcc
10570 TARGET-stagefeedback-gcc = $(TARGET-gcc)
10571 all-stagefeedback-gcc: configure-stagefeedback-gcc
10572 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10573 @r=`${PWD_COMMAND}`; export r; \
10574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10575 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10576 $(HOST_EXPORTS) \
10577 $(POSTSTAGE1_HOST_EXPORTS) \
10578 cd $(HOST_SUBDIR)/gcc && \
10579 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10580 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10581 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10582 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10583 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10584 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10585 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10586 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10587 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10588 $(TARGET-stagefeedback-gcc)
10590 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
10591 clean-stagefeedback: clean-stagefeedback-gcc
10592 clean-stagefeedback-gcc:
10593 @if [ $(current_stage) = stagefeedback ]; then \
10594 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10595 else \
10596 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
10597 $(MAKE) stagefeedback-start; \
10598 fi; \
10599 cd $(HOST_SUBDIR)/gcc && \
10600 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10601 @endif gcc-bootstrap
10607 .PHONY: check-gcc maybe-check-gcc
10608 maybe-check-gcc:
10609 @if gcc
10610 maybe-check-gcc: check-gcc
10612 check-gcc:
10613 @: $(MAKE); $(unstage)
10614 @r=`${PWD_COMMAND}`; export r; \
10615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10616 $(HOST_EXPORTS) \
10617 (cd $(HOST_SUBDIR)/gcc && \
10618 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
10620 @endif gcc
10622 .PHONY: install-gcc maybe-install-gcc
10623 maybe-install-gcc:
10624 @if gcc
10625 maybe-install-gcc: install-gcc
10627 install-gcc: installdirs
10628 @: $(MAKE); $(unstage)
10629 @r=`${PWD_COMMAND}`; export r; \
10630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10631 $(HOST_EXPORTS) \
10632 (cd $(HOST_SUBDIR)/gcc && \
10633 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
10635 @endif gcc
10637 .PHONY: install-strip-gcc maybe-install-strip-gcc
10638 maybe-install-strip-gcc:
10639 @if gcc
10640 maybe-install-strip-gcc: install-strip-gcc
10642 install-strip-gcc: installdirs
10643 @: $(MAKE); $(unstage)
10644 @r=`${PWD_COMMAND}`; export r; \
10645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10646 $(HOST_EXPORTS) \
10647 (cd $(HOST_SUBDIR)/gcc && \
10648 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
10650 @endif gcc
10652 # Other targets (info, dvi, pdf, etc.)
10654 .PHONY: maybe-info-gcc info-gcc
10655 maybe-info-gcc:
10656 @if gcc
10657 maybe-info-gcc: info-gcc
10659 info-gcc: \
10660 configure-gcc
10661 @[ -f ./gcc/Makefile ] || exit 0; \
10662 r=`${PWD_COMMAND}`; export r; \
10663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10664 $(HOST_EXPORTS) \
10665 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10667 done; \
10668 echo "Doing info in gcc" ; \
10669 (cd $(HOST_SUBDIR)/gcc && \
10670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10672 "RANLIB=$${RANLIB}" \
10673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10674 info) \
10675 || exit 1
10677 @endif gcc
10679 .PHONY: maybe-dvi-gcc dvi-gcc
10680 maybe-dvi-gcc:
10681 @if gcc
10682 maybe-dvi-gcc: dvi-gcc
10684 dvi-gcc: \
10685 configure-gcc
10686 @[ -f ./gcc/Makefile ] || exit 0; \
10687 r=`${PWD_COMMAND}`; export r; \
10688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10689 $(HOST_EXPORTS) \
10690 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10692 done; \
10693 echo "Doing dvi in gcc" ; \
10694 (cd $(HOST_SUBDIR)/gcc && \
10695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10697 "RANLIB=$${RANLIB}" \
10698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10699 dvi) \
10700 || exit 1
10702 @endif gcc
10704 .PHONY: maybe-pdf-gcc pdf-gcc
10705 maybe-pdf-gcc:
10706 @if gcc
10707 maybe-pdf-gcc: pdf-gcc
10709 pdf-gcc: \
10710 configure-gcc
10711 @[ -f ./gcc/Makefile ] || exit 0; \
10712 r=`${PWD_COMMAND}`; export r; \
10713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10714 $(HOST_EXPORTS) \
10715 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10717 done; \
10718 echo "Doing pdf in gcc" ; \
10719 (cd $(HOST_SUBDIR)/gcc && \
10720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10722 "RANLIB=$${RANLIB}" \
10723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10724 pdf) \
10725 || exit 1
10727 @endif gcc
10729 .PHONY: maybe-html-gcc html-gcc
10730 maybe-html-gcc:
10731 @if gcc
10732 maybe-html-gcc: html-gcc
10734 html-gcc: \
10735 configure-gcc
10736 @[ -f ./gcc/Makefile ] || exit 0; \
10737 r=`${PWD_COMMAND}`; export r; \
10738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10739 $(HOST_EXPORTS) \
10740 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10742 done; \
10743 echo "Doing html in gcc" ; \
10744 (cd $(HOST_SUBDIR)/gcc && \
10745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10747 "RANLIB=$${RANLIB}" \
10748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10749 html) \
10750 || exit 1
10752 @endif gcc
10754 .PHONY: maybe-TAGS-gcc TAGS-gcc
10755 maybe-TAGS-gcc:
10756 @if gcc
10757 maybe-TAGS-gcc: TAGS-gcc
10759 TAGS-gcc: \
10760 configure-gcc
10761 @[ -f ./gcc/Makefile ] || exit 0; \
10762 r=`${PWD_COMMAND}`; export r; \
10763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10764 $(HOST_EXPORTS) \
10765 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10767 done; \
10768 echo "Doing TAGS in gcc" ; \
10769 (cd $(HOST_SUBDIR)/gcc && \
10770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10772 "RANLIB=$${RANLIB}" \
10773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10774 TAGS) \
10775 || exit 1
10777 @endif gcc
10779 .PHONY: maybe-install-info-gcc install-info-gcc
10780 maybe-install-info-gcc:
10781 @if gcc
10782 maybe-install-info-gcc: install-info-gcc
10784 install-info-gcc: \
10785 configure-gcc \
10786 info-gcc
10787 @[ -f ./gcc/Makefile ] || exit 0; \
10788 r=`${PWD_COMMAND}`; export r; \
10789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10790 $(HOST_EXPORTS) \
10791 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10793 done; \
10794 echo "Doing install-info in gcc" ; \
10795 (cd $(HOST_SUBDIR)/gcc && \
10796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10798 "RANLIB=$${RANLIB}" \
10799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10800 install-info) \
10801 || exit 1
10803 @endif gcc
10805 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
10806 maybe-install-pdf-gcc:
10807 @if gcc
10808 maybe-install-pdf-gcc: install-pdf-gcc
10810 install-pdf-gcc: \
10811 configure-gcc \
10812 pdf-gcc
10813 @[ -f ./gcc/Makefile ] || exit 0; \
10814 r=`${PWD_COMMAND}`; export r; \
10815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10816 $(HOST_EXPORTS) \
10817 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10819 done; \
10820 echo "Doing install-pdf in gcc" ; \
10821 (cd $(HOST_SUBDIR)/gcc && \
10822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10824 "RANLIB=$${RANLIB}" \
10825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10826 install-pdf) \
10827 || exit 1
10829 @endif gcc
10831 .PHONY: maybe-install-html-gcc install-html-gcc
10832 maybe-install-html-gcc:
10833 @if gcc
10834 maybe-install-html-gcc: install-html-gcc
10836 install-html-gcc: \
10837 configure-gcc \
10838 html-gcc
10839 @[ -f ./gcc/Makefile ] || exit 0; \
10840 r=`${PWD_COMMAND}`; export r; \
10841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10842 $(HOST_EXPORTS) \
10843 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10845 done; \
10846 echo "Doing install-html in gcc" ; \
10847 (cd $(HOST_SUBDIR)/gcc && \
10848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10850 "RANLIB=$${RANLIB}" \
10851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10852 install-html) \
10853 || exit 1
10855 @endif gcc
10857 .PHONY: maybe-installcheck-gcc installcheck-gcc
10858 maybe-installcheck-gcc:
10859 @if gcc
10860 maybe-installcheck-gcc: installcheck-gcc
10862 installcheck-gcc: \
10863 configure-gcc
10864 @[ -f ./gcc/Makefile ] || exit 0; \
10865 r=`${PWD_COMMAND}`; export r; \
10866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10867 $(HOST_EXPORTS) \
10868 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10870 done; \
10871 echo "Doing installcheck in gcc" ; \
10872 (cd $(HOST_SUBDIR)/gcc && \
10873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10875 "RANLIB=$${RANLIB}" \
10876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10877 installcheck) \
10878 || exit 1
10880 @endif gcc
10882 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
10883 maybe-mostlyclean-gcc:
10884 @if gcc
10885 maybe-mostlyclean-gcc: mostlyclean-gcc
10887 mostlyclean-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 mostlyclean 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 mostlyclean) \
10902 || exit 1
10904 @endif gcc
10906 .PHONY: maybe-clean-gcc clean-gcc
10907 maybe-clean-gcc:
10908 @if gcc
10909 maybe-clean-gcc: clean-gcc
10911 clean-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 clean 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 clean) \
10926 || exit 1
10928 @endif gcc
10930 .PHONY: maybe-distclean-gcc distclean-gcc
10931 maybe-distclean-gcc:
10932 @if gcc
10933 maybe-distclean-gcc: distclean-gcc
10935 distclean-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 distclean 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 distclean) \
10950 || exit 1
10952 @endif gcc
10954 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
10955 maybe-maintainer-clean-gcc:
10956 @if gcc
10957 maybe-maintainer-clean-gcc: maintainer-clean-gcc
10959 maintainer-clean-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 maintainer-clean 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 maintainer-clean) \
10974 || exit 1
10976 @endif gcc
10980 .PHONY: configure-gmp maybe-configure-gmp
10981 maybe-configure-gmp:
10982 @if gcc-bootstrap
10983 configure-gmp: stage_current
10984 @endif gcc-bootstrap
10985 @if gmp
10986 maybe-configure-gmp: configure-gmp
10987 configure-gmp:
10988 @r=`${PWD_COMMAND}`; export r; \
10989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10990 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10991 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10992 $(HOST_EXPORTS) \
10993 echo Configuring in $(HOST_SUBDIR)/gmp; \
10994 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
10995 case $(srcdir) in \
10996 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10997 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10998 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10999 esac; \
11000 module_srcdir=gmp; \
11001 $(SHELL) \
11002 $$s/$$module_srcdir/configure \
11003 --srcdir=$${topdir}/$$module_srcdir \
11004 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11005 --target=none-${host_vendor}-${host_os} --disable-shared LEX="touch lex.yy.c" \
11006 || exit 1
11007 @endif gmp
11011 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
11012 maybe-configure-stage1-gmp:
11013 @if gmp-bootstrap
11014 maybe-configure-stage1-gmp: configure-stage1-gmp
11015 configure-stage1-gmp:
11016 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11017 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11018 @r=`${PWD_COMMAND}`; export r; \
11019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11020 TFLAGS="$(STAGE1_TFLAGS)"; \
11021 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11022 $(HOST_EXPORTS) \
11023 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11024 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11025 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11026 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
11027 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11028 cd $(HOST_SUBDIR)/gmp || exit 1; \
11029 case $(srcdir) in \
11030 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11031 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11032 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11033 esac; \
11034 module_srcdir=gmp; \
11035 $(SHELL) $$s/$$module_srcdir/configure \
11036 --srcdir=$${topdir}/$$module_srcdir \
11037 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11038 --target=none-${host_vendor}-${host_os} \
11040 $(STAGE1_CONFIGURE_FLAGS) \
11041 --disable-shared LEX="touch lex.yy.c"
11042 @endif gmp-bootstrap
11044 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
11045 maybe-configure-stage2-gmp:
11046 @if gmp-bootstrap
11047 maybe-configure-stage2-gmp: configure-stage2-gmp
11048 configure-stage2-gmp:
11049 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11050 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11051 @r=`${PWD_COMMAND}`; export r; \
11052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11053 TFLAGS="$(STAGE2_TFLAGS)"; \
11054 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11055 $(HOST_EXPORTS) \
11056 $(POSTSTAGE1_HOST_EXPORTS) \
11057 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11058 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11059 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11060 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
11061 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11062 cd $(HOST_SUBDIR)/gmp || exit 1; \
11063 case $(srcdir) in \
11064 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11065 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11066 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11067 esac; \
11068 module_srcdir=gmp; \
11069 $(SHELL) $$s/$$module_srcdir/configure \
11070 --srcdir=$${topdir}/$$module_srcdir \
11071 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11072 --target=none-${host_vendor}-${host_os} \
11073 --with-build-libsubdir=$(HOST_SUBDIR) \
11074 $(STAGE2_CONFIGURE_FLAGS) \
11075 --disable-shared LEX="touch lex.yy.c"
11076 @endif gmp-bootstrap
11078 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
11079 maybe-configure-stage3-gmp:
11080 @if gmp-bootstrap
11081 maybe-configure-stage3-gmp: configure-stage3-gmp
11082 configure-stage3-gmp:
11083 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11084 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11085 @r=`${PWD_COMMAND}`; export r; \
11086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11087 TFLAGS="$(STAGE3_TFLAGS)"; \
11088 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11089 $(HOST_EXPORTS) \
11090 $(POSTSTAGE1_HOST_EXPORTS) \
11091 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11092 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11093 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11094 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
11095 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11096 cd $(HOST_SUBDIR)/gmp || exit 1; \
11097 case $(srcdir) in \
11098 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11099 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11100 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11101 esac; \
11102 module_srcdir=gmp; \
11103 $(SHELL) $$s/$$module_srcdir/configure \
11104 --srcdir=$${topdir}/$$module_srcdir \
11105 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11106 --target=none-${host_vendor}-${host_os} \
11107 --with-build-libsubdir=$(HOST_SUBDIR) \
11108 $(STAGE3_CONFIGURE_FLAGS) \
11109 --disable-shared LEX="touch lex.yy.c"
11110 @endif gmp-bootstrap
11112 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
11113 maybe-configure-stage4-gmp:
11114 @if gmp-bootstrap
11115 maybe-configure-stage4-gmp: configure-stage4-gmp
11116 configure-stage4-gmp:
11117 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11118 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11119 @r=`${PWD_COMMAND}`; export r; \
11120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11121 TFLAGS="$(STAGE4_TFLAGS)"; \
11122 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11123 $(HOST_EXPORTS) \
11124 $(POSTSTAGE1_HOST_EXPORTS) \
11125 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11126 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11127 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11128 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
11129 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11130 cd $(HOST_SUBDIR)/gmp || exit 1; \
11131 case $(srcdir) in \
11132 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11133 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11134 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11135 esac; \
11136 module_srcdir=gmp; \
11137 $(SHELL) $$s/$$module_srcdir/configure \
11138 --srcdir=$${topdir}/$$module_srcdir \
11139 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11140 --target=none-${host_vendor}-${host_os} \
11141 --with-build-libsubdir=$(HOST_SUBDIR) \
11142 $(STAGE4_CONFIGURE_FLAGS) \
11143 --disable-shared LEX="touch lex.yy.c"
11144 @endif gmp-bootstrap
11146 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
11147 maybe-configure-stageprofile-gmp:
11148 @if gmp-bootstrap
11149 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
11150 configure-stageprofile-gmp:
11151 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11152 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11153 @r=`${PWD_COMMAND}`; export r; \
11154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11155 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11156 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11157 $(HOST_EXPORTS) \
11158 $(POSTSTAGE1_HOST_EXPORTS) \
11159 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11160 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11161 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11162 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
11163 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11164 cd $(HOST_SUBDIR)/gmp || exit 1; \
11165 case $(srcdir) in \
11166 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11167 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11168 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11169 esac; \
11170 module_srcdir=gmp; \
11171 $(SHELL) $$s/$$module_srcdir/configure \
11172 --srcdir=$${topdir}/$$module_srcdir \
11173 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11174 --target=none-${host_vendor}-${host_os} \
11175 --with-build-libsubdir=$(HOST_SUBDIR) \
11176 $(STAGEprofile_CONFIGURE_FLAGS) \
11177 --disable-shared LEX="touch lex.yy.c"
11178 @endif gmp-bootstrap
11180 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
11181 maybe-configure-stagefeedback-gmp:
11182 @if gmp-bootstrap
11183 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
11184 configure-stagefeedback-gmp:
11185 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11186 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11187 @r=`${PWD_COMMAND}`; export r; \
11188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11189 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11190 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11191 $(HOST_EXPORTS) \
11192 $(POSTSTAGE1_HOST_EXPORTS) \
11193 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11194 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11195 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11196 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
11197 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11198 cd $(HOST_SUBDIR)/gmp || exit 1; \
11199 case $(srcdir) in \
11200 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11201 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11202 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11203 esac; \
11204 module_srcdir=gmp; \
11205 $(SHELL) $$s/$$module_srcdir/configure \
11206 --srcdir=$${topdir}/$$module_srcdir \
11207 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11208 --target=none-${host_vendor}-${host_os} \
11209 --with-build-libsubdir=$(HOST_SUBDIR) \
11210 $(STAGEfeedback_CONFIGURE_FLAGS) \
11211 --disable-shared LEX="touch lex.yy.c"
11212 @endif gmp-bootstrap
11218 .PHONY: all-gmp maybe-all-gmp
11219 maybe-all-gmp:
11220 @if gcc-bootstrap
11221 all-gmp: stage_current
11222 @endif gcc-bootstrap
11223 @if gmp
11224 TARGET-gmp=all
11225 maybe-all-gmp: all-gmp
11226 all-gmp: configure-gmp
11227 @r=`${PWD_COMMAND}`; export r; \
11228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11229 $(HOST_EXPORTS) \
11230 (cd $(HOST_SUBDIR)/gmp && \
11231 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
11232 $(TARGET-gmp))
11233 @endif gmp
11237 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
11238 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
11239 maybe-all-stage1-gmp:
11240 maybe-clean-stage1-gmp:
11241 @if gmp-bootstrap
11242 maybe-all-stage1-gmp: all-stage1-gmp
11243 all-stage1: all-stage1-gmp
11244 TARGET-stage1-gmp = $(TARGET-gmp)
11245 all-stage1-gmp: configure-stage1-gmp
11246 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11247 @r=`${PWD_COMMAND}`; export r; \
11248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11249 TFLAGS="$(STAGE1_TFLAGS)"; \
11250 $(HOST_EXPORTS) \
11251 cd $(HOST_SUBDIR)/gmp && \
11252 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11253 CFLAGS="$(STAGE1_CFLAGS)" \
11254 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11255 LIBCFLAGS="$(LIBCFLAGS)" \
11256 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11257 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11258 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11259 $(EXTRA_HOST_FLAGS) \
11260 $(STAGE1_FLAGS_TO_PASS) \
11261 TFLAGS="$(STAGE1_TFLAGS)" \
11262 $(TARGET-stage1-gmp)
11264 maybe-clean-stage1-gmp: clean-stage1-gmp
11265 clean-stage1: clean-stage1-gmp
11266 clean-stage1-gmp:
11267 @if [ $(current_stage) = stage1 ]; then \
11268 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11269 else \
11270 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
11271 $(MAKE) stage1-start; \
11272 fi; \
11273 cd $(HOST_SUBDIR)/gmp && \
11274 $(MAKE) $(EXTRA_HOST_FLAGS) \
11275 $(STAGE1_FLAGS_TO_PASS) clean
11276 @endif gmp-bootstrap
11279 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
11280 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
11281 maybe-all-stage2-gmp:
11282 maybe-clean-stage2-gmp:
11283 @if gmp-bootstrap
11284 maybe-all-stage2-gmp: all-stage2-gmp
11285 all-stage2: all-stage2-gmp
11286 TARGET-stage2-gmp = $(TARGET-gmp)
11287 all-stage2-gmp: configure-stage2-gmp
11288 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11289 @r=`${PWD_COMMAND}`; export r; \
11290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11291 TFLAGS="$(STAGE2_TFLAGS)"; \
11292 $(HOST_EXPORTS) \
11293 $(POSTSTAGE1_HOST_EXPORTS) \
11294 cd $(HOST_SUBDIR)/gmp && \
11295 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11296 CFLAGS="$(STAGE2_CFLAGS)" \
11297 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11298 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11299 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11300 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11301 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11302 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11303 TFLAGS="$(STAGE2_TFLAGS)" \
11304 $(TARGET-stage2-gmp)
11306 maybe-clean-stage2-gmp: clean-stage2-gmp
11307 clean-stage2: clean-stage2-gmp
11308 clean-stage2-gmp:
11309 @if [ $(current_stage) = stage2 ]; then \
11310 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11311 else \
11312 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
11313 $(MAKE) stage2-start; \
11314 fi; \
11315 cd $(HOST_SUBDIR)/gmp && \
11316 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11317 @endif gmp-bootstrap
11320 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
11321 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
11322 maybe-all-stage3-gmp:
11323 maybe-clean-stage3-gmp:
11324 @if gmp-bootstrap
11325 maybe-all-stage3-gmp: all-stage3-gmp
11326 all-stage3: all-stage3-gmp
11327 TARGET-stage3-gmp = $(TARGET-gmp)
11328 all-stage3-gmp: configure-stage3-gmp
11329 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11330 @r=`${PWD_COMMAND}`; export r; \
11331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11332 TFLAGS="$(STAGE3_TFLAGS)"; \
11333 $(HOST_EXPORTS) \
11334 $(POSTSTAGE1_HOST_EXPORTS) \
11335 cd $(HOST_SUBDIR)/gmp && \
11336 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11337 CFLAGS="$(STAGE3_CFLAGS)" \
11338 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11339 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11340 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11341 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11342 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11343 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11344 TFLAGS="$(STAGE3_TFLAGS)" \
11345 $(TARGET-stage3-gmp)
11347 maybe-clean-stage3-gmp: clean-stage3-gmp
11348 clean-stage3: clean-stage3-gmp
11349 clean-stage3-gmp:
11350 @if [ $(current_stage) = stage3 ]; then \
11351 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11352 else \
11353 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
11354 $(MAKE) stage3-start; \
11355 fi; \
11356 cd $(HOST_SUBDIR)/gmp && \
11357 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11358 @endif gmp-bootstrap
11361 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
11362 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
11363 maybe-all-stage4-gmp:
11364 maybe-clean-stage4-gmp:
11365 @if gmp-bootstrap
11366 maybe-all-stage4-gmp: all-stage4-gmp
11367 all-stage4: all-stage4-gmp
11368 TARGET-stage4-gmp = $(TARGET-gmp)
11369 all-stage4-gmp: configure-stage4-gmp
11370 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11371 @r=`${PWD_COMMAND}`; export r; \
11372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11373 TFLAGS="$(STAGE4_TFLAGS)"; \
11374 $(HOST_EXPORTS) \
11375 $(POSTSTAGE1_HOST_EXPORTS) \
11376 cd $(HOST_SUBDIR)/gmp && \
11377 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11378 CFLAGS="$(STAGE4_CFLAGS)" \
11379 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11380 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11381 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11382 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11383 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11384 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11385 TFLAGS="$(STAGE4_TFLAGS)" \
11386 $(TARGET-stage4-gmp)
11388 maybe-clean-stage4-gmp: clean-stage4-gmp
11389 clean-stage4: clean-stage4-gmp
11390 clean-stage4-gmp:
11391 @if [ $(current_stage) = stage4 ]; then \
11392 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11393 else \
11394 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
11395 $(MAKE) stage4-start; \
11396 fi; \
11397 cd $(HOST_SUBDIR)/gmp && \
11398 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11399 @endif gmp-bootstrap
11402 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
11403 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
11404 maybe-all-stageprofile-gmp:
11405 maybe-clean-stageprofile-gmp:
11406 @if gmp-bootstrap
11407 maybe-all-stageprofile-gmp: all-stageprofile-gmp
11408 all-stageprofile: all-stageprofile-gmp
11409 TARGET-stageprofile-gmp = $(TARGET-gmp)
11410 all-stageprofile-gmp: configure-stageprofile-gmp
11411 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11412 @r=`${PWD_COMMAND}`; export r; \
11413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11414 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11415 $(HOST_EXPORTS) \
11416 $(POSTSTAGE1_HOST_EXPORTS) \
11417 cd $(HOST_SUBDIR)/gmp && \
11418 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11419 CFLAGS="$(STAGEprofile_CFLAGS)" \
11420 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11421 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11422 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11423 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11424 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11425 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11426 TFLAGS="$(STAGEprofile_TFLAGS)" \
11427 $(TARGET-stageprofile-gmp)
11429 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
11430 clean-stageprofile: clean-stageprofile-gmp
11431 clean-stageprofile-gmp:
11432 @if [ $(current_stage) = stageprofile ]; then \
11433 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11434 else \
11435 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
11436 $(MAKE) stageprofile-start; \
11437 fi; \
11438 cd $(HOST_SUBDIR)/gmp && \
11439 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11440 @endif gmp-bootstrap
11443 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
11444 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
11445 maybe-all-stagefeedback-gmp:
11446 maybe-clean-stagefeedback-gmp:
11447 @if gmp-bootstrap
11448 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
11449 all-stagefeedback: all-stagefeedback-gmp
11450 TARGET-stagefeedback-gmp = $(TARGET-gmp)
11451 all-stagefeedback-gmp: configure-stagefeedback-gmp
11452 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11453 @r=`${PWD_COMMAND}`; export r; \
11454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11455 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11456 $(HOST_EXPORTS) \
11457 $(POSTSTAGE1_HOST_EXPORTS) \
11458 cd $(HOST_SUBDIR)/gmp && \
11459 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11460 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11461 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11462 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11463 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11464 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11465 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11466 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11467 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11468 $(TARGET-stagefeedback-gmp)
11470 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
11471 clean-stagefeedback: clean-stagefeedback-gmp
11472 clean-stagefeedback-gmp:
11473 @if [ $(current_stage) = stagefeedback ]; then \
11474 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11475 else \
11476 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
11477 $(MAKE) stagefeedback-start; \
11478 fi; \
11479 cd $(HOST_SUBDIR)/gmp && \
11480 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11481 @endif gmp-bootstrap
11487 .PHONY: check-gmp maybe-check-gmp
11488 maybe-check-gmp:
11489 @if gmp
11490 maybe-check-gmp: check-gmp
11492 check-gmp:
11493 @: $(MAKE); $(unstage)
11494 @r=`${PWD_COMMAND}`; export r; \
11495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11496 $(HOST_EXPORTS) \
11497 (cd $(HOST_SUBDIR)/gmp && \
11498 $(MAKE) $(FLAGS_TO_PASS) check)
11500 @endif gmp
11502 .PHONY: install-gmp maybe-install-gmp
11503 maybe-install-gmp:
11504 @if gmp
11505 maybe-install-gmp: install-gmp
11507 install-gmp:
11509 @endif gmp
11511 .PHONY: install-strip-gmp maybe-install-strip-gmp
11512 maybe-install-strip-gmp:
11513 @if gmp
11514 maybe-install-strip-gmp: install-strip-gmp
11516 install-strip-gmp:
11518 @endif gmp
11520 # Other targets (info, dvi, pdf, etc.)
11522 .PHONY: maybe-info-gmp info-gmp
11523 maybe-info-gmp:
11524 @if gmp
11525 maybe-info-gmp: info-gmp
11527 info-gmp: \
11528 configure-gmp
11529 @[ -f ./gmp/Makefile ] || exit 0; \
11530 r=`${PWD_COMMAND}`; export r; \
11531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11532 $(HOST_EXPORTS) \
11533 for flag in $(EXTRA_HOST_FLAGS) ; do \
11534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11535 done; \
11536 echo "Doing info in gmp" ; \
11537 (cd $(HOST_SUBDIR)/gmp && \
11538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11540 "RANLIB=$${RANLIB}" \
11541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11542 info) \
11543 || exit 1
11545 @endif gmp
11547 .PHONY: maybe-dvi-gmp dvi-gmp
11548 maybe-dvi-gmp:
11549 @if gmp
11550 maybe-dvi-gmp: dvi-gmp
11552 dvi-gmp: \
11553 configure-gmp
11554 @[ -f ./gmp/Makefile ] || exit 0; \
11555 r=`${PWD_COMMAND}`; export r; \
11556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11557 $(HOST_EXPORTS) \
11558 for flag in $(EXTRA_HOST_FLAGS) ; do \
11559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11560 done; \
11561 echo "Doing dvi in gmp" ; \
11562 (cd $(HOST_SUBDIR)/gmp && \
11563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11565 "RANLIB=$${RANLIB}" \
11566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11567 dvi) \
11568 || exit 1
11570 @endif gmp
11572 .PHONY: maybe-pdf-gmp pdf-gmp
11573 maybe-pdf-gmp:
11574 @if gmp
11575 maybe-pdf-gmp: pdf-gmp
11577 pdf-gmp: \
11578 configure-gmp
11579 @[ -f ./gmp/Makefile ] || exit 0; \
11580 r=`${PWD_COMMAND}`; export r; \
11581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11582 $(HOST_EXPORTS) \
11583 for flag in $(EXTRA_HOST_FLAGS) ; do \
11584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11585 done; \
11586 echo "Doing pdf in gmp" ; \
11587 (cd $(HOST_SUBDIR)/gmp && \
11588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11590 "RANLIB=$${RANLIB}" \
11591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11592 pdf) \
11593 || exit 1
11595 @endif gmp
11597 .PHONY: maybe-html-gmp html-gmp
11598 maybe-html-gmp:
11599 @if gmp
11600 maybe-html-gmp: html-gmp
11602 html-gmp: \
11603 configure-gmp
11604 @[ -f ./gmp/Makefile ] || exit 0; \
11605 r=`${PWD_COMMAND}`; export r; \
11606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11607 $(HOST_EXPORTS) \
11608 for flag in $(EXTRA_HOST_FLAGS) ; do \
11609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11610 done; \
11611 echo "Doing html in gmp" ; \
11612 (cd $(HOST_SUBDIR)/gmp && \
11613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11615 "RANLIB=$${RANLIB}" \
11616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11617 html) \
11618 || exit 1
11620 @endif gmp
11622 .PHONY: maybe-TAGS-gmp TAGS-gmp
11623 maybe-TAGS-gmp:
11624 @if gmp
11625 maybe-TAGS-gmp: TAGS-gmp
11627 TAGS-gmp: \
11628 configure-gmp
11629 @[ -f ./gmp/Makefile ] || exit 0; \
11630 r=`${PWD_COMMAND}`; export r; \
11631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11632 $(HOST_EXPORTS) \
11633 for flag in $(EXTRA_HOST_FLAGS) ; do \
11634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11635 done; \
11636 echo "Doing TAGS in gmp" ; \
11637 (cd $(HOST_SUBDIR)/gmp && \
11638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11640 "RANLIB=$${RANLIB}" \
11641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11642 TAGS) \
11643 || exit 1
11645 @endif gmp
11647 .PHONY: maybe-install-info-gmp install-info-gmp
11648 maybe-install-info-gmp:
11649 @if gmp
11650 maybe-install-info-gmp: install-info-gmp
11652 install-info-gmp: \
11653 configure-gmp \
11654 info-gmp
11655 @[ -f ./gmp/Makefile ] || exit 0; \
11656 r=`${PWD_COMMAND}`; export r; \
11657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11658 $(HOST_EXPORTS) \
11659 for flag in $(EXTRA_HOST_FLAGS) ; do \
11660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11661 done; \
11662 echo "Doing install-info in gmp" ; \
11663 (cd $(HOST_SUBDIR)/gmp && \
11664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11666 "RANLIB=$${RANLIB}" \
11667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11668 install-info) \
11669 || exit 1
11671 @endif gmp
11673 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
11674 maybe-install-pdf-gmp:
11675 @if gmp
11676 maybe-install-pdf-gmp: install-pdf-gmp
11678 install-pdf-gmp: \
11679 configure-gmp \
11680 pdf-gmp
11681 @[ -f ./gmp/Makefile ] || exit 0; \
11682 r=`${PWD_COMMAND}`; export r; \
11683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11684 $(HOST_EXPORTS) \
11685 for flag in $(EXTRA_HOST_FLAGS) ; do \
11686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11687 done; \
11688 echo "Doing install-pdf in gmp" ; \
11689 (cd $(HOST_SUBDIR)/gmp && \
11690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11692 "RANLIB=$${RANLIB}" \
11693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11694 install-pdf) \
11695 || exit 1
11697 @endif gmp
11699 .PHONY: maybe-install-html-gmp install-html-gmp
11700 maybe-install-html-gmp:
11701 @if gmp
11702 maybe-install-html-gmp: install-html-gmp
11704 install-html-gmp: \
11705 configure-gmp \
11706 html-gmp
11707 @[ -f ./gmp/Makefile ] || exit 0; \
11708 r=`${PWD_COMMAND}`; export r; \
11709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11710 $(HOST_EXPORTS) \
11711 for flag in $(EXTRA_HOST_FLAGS) ; do \
11712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11713 done; \
11714 echo "Doing install-html in gmp" ; \
11715 (cd $(HOST_SUBDIR)/gmp && \
11716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11718 "RANLIB=$${RANLIB}" \
11719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11720 install-html) \
11721 || exit 1
11723 @endif gmp
11725 .PHONY: maybe-installcheck-gmp installcheck-gmp
11726 maybe-installcheck-gmp:
11727 @if gmp
11728 maybe-installcheck-gmp: installcheck-gmp
11730 installcheck-gmp: \
11731 configure-gmp
11732 @[ -f ./gmp/Makefile ] || exit 0; \
11733 r=`${PWD_COMMAND}`; export r; \
11734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11735 $(HOST_EXPORTS) \
11736 for flag in $(EXTRA_HOST_FLAGS) ; do \
11737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11738 done; \
11739 echo "Doing installcheck in gmp" ; \
11740 (cd $(HOST_SUBDIR)/gmp && \
11741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11743 "RANLIB=$${RANLIB}" \
11744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11745 installcheck) \
11746 || exit 1
11748 @endif gmp
11750 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
11751 maybe-mostlyclean-gmp:
11752 @if gmp
11753 maybe-mostlyclean-gmp: mostlyclean-gmp
11755 mostlyclean-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 mostlyclean 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 mostlyclean) \
11770 || exit 1
11772 @endif gmp
11774 .PHONY: maybe-clean-gmp clean-gmp
11775 maybe-clean-gmp:
11776 @if gmp
11777 maybe-clean-gmp: clean-gmp
11779 clean-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 clean 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 clean) \
11794 || exit 1
11796 @endif gmp
11798 .PHONY: maybe-distclean-gmp distclean-gmp
11799 maybe-distclean-gmp:
11800 @if gmp
11801 maybe-distclean-gmp: distclean-gmp
11803 distclean-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 distclean 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 distclean) \
11818 || exit 1
11820 @endif gmp
11822 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
11823 maybe-maintainer-clean-gmp:
11824 @if gmp
11825 maybe-maintainer-clean-gmp: maintainer-clean-gmp
11827 maintainer-clean-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 maintainer-clean 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 maintainer-clean) \
11842 || exit 1
11844 @endif gmp
11848 .PHONY: configure-mpfr maybe-configure-mpfr
11849 maybe-configure-mpfr:
11850 @if gcc-bootstrap
11851 configure-mpfr: stage_current
11852 @endif gcc-bootstrap
11853 @if mpfr
11854 maybe-configure-mpfr: configure-mpfr
11855 configure-mpfr:
11856 @r=`${PWD_COMMAND}`; export r; \
11857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11858 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11859 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11860 $(HOST_EXPORTS) \
11861 echo Configuring in $(HOST_SUBDIR)/mpfr; \
11862 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
11863 case $(srcdir) in \
11864 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11865 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11866 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11867 esac; \
11868 module_srcdir=mpfr; \
11869 $(SHELL) \
11870 $$s/$$module_srcdir/configure \
11871 --srcdir=$${topdir}/$$module_srcdir \
11872 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11873 --target=${target_alias} --disable-shared @extra_mpfr_configure_flags@ \
11874 || exit 1
11875 @endif mpfr
11879 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
11880 maybe-configure-stage1-mpfr:
11881 @if mpfr-bootstrap
11882 maybe-configure-stage1-mpfr: configure-stage1-mpfr
11883 configure-stage1-mpfr:
11884 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11885 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11886 @r=`${PWD_COMMAND}`; export r; \
11887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11888 TFLAGS="$(STAGE1_TFLAGS)"; \
11889 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11890 $(HOST_EXPORTS) \
11891 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11892 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11893 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11894 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
11895 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11896 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11897 case $(srcdir) in \
11898 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11899 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11900 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11901 esac; \
11902 module_srcdir=mpfr; \
11903 $(SHELL) $$s/$$module_srcdir/configure \
11904 --srcdir=$${topdir}/$$module_srcdir \
11905 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11906 --target=${target_alias} \
11908 $(STAGE1_CONFIGURE_FLAGS) \
11909 --disable-shared @extra_mpfr_configure_flags@
11910 @endif mpfr-bootstrap
11912 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
11913 maybe-configure-stage2-mpfr:
11914 @if mpfr-bootstrap
11915 maybe-configure-stage2-mpfr: configure-stage2-mpfr
11916 configure-stage2-mpfr:
11917 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11918 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11919 @r=`${PWD_COMMAND}`; export r; \
11920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11921 TFLAGS="$(STAGE2_TFLAGS)"; \
11922 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11923 $(HOST_EXPORTS) \
11924 $(POSTSTAGE1_HOST_EXPORTS) \
11925 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11926 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11927 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11928 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
11929 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11930 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11931 case $(srcdir) in \
11932 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11933 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11934 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11935 esac; \
11936 module_srcdir=mpfr; \
11937 $(SHELL) $$s/$$module_srcdir/configure \
11938 --srcdir=$${topdir}/$$module_srcdir \
11939 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11940 --target=${target_alias} \
11941 --with-build-libsubdir=$(HOST_SUBDIR) \
11942 $(STAGE2_CONFIGURE_FLAGS) \
11943 --disable-shared @extra_mpfr_configure_flags@
11944 @endif mpfr-bootstrap
11946 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
11947 maybe-configure-stage3-mpfr:
11948 @if mpfr-bootstrap
11949 maybe-configure-stage3-mpfr: configure-stage3-mpfr
11950 configure-stage3-mpfr:
11951 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11952 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11953 @r=`${PWD_COMMAND}`; export r; \
11954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11955 TFLAGS="$(STAGE3_TFLAGS)"; \
11956 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11957 $(HOST_EXPORTS) \
11958 $(POSTSTAGE1_HOST_EXPORTS) \
11959 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11960 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11961 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11962 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
11963 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11964 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11965 case $(srcdir) in \
11966 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11967 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11968 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11969 esac; \
11970 module_srcdir=mpfr; \
11971 $(SHELL) $$s/$$module_srcdir/configure \
11972 --srcdir=$${topdir}/$$module_srcdir \
11973 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11974 --target=${target_alias} \
11975 --with-build-libsubdir=$(HOST_SUBDIR) \
11976 $(STAGE3_CONFIGURE_FLAGS) \
11977 --disable-shared @extra_mpfr_configure_flags@
11978 @endif mpfr-bootstrap
11980 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
11981 maybe-configure-stage4-mpfr:
11982 @if mpfr-bootstrap
11983 maybe-configure-stage4-mpfr: configure-stage4-mpfr
11984 configure-stage4-mpfr:
11985 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11986 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11987 @r=`${PWD_COMMAND}`; export r; \
11988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11989 TFLAGS="$(STAGE4_TFLAGS)"; \
11990 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11991 $(HOST_EXPORTS) \
11992 $(POSTSTAGE1_HOST_EXPORTS) \
11993 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11994 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11995 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11996 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
11997 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11998 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11999 case $(srcdir) in \
12000 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12001 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
12002 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12003 esac; \
12004 module_srcdir=mpfr; \
12005 $(SHELL) $$s/$$module_srcdir/configure \
12006 --srcdir=$${topdir}/$$module_srcdir \
12007 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12008 --target=${target_alias} \
12009 --with-build-libsubdir=$(HOST_SUBDIR) \
12010 $(STAGE4_CONFIGURE_FLAGS) \
12011 --disable-shared @extra_mpfr_configure_flags@
12012 @endif mpfr-bootstrap
12014 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
12015 maybe-configure-stageprofile-mpfr:
12016 @if mpfr-bootstrap
12017 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
12018 configure-stageprofile-mpfr:
12019 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12020 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
12021 @r=`${PWD_COMMAND}`; export r; \
12022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12023 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12024 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
12025 $(HOST_EXPORTS) \
12026 $(POSTSTAGE1_HOST_EXPORTS) \
12027 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12028 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12029 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12030 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
12031 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
12032 cd $(HOST_SUBDIR)/mpfr || exit 1; \
12033 case $(srcdir) in \
12034 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12035 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
12036 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12037 esac; \
12038 module_srcdir=mpfr; \
12039 $(SHELL) $$s/$$module_srcdir/configure \
12040 --srcdir=$${topdir}/$$module_srcdir \
12041 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12042 --target=${target_alias} \
12043 --with-build-libsubdir=$(HOST_SUBDIR) \
12044 $(STAGEprofile_CONFIGURE_FLAGS) \
12045 --disable-shared @extra_mpfr_configure_flags@
12046 @endif mpfr-bootstrap
12048 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
12049 maybe-configure-stagefeedback-mpfr:
12050 @if mpfr-bootstrap
12051 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
12052 configure-stagefeedback-mpfr:
12053 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12054 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
12055 @r=`${PWD_COMMAND}`; export r; \
12056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12057 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12058 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
12059 $(HOST_EXPORTS) \
12060 $(POSTSTAGE1_HOST_EXPORTS) \
12061 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12062 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12063 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12064 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
12065 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
12066 cd $(HOST_SUBDIR)/mpfr || exit 1; \
12067 case $(srcdir) in \
12068 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12069 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
12070 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12071 esac; \
12072 module_srcdir=mpfr; \
12073 $(SHELL) $$s/$$module_srcdir/configure \
12074 --srcdir=$${topdir}/$$module_srcdir \
12075 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12076 --target=${target_alias} \
12077 --with-build-libsubdir=$(HOST_SUBDIR) \
12078 $(STAGEfeedback_CONFIGURE_FLAGS) \
12079 --disable-shared @extra_mpfr_configure_flags@
12080 @endif mpfr-bootstrap
12086 .PHONY: all-mpfr maybe-all-mpfr
12087 maybe-all-mpfr:
12088 @if gcc-bootstrap
12089 all-mpfr: stage_current
12090 @endif gcc-bootstrap
12091 @if mpfr
12092 TARGET-mpfr=all
12093 maybe-all-mpfr: all-mpfr
12094 all-mpfr: configure-mpfr
12095 @r=`${PWD_COMMAND}`; export r; \
12096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12097 $(HOST_EXPORTS) \
12098 (cd $(HOST_SUBDIR)/mpfr && \
12099 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
12100 $(TARGET-mpfr))
12101 @endif mpfr
12105 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
12106 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
12107 maybe-all-stage1-mpfr:
12108 maybe-clean-stage1-mpfr:
12109 @if mpfr-bootstrap
12110 maybe-all-stage1-mpfr: all-stage1-mpfr
12111 all-stage1: all-stage1-mpfr
12112 TARGET-stage1-mpfr = $(TARGET-mpfr)
12113 all-stage1-mpfr: configure-stage1-mpfr
12114 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12115 @r=`${PWD_COMMAND}`; export r; \
12116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12117 TFLAGS="$(STAGE1_TFLAGS)"; \
12118 $(HOST_EXPORTS) \
12119 cd $(HOST_SUBDIR)/mpfr && \
12120 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12121 CFLAGS="$(STAGE1_CFLAGS)" \
12122 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12123 LIBCFLAGS="$(LIBCFLAGS)" \
12124 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12125 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12126 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12127 $(EXTRA_HOST_FLAGS) \
12128 $(STAGE1_FLAGS_TO_PASS) \
12129 TFLAGS="$(STAGE1_TFLAGS)" \
12130 $(TARGET-stage1-mpfr)
12132 maybe-clean-stage1-mpfr: clean-stage1-mpfr
12133 clean-stage1: clean-stage1-mpfr
12134 clean-stage1-mpfr:
12135 @if [ $(current_stage) = stage1 ]; then \
12136 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12137 else \
12138 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
12139 $(MAKE) stage1-start; \
12140 fi; \
12141 cd $(HOST_SUBDIR)/mpfr && \
12142 $(MAKE) $(EXTRA_HOST_FLAGS) \
12143 $(STAGE1_FLAGS_TO_PASS) clean
12144 @endif mpfr-bootstrap
12147 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
12148 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
12149 maybe-all-stage2-mpfr:
12150 maybe-clean-stage2-mpfr:
12151 @if mpfr-bootstrap
12152 maybe-all-stage2-mpfr: all-stage2-mpfr
12153 all-stage2: all-stage2-mpfr
12154 TARGET-stage2-mpfr = $(TARGET-mpfr)
12155 all-stage2-mpfr: configure-stage2-mpfr
12156 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12157 @r=`${PWD_COMMAND}`; export r; \
12158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12159 TFLAGS="$(STAGE2_TFLAGS)"; \
12160 $(HOST_EXPORTS) \
12161 $(POSTSTAGE1_HOST_EXPORTS) \
12162 cd $(HOST_SUBDIR)/mpfr && \
12163 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12164 CFLAGS="$(STAGE2_CFLAGS)" \
12165 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12166 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12167 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12168 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12169 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12170 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12171 TFLAGS="$(STAGE2_TFLAGS)" \
12172 $(TARGET-stage2-mpfr)
12174 maybe-clean-stage2-mpfr: clean-stage2-mpfr
12175 clean-stage2: clean-stage2-mpfr
12176 clean-stage2-mpfr:
12177 @if [ $(current_stage) = stage2 ]; then \
12178 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12179 else \
12180 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
12181 $(MAKE) stage2-start; \
12182 fi; \
12183 cd $(HOST_SUBDIR)/mpfr && \
12184 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12185 @endif mpfr-bootstrap
12188 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
12189 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
12190 maybe-all-stage3-mpfr:
12191 maybe-clean-stage3-mpfr:
12192 @if mpfr-bootstrap
12193 maybe-all-stage3-mpfr: all-stage3-mpfr
12194 all-stage3: all-stage3-mpfr
12195 TARGET-stage3-mpfr = $(TARGET-mpfr)
12196 all-stage3-mpfr: configure-stage3-mpfr
12197 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12198 @r=`${PWD_COMMAND}`; export r; \
12199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12200 TFLAGS="$(STAGE3_TFLAGS)"; \
12201 $(HOST_EXPORTS) \
12202 $(POSTSTAGE1_HOST_EXPORTS) \
12203 cd $(HOST_SUBDIR)/mpfr && \
12204 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12205 CFLAGS="$(STAGE3_CFLAGS)" \
12206 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12207 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12208 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12209 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12210 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12211 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12212 TFLAGS="$(STAGE3_TFLAGS)" \
12213 $(TARGET-stage3-mpfr)
12215 maybe-clean-stage3-mpfr: clean-stage3-mpfr
12216 clean-stage3: clean-stage3-mpfr
12217 clean-stage3-mpfr:
12218 @if [ $(current_stage) = stage3 ]; then \
12219 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12220 else \
12221 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
12222 $(MAKE) stage3-start; \
12223 fi; \
12224 cd $(HOST_SUBDIR)/mpfr && \
12225 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12226 @endif mpfr-bootstrap
12229 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
12230 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
12231 maybe-all-stage4-mpfr:
12232 maybe-clean-stage4-mpfr:
12233 @if mpfr-bootstrap
12234 maybe-all-stage4-mpfr: all-stage4-mpfr
12235 all-stage4: all-stage4-mpfr
12236 TARGET-stage4-mpfr = $(TARGET-mpfr)
12237 all-stage4-mpfr: configure-stage4-mpfr
12238 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12239 @r=`${PWD_COMMAND}`; export r; \
12240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12241 TFLAGS="$(STAGE4_TFLAGS)"; \
12242 $(HOST_EXPORTS) \
12243 $(POSTSTAGE1_HOST_EXPORTS) \
12244 cd $(HOST_SUBDIR)/mpfr && \
12245 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12246 CFLAGS="$(STAGE4_CFLAGS)" \
12247 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12248 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12249 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12250 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12251 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12252 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12253 TFLAGS="$(STAGE4_TFLAGS)" \
12254 $(TARGET-stage4-mpfr)
12256 maybe-clean-stage4-mpfr: clean-stage4-mpfr
12257 clean-stage4: clean-stage4-mpfr
12258 clean-stage4-mpfr:
12259 @if [ $(current_stage) = stage4 ]; then \
12260 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12261 else \
12262 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
12263 $(MAKE) stage4-start; \
12264 fi; \
12265 cd $(HOST_SUBDIR)/mpfr && \
12266 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12267 @endif mpfr-bootstrap
12270 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
12271 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
12272 maybe-all-stageprofile-mpfr:
12273 maybe-clean-stageprofile-mpfr:
12274 @if mpfr-bootstrap
12275 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
12276 all-stageprofile: all-stageprofile-mpfr
12277 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
12278 all-stageprofile-mpfr: configure-stageprofile-mpfr
12279 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12280 @r=`${PWD_COMMAND}`; export r; \
12281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12282 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12283 $(HOST_EXPORTS) \
12284 $(POSTSTAGE1_HOST_EXPORTS) \
12285 cd $(HOST_SUBDIR)/mpfr && \
12286 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12287 CFLAGS="$(STAGEprofile_CFLAGS)" \
12288 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12289 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12290 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12291 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12292 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12293 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12294 TFLAGS="$(STAGEprofile_TFLAGS)" \
12295 $(TARGET-stageprofile-mpfr)
12297 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
12298 clean-stageprofile: clean-stageprofile-mpfr
12299 clean-stageprofile-mpfr:
12300 @if [ $(current_stage) = stageprofile ]; then \
12301 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12302 else \
12303 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
12304 $(MAKE) stageprofile-start; \
12305 fi; \
12306 cd $(HOST_SUBDIR)/mpfr && \
12307 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12308 @endif mpfr-bootstrap
12311 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
12312 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
12313 maybe-all-stagefeedback-mpfr:
12314 maybe-clean-stagefeedback-mpfr:
12315 @if mpfr-bootstrap
12316 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
12317 all-stagefeedback: all-stagefeedback-mpfr
12318 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
12319 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
12320 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12321 @r=`${PWD_COMMAND}`; export r; \
12322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12323 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12324 $(HOST_EXPORTS) \
12325 $(POSTSTAGE1_HOST_EXPORTS) \
12326 cd $(HOST_SUBDIR)/mpfr && \
12327 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12328 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12329 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12330 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12331 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12332 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12333 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12334 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12335 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12336 $(TARGET-stagefeedback-mpfr)
12338 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
12339 clean-stagefeedback: clean-stagefeedback-mpfr
12340 clean-stagefeedback-mpfr:
12341 @if [ $(current_stage) = stagefeedback ]; then \
12342 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12343 else \
12344 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
12345 $(MAKE) stagefeedback-start; \
12346 fi; \
12347 cd $(HOST_SUBDIR)/mpfr && \
12348 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12349 @endif mpfr-bootstrap
12355 .PHONY: check-mpfr maybe-check-mpfr
12356 maybe-check-mpfr:
12357 @if mpfr
12358 maybe-check-mpfr: check-mpfr
12360 check-mpfr:
12361 @: $(MAKE); $(unstage)
12362 @r=`${PWD_COMMAND}`; export r; \
12363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12364 $(HOST_EXPORTS) \
12365 (cd $(HOST_SUBDIR)/mpfr && \
12366 $(MAKE) $(FLAGS_TO_PASS) check)
12368 @endif mpfr
12370 .PHONY: install-mpfr maybe-install-mpfr
12371 maybe-install-mpfr:
12372 @if mpfr
12373 maybe-install-mpfr: install-mpfr
12375 install-mpfr:
12377 @endif mpfr
12379 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
12380 maybe-install-strip-mpfr:
12381 @if mpfr
12382 maybe-install-strip-mpfr: install-strip-mpfr
12384 install-strip-mpfr:
12386 @endif mpfr
12388 # Other targets (info, dvi, pdf, etc.)
12390 .PHONY: maybe-info-mpfr info-mpfr
12391 maybe-info-mpfr:
12392 @if mpfr
12393 maybe-info-mpfr: info-mpfr
12395 info-mpfr: \
12396 configure-mpfr
12397 @[ -f ./mpfr/Makefile ] || exit 0; \
12398 r=`${PWD_COMMAND}`; export r; \
12399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12400 $(HOST_EXPORTS) \
12401 for flag in $(EXTRA_HOST_FLAGS) ; do \
12402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12403 done; \
12404 echo "Doing info in mpfr" ; \
12405 (cd $(HOST_SUBDIR)/mpfr && \
12406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12408 "RANLIB=$${RANLIB}" \
12409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12410 info) \
12411 || exit 1
12413 @endif mpfr
12415 .PHONY: maybe-dvi-mpfr dvi-mpfr
12416 maybe-dvi-mpfr:
12417 @if mpfr
12418 maybe-dvi-mpfr: dvi-mpfr
12420 dvi-mpfr: \
12421 configure-mpfr
12422 @[ -f ./mpfr/Makefile ] || exit 0; \
12423 r=`${PWD_COMMAND}`; export r; \
12424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12425 $(HOST_EXPORTS) \
12426 for flag in $(EXTRA_HOST_FLAGS) ; do \
12427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12428 done; \
12429 echo "Doing dvi in mpfr" ; \
12430 (cd $(HOST_SUBDIR)/mpfr && \
12431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12433 "RANLIB=$${RANLIB}" \
12434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12435 dvi) \
12436 || exit 1
12438 @endif mpfr
12440 .PHONY: maybe-pdf-mpfr pdf-mpfr
12441 maybe-pdf-mpfr:
12442 @if mpfr
12443 maybe-pdf-mpfr: pdf-mpfr
12445 pdf-mpfr: \
12446 configure-mpfr
12447 @[ -f ./mpfr/Makefile ] || exit 0; \
12448 r=`${PWD_COMMAND}`; export r; \
12449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12450 $(HOST_EXPORTS) \
12451 for flag in $(EXTRA_HOST_FLAGS) ; do \
12452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12453 done; \
12454 echo "Doing pdf in mpfr" ; \
12455 (cd $(HOST_SUBDIR)/mpfr && \
12456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12458 "RANLIB=$${RANLIB}" \
12459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12460 pdf) \
12461 || exit 1
12463 @endif mpfr
12465 .PHONY: maybe-html-mpfr html-mpfr
12466 maybe-html-mpfr:
12467 @if mpfr
12468 maybe-html-mpfr: html-mpfr
12470 html-mpfr: \
12471 configure-mpfr
12472 @[ -f ./mpfr/Makefile ] || exit 0; \
12473 r=`${PWD_COMMAND}`; export r; \
12474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12475 $(HOST_EXPORTS) \
12476 for flag in $(EXTRA_HOST_FLAGS) ; do \
12477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12478 done; \
12479 echo "Doing html in mpfr" ; \
12480 (cd $(HOST_SUBDIR)/mpfr && \
12481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12483 "RANLIB=$${RANLIB}" \
12484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12485 html) \
12486 || exit 1
12488 @endif mpfr
12490 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
12491 maybe-TAGS-mpfr:
12492 @if mpfr
12493 maybe-TAGS-mpfr: TAGS-mpfr
12495 TAGS-mpfr: \
12496 configure-mpfr
12497 @[ -f ./mpfr/Makefile ] || exit 0; \
12498 r=`${PWD_COMMAND}`; export r; \
12499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12500 $(HOST_EXPORTS) \
12501 for flag in $(EXTRA_HOST_FLAGS) ; do \
12502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12503 done; \
12504 echo "Doing TAGS in mpfr" ; \
12505 (cd $(HOST_SUBDIR)/mpfr && \
12506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12508 "RANLIB=$${RANLIB}" \
12509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12510 TAGS) \
12511 || exit 1
12513 @endif mpfr
12515 .PHONY: maybe-install-info-mpfr install-info-mpfr
12516 maybe-install-info-mpfr:
12517 @if mpfr
12518 maybe-install-info-mpfr: install-info-mpfr
12520 install-info-mpfr: \
12521 configure-mpfr \
12522 info-mpfr
12523 @[ -f ./mpfr/Makefile ] || exit 0; \
12524 r=`${PWD_COMMAND}`; export r; \
12525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12526 $(HOST_EXPORTS) \
12527 for flag in $(EXTRA_HOST_FLAGS) ; do \
12528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12529 done; \
12530 echo "Doing install-info in mpfr" ; \
12531 (cd $(HOST_SUBDIR)/mpfr && \
12532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12534 "RANLIB=$${RANLIB}" \
12535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12536 install-info) \
12537 || exit 1
12539 @endif mpfr
12541 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
12542 maybe-install-pdf-mpfr:
12543 @if mpfr
12544 maybe-install-pdf-mpfr: install-pdf-mpfr
12546 install-pdf-mpfr: \
12547 configure-mpfr \
12548 pdf-mpfr
12549 @[ -f ./mpfr/Makefile ] || exit 0; \
12550 r=`${PWD_COMMAND}`; export r; \
12551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12552 $(HOST_EXPORTS) \
12553 for flag in $(EXTRA_HOST_FLAGS) ; do \
12554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12555 done; \
12556 echo "Doing install-pdf in mpfr" ; \
12557 (cd $(HOST_SUBDIR)/mpfr && \
12558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12560 "RANLIB=$${RANLIB}" \
12561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12562 install-pdf) \
12563 || exit 1
12565 @endif mpfr
12567 .PHONY: maybe-install-html-mpfr install-html-mpfr
12568 maybe-install-html-mpfr:
12569 @if mpfr
12570 maybe-install-html-mpfr: install-html-mpfr
12572 install-html-mpfr: \
12573 configure-mpfr \
12574 html-mpfr
12575 @[ -f ./mpfr/Makefile ] || exit 0; \
12576 r=`${PWD_COMMAND}`; export r; \
12577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12578 $(HOST_EXPORTS) \
12579 for flag in $(EXTRA_HOST_FLAGS) ; do \
12580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12581 done; \
12582 echo "Doing install-html in mpfr" ; \
12583 (cd $(HOST_SUBDIR)/mpfr && \
12584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12586 "RANLIB=$${RANLIB}" \
12587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12588 install-html) \
12589 || exit 1
12591 @endif mpfr
12593 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
12594 maybe-installcheck-mpfr:
12595 @if mpfr
12596 maybe-installcheck-mpfr: installcheck-mpfr
12598 installcheck-mpfr: \
12599 configure-mpfr
12600 @[ -f ./mpfr/Makefile ] || exit 0; \
12601 r=`${PWD_COMMAND}`; export r; \
12602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12603 $(HOST_EXPORTS) \
12604 for flag in $(EXTRA_HOST_FLAGS) ; do \
12605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12606 done; \
12607 echo "Doing installcheck in mpfr" ; \
12608 (cd $(HOST_SUBDIR)/mpfr && \
12609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12611 "RANLIB=$${RANLIB}" \
12612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12613 installcheck) \
12614 || exit 1
12616 @endif mpfr
12618 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
12619 maybe-mostlyclean-mpfr:
12620 @if mpfr
12621 maybe-mostlyclean-mpfr: mostlyclean-mpfr
12623 mostlyclean-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 mostlyclean 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 mostlyclean) \
12638 || exit 1
12640 @endif mpfr
12642 .PHONY: maybe-clean-mpfr clean-mpfr
12643 maybe-clean-mpfr:
12644 @if mpfr
12645 maybe-clean-mpfr: clean-mpfr
12647 clean-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 clean 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 clean) \
12662 || exit 1
12664 @endif mpfr
12666 .PHONY: maybe-distclean-mpfr distclean-mpfr
12667 maybe-distclean-mpfr:
12668 @if mpfr
12669 maybe-distclean-mpfr: distclean-mpfr
12671 distclean-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 distclean 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 distclean) \
12686 || exit 1
12688 @endif mpfr
12690 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
12691 maybe-maintainer-clean-mpfr:
12692 @if mpfr
12693 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
12695 maintainer-clean-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 maintainer-clean 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 maintainer-clean) \
12710 || exit 1
12712 @endif mpfr
12716 .PHONY: configure-mpc maybe-configure-mpc
12717 maybe-configure-mpc:
12718 @if gcc-bootstrap
12719 configure-mpc: stage_current
12720 @endif gcc-bootstrap
12721 @if mpc
12722 maybe-configure-mpc: configure-mpc
12723 configure-mpc:
12724 @r=`${PWD_COMMAND}`; export r; \
12725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12726 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12727 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12728 $(HOST_EXPORTS) \
12729 echo Configuring in $(HOST_SUBDIR)/mpc; \
12730 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
12731 case $(srcdir) in \
12732 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12733 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12734 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12735 esac; \
12736 module_srcdir=mpc; \
12737 $(SHELL) \
12738 $$s/$$module_srcdir/configure \
12739 --srcdir=$${topdir}/$$module_srcdir \
12740 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12741 --target=${target_alias} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
12742 || exit 1
12743 @endif mpc
12747 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
12748 maybe-configure-stage1-mpc:
12749 @if mpc-bootstrap
12750 maybe-configure-stage1-mpc: configure-stage1-mpc
12751 configure-stage1-mpc:
12752 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12753 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12754 @r=`${PWD_COMMAND}`; export r; \
12755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12756 TFLAGS="$(STAGE1_TFLAGS)"; \
12757 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12758 $(HOST_EXPORTS) \
12759 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12760 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12761 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12762 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc ; \
12763 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12764 cd $(HOST_SUBDIR)/mpc || exit 1; \
12765 case $(srcdir) in \
12766 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12767 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12768 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12769 esac; \
12770 module_srcdir=mpc; \
12771 $(SHELL) $$s/$$module_srcdir/configure \
12772 --srcdir=$${topdir}/$$module_srcdir \
12773 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12774 --target=${target_alias} \
12776 $(STAGE1_CONFIGURE_FLAGS) \
12777 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12778 @endif mpc-bootstrap
12780 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
12781 maybe-configure-stage2-mpc:
12782 @if mpc-bootstrap
12783 maybe-configure-stage2-mpc: configure-stage2-mpc
12784 configure-stage2-mpc:
12785 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12786 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12787 @r=`${PWD_COMMAND}`; export r; \
12788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12789 TFLAGS="$(STAGE2_TFLAGS)"; \
12790 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12791 $(HOST_EXPORTS) \
12792 $(POSTSTAGE1_HOST_EXPORTS) \
12793 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12794 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12795 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12796 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc ; \
12797 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12798 cd $(HOST_SUBDIR)/mpc || exit 1; \
12799 case $(srcdir) in \
12800 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12801 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12802 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12803 esac; \
12804 module_srcdir=mpc; \
12805 $(SHELL) $$s/$$module_srcdir/configure \
12806 --srcdir=$${topdir}/$$module_srcdir \
12807 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12808 --target=${target_alias} \
12809 --with-build-libsubdir=$(HOST_SUBDIR) \
12810 $(STAGE2_CONFIGURE_FLAGS) \
12811 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12812 @endif mpc-bootstrap
12814 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
12815 maybe-configure-stage3-mpc:
12816 @if mpc-bootstrap
12817 maybe-configure-stage3-mpc: configure-stage3-mpc
12818 configure-stage3-mpc:
12819 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12820 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12821 @r=`${PWD_COMMAND}`; export r; \
12822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12823 TFLAGS="$(STAGE3_TFLAGS)"; \
12824 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12825 $(HOST_EXPORTS) \
12826 $(POSTSTAGE1_HOST_EXPORTS) \
12827 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12828 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12829 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12830 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc ; \
12831 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12832 cd $(HOST_SUBDIR)/mpc || exit 1; \
12833 case $(srcdir) in \
12834 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12835 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12836 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12837 esac; \
12838 module_srcdir=mpc; \
12839 $(SHELL) $$s/$$module_srcdir/configure \
12840 --srcdir=$${topdir}/$$module_srcdir \
12841 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12842 --target=${target_alias} \
12843 --with-build-libsubdir=$(HOST_SUBDIR) \
12844 $(STAGE3_CONFIGURE_FLAGS) \
12845 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12846 @endif mpc-bootstrap
12848 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
12849 maybe-configure-stage4-mpc:
12850 @if mpc-bootstrap
12851 maybe-configure-stage4-mpc: configure-stage4-mpc
12852 configure-stage4-mpc:
12853 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12854 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12855 @r=`${PWD_COMMAND}`; export r; \
12856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12857 TFLAGS="$(STAGE4_TFLAGS)"; \
12858 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12859 $(HOST_EXPORTS) \
12860 $(POSTSTAGE1_HOST_EXPORTS) \
12861 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12862 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12863 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12864 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc ; \
12865 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12866 cd $(HOST_SUBDIR)/mpc || exit 1; \
12867 case $(srcdir) in \
12868 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12869 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12870 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12871 esac; \
12872 module_srcdir=mpc; \
12873 $(SHELL) $$s/$$module_srcdir/configure \
12874 --srcdir=$${topdir}/$$module_srcdir \
12875 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12876 --target=${target_alias} \
12877 --with-build-libsubdir=$(HOST_SUBDIR) \
12878 $(STAGE4_CONFIGURE_FLAGS) \
12879 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12880 @endif mpc-bootstrap
12882 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
12883 maybe-configure-stageprofile-mpc:
12884 @if mpc-bootstrap
12885 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
12886 configure-stageprofile-mpc:
12887 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12888 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12889 @r=`${PWD_COMMAND}`; export r; \
12890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12891 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12892 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12893 $(HOST_EXPORTS) \
12894 $(POSTSTAGE1_HOST_EXPORTS) \
12895 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12896 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12897 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12898 echo Configuring stage profile in $(HOST_SUBDIR)/mpc ; \
12899 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12900 cd $(HOST_SUBDIR)/mpc || exit 1; \
12901 case $(srcdir) in \
12902 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12903 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12904 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12905 esac; \
12906 module_srcdir=mpc; \
12907 $(SHELL) $$s/$$module_srcdir/configure \
12908 --srcdir=$${topdir}/$$module_srcdir \
12909 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12910 --target=${target_alias} \
12911 --with-build-libsubdir=$(HOST_SUBDIR) \
12912 $(STAGEprofile_CONFIGURE_FLAGS) \
12913 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12914 @endif mpc-bootstrap
12916 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
12917 maybe-configure-stagefeedback-mpc:
12918 @if mpc-bootstrap
12919 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
12920 configure-stagefeedback-mpc:
12921 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12922 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12923 @r=`${PWD_COMMAND}`; export r; \
12924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12925 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12926 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12927 $(HOST_EXPORTS) \
12928 $(POSTSTAGE1_HOST_EXPORTS) \
12929 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12930 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12931 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12932 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc ; \
12933 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12934 cd $(HOST_SUBDIR)/mpc || exit 1; \
12935 case $(srcdir) in \
12936 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12937 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12938 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12939 esac; \
12940 module_srcdir=mpc; \
12941 $(SHELL) $$s/$$module_srcdir/configure \
12942 --srcdir=$${topdir}/$$module_srcdir \
12943 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12944 --target=${target_alias} \
12945 --with-build-libsubdir=$(HOST_SUBDIR) \
12946 $(STAGEfeedback_CONFIGURE_FLAGS) \
12947 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12948 @endif mpc-bootstrap
12954 .PHONY: all-mpc maybe-all-mpc
12955 maybe-all-mpc:
12956 @if gcc-bootstrap
12957 all-mpc: stage_current
12958 @endif gcc-bootstrap
12959 @if mpc
12960 TARGET-mpc=all
12961 maybe-all-mpc: all-mpc
12962 all-mpc: configure-mpc
12963 @r=`${PWD_COMMAND}`; export r; \
12964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12965 $(HOST_EXPORTS) \
12966 (cd $(HOST_SUBDIR)/mpc && \
12967 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
12968 $(TARGET-mpc))
12969 @endif mpc
12973 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
12974 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
12975 maybe-all-stage1-mpc:
12976 maybe-clean-stage1-mpc:
12977 @if mpc-bootstrap
12978 maybe-all-stage1-mpc: all-stage1-mpc
12979 all-stage1: all-stage1-mpc
12980 TARGET-stage1-mpc = $(TARGET-mpc)
12981 all-stage1-mpc: configure-stage1-mpc
12982 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12983 @r=`${PWD_COMMAND}`; export r; \
12984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12985 TFLAGS="$(STAGE1_TFLAGS)"; \
12986 $(HOST_EXPORTS) \
12987 cd $(HOST_SUBDIR)/mpc && \
12988 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12989 CFLAGS="$(STAGE1_CFLAGS)" \
12990 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12991 LIBCFLAGS="$(LIBCFLAGS)" \
12992 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12993 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12994 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12995 $(EXTRA_HOST_FLAGS) \
12996 $(STAGE1_FLAGS_TO_PASS) \
12997 TFLAGS="$(STAGE1_TFLAGS)" \
12998 $(TARGET-stage1-mpc)
13000 maybe-clean-stage1-mpc: clean-stage1-mpc
13001 clean-stage1: clean-stage1-mpc
13002 clean-stage1-mpc:
13003 @if [ $(current_stage) = stage1 ]; then \
13004 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13005 else \
13006 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
13007 $(MAKE) stage1-start; \
13008 fi; \
13009 cd $(HOST_SUBDIR)/mpc && \
13010 $(MAKE) $(EXTRA_HOST_FLAGS) \
13011 $(STAGE1_FLAGS_TO_PASS) clean
13012 @endif mpc-bootstrap
13015 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
13016 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
13017 maybe-all-stage2-mpc:
13018 maybe-clean-stage2-mpc:
13019 @if mpc-bootstrap
13020 maybe-all-stage2-mpc: all-stage2-mpc
13021 all-stage2: all-stage2-mpc
13022 TARGET-stage2-mpc = $(TARGET-mpc)
13023 all-stage2-mpc: configure-stage2-mpc
13024 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13025 @r=`${PWD_COMMAND}`; export r; \
13026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13027 TFLAGS="$(STAGE2_TFLAGS)"; \
13028 $(HOST_EXPORTS) \
13029 $(POSTSTAGE1_HOST_EXPORTS) \
13030 cd $(HOST_SUBDIR)/mpc && \
13031 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13032 CFLAGS="$(STAGE2_CFLAGS)" \
13033 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13034 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13035 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13036 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13037 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13038 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13039 TFLAGS="$(STAGE2_TFLAGS)" \
13040 $(TARGET-stage2-mpc)
13042 maybe-clean-stage2-mpc: clean-stage2-mpc
13043 clean-stage2: clean-stage2-mpc
13044 clean-stage2-mpc:
13045 @if [ $(current_stage) = stage2 ]; then \
13046 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13047 else \
13048 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
13049 $(MAKE) stage2-start; \
13050 fi; \
13051 cd $(HOST_SUBDIR)/mpc && \
13052 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13053 @endif mpc-bootstrap
13056 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
13057 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
13058 maybe-all-stage3-mpc:
13059 maybe-clean-stage3-mpc:
13060 @if mpc-bootstrap
13061 maybe-all-stage3-mpc: all-stage3-mpc
13062 all-stage3: all-stage3-mpc
13063 TARGET-stage3-mpc = $(TARGET-mpc)
13064 all-stage3-mpc: configure-stage3-mpc
13065 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13066 @r=`${PWD_COMMAND}`; export r; \
13067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13068 TFLAGS="$(STAGE3_TFLAGS)"; \
13069 $(HOST_EXPORTS) \
13070 $(POSTSTAGE1_HOST_EXPORTS) \
13071 cd $(HOST_SUBDIR)/mpc && \
13072 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13073 CFLAGS="$(STAGE3_CFLAGS)" \
13074 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13075 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13076 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13077 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13078 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13079 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13080 TFLAGS="$(STAGE3_TFLAGS)" \
13081 $(TARGET-stage3-mpc)
13083 maybe-clean-stage3-mpc: clean-stage3-mpc
13084 clean-stage3: clean-stage3-mpc
13085 clean-stage3-mpc:
13086 @if [ $(current_stage) = stage3 ]; then \
13087 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13088 else \
13089 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
13090 $(MAKE) stage3-start; \
13091 fi; \
13092 cd $(HOST_SUBDIR)/mpc && \
13093 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13094 @endif mpc-bootstrap
13097 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
13098 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
13099 maybe-all-stage4-mpc:
13100 maybe-clean-stage4-mpc:
13101 @if mpc-bootstrap
13102 maybe-all-stage4-mpc: all-stage4-mpc
13103 all-stage4: all-stage4-mpc
13104 TARGET-stage4-mpc = $(TARGET-mpc)
13105 all-stage4-mpc: configure-stage4-mpc
13106 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13107 @r=`${PWD_COMMAND}`; export r; \
13108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13109 TFLAGS="$(STAGE4_TFLAGS)"; \
13110 $(HOST_EXPORTS) \
13111 $(POSTSTAGE1_HOST_EXPORTS) \
13112 cd $(HOST_SUBDIR)/mpc && \
13113 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13114 CFLAGS="$(STAGE4_CFLAGS)" \
13115 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13116 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13117 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13118 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13119 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13120 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13121 TFLAGS="$(STAGE4_TFLAGS)" \
13122 $(TARGET-stage4-mpc)
13124 maybe-clean-stage4-mpc: clean-stage4-mpc
13125 clean-stage4: clean-stage4-mpc
13126 clean-stage4-mpc:
13127 @if [ $(current_stage) = stage4 ]; then \
13128 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13129 else \
13130 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
13131 $(MAKE) stage4-start; \
13132 fi; \
13133 cd $(HOST_SUBDIR)/mpc && \
13134 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13135 @endif mpc-bootstrap
13138 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
13139 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
13140 maybe-all-stageprofile-mpc:
13141 maybe-clean-stageprofile-mpc:
13142 @if mpc-bootstrap
13143 maybe-all-stageprofile-mpc: all-stageprofile-mpc
13144 all-stageprofile: all-stageprofile-mpc
13145 TARGET-stageprofile-mpc = $(TARGET-mpc)
13146 all-stageprofile-mpc: configure-stageprofile-mpc
13147 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13148 @r=`${PWD_COMMAND}`; export r; \
13149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13150 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13151 $(HOST_EXPORTS) \
13152 $(POSTSTAGE1_HOST_EXPORTS) \
13153 cd $(HOST_SUBDIR)/mpc && \
13154 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13155 CFLAGS="$(STAGEprofile_CFLAGS)" \
13156 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13157 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13158 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13159 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13160 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13161 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13162 TFLAGS="$(STAGEprofile_TFLAGS)" \
13163 $(TARGET-stageprofile-mpc)
13165 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
13166 clean-stageprofile: clean-stageprofile-mpc
13167 clean-stageprofile-mpc:
13168 @if [ $(current_stage) = stageprofile ]; then \
13169 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13170 else \
13171 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
13172 $(MAKE) stageprofile-start; \
13173 fi; \
13174 cd $(HOST_SUBDIR)/mpc && \
13175 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13176 @endif mpc-bootstrap
13179 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
13180 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
13181 maybe-all-stagefeedback-mpc:
13182 maybe-clean-stagefeedback-mpc:
13183 @if mpc-bootstrap
13184 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
13185 all-stagefeedback: all-stagefeedback-mpc
13186 TARGET-stagefeedback-mpc = $(TARGET-mpc)
13187 all-stagefeedback-mpc: configure-stagefeedback-mpc
13188 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13189 @r=`${PWD_COMMAND}`; export r; \
13190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13191 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13192 $(HOST_EXPORTS) \
13193 $(POSTSTAGE1_HOST_EXPORTS) \
13194 cd $(HOST_SUBDIR)/mpc && \
13195 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13196 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13197 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13198 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13199 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13200 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13201 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13202 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13203 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13204 $(TARGET-stagefeedback-mpc)
13206 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
13207 clean-stagefeedback: clean-stagefeedback-mpc
13208 clean-stagefeedback-mpc:
13209 @if [ $(current_stage) = stagefeedback ]; then \
13210 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13211 else \
13212 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
13213 $(MAKE) stagefeedback-start; \
13214 fi; \
13215 cd $(HOST_SUBDIR)/mpc && \
13216 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13217 @endif mpc-bootstrap
13223 .PHONY: check-mpc maybe-check-mpc
13224 maybe-check-mpc:
13225 @if mpc
13226 maybe-check-mpc: check-mpc
13228 check-mpc:
13229 @: $(MAKE); $(unstage)
13230 @r=`${PWD_COMMAND}`; export r; \
13231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13232 $(HOST_EXPORTS) \
13233 (cd $(HOST_SUBDIR)/mpc && \
13234 $(MAKE) $(FLAGS_TO_PASS) check)
13236 @endif mpc
13238 .PHONY: install-mpc maybe-install-mpc
13239 maybe-install-mpc:
13240 @if mpc
13241 maybe-install-mpc: install-mpc
13243 install-mpc:
13245 @endif mpc
13247 .PHONY: install-strip-mpc maybe-install-strip-mpc
13248 maybe-install-strip-mpc:
13249 @if mpc
13250 maybe-install-strip-mpc: install-strip-mpc
13252 install-strip-mpc:
13254 @endif mpc
13256 # Other targets (info, dvi, pdf, etc.)
13258 .PHONY: maybe-info-mpc info-mpc
13259 maybe-info-mpc:
13260 @if mpc
13261 maybe-info-mpc: info-mpc
13263 info-mpc: \
13264 configure-mpc
13265 @[ -f ./mpc/Makefile ] || exit 0; \
13266 r=`${PWD_COMMAND}`; export r; \
13267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13268 $(HOST_EXPORTS) \
13269 for flag in $(EXTRA_HOST_FLAGS) ; do \
13270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13271 done; \
13272 echo "Doing info in mpc" ; \
13273 (cd $(HOST_SUBDIR)/mpc && \
13274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13276 "RANLIB=$${RANLIB}" \
13277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13278 info) \
13279 || exit 1
13281 @endif mpc
13283 .PHONY: maybe-dvi-mpc dvi-mpc
13284 maybe-dvi-mpc:
13285 @if mpc
13286 maybe-dvi-mpc: dvi-mpc
13288 dvi-mpc: \
13289 configure-mpc
13290 @[ -f ./mpc/Makefile ] || exit 0; \
13291 r=`${PWD_COMMAND}`; export r; \
13292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13293 $(HOST_EXPORTS) \
13294 for flag in $(EXTRA_HOST_FLAGS) ; do \
13295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13296 done; \
13297 echo "Doing dvi in mpc" ; \
13298 (cd $(HOST_SUBDIR)/mpc && \
13299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13301 "RANLIB=$${RANLIB}" \
13302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13303 dvi) \
13304 || exit 1
13306 @endif mpc
13308 .PHONY: maybe-pdf-mpc pdf-mpc
13309 maybe-pdf-mpc:
13310 @if mpc
13311 maybe-pdf-mpc: pdf-mpc
13313 pdf-mpc: \
13314 configure-mpc
13315 @[ -f ./mpc/Makefile ] || exit 0; \
13316 r=`${PWD_COMMAND}`; export r; \
13317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13318 $(HOST_EXPORTS) \
13319 for flag in $(EXTRA_HOST_FLAGS) ; do \
13320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13321 done; \
13322 echo "Doing pdf in mpc" ; \
13323 (cd $(HOST_SUBDIR)/mpc && \
13324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13326 "RANLIB=$${RANLIB}" \
13327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13328 pdf) \
13329 || exit 1
13331 @endif mpc
13333 .PHONY: maybe-html-mpc html-mpc
13334 maybe-html-mpc:
13335 @if mpc
13336 maybe-html-mpc: html-mpc
13338 html-mpc: \
13339 configure-mpc
13340 @[ -f ./mpc/Makefile ] || exit 0; \
13341 r=`${PWD_COMMAND}`; export r; \
13342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13343 $(HOST_EXPORTS) \
13344 for flag in $(EXTRA_HOST_FLAGS) ; do \
13345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13346 done; \
13347 echo "Doing html in mpc" ; \
13348 (cd $(HOST_SUBDIR)/mpc && \
13349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13351 "RANLIB=$${RANLIB}" \
13352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13353 html) \
13354 || exit 1
13356 @endif mpc
13358 .PHONY: maybe-TAGS-mpc TAGS-mpc
13359 maybe-TAGS-mpc:
13360 @if mpc
13361 maybe-TAGS-mpc: TAGS-mpc
13363 TAGS-mpc: \
13364 configure-mpc
13365 @[ -f ./mpc/Makefile ] || exit 0; \
13366 r=`${PWD_COMMAND}`; export r; \
13367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13368 $(HOST_EXPORTS) \
13369 for flag in $(EXTRA_HOST_FLAGS) ; do \
13370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13371 done; \
13372 echo "Doing TAGS in mpc" ; \
13373 (cd $(HOST_SUBDIR)/mpc && \
13374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13376 "RANLIB=$${RANLIB}" \
13377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13378 TAGS) \
13379 || exit 1
13381 @endif mpc
13383 .PHONY: maybe-install-info-mpc install-info-mpc
13384 maybe-install-info-mpc:
13385 @if mpc
13386 maybe-install-info-mpc: install-info-mpc
13388 install-info-mpc: \
13389 configure-mpc \
13390 info-mpc
13391 @[ -f ./mpc/Makefile ] || exit 0; \
13392 r=`${PWD_COMMAND}`; export r; \
13393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13394 $(HOST_EXPORTS) \
13395 for flag in $(EXTRA_HOST_FLAGS) ; do \
13396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13397 done; \
13398 echo "Doing install-info in mpc" ; \
13399 (cd $(HOST_SUBDIR)/mpc && \
13400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13402 "RANLIB=$${RANLIB}" \
13403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13404 install-info) \
13405 || exit 1
13407 @endif mpc
13409 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
13410 maybe-install-pdf-mpc:
13411 @if mpc
13412 maybe-install-pdf-mpc: install-pdf-mpc
13414 install-pdf-mpc: \
13415 configure-mpc \
13416 pdf-mpc
13417 @[ -f ./mpc/Makefile ] || exit 0; \
13418 r=`${PWD_COMMAND}`; export r; \
13419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13420 $(HOST_EXPORTS) \
13421 for flag in $(EXTRA_HOST_FLAGS) ; do \
13422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13423 done; \
13424 echo "Doing install-pdf in mpc" ; \
13425 (cd $(HOST_SUBDIR)/mpc && \
13426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13428 "RANLIB=$${RANLIB}" \
13429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13430 install-pdf) \
13431 || exit 1
13433 @endif mpc
13435 .PHONY: maybe-install-html-mpc install-html-mpc
13436 maybe-install-html-mpc:
13437 @if mpc
13438 maybe-install-html-mpc: install-html-mpc
13440 install-html-mpc: \
13441 configure-mpc \
13442 html-mpc
13443 @[ -f ./mpc/Makefile ] || exit 0; \
13444 r=`${PWD_COMMAND}`; export r; \
13445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13446 $(HOST_EXPORTS) \
13447 for flag in $(EXTRA_HOST_FLAGS) ; do \
13448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13449 done; \
13450 echo "Doing install-html in mpc" ; \
13451 (cd $(HOST_SUBDIR)/mpc && \
13452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13454 "RANLIB=$${RANLIB}" \
13455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13456 install-html) \
13457 || exit 1
13459 @endif mpc
13461 .PHONY: maybe-installcheck-mpc installcheck-mpc
13462 maybe-installcheck-mpc:
13463 @if mpc
13464 maybe-installcheck-mpc: installcheck-mpc
13466 installcheck-mpc: \
13467 configure-mpc
13468 @[ -f ./mpc/Makefile ] || exit 0; \
13469 r=`${PWD_COMMAND}`; export r; \
13470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13471 $(HOST_EXPORTS) \
13472 for flag in $(EXTRA_HOST_FLAGS) ; do \
13473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13474 done; \
13475 echo "Doing installcheck in mpc" ; \
13476 (cd $(HOST_SUBDIR)/mpc && \
13477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13479 "RANLIB=$${RANLIB}" \
13480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13481 installcheck) \
13482 || exit 1
13484 @endif mpc
13486 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
13487 maybe-mostlyclean-mpc:
13488 @if mpc
13489 maybe-mostlyclean-mpc: mostlyclean-mpc
13491 mostlyclean-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 mostlyclean 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 mostlyclean) \
13506 || exit 1
13508 @endif mpc
13510 .PHONY: maybe-clean-mpc clean-mpc
13511 maybe-clean-mpc:
13512 @if mpc
13513 maybe-clean-mpc: clean-mpc
13515 clean-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 clean 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 clean) \
13530 || exit 1
13532 @endif mpc
13534 .PHONY: maybe-distclean-mpc distclean-mpc
13535 maybe-distclean-mpc:
13536 @if mpc
13537 maybe-distclean-mpc: distclean-mpc
13539 distclean-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 distclean 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 distclean) \
13554 || exit 1
13556 @endif mpc
13558 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
13559 maybe-maintainer-clean-mpc:
13560 @if mpc
13561 maybe-maintainer-clean-mpc: maintainer-clean-mpc
13563 maintainer-clean-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 maintainer-clean 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 maintainer-clean) \
13578 || exit 1
13580 @endif mpc
13584 .PHONY: configure-isl maybe-configure-isl
13585 maybe-configure-isl:
13586 @if gcc-bootstrap
13587 configure-isl: stage_current
13588 @endif gcc-bootstrap
13589 @if isl
13590 maybe-configure-isl: configure-isl
13591 configure-isl:
13592 @r=`${PWD_COMMAND}`; export r; \
13593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13594 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13595 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13596 $(HOST_EXPORTS) \
13597 echo Configuring in $(HOST_SUBDIR)/isl; \
13598 cd "$(HOST_SUBDIR)/isl" || exit 1; \
13599 case $(srcdir) in \
13600 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13601 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13602 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13603 esac; \
13604 module_srcdir=isl; \
13605 $(SHELL) \
13606 $$s/$$module_srcdir/configure \
13607 --srcdir=$${topdir}/$$module_srcdir \
13608 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13609 --target=${target_alias} --disable-shared @extra_isl_gmp_configure_flags@ \
13610 || exit 1
13611 @endif isl
13615 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
13616 maybe-configure-stage1-isl:
13617 @if isl-bootstrap
13618 maybe-configure-stage1-isl: configure-stage1-isl
13619 configure-stage1-isl:
13620 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13621 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13622 @r=`${PWD_COMMAND}`; export r; \
13623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13624 TFLAGS="$(STAGE1_TFLAGS)"; \
13625 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13626 $(HOST_EXPORTS) \
13627 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13628 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13629 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13630 echo Configuring stage 1 in $(HOST_SUBDIR)/isl ; \
13631 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13632 cd $(HOST_SUBDIR)/isl || exit 1; \
13633 case $(srcdir) in \
13634 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13635 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13636 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13637 esac; \
13638 module_srcdir=isl; \
13639 $(SHELL) $$s/$$module_srcdir/configure \
13640 --srcdir=$${topdir}/$$module_srcdir \
13641 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13642 --target=${target_alias} \
13644 $(STAGE1_CONFIGURE_FLAGS) \
13645 --disable-shared @extra_isl_gmp_configure_flags@
13646 @endif isl-bootstrap
13648 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
13649 maybe-configure-stage2-isl:
13650 @if isl-bootstrap
13651 maybe-configure-stage2-isl: configure-stage2-isl
13652 configure-stage2-isl:
13653 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13654 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13655 @r=`${PWD_COMMAND}`; export r; \
13656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13657 TFLAGS="$(STAGE2_TFLAGS)"; \
13658 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13659 $(HOST_EXPORTS) \
13660 $(POSTSTAGE1_HOST_EXPORTS) \
13661 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13662 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13663 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13664 echo Configuring stage 2 in $(HOST_SUBDIR)/isl ; \
13665 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13666 cd $(HOST_SUBDIR)/isl || exit 1; \
13667 case $(srcdir) in \
13668 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13669 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13670 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13671 esac; \
13672 module_srcdir=isl; \
13673 $(SHELL) $$s/$$module_srcdir/configure \
13674 --srcdir=$${topdir}/$$module_srcdir \
13675 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13676 --target=${target_alias} \
13677 --with-build-libsubdir=$(HOST_SUBDIR) \
13678 $(STAGE2_CONFIGURE_FLAGS) \
13679 --disable-shared @extra_isl_gmp_configure_flags@
13680 @endif isl-bootstrap
13682 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
13683 maybe-configure-stage3-isl:
13684 @if isl-bootstrap
13685 maybe-configure-stage3-isl: configure-stage3-isl
13686 configure-stage3-isl:
13687 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13688 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13689 @r=`${PWD_COMMAND}`; export r; \
13690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13691 TFLAGS="$(STAGE3_TFLAGS)"; \
13692 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13693 $(HOST_EXPORTS) \
13694 $(POSTSTAGE1_HOST_EXPORTS) \
13695 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13696 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13697 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13698 echo Configuring stage 3 in $(HOST_SUBDIR)/isl ; \
13699 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13700 cd $(HOST_SUBDIR)/isl || exit 1; \
13701 case $(srcdir) in \
13702 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13703 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13704 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13705 esac; \
13706 module_srcdir=isl; \
13707 $(SHELL) $$s/$$module_srcdir/configure \
13708 --srcdir=$${topdir}/$$module_srcdir \
13709 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13710 --target=${target_alias} \
13711 --with-build-libsubdir=$(HOST_SUBDIR) \
13712 $(STAGE3_CONFIGURE_FLAGS) \
13713 --disable-shared @extra_isl_gmp_configure_flags@
13714 @endif isl-bootstrap
13716 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
13717 maybe-configure-stage4-isl:
13718 @if isl-bootstrap
13719 maybe-configure-stage4-isl: configure-stage4-isl
13720 configure-stage4-isl:
13721 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13722 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13723 @r=`${PWD_COMMAND}`; export r; \
13724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13725 TFLAGS="$(STAGE4_TFLAGS)"; \
13726 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13727 $(HOST_EXPORTS) \
13728 $(POSTSTAGE1_HOST_EXPORTS) \
13729 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13730 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13731 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13732 echo Configuring stage 4 in $(HOST_SUBDIR)/isl ; \
13733 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13734 cd $(HOST_SUBDIR)/isl || exit 1; \
13735 case $(srcdir) in \
13736 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13737 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13738 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13739 esac; \
13740 module_srcdir=isl; \
13741 $(SHELL) $$s/$$module_srcdir/configure \
13742 --srcdir=$${topdir}/$$module_srcdir \
13743 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13744 --target=${target_alias} \
13745 --with-build-libsubdir=$(HOST_SUBDIR) \
13746 $(STAGE4_CONFIGURE_FLAGS) \
13747 --disable-shared @extra_isl_gmp_configure_flags@
13748 @endif isl-bootstrap
13750 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
13751 maybe-configure-stageprofile-isl:
13752 @if isl-bootstrap
13753 maybe-configure-stageprofile-isl: configure-stageprofile-isl
13754 configure-stageprofile-isl:
13755 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13756 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13757 @r=`${PWD_COMMAND}`; export r; \
13758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13759 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13760 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13761 $(HOST_EXPORTS) \
13762 $(POSTSTAGE1_HOST_EXPORTS) \
13763 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13764 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13765 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13766 echo Configuring stage profile in $(HOST_SUBDIR)/isl ; \
13767 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13768 cd $(HOST_SUBDIR)/isl || exit 1; \
13769 case $(srcdir) in \
13770 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13771 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13772 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13773 esac; \
13774 module_srcdir=isl; \
13775 $(SHELL) $$s/$$module_srcdir/configure \
13776 --srcdir=$${topdir}/$$module_srcdir \
13777 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13778 --target=${target_alias} \
13779 --with-build-libsubdir=$(HOST_SUBDIR) \
13780 $(STAGEprofile_CONFIGURE_FLAGS) \
13781 --disable-shared @extra_isl_gmp_configure_flags@
13782 @endif isl-bootstrap
13784 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
13785 maybe-configure-stagefeedback-isl:
13786 @if isl-bootstrap
13787 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
13788 configure-stagefeedback-isl:
13789 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13790 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13791 @r=`${PWD_COMMAND}`; export r; \
13792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13793 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13794 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13795 $(HOST_EXPORTS) \
13796 $(POSTSTAGE1_HOST_EXPORTS) \
13797 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13798 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13799 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13800 echo Configuring stage feedback in $(HOST_SUBDIR)/isl ; \
13801 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13802 cd $(HOST_SUBDIR)/isl || exit 1; \
13803 case $(srcdir) in \
13804 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13805 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13806 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13807 esac; \
13808 module_srcdir=isl; \
13809 $(SHELL) $$s/$$module_srcdir/configure \
13810 --srcdir=$${topdir}/$$module_srcdir \
13811 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13812 --target=${target_alias} \
13813 --with-build-libsubdir=$(HOST_SUBDIR) \
13814 $(STAGEfeedback_CONFIGURE_FLAGS) \
13815 --disable-shared @extra_isl_gmp_configure_flags@
13816 @endif isl-bootstrap
13822 .PHONY: all-isl maybe-all-isl
13823 maybe-all-isl:
13824 @if gcc-bootstrap
13825 all-isl: stage_current
13826 @endif gcc-bootstrap
13827 @if isl
13828 TARGET-isl=all
13829 maybe-all-isl: all-isl
13830 all-isl: configure-isl
13831 @r=`${PWD_COMMAND}`; export r; \
13832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13833 $(HOST_EXPORTS) \
13834 (cd $(HOST_SUBDIR)/isl && \
13835 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
13836 $(TARGET-isl))
13837 @endif isl
13841 .PHONY: all-stage1-isl maybe-all-stage1-isl
13842 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
13843 maybe-all-stage1-isl:
13844 maybe-clean-stage1-isl:
13845 @if isl-bootstrap
13846 maybe-all-stage1-isl: all-stage1-isl
13847 all-stage1: all-stage1-isl
13848 TARGET-stage1-isl = $(TARGET-isl)
13849 all-stage1-isl: configure-stage1-isl
13850 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13851 @r=`${PWD_COMMAND}`; export r; \
13852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13853 TFLAGS="$(STAGE1_TFLAGS)"; \
13854 $(HOST_EXPORTS) \
13855 cd $(HOST_SUBDIR)/isl && \
13856 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13857 CFLAGS="$(STAGE1_CFLAGS)" \
13858 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13859 LIBCFLAGS="$(LIBCFLAGS)" \
13860 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13861 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13862 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13863 $(EXTRA_HOST_FLAGS) \
13864 $(STAGE1_FLAGS_TO_PASS) V=1 \
13865 TFLAGS="$(STAGE1_TFLAGS)" \
13866 $(TARGET-stage1-isl)
13868 maybe-clean-stage1-isl: clean-stage1-isl
13869 clean-stage1: clean-stage1-isl
13870 clean-stage1-isl:
13871 @if [ $(current_stage) = stage1 ]; then \
13872 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13873 else \
13874 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
13875 $(MAKE) stage1-start; \
13876 fi; \
13877 cd $(HOST_SUBDIR)/isl && \
13878 $(MAKE) $(EXTRA_HOST_FLAGS) \
13879 $(STAGE1_FLAGS_TO_PASS) V=1 clean
13880 @endif isl-bootstrap
13883 .PHONY: all-stage2-isl maybe-all-stage2-isl
13884 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
13885 maybe-all-stage2-isl:
13886 maybe-clean-stage2-isl:
13887 @if isl-bootstrap
13888 maybe-all-stage2-isl: all-stage2-isl
13889 all-stage2: all-stage2-isl
13890 TARGET-stage2-isl = $(TARGET-isl)
13891 all-stage2-isl: configure-stage2-isl
13892 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13893 @r=`${PWD_COMMAND}`; export r; \
13894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13895 TFLAGS="$(STAGE2_TFLAGS)"; \
13896 $(HOST_EXPORTS) \
13897 $(POSTSTAGE1_HOST_EXPORTS) \
13898 cd $(HOST_SUBDIR)/isl && \
13899 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13900 CFLAGS="$(STAGE2_CFLAGS)" \
13901 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13902 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13903 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13904 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13905 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13906 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13907 TFLAGS="$(STAGE2_TFLAGS)" \
13908 $(TARGET-stage2-isl)
13910 maybe-clean-stage2-isl: clean-stage2-isl
13911 clean-stage2: clean-stage2-isl
13912 clean-stage2-isl:
13913 @if [ $(current_stage) = stage2 ]; then \
13914 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13915 else \
13916 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
13917 $(MAKE) stage2-start; \
13918 fi; \
13919 cd $(HOST_SUBDIR)/isl && \
13920 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13921 @endif isl-bootstrap
13924 .PHONY: all-stage3-isl maybe-all-stage3-isl
13925 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
13926 maybe-all-stage3-isl:
13927 maybe-clean-stage3-isl:
13928 @if isl-bootstrap
13929 maybe-all-stage3-isl: all-stage3-isl
13930 all-stage3: all-stage3-isl
13931 TARGET-stage3-isl = $(TARGET-isl)
13932 all-stage3-isl: configure-stage3-isl
13933 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13934 @r=`${PWD_COMMAND}`; export r; \
13935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13936 TFLAGS="$(STAGE3_TFLAGS)"; \
13937 $(HOST_EXPORTS) \
13938 $(POSTSTAGE1_HOST_EXPORTS) \
13939 cd $(HOST_SUBDIR)/isl && \
13940 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13941 CFLAGS="$(STAGE3_CFLAGS)" \
13942 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13943 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13944 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13945 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13946 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13947 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13948 TFLAGS="$(STAGE3_TFLAGS)" \
13949 $(TARGET-stage3-isl)
13951 maybe-clean-stage3-isl: clean-stage3-isl
13952 clean-stage3: clean-stage3-isl
13953 clean-stage3-isl:
13954 @if [ $(current_stage) = stage3 ]; then \
13955 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13956 else \
13957 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
13958 $(MAKE) stage3-start; \
13959 fi; \
13960 cd $(HOST_SUBDIR)/isl && \
13961 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13962 @endif isl-bootstrap
13965 .PHONY: all-stage4-isl maybe-all-stage4-isl
13966 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
13967 maybe-all-stage4-isl:
13968 maybe-clean-stage4-isl:
13969 @if isl-bootstrap
13970 maybe-all-stage4-isl: all-stage4-isl
13971 all-stage4: all-stage4-isl
13972 TARGET-stage4-isl = $(TARGET-isl)
13973 all-stage4-isl: configure-stage4-isl
13974 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13975 @r=`${PWD_COMMAND}`; export r; \
13976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13977 TFLAGS="$(STAGE4_TFLAGS)"; \
13978 $(HOST_EXPORTS) \
13979 $(POSTSTAGE1_HOST_EXPORTS) \
13980 cd $(HOST_SUBDIR)/isl && \
13981 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13982 CFLAGS="$(STAGE4_CFLAGS)" \
13983 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13984 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13985 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13986 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13987 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13988 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13989 TFLAGS="$(STAGE4_TFLAGS)" \
13990 $(TARGET-stage4-isl)
13992 maybe-clean-stage4-isl: clean-stage4-isl
13993 clean-stage4: clean-stage4-isl
13994 clean-stage4-isl:
13995 @if [ $(current_stage) = stage4 ]; then \
13996 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13997 else \
13998 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
13999 $(MAKE) stage4-start; \
14000 fi; \
14001 cd $(HOST_SUBDIR)/isl && \
14002 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
14003 @endif isl-bootstrap
14006 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
14007 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
14008 maybe-all-stageprofile-isl:
14009 maybe-clean-stageprofile-isl:
14010 @if isl-bootstrap
14011 maybe-all-stageprofile-isl: all-stageprofile-isl
14012 all-stageprofile: all-stageprofile-isl
14013 TARGET-stageprofile-isl = $(TARGET-isl)
14014 all-stageprofile-isl: configure-stageprofile-isl
14015 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14016 @r=`${PWD_COMMAND}`; export r; \
14017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14018 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14019 $(HOST_EXPORTS) \
14020 $(POSTSTAGE1_HOST_EXPORTS) \
14021 cd $(HOST_SUBDIR)/isl && \
14022 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14023 CFLAGS="$(STAGEprofile_CFLAGS)" \
14024 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14025 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14026 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14027 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14028 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14029 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
14030 TFLAGS="$(STAGEprofile_TFLAGS)" \
14031 $(TARGET-stageprofile-isl)
14033 maybe-clean-stageprofile-isl: clean-stageprofile-isl
14034 clean-stageprofile: clean-stageprofile-isl
14035 clean-stageprofile-isl:
14036 @if [ $(current_stage) = stageprofile ]; then \
14037 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
14038 else \
14039 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
14040 $(MAKE) stageprofile-start; \
14041 fi; \
14042 cd $(HOST_SUBDIR)/isl && \
14043 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
14044 @endif isl-bootstrap
14047 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
14048 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
14049 maybe-all-stagefeedback-isl:
14050 maybe-clean-stagefeedback-isl:
14051 @if isl-bootstrap
14052 maybe-all-stagefeedback-isl: all-stagefeedback-isl
14053 all-stagefeedback: all-stagefeedback-isl
14054 TARGET-stagefeedback-isl = $(TARGET-isl)
14055 all-stagefeedback-isl: configure-stagefeedback-isl
14056 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14057 @r=`${PWD_COMMAND}`; export r; \
14058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14059 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14060 $(HOST_EXPORTS) \
14061 $(POSTSTAGE1_HOST_EXPORTS) \
14062 cd $(HOST_SUBDIR)/isl && \
14063 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14064 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14065 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14066 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14067 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14068 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14069 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14070 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
14071 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14072 $(TARGET-stagefeedback-isl)
14074 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
14075 clean-stagefeedback: clean-stagefeedback-isl
14076 clean-stagefeedback-isl:
14077 @if [ $(current_stage) = stagefeedback ]; then \
14078 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
14079 else \
14080 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
14081 $(MAKE) stagefeedback-start; \
14082 fi; \
14083 cd $(HOST_SUBDIR)/isl && \
14084 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
14085 @endif isl-bootstrap
14091 .PHONY: check-isl maybe-check-isl
14092 maybe-check-isl:
14093 @if isl
14094 maybe-check-isl: check-isl
14096 check-isl:
14097 @: $(MAKE); $(unstage)
14098 @r=`${PWD_COMMAND}`; export r; \
14099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14100 $(HOST_EXPORTS) \
14101 (cd $(HOST_SUBDIR)/isl && \
14102 $(MAKE) $(FLAGS_TO_PASS) V=1 check)
14104 @endif isl
14106 .PHONY: install-isl maybe-install-isl
14107 maybe-install-isl:
14108 @if isl
14109 maybe-install-isl: install-isl
14111 install-isl:
14113 @endif isl
14115 .PHONY: install-strip-isl maybe-install-strip-isl
14116 maybe-install-strip-isl:
14117 @if isl
14118 maybe-install-strip-isl: install-strip-isl
14120 install-strip-isl:
14122 @endif isl
14124 # Other targets (info, dvi, pdf, etc.)
14126 .PHONY: maybe-info-isl info-isl
14127 maybe-info-isl:
14128 @if isl
14129 maybe-info-isl: info-isl
14131 info-isl: \
14132 configure-isl
14133 @[ -f ./isl/Makefile ] || exit 0; \
14134 r=`${PWD_COMMAND}`; export r; \
14135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14136 $(HOST_EXPORTS) \
14137 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14139 done; \
14140 echo "Doing info in isl" ; \
14141 (cd $(HOST_SUBDIR)/isl && \
14142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14144 "RANLIB=$${RANLIB}" \
14145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14146 info) \
14147 || exit 1
14149 @endif isl
14151 .PHONY: maybe-dvi-isl dvi-isl
14152 maybe-dvi-isl:
14153 @if isl
14154 maybe-dvi-isl: dvi-isl
14156 dvi-isl: \
14157 configure-isl
14158 @[ -f ./isl/Makefile ] || exit 0; \
14159 r=`${PWD_COMMAND}`; export r; \
14160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14161 $(HOST_EXPORTS) \
14162 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14164 done; \
14165 echo "Doing dvi in isl" ; \
14166 (cd $(HOST_SUBDIR)/isl && \
14167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14169 "RANLIB=$${RANLIB}" \
14170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14171 dvi) \
14172 || exit 1
14174 @endif isl
14176 .PHONY: maybe-pdf-isl pdf-isl
14177 maybe-pdf-isl:
14178 @if isl
14179 maybe-pdf-isl: pdf-isl
14181 pdf-isl: \
14182 configure-isl
14183 @[ -f ./isl/Makefile ] || exit 0; \
14184 r=`${PWD_COMMAND}`; export r; \
14185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14186 $(HOST_EXPORTS) \
14187 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14189 done; \
14190 echo "Doing pdf in isl" ; \
14191 (cd $(HOST_SUBDIR)/isl && \
14192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14194 "RANLIB=$${RANLIB}" \
14195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14196 pdf) \
14197 || exit 1
14199 @endif isl
14201 .PHONY: maybe-html-isl html-isl
14202 maybe-html-isl:
14203 @if isl
14204 maybe-html-isl: html-isl
14206 html-isl: \
14207 configure-isl
14208 @[ -f ./isl/Makefile ] || exit 0; \
14209 r=`${PWD_COMMAND}`; export r; \
14210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14211 $(HOST_EXPORTS) \
14212 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14214 done; \
14215 echo "Doing html in isl" ; \
14216 (cd $(HOST_SUBDIR)/isl && \
14217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14219 "RANLIB=$${RANLIB}" \
14220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14221 html) \
14222 || exit 1
14224 @endif isl
14226 .PHONY: maybe-TAGS-isl TAGS-isl
14227 maybe-TAGS-isl:
14228 @if isl
14229 maybe-TAGS-isl: TAGS-isl
14231 TAGS-isl: \
14232 configure-isl
14233 @[ -f ./isl/Makefile ] || exit 0; \
14234 r=`${PWD_COMMAND}`; export r; \
14235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14236 $(HOST_EXPORTS) \
14237 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14239 done; \
14240 echo "Doing TAGS in isl" ; \
14241 (cd $(HOST_SUBDIR)/isl && \
14242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14244 "RANLIB=$${RANLIB}" \
14245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14246 TAGS) \
14247 || exit 1
14249 @endif isl
14251 .PHONY: maybe-install-info-isl install-info-isl
14252 maybe-install-info-isl:
14253 @if isl
14254 maybe-install-info-isl: install-info-isl
14256 install-info-isl: \
14257 configure-isl \
14258 info-isl
14259 @[ -f ./isl/Makefile ] || exit 0; \
14260 r=`${PWD_COMMAND}`; export r; \
14261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14262 $(HOST_EXPORTS) \
14263 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14265 done; \
14266 echo "Doing install-info in isl" ; \
14267 (cd $(HOST_SUBDIR)/isl && \
14268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14270 "RANLIB=$${RANLIB}" \
14271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14272 install-info) \
14273 || exit 1
14275 @endif isl
14277 .PHONY: maybe-install-pdf-isl install-pdf-isl
14278 maybe-install-pdf-isl:
14279 @if isl
14280 maybe-install-pdf-isl: install-pdf-isl
14282 install-pdf-isl: \
14283 configure-isl \
14284 pdf-isl
14285 @[ -f ./isl/Makefile ] || exit 0; \
14286 r=`${PWD_COMMAND}`; export r; \
14287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14288 $(HOST_EXPORTS) \
14289 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14291 done; \
14292 echo "Doing install-pdf in isl" ; \
14293 (cd $(HOST_SUBDIR)/isl && \
14294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14296 "RANLIB=$${RANLIB}" \
14297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14298 install-pdf) \
14299 || exit 1
14301 @endif isl
14303 .PHONY: maybe-install-html-isl install-html-isl
14304 maybe-install-html-isl:
14305 @if isl
14306 maybe-install-html-isl: install-html-isl
14308 install-html-isl: \
14309 configure-isl \
14310 html-isl
14311 @[ -f ./isl/Makefile ] || exit 0; \
14312 r=`${PWD_COMMAND}`; export r; \
14313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14314 $(HOST_EXPORTS) \
14315 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14317 done; \
14318 echo "Doing install-html in isl" ; \
14319 (cd $(HOST_SUBDIR)/isl && \
14320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14322 "RANLIB=$${RANLIB}" \
14323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14324 install-html) \
14325 || exit 1
14327 @endif isl
14329 .PHONY: maybe-installcheck-isl installcheck-isl
14330 maybe-installcheck-isl:
14331 @if isl
14332 maybe-installcheck-isl: installcheck-isl
14334 installcheck-isl: \
14335 configure-isl
14336 @[ -f ./isl/Makefile ] || exit 0; \
14337 r=`${PWD_COMMAND}`; export r; \
14338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14339 $(HOST_EXPORTS) \
14340 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14342 done; \
14343 echo "Doing installcheck in isl" ; \
14344 (cd $(HOST_SUBDIR)/isl && \
14345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14347 "RANLIB=$${RANLIB}" \
14348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14349 installcheck) \
14350 || exit 1
14352 @endif isl
14354 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
14355 maybe-mostlyclean-isl:
14356 @if isl
14357 maybe-mostlyclean-isl: mostlyclean-isl
14359 mostlyclean-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 mostlyclean 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 mostlyclean) \
14374 || exit 1
14376 @endif isl
14378 .PHONY: maybe-clean-isl clean-isl
14379 maybe-clean-isl:
14380 @if isl
14381 maybe-clean-isl: clean-isl
14383 clean-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 clean 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 clean) \
14398 || exit 1
14400 @endif isl
14402 .PHONY: maybe-distclean-isl distclean-isl
14403 maybe-distclean-isl:
14404 @if isl
14405 maybe-distclean-isl: distclean-isl
14407 distclean-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 distclean 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 distclean) \
14422 || exit 1
14424 @endif isl
14426 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
14427 maybe-maintainer-clean-isl:
14428 @if isl
14429 maybe-maintainer-clean-isl: maintainer-clean-isl
14431 maintainer-clean-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 maintainer-clean 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 maintainer-clean) \
14446 || exit 1
14448 @endif isl
14452 .PHONY: configure-libelf maybe-configure-libelf
14453 maybe-configure-libelf:
14454 @if gcc-bootstrap
14455 configure-libelf: stage_current
14456 @endif gcc-bootstrap
14457 @if libelf
14458 maybe-configure-libelf: configure-libelf
14459 configure-libelf:
14460 @r=`${PWD_COMMAND}`; export r; \
14461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14462 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14463 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14464 $(HOST_EXPORTS) \
14465 echo Configuring in $(HOST_SUBDIR)/libelf; \
14466 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
14467 case $(srcdir) in \
14468 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14469 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14470 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14471 esac; \
14472 module_srcdir=libelf; \
14473 $(SHELL) \
14474 $$s/$$module_srcdir/configure \
14475 --srcdir=$${topdir}/$$module_srcdir \
14476 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14477 --target=${target_alias} --disable-shared \
14478 || exit 1
14479 @endif libelf
14483 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
14484 maybe-configure-stage1-libelf:
14485 @if libelf-bootstrap
14486 maybe-configure-stage1-libelf: configure-stage1-libelf
14487 configure-stage1-libelf:
14488 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14489 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14490 @r=`${PWD_COMMAND}`; export r; \
14491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14492 TFLAGS="$(STAGE1_TFLAGS)"; \
14493 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14494 $(HOST_EXPORTS) \
14495 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14496 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14497 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14498 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf ; \
14499 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14500 cd $(HOST_SUBDIR)/libelf || exit 1; \
14501 case $(srcdir) in \
14502 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14503 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14504 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14505 esac; \
14506 module_srcdir=libelf; \
14507 $(SHELL) $$s/$$module_srcdir/configure \
14508 --srcdir=$${topdir}/$$module_srcdir \
14509 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14510 --target=${target_alias} \
14512 $(STAGE1_CONFIGURE_FLAGS) \
14513 --disable-shared
14514 @endif libelf-bootstrap
14516 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
14517 maybe-configure-stage2-libelf:
14518 @if libelf-bootstrap
14519 maybe-configure-stage2-libelf: configure-stage2-libelf
14520 configure-stage2-libelf:
14521 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14522 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14523 @r=`${PWD_COMMAND}`; export r; \
14524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14525 TFLAGS="$(STAGE2_TFLAGS)"; \
14526 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14527 $(HOST_EXPORTS) \
14528 $(POSTSTAGE1_HOST_EXPORTS) \
14529 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14530 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14531 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14532 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf ; \
14533 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14534 cd $(HOST_SUBDIR)/libelf || exit 1; \
14535 case $(srcdir) in \
14536 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14537 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14538 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14539 esac; \
14540 module_srcdir=libelf; \
14541 $(SHELL) $$s/$$module_srcdir/configure \
14542 --srcdir=$${topdir}/$$module_srcdir \
14543 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14544 --target=${target_alias} \
14545 --with-build-libsubdir=$(HOST_SUBDIR) \
14546 $(STAGE2_CONFIGURE_FLAGS) \
14547 --disable-shared
14548 @endif libelf-bootstrap
14550 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
14551 maybe-configure-stage3-libelf:
14552 @if libelf-bootstrap
14553 maybe-configure-stage3-libelf: configure-stage3-libelf
14554 configure-stage3-libelf:
14555 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14556 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14557 @r=`${PWD_COMMAND}`; export r; \
14558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14559 TFLAGS="$(STAGE3_TFLAGS)"; \
14560 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14561 $(HOST_EXPORTS) \
14562 $(POSTSTAGE1_HOST_EXPORTS) \
14563 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14564 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14565 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14566 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf ; \
14567 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14568 cd $(HOST_SUBDIR)/libelf || exit 1; \
14569 case $(srcdir) in \
14570 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14571 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14572 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14573 esac; \
14574 module_srcdir=libelf; \
14575 $(SHELL) $$s/$$module_srcdir/configure \
14576 --srcdir=$${topdir}/$$module_srcdir \
14577 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14578 --target=${target_alias} \
14579 --with-build-libsubdir=$(HOST_SUBDIR) \
14580 $(STAGE3_CONFIGURE_FLAGS) \
14581 --disable-shared
14582 @endif libelf-bootstrap
14584 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
14585 maybe-configure-stage4-libelf:
14586 @if libelf-bootstrap
14587 maybe-configure-stage4-libelf: configure-stage4-libelf
14588 configure-stage4-libelf:
14589 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14590 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14591 @r=`${PWD_COMMAND}`; export r; \
14592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14593 TFLAGS="$(STAGE4_TFLAGS)"; \
14594 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14595 $(HOST_EXPORTS) \
14596 $(POSTSTAGE1_HOST_EXPORTS) \
14597 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14598 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14599 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14600 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf ; \
14601 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14602 cd $(HOST_SUBDIR)/libelf || exit 1; \
14603 case $(srcdir) in \
14604 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14605 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14606 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14607 esac; \
14608 module_srcdir=libelf; \
14609 $(SHELL) $$s/$$module_srcdir/configure \
14610 --srcdir=$${topdir}/$$module_srcdir \
14611 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14612 --target=${target_alias} \
14613 --with-build-libsubdir=$(HOST_SUBDIR) \
14614 $(STAGE4_CONFIGURE_FLAGS) \
14615 --disable-shared
14616 @endif libelf-bootstrap
14618 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
14619 maybe-configure-stageprofile-libelf:
14620 @if libelf-bootstrap
14621 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
14622 configure-stageprofile-libelf:
14623 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14624 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14625 @r=`${PWD_COMMAND}`; export r; \
14626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14627 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14628 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14629 $(HOST_EXPORTS) \
14630 $(POSTSTAGE1_HOST_EXPORTS) \
14631 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14632 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14633 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14634 echo Configuring stage profile in $(HOST_SUBDIR)/libelf ; \
14635 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14636 cd $(HOST_SUBDIR)/libelf || exit 1; \
14637 case $(srcdir) in \
14638 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14639 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14640 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14641 esac; \
14642 module_srcdir=libelf; \
14643 $(SHELL) $$s/$$module_srcdir/configure \
14644 --srcdir=$${topdir}/$$module_srcdir \
14645 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14646 --target=${target_alias} \
14647 --with-build-libsubdir=$(HOST_SUBDIR) \
14648 $(STAGEprofile_CONFIGURE_FLAGS) \
14649 --disable-shared
14650 @endif libelf-bootstrap
14652 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
14653 maybe-configure-stagefeedback-libelf:
14654 @if libelf-bootstrap
14655 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
14656 configure-stagefeedback-libelf:
14657 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14658 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14659 @r=`${PWD_COMMAND}`; export r; \
14660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14661 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14662 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14663 $(HOST_EXPORTS) \
14664 $(POSTSTAGE1_HOST_EXPORTS) \
14665 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14666 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14667 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14668 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf ; \
14669 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14670 cd $(HOST_SUBDIR)/libelf || exit 1; \
14671 case $(srcdir) in \
14672 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14673 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14674 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14675 esac; \
14676 module_srcdir=libelf; \
14677 $(SHELL) $$s/$$module_srcdir/configure \
14678 --srcdir=$${topdir}/$$module_srcdir \
14679 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14680 --target=${target_alias} \
14681 --with-build-libsubdir=$(HOST_SUBDIR) \
14682 $(STAGEfeedback_CONFIGURE_FLAGS) \
14683 --disable-shared
14684 @endif libelf-bootstrap
14690 .PHONY: all-libelf maybe-all-libelf
14691 maybe-all-libelf:
14692 @if gcc-bootstrap
14693 all-libelf: stage_current
14694 @endif gcc-bootstrap
14695 @if libelf
14696 TARGET-libelf=all
14697 maybe-all-libelf: all-libelf
14698 all-libelf: configure-libelf
14699 @r=`${PWD_COMMAND}`; export r; \
14700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14701 $(HOST_EXPORTS) \
14702 (cd $(HOST_SUBDIR)/libelf && \
14703 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
14704 $(TARGET-libelf))
14705 @endif libelf
14709 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
14710 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
14711 maybe-all-stage1-libelf:
14712 maybe-clean-stage1-libelf:
14713 @if libelf-bootstrap
14714 maybe-all-stage1-libelf: all-stage1-libelf
14715 all-stage1: all-stage1-libelf
14716 TARGET-stage1-libelf = $(TARGET-libelf)
14717 all-stage1-libelf: configure-stage1-libelf
14718 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14719 @r=`${PWD_COMMAND}`; export r; \
14720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14721 TFLAGS="$(STAGE1_TFLAGS)"; \
14722 $(HOST_EXPORTS) \
14723 cd $(HOST_SUBDIR)/libelf && \
14724 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14725 CFLAGS="$(STAGE1_CFLAGS)" \
14726 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14727 LIBCFLAGS="$(LIBCFLAGS)" \
14728 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14729 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14730 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14731 $(EXTRA_HOST_FLAGS) \
14732 $(STAGE1_FLAGS_TO_PASS) \
14733 TFLAGS="$(STAGE1_TFLAGS)" \
14734 $(TARGET-stage1-libelf)
14736 maybe-clean-stage1-libelf: clean-stage1-libelf
14737 clean-stage1: clean-stage1-libelf
14738 clean-stage1-libelf:
14739 @if [ $(current_stage) = stage1 ]; then \
14740 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14741 else \
14742 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
14743 $(MAKE) stage1-start; \
14744 fi; \
14745 cd $(HOST_SUBDIR)/libelf && \
14746 $(MAKE) $(EXTRA_HOST_FLAGS) \
14747 $(STAGE1_FLAGS_TO_PASS) clean
14748 @endif libelf-bootstrap
14751 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
14752 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
14753 maybe-all-stage2-libelf:
14754 maybe-clean-stage2-libelf:
14755 @if libelf-bootstrap
14756 maybe-all-stage2-libelf: all-stage2-libelf
14757 all-stage2: all-stage2-libelf
14758 TARGET-stage2-libelf = $(TARGET-libelf)
14759 all-stage2-libelf: configure-stage2-libelf
14760 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14761 @r=`${PWD_COMMAND}`; export r; \
14762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14763 TFLAGS="$(STAGE2_TFLAGS)"; \
14764 $(HOST_EXPORTS) \
14765 $(POSTSTAGE1_HOST_EXPORTS) \
14766 cd $(HOST_SUBDIR)/libelf && \
14767 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14768 CFLAGS="$(STAGE2_CFLAGS)" \
14769 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14770 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14771 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14772 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14773 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14774 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14775 TFLAGS="$(STAGE2_TFLAGS)" \
14776 $(TARGET-stage2-libelf)
14778 maybe-clean-stage2-libelf: clean-stage2-libelf
14779 clean-stage2: clean-stage2-libelf
14780 clean-stage2-libelf:
14781 @if [ $(current_stage) = stage2 ]; then \
14782 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14783 else \
14784 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
14785 $(MAKE) stage2-start; \
14786 fi; \
14787 cd $(HOST_SUBDIR)/libelf && \
14788 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14789 @endif libelf-bootstrap
14792 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
14793 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
14794 maybe-all-stage3-libelf:
14795 maybe-clean-stage3-libelf:
14796 @if libelf-bootstrap
14797 maybe-all-stage3-libelf: all-stage3-libelf
14798 all-stage3: all-stage3-libelf
14799 TARGET-stage3-libelf = $(TARGET-libelf)
14800 all-stage3-libelf: configure-stage3-libelf
14801 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14802 @r=`${PWD_COMMAND}`; export r; \
14803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14804 TFLAGS="$(STAGE3_TFLAGS)"; \
14805 $(HOST_EXPORTS) \
14806 $(POSTSTAGE1_HOST_EXPORTS) \
14807 cd $(HOST_SUBDIR)/libelf && \
14808 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14809 CFLAGS="$(STAGE3_CFLAGS)" \
14810 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14811 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14812 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14813 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14814 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14815 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14816 TFLAGS="$(STAGE3_TFLAGS)" \
14817 $(TARGET-stage3-libelf)
14819 maybe-clean-stage3-libelf: clean-stage3-libelf
14820 clean-stage3: clean-stage3-libelf
14821 clean-stage3-libelf:
14822 @if [ $(current_stage) = stage3 ]; then \
14823 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14824 else \
14825 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
14826 $(MAKE) stage3-start; \
14827 fi; \
14828 cd $(HOST_SUBDIR)/libelf && \
14829 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14830 @endif libelf-bootstrap
14833 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
14834 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
14835 maybe-all-stage4-libelf:
14836 maybe-clean-stage4-libelf:
14837 @if libelf-bootstrap
14838 maybe-all-stage4-libelf: all-stage4-libelf
14839 all-stage4: all-stage4-libelf
14840 TARGET-stage4-libelf = $(TARGET-libelf)
14841 all-stage4-libelf: configure-stage4-libelf
14842 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14843 @r=`${PWD_COMMAND}`; export r; \
14844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14845 TFLAGS="$(STAGE4_TFLAGS)"; \
14846 $(HOST_EXPORTS) \
14847 $(POSTSTAGE1_HOST_EXPORTS) \
14848 cd $(HOST_SUBDIR)/libelf && \
14849 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14850 CFLAGS="$(STAGE4_CFLAGS)" \
14851 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14852 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14853 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14854 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14855 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14856 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14857 TFLAGS="$(STAGE4_TFLAGS)" \
14858 $(TARGET-stage4-libelf)
14860 maybe-clean-stage4-libelf: clean-stage4-libelf
14861 clean-stage4: clean-stage4-libelf
14862 clean-stage4-libelf:
14863 @if [ $(current_stage) = stage4 ]; then \
14864 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14865 else \
14866 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
14867 $(MAKE) stage4-start; \
14868 fi; \
14869 cd $(HOST_SUBDIR)/libelf && \
14870 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14871 @endif libelf-bootstrap
14874 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
14875 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
14876 maybe-all-stageprofile-libelf:
14877 maybe-clean-stageprofile-libelf:
14878 @if libelf-bootstrap
14879 maybe-all-stageprofile-libelf: all-stageprofile-libelf
14880 all-stageprofile: all-stageprofile-libelf
14881 TARGET-stageprofile-libelf = $(TARGET-libelf)
14882 all-stageprofile-libelf: configure-stageprofile-libelf
14883 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14884 @r=`${PWD_COMMAND}`; export r; \
14885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14886 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14887 $(HOST_EXPORTS) \
14888 $(POSTSTAGE1_HOST_EXPORTS) \
14889 cd $(HOST_SUBDIR)/libelf && \
14890 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14891 CFLAGS="$(STAGEprofile_CFLAGS)" \
14892 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14893 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14894 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14895 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14896 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14897 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14898 TFLAGS="$(STAGEprofile_TFLAGS)" \
14899 $(TARGET-stageprofile-libelf)
14901 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
14902 clean-stageprofile: clean-stageprofile-libelf
14903 clean-stageprofile-libelf:
14904 @if [ $(current_stage) = stageprofile ]; then \
14905 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14906 else \
14907 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
14908 $(MAKE) stageprofile-start; \
14909 fi; \
14910 cd $(HOST_SUBDIR)/libelf && \
14911 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14912 @endif libelf-bootstrap
14915 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
14916 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
14917 maybe-all-stagefeedback-libelf:
14918 maybe-clean-stagefeedback-libelf:
14919 @if libelf-bootstrap
14920 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
14921 all-stagefeedback: all-stagefeedback-libelf
14922 TARGET-stagefeedback-libelf = $(TARGET-libelf)
14923 all-stagefeedback-libelf: configure-stagefeedback-libelf
14924 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14925 @r=`${PWD_COMMAND}`; export r; \
14926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14927 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14928 $(HOST_EXPORTS) \
14929 $(POSTSTAGE1_HOST_EXPORTS) \
14930 cd $(HOST_SUBDIR)/libelf && \
14931 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14932 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14933 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14934 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14935 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14936 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14937 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14938 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14939 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14940 $(TARGET-stagefeedback-libelf)
14942 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
14943 clean-stagefeedback: clean-stagefeedback-libelf
14944 clean-stagefeedback-libelf:
14945 @if [ $(current_stage) = stagefeedback ]; then \
14946 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14947 else \
14948 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
14949 $(MAKE) stagefeedback-start; \
14950 fi; \
14951 cd $(HOST_SUBDIR)/libelf && \
14952 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14953 @endif libelf-bootstrap
14959 .PHONY: check-libelf maybe-check-libelf
14960 maybe-check-libelf:
14961 @if libelf
14962 maybe-check-libelf: check-libelf
14964 check-libelf:
14965 @: $(MAKE); $(unstage)
14966 @r=`${PWD_COMMAND}`; export r; \
14967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14968 $(HOST_EXPORTS) \
14969 (cd $(HOST_SUBDIR)/libelf && \
14970 $(MAKE) $(FLAGS_TO_PASS) check)
14972 @endif libelf
14974 .PHONY: install-libelf maybe-install-libelf
14975 maybe-install-libelf:
14976 @if libelf
14977 maybe-install-libelf: install-libelf
14979 install-libelf:
14981 @endif libelf
14983 .PHONY: install-strip-libelf maybe-install-strip-libelf
14984 maybe-install-strip-libelf:
14985 @if libelf
14986 maybe-install-strip-libelf: install-strip-libelf
14988 install-strip-libelf:
14990 @endif libelf
14992 # Other targets (info, dvi, pdf, etc.)
14994 .PHONY: maybe-info-libelf info-libelf
14995 maybe-info-libelf:
14996 @if libelf
14997 maybe-info-libelf: info-libelf
14999 info-libelf: \
15000 configure-libelf
15001 @[ -f ./libelf/Makefile ] || exit 0; \
15002 r=`${PWD_COMMAND}`; export r; \
15003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15004 $(HOST_EXPORTS) \
15005 for flag in $(EXTRA_HOST_FLAGS) ; do \
15006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15007 done; \
15008 echo "Doing info in libelf" ; \
15009 (cd $(HOST_SUBDIR)/libelf && \
15010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15012 "RANLIB=$${RANLIB}" \
15013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15014 info) \
15015 || exit 1
15017 @endif libelf
15019 .PHONY: maybe-dvi-libelf dvi-libelf
15020 maybe-dvi-libelf:
15021 @if libelf
15022 maybe-dvi-libelf: dvi-libelf
15024 dvi-libelf: \
15025 configure-libelf
15026 @[ -f ./libelf/Makefile ] || exit 0; \
15027 r=`${PWD_COMMAND}`; export r; \
15028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15029 $(HOST_EXPORTS) \
15030 for flag in $(EXTRA_HOST_FLAGS) ; do \
15031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15032 done; \
15033 echo "Doing dvi in libelf" ; \
15034 (cd $(HOST_SUBDIR)/libelf && \
15035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15037 "RANLIB=$${RANLIB}" \
15038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15039 dvi) \
15040 || exit 1
15042 @endif libelf
15044 .PHONY: maybe-pdf-libelf pdf-libelf
15045 maybe-pdf-libelf:
15046 @if libelf
15047 maybe-pdf-libelf: pdf-libelf
15049 pdf-libelf: \
15050 configure-libelf
15051 @[ -f ./libelf/Makefile ] || exit 0; \
15052 r=`${PWD_COMMAND}`; export r; \
15053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15054 $(HOST_EXPORTS) \
15055 for flag in $(EXTRA_HOST_FLAGS) ; do \
15056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15057 done; \
15058 echo "Doing pdf in libelf" ; \
15059 (cd $(HOST_SUBDIR)/libelf && \
15060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15062 "RANLIB=$${RANLIB}" \
15063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15064 pdf) \
15065 || exit 1
15067 @endif libelf
15069 .PHONY: maybe-html-libelf html-libelf
15070 maybe-html-libelf:
15071 @if libelf
15072 maybe-html-libelf: html-libelf
15074 html-libelf: \
15075 configure-libelf
15076 @[ -f ./libelf/Makefile ] || exit 0; \
15077 r=`${PWD_COMMAND}`; export r; \
15078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15079 $(HOST_EXPORTS) \
15080 for flag in $(EXTRA_HOST_FLAGS) ; do \
15081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15082 done; \
15083 echo "Doing html in libelf" ; \
15084 (cd $(HOST_SUBDIR)/libelf && \
15085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15087 "RANLIB=$${RANLIB}" \
15088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15089 html) \
15090 || exit 1
15092 @endif libelf
15094 .PHONY: maybe-TAGS-libelf TAGS-libelf
15095 maybe-TAGS-libelf:
15096 @if libelf
15097 maybe-TAGS-libelf: TAGS-libelf
15099 TAGS-libelf: \
15100 configure-libelf
15101 @[ -f ./libelf/Makefile ] || exit 0; \
15102 r=`${PWD_COMMAND}`; export r; \
15103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15104 $(HOST_EXPORTS) \
15105 for flag in $(EXTRA_HOST_FLAGS) ; do \
15106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15107 done; \
15108 echo "Doing TAGS in libelf" ; \
15109 (cd $(HOST_SUBDIR)/libelf && \
15110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15112 "RANLIB=$${RANLIB}" \
15113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15114 TAGS) \
15115 || exit 1
15117 @endif libelf
15119 .PHONY: maybe-install-info-libelf install-info-libelf
15120 maybe-install-info-libelf:
15121 @if libelf
15122 maybe-install-info-libelf: install-info-libelf
15124 install-info-libelf: \
15125 configure-libelf \
15126 info-libelf
15127 @[ -f ./libelf/Makefile ] || exit 0; \
15128 r=`${PWD_COMMAND}`; export r; \
15129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15130 $(HOST_EXPORTS) \
15131 for flag in $(EXTRA_HOST_FLAGS) ; do \
15132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15133 done; \
15134 echo "Doing install-info in libelf" ; \
15135 (cd $(HOST_SUBDIR)/libelf && \
15136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15138 "RANLIB=$${RANLIB}" \
15139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15140 install-info) \
15141 || exit 1
15143 @endif libelf
15145 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
15146 maybe-install-pdf-libelf:
15147 @if libelf
15148 maybe-install-pdf-libelf: install-pdf-libelf
15150 install-pdf-libelf: \
15151 configure-libelf \
15152 pdf-libelf
15153 @[ -f ./libelf/Makefile ] || exit 0; \
15154 r=`${PWD_COMMAND}`; export r; \
15155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15156 $(HOST_EXPORTS) \
15157 for flag in $(EXTRA_HOST_FLAGS) ; do \
15158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15159 done; \
15160 echo "Doing install-pdf in libelf" ; \
15161 (cd $(HOST_SUBDIR)/libelf && \
15162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15164 "RANLIB=$${RANLIB}" \
15165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15166 install-pdf) \
15167 || exit 1
15169 @endif libelf
15171 .PHONY: maybe-install-html-libelf install-html-libelf
15172 maybe-install-html-libelf:
15173 @if libelf
15174 maybe-install-html-libelf: install-html-libelf
15176 install-html-libelf: \
15177 configure-libelf \
15178 html-libelf
15179 @[ -f ./libelf/Makefile ] || exit 0; \
15180 r=`${PWD_COMMAND}`; export r; \
15181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15182 $(HOST_EXPORTS) \
15183 for flag in $(EXTRA_HOST_FLAGS) ; do \
15184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15185 done; \
15186 echo "Doing install-html in libelf" ; \
15187 (cd $(HOST_SUBDIR)/libelf && \
15188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15190 "RANLIB=$${RANLIB}" \
15191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15192 install-html) \
15193 || exit 1
15195 @endif libelf
15197 .PHONY: maybe-installcheck-libelf installcheck-libelf
15198 maybe-installcheck-libelf:
15199 @if libelf
15200 maybe-installcheck-libelf: installcheck-libelf
15202 installcheck-libelf: \
15203 configure-libelf
15204 @[ -f ./libelf/Makefile ] || exit 0; \
15205 r=`${PWD_COMMAND}`; export r; \
15206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15207 $(HOST_EXPORTS) \
15208 for flag in $(EXTRA_HOST_FLAGS) ; do \
15209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15210 done; \
15211 echo "Doing installcheck in libelf" ; \
15212 (cd $(HOST_SUBDIR)/libelf && \
15213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15215 "RANLIB=$${RANLIB}" \
15216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15217 installcheck) \
15218 || exit 1
15220 @endif libelf
15222 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
15223 maybe-mostlyclean-libelf:
15224 @if libelf
15225 maybe-mostlyclean-libelf: mostlyclean-libelf
15227 mostlyclean-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 mostlyclean 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 mostlyclean) \
15242 || exit 1
15244 @endif libelf
15246 .PHONY: maybe-clean-libelf clean-libelf
15247 maybe-clean-libelf:
15248 @if libelf
15249 maybe-clean-libelf: clean-libelf
15251 clean-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 clean 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 clean) \
15266 || exit 1
15268 @endif libelf
15270 .PHONY: maybe-distclean-libelf distclean-libelf
15271 maybe-distclean-libelf:
15272 @if libelf
15273 maybe-distclean-libelf: distclean-libelf
15275 distclean-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 distclean 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 distclean) \
15290 || exit 1
15292 @endif libelf
15294 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
15295 maybe-maintainer-clean-libelf:
15296 @if libelf
15297 maybe-maintainer-clean-libelf: maintainer-clean-libelf
15299 maintainer-clean-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 maintainer-clean 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 maintainer-clean) \
15314 || exit 1
15316 @endif libelf
15320 .PHONY: configure-gold maybe-configure-gold
15321 maybe-configure-gold:
15322 @if gcc-bootstrap
15323 configure-gold: stage_current
15324 @endif gcc-bootstrap
15325 @if gold
15326 maybe-configure-gold: configure-gold
15327 configure-gold:
15328 @r=`${PWD_COMMAND}`; export r; \
15329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15330 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15331 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15332 $(HOST_EXPORTS) \
15333 echo Configuring in $(HOST_SUBDIR)/gold; \
15334 cd "$(HOST_SUBDIR)/gold" || exit 1; \
15335 case $(srcdir) in \
15336 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15337 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15338 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15339 esac; \
15340 module_srcdir=gold; \
15341 $(SHELL) \
15342 $$s/$$module_srcdir/configure \
15343 --srcdir=$${topdir}/$$module_srcdir \
15344 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15345 --target=${target_alias} \
15346 || exit 1
15347 @endif gold
15351 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
15352 maybe-configure-stage1-gold:
15353 @if gold-bootstrap
15354 maybe-configure-stage1-gold: configure-stage1-gold
15355 configure-stage1-gold:
15356 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15357 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15358 @r=`${PWD_COMMAND}`; export r; \
15359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15360 TFLAGS="$(STAGE1_TFLAGS)"; \
15361 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15362 $(HOST_EXPORTS) \
15363 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15364 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15365 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15366 echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \
15367 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15368 cd $(HOST_SUBDIR)/gold || exit 1; \
15369 case $(srcdir) in \
15370 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15371 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15372 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15373 esac; \
15374 module_srcdir=gold; \
15375 $(SHELL) $$s/$$module_srcdir/configure \
15376 --srcdir=$${topdir}/$$module_srcdir \
15377 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15378 --target=${target_alias} \
15380 $(STAGE1_CONFIGURE_FLAGS)
15381 @endif gold-bootstrap
15383 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
15384 maybe-configure-stage2-gold:
15385 @if gold-bootstrap
15386 maybe-configure-stage2-gold: configure-stage2-gold
15387 configure-stage2-gold:
15388 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15389 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15390 @r=`${PWD_COMMAND}`; export r; \
15391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15392 TFLAGS="$(STAGE2_TFLAGS)"; \
15393 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15394 $(HOST_EXPORTS) \
15395 $(POSTSTAGE1_HOST_EXPORTS) \
15396 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15397 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15398 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15399 echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \
15400 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15401 cd $(HOST_SUBDIR)/gold || exit 1; \
15402 case $(srcdir) in \
15403 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15404 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15405 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15406 esac; \
15407 module_srcdir=gold; \
15408 $(SHELL) $$s/$$module_srcdir/configure \
15409 --srcdir=$${topdir}/$$module_srcdir \
15410 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15411 --target=${target_alias} \
15412 --with-build-libsubdir=$(HOST_SUBDIR) \
15413 $(STAGE2_CONFIGURE_FLAGS)
15414 @endif gold-bootstrap
15416 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
15417 maybe-configure-stage3-gold:
15418 @if gold-bootstrap
15419 maybe-configure-stage3-gold: configure-stage3-gold
15420 configure-stage3-gold:
15421 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15422 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15423 @r=`${PWD_COMMAND}`; export r; \
15424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15425 TFLAGS="$(STAGE3_TFLAGS)"; \
15426 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15427 $(HOST_EXPORTS) \
15428 $(POSTSTAGE1_HOST_EXPORTS) \
15429 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15430 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15431 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15432 echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \
15433 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15434 cd $(HOST_SUBDIR)/gold || exit 1; \
15435 case $(srcdir) in \
15436 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15437 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15438 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15439 esac; \
15440 module_srcdir=gold; \
15441 $(SHELL) $$s/$$module_srcdir/configure \
15442 --srcdir=$${topdir}/$$module_srcdir \
15443 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15444 --target=${target_alias} \
15445 --with-build-libsubdir=$(HOST_SUBDIR) \
15446 $(STAGE3_CONFIGURE_FLAGS)
15447 @endif gold-bootstrap
15449 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
15450 maybe-configure-stage4-gold:
15451 @if gold-bootstrap
15452 maybe-configure-stage4-gold: configure-stage4-gold
15453 configure-stage4-gold:
15454 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15455 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15456 @r=`${PWD_COMMAND}`; export r; \
15457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15458 TFLAGS="$(STAGE4_TFLAGS)"; \
15459 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15460 $(HOST_EXPORTS) \
15461 $(POSTSTAGE1_HOST_EXPORTS) \
15462 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15463 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15464 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15465 echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \
15466 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15467 cd $(HOST_SUBDIR)/gold || exit 1; \
15468 case $(srcdir) in \
15469 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15470 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15471 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15472 esac; \
15473 module_srcdir=gold; \
15474 $(SHELL) $$s/$$module_srcdir/configure \
15475 --srcdir=$${topdir}/$$module_srcdir \
15476 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15477 --target=${target_alias} \
15478 --with-build-libsubdir=$(HOST_SUBDIR) \
15479 $(STAGE4_CONFIGURE_FLAGS)
15480 @endif gold-bootstrap
15482 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
15483 maybe-configure-stageprofile-gold:
15484 @if gold-bootstrap
15485 maybe-configure-stageprofile-gold: configure-stageprofile-gold
15486 configure-stageprofile-gold:
15487 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15488 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15489 @r=`${PWD_COMMAND}`; export r; \
15490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15491 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15492 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15493 $(HOST_EXPORTS) \
15494 $(POSTSTAGE1_HOST_EXPORTS) \
15495 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15496 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15497 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15498 echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \
15499 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15500 cd $(HOST_SUBDIR)/gold || exit 1; \
15501 case $(srcdir) in \
15502 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15503 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15504 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15505 esac; \
15506 module_srcdir=gold; \
15507 $(SHELL) $$s/$$module_srcdir/configure \
15508 --srcdir=$${topdir}/$$module_srcdir \
15509 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15510 --target=${target_alias} \
15511 --with-build-libsubdir=$(HOST_SUBDIR) \
15512 $(STAGEprofile_CONFIGURE_FLAGS)
15513 @endif gold-bootstrap
15515 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
15516 maybe-configure-stagefeedback-gold:
15517 @if gold-bootstrap
15518 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
15519 configure-stagefeedback-gold:
15520 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15521 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15522 @r=`${PWD_COMMAND}`; export r; \
15523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15524 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15525 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15526 $(HOST_EXPORTS) \
15527 $(POSTSTAGE1_HOST_EXPORTS) \
15528 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15529 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15530 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15531 echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \
15532 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15533 cd $(HOST_SUBDIR)/gold || exit 1; \
15534 case $(srcdir) in \
15535 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15536 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15537 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15538 esac; \
15539 module_srcdir=gold; \
15540 $(SHELL) $$s/$$module_srcdir/configure \
15541 --srcdir=$${topdir}/$$module_srcdir \
15542 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15543 --target=${target_alias} \
15544 --with-build-libsubdir=$(HOST_SUBDIR) \
15545 $(STAGEfeedback_CONFIGURE_FLAGS)
15546 @endif gold-bootstrap
15552 .PHONY: all-gold maybe-all-gold
15553 maybe-all-gold:
15554 @if gcc-bootstrap
15555 all-gold: stage_current
15556 @endif gcc-bootstrap
15557 @if gold
15558 TARGET-gold=all
15559 maybe-all-gold: all-gold
15560 all-gold: configure-gold
15561 @r=`${PWD_COMMAND}`; export r; \
15562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15563 $(HOST_EXPORTS) \
15564 (cd $(HOST_SUBDIR)/gold && \
15565 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
15566 $(TARGET-gold))
15567 @endif gold
15571 .PHONY: all-stage1-gold maybe-all-stage1-gold
15572 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
15573 maybe-all-stage1-gold:
15574 maybe-clean-stage1-gold:
15575 @if gold-bootstrap
15576 maybe-all-stage1-gold: all-stage1-gold
15577 all-stage1: all-stage1-gold
15578 TARGET-stage1-gold = $(TARGET-gold)
15579 all-stage1-gold: configure-stage1-gold
15580 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15581 @r=`${PWD_COMMAND}`; export r; \
15582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15583 TFLAGS="$(STAGE1_TFLAGS)"; \
15584 $(HOST_EXPORTS) \
15585 cd $(HOST_SUBDIR)/gold && \
15586 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15587 CFLAGS="$(STAGE1_CFLAGS)" \
15588 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15589 LIBCFLAGS="$(LIBCFLAGS)" \
15590 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15591 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15592 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15593 $(EXTRA_HOST_FLAGS) \
15594 $(STAGE1_FLAGS_TO_PASS) \
15595 TFLAGS="$(STAGE1_TFLAGS)" \
15596 $(TARGET-stage1-gold)
15598 maybe-clean-stage1-gold: clean-stage1-gold
15599 clean-stage1: clean-stage1-gold
15600 clean-stage1-gold:
15601 @if [ $(current_stage) = stage1 ]; then \
15602 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15603 else \
15604 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
15605 $(MAKE) stage1-start; \
15606 fi; \
15607 cd $(HOST_SUBDIR)/gold && \
15608 $(MAKE) $(EXTRA_HOST_FLAGS) \
15609 $(STAGE1_FLAGS_TO_PASS) clean
15610 @endif gold-bootstrap
15613 .PHONY: all-stage2-gold maybe-all-stage2-gold
15614 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
15615 maybe-all-stage2-gold:
15616 maybe-clean-stage2-gold:
15617 @if gold-bootstrap
15618 maybe-all-stage2-gold: all-stage2-gold
15619 all-stage2: all-stage2-gold
15620 TARGET-stage2-gold = $(TARGET-gold)
15621 all-stage2-gold: configure-stage2-gold
15622 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15623 @r=`${PWD_COMMAND}`; export r; \
15624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15625 TFLAGS="$(STAGE2_TFLAGS)"; \
15626 $(HOST_EXPORTS) \
15627 $(POSTSTAGE1_HOST_EXPORTS) \
15628 cd $(HOST_SUBDIR)/gold && \
15629 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15630 CFLAGS="$(STAGE2_CFLAGS)" \
15631 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15632 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15633 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15634 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15635 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15636 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15637 TFLAGS="$(STAGE2_TFLAGS)" \
15638 $(TARGET-stage2-gold)
15640 maybe-clean-stage2-gold: clean-stage2-gold
15641 clean-stage2: clean-stage2-gold
15642 clean-stage2-gold:
15643 @if [ $(current_stage) = stage2 ]; then \
15644 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15645 else \
15646 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
15647 $(MAKE) stage2-start; \
15648 fi; \
15649 cd $(HOST_SUBDIR)/gold && \
15650 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15651 @endif gold-bootstrap
15654 .PHONY: all-stage3-gold maybe-all-stage3-gold
15655 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
15656 maybe-all-stage3-gold:
15657 maybe-clean-stage3-gold:
15658 @if gold-bootstrap
15659 maybe-all-stage3-gold: all-stage3-gold
15660 all-stage3: all-stage3-gold
15661 TARGET-stage3-gold = $(TARGET-gold)
15662 all-stage3-gold: configure-stage3-gold
15663 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15664 @r=`${PWD_COMMAND}`; export r; \
15665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15666 TFLAGS="$(STAGE3_TFLAGS)"; \
15667 $(HOST_EXPORTS) \
15668 $(POSTSTAGE1_HOST_EXPORTS) \
15669 cd $(HOST_SUBDIR)/gold && \
15670 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15671 CFLAGS="$(STAGE3_CFLAGS)" \
15672 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15673 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15674 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15675 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15676 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15677 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15678 TFLAGS="$(STAGE3_TFLAGS)" \
15679 $(TARGET-stage3-gold)
15681 maybe-clean-stage3-gold: clean-stage3-gold
15682 clean-stage3: clean-stage3-gold
15683 clean-stage3-gold:
15684 @if [ $(current_stage) = stage3 ]; then \
15685 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15686 else \
15687 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
15688 $(MAKE) stage3-start; \
15689 fi; \
15690 cd $(HOST_SUBDIR)/gold && \
15691 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15692 @endif gold-bootstrap
15695 .PHONY: all-stage4-gold maybe-all-stage4-gold
15696 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
15697 maybe-all-stage4-gold:
15698 maybe-clean-stage4-gold:
15699 @if gold-bootstrap
15700 maybe-all-stage4-gold: all-stage4-gold
15701 all-stage4: all-stage4-gold
15702 TARGET-stage4-gold = $(TARGET-gold)
15703 all-stage4-gold: configure-stage4-gold
15704 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15705 @r=`${PWD_COMMAND}`; export r; \
15706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15707 TFLAGS="$(STAGE4_TFLAGS)"; \
15708 $(HOST_EXPORTS) \
15709 $(POSTSTAGE1_HOST_EXPORTS) \
15710 cd $(HOST_SUBDIR)/gold && \
15711 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15712 CFLAGS="$(STAGE4_CFLAGS)" \
15713 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15714 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15715 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15716 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15717 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15718 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15719 TFLAGS="$(STAGE4_TFLAGS)" \
15720 $(TARGET-stage4-gold)
15722 maybe-clean-stage4-gold: clean-stage4-gold
15723 clean-stage4: clean-stage4-gold
15724 clean-stage4-gold:
15725 @if [ $(current_stage) = stage4 ]; then \
15726 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15727 else \
15728 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
15729 $(MAKE) stage4-start; \
15730 fi; \
15731 cd $(HOST_SUBDIR)/gold && \
15732 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15733 @endif gold-bootstrap
15736 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
15737 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
15738 maybe-all-stageprofile-gold:
15739 maybe-clean-stageprofile-gold:
15740 @if gold-bootstrap
15741 maybe-all-stageprofile-gold: all-stageprofile-gold
15742 all-stageprofile: all-stageprofile-gold
15743 TARGET-stageprofile-gold = $(TARGET-gold)
15744 all-stageprofile-gold: configure-stageprofile-gold
15745 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15746 @r=`${PWD_COMMAND}`; export r; \
15747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15748 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15749 $(HOST_EXPORTS) \
15750 $(POSTSTAGE1_HOST_EXPORTS) \
15751 cd $(HOST_SUBDIR)/gold && \
15752 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15753 CFLAGS="$(STAGEprofile_CFLAGS)" \
15754 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15755 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15756 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15757 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15758 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15759 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15760 TFLAGS="$(STAGEprofile_TFLAGS)" \
15761 $(TARGET-stageprofile-gold)
15763 maybe-clean-stageprofile-gold: clean-stageprofile-gold
15764 clean-stageprofile: clean-stageprofile-gold
15765 clean-stageprofile-gold:
15766 @if [ $(current_stage) = stageprofile ]; then \
15767 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15768 else \
15769 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
15770 $(MAKE) stageprofile-start; \
15771 fi; \
15772 cd $(HOST_SUBDIR)/gold && \
15773 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15774 @endif gold-bootstrap
15777 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
15778 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
15779 maybe-all-stagefeedback-gold:
15780 maybe-clean-stagefeedback-gold:
15781 @if gold-bootstrap
15782 maybe-all-stagefeedback-gold: all-stagefeedback-gold
15783 all-stagefeedback: all-stagefeedback-gold
15784 TARGET-stagefeedback-gold = $(TARGET-gold)
15785 all-stagefeedback-gold: configure-stagefeedback-gold
15786 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15787 @r=`${PWD_COMMAND}`; export r; \
15788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15789 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15790 $(HOST_EXPORTS) \
15791 $(POSTSTAGE1_HOST_EXPORTS) \
15792 cd $(HOST_SUBDIR)/gold && \
15793 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15794 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15795 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15796 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15797 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15798 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15799 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15800 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15801 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15802 $(TARGET-stagefeedback-gold)
15804 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
15805 clean-stagefeedback: clean-stagefeedback-gold
15806 clean-stagefeedback-gold:
15807 @if [ $(current_stage) = stagefeedback ]; then \
15808 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15809 else \
15810 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
15811 $(MAKE) stagefeedback-start; \
15812 fi; \
15813 cd $(HOST_SUBDIR)/gold && \
15814 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15815 @endif gold-bootstrap
15821 .PHONY: check-gold maybe-check-gold
15822 maybe-check-gold:
15823 @if gold
15824 maybe-check-gold: check-gold
15826 check-gold:
15827 @: $(MAKE); $(unstage)
15828 @r=`${PWD_COMMAND}`; export r; \
15829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15830 $(HOST_EXPORTS) \
15831 (cd $(HOST_SUBDIR)/gold && \
15832 $(MAKE) $(FLAGS_TO_PASS) check)
15834 @endif gold
15836 .PHONY: install-gold maybe-install-gold
15837 maybe-install-gold:
15838 @if gold
15839 maybe-install-gold: install-gold
15841 install-gold: installdirs
15842 @: $(MAKE); $(unstage)
15843 @r=`${PWD_COMMAND}`; export r; \
15844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15845 $(HOST_EXPORTS) \
15846 (cd $(HOST_SUBDIR)/gold && \
15847 $(MAKE) $(FLAGS_TO_PASS) install)
15849 @endif gold
15851 .PHONY: install-strip-gold maybe-install-strip-gold
15852 maybe-install-strip-gold:
15853 @if gold
15854 maybe-install-strip-gold: install-strip-gold
15856 install-strip-gold: installdirs
15857 @: $(MAKE); $(unstage)
15858 @r=`${PWD_COMMAND}`; export r; \
15859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15860 $(HOST_EXPORTS) \
15861 (cd $(HOST_SUBDIR)/gold && \
15862 $(MAKE) $(FLAGS_TO_PASS) install-strip)
15864 @endif gold
15866 # Other targets (info, dvi, pdf, etc.)
15868 .PHONY: maybe-info-gold info-gold
15869 maybe-info-gold:
15870 @if gold
15871 maybe-info-gold: info-gold
15873 info-gold: \
15874 configure-gold
15875 @[ -f ./gold/Makefile ] || exit 0; \
15876 r=`${PWD_COMMAND}`; export r; \
15877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15878 $(HOST_EXPORTS) \
15879 for flag in $(EXTRA_HOST_FLAGS) ; do \
15880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15881 done; \
15882 echo "Doing info in gold" ; \
15883 (cd $(HOST_SUBDIR)/gold && \
15884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15886 "RANLIB=$${RANLIB}" \
15887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15888 info) \
15889 || exit 1
15891 @endif gold
15893 .PHONY: maybe-dvi-gold dvi-gold
15894 maybe-dvi-gold:
15895 @if gold
15896 maybe-dvi-gold: dvi-gold
15898 dvi-gold: \
15899 configure-gold
15900 @[ -f ./gold/Makefile ] || exit 0; \
15901 r=`${PWD_COMMAND}`; export r; \
15902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15903 $(HOST_EXPORTS) \
15904 for flag in $(EXTRA_HOST_FLAGS) ; do \
15905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15906 done; \
15907 echo "Doing dvi in gold" ; \
15908 (cd $(HOST_SUBDIR)/gold && \
15909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15911 "RANLIB=$${RANLIB}" \
15912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15913 dvi) \
15914 || exit 1
15916 @endif gold
15918 .PHONY: maybe-pdf-gold pdf-gold
15919 maybe-pdf-gold:
15920 @if gold
15921 maybe-pdf-gold: pdf-gold
15923 pdf-gold: \
15924 configure-gold
15925 @[ -f ./gold/Makefile ] || exit 0; \
15926 r=`${PWD_COMMAND}`; export r; \
15927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15928 $(HOST_EXPORTS) \
15929 for flag in $(EXTRA_HOST_FLAGS) ; do \
15930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15931 done; \
15932 echo "Doing pdf in gold" ; \
15933 (cd $(HOST_SUBDIR)/gold && \
15934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15936 "RANLIB=$${RANLIB}" \
15937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15938 pdf) \
15939 || exit 1
15941 @endif gold
15943 .PHONY: maybe-html-gold html-gold
15944 maybe-html-gold:
15945 @if gold
15946 maybe-html-gold: html-gold
15948 html-gold: \
15949 configure-gold
15950 @[ -f ./gold/Makefile ] || exit 0; \
15951 r=`${PWD_COMMAND}`; export r; \
15952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15953 $(HOST_EXPORTS) \
15954 for flag in $(EXTRA_HOST_FLAGS) ; do \
15955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15956 done; \
15957 echo "Doing html in gold" ; \
15958 (cd $(HOST_SUBDIR)/gold && \
15959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15961 "RANLIB=$${RANLIB}" \
15962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15963 html) \
15964 || exit 1
15966 @endif gold
15968 .PHONY: maybe-TAGS-gold TAGS-gold
15969 maybe-TAGS-gold:
15970 @if gold
15971 maybe-TAGS-gold: TAGS-gold
15973 TAGS-gold: \
15974 configure-gold
15975 @[ -f ./gold/Makefile ] || exit 0; \
15976 r=`${PWD_COMMAND}`; export r; \
15977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15978 $(HOST_EXPORTS) \
15979 for flag in $(EXTRA_HOST_FLAGS) ; do \
15980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15981 done; \
15982 echo "Doing TAGS in gold" ; \
15983 (cd $(HOST_SUBDIR)/gold && \
15984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15986 "RANLIB=$${RANLIB}" \
15987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15988 TAGS) \
15989 || exit 1
15991 @endif gold
15993 .PHONY: maybe-install-info-gold install-info-gold
15994 maybe-install-info-gold:
15995 @if gold
15996 maybe-install-info-gold: install-info-gold
15998 install-info-gold: \
15999 configure-gold \
16000 info-gold
16001 @[ -f ./gold/Makefile ] || exit 0; \
16002 r=`${PWD_COMMAND}`; export r; \
16003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16004 $(HOST_EXPORTS) \
16005 for flag in $(EXTRA_HOST_FLAGS) ; do \
16006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16007 done; \
16008 echo "Doing install-info in gold" ; \
16009 (cd $(HOST_SUBDIR)/gold && \
16010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16012 "RANLIB=$${RANLIB}" \
16013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16014 install-info) \
16015 || exit 1
16017 @endif gold
16019 .PHONY: maybe-install-pdf-gold install-pdf-gold
16020 maybe-install-pdf-gold:
16021 @if gold
16022 maybe-install-pdf-gold: install-pdf-gold
16024 install-pdf-gold: \
16025 configure-gold \
16026 pdf-gold
16027 @[ -f ./gold/Makefile ] || exit 0; \
16028 r=`${PWD_COMMAND}`; export r; \
16029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16030 $(HOST_EXPORTS) \
16031 for flag in $(EXTRA_HOST_FLAGS) ; do \
16032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16033 done; \
16034 echo "Doing install-pdf in gold" ; \
16035 (cd $(HOST_SUBDIR)/gold && \
16036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16038 "RANLIB=$${RANLIB}" \
16039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16040 install-pdf) \
16041 || exit 1
16043 @endif gold
16045 .PHONY: maybe-install-html-gold install-html-gold
16046 maybe-install-html-gold:
16047 @if gold
16048 maybe-install-html-gold: install-html-gold
16050 install-html-gold: \
16051 configure-gold \
16052 html-gold
16053 @[ -f ./gold/Makefile ] || exit 0; \
16054 r=`${PWD_COMMAND}`; export r; \
16055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16056 $(HOST_EXPORTS) \
16057 for flag in $(EXTRA_HOST_FLAGS) ; do \
16058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16059 done; \
16060 echo "Doing install-html in gold" ; \
16061 (cd $(HOST_SUBDIR)/gold && \
16062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16064 "RANLIB=$${RANLIB}" \
16065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16066 install-html) \
16067 || exit 1
16069 @endif gold
16071 .PHONY: maybe-installcheck-gold installcheck-gold
16072 maybe-installcheck-gold:
16073 @if gold
16074 maybe-installcheck-gold: installcheck-gold
16076 installcheck-gold: \
16077 configure-gold
16078 @[ -f ./gold/Makefile ] || exit 0; \
16079 r=`${PWD_COMMAND}`; export r; \
16080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16081 $(HOST_EXPORTS) \
16082 for flag in $(EXTRA_HOST_FLAGS) ; do \
16083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16084 done; \
16085 echo "Doing installcheck in gold" ; \
16086 (cd $(HOST_SUBDIR)/gold && \
16087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16089 "RANLIB=$${RANLIB}" \
16090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16091 installcheck) \
16092 || exit 1
16094 @endif gold
16096 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
16097 maybe-mostlyclean-gold:
16098 @if gold
16099 maybe-mostlyclean-gold: mostlyclean-gold
16101 mostlyclean-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 mostlyclean 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 mostlyclean) \
16116 || exit 1
16118 @endif gold
16120 .PHONY: maybe-clean-gold clean-gold
16121 maybe-clean-gold:
16122 @if gold
16123 maybe-clean-gold: clean-gold
16125 clean-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 clean 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 clean) \
16140 || exit 1
16142 @endif gold
16144 .PHONY: maybe-distclean-gold distclean-gold
16145 maybe-distclean-gold:
16146 @if gold
16147 maybe-distclean-gold: distclean-gold
16149 distclean-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 distclean 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 distclean) \
16164 || exit 1
16166 @endif gold
16168 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
16169 maybe-maintainer-clean-gold:
16170 @if gold
16171 maybe-maintainer-clean-gold: maintainer-clean-gold
16173 maintainer-clean-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 maintainer-clean 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 maintainer-clean) \
16188 || exit 1
16190 @endif gold
16194 .PHONY: configure-gprof maybe-configure-gprof
16195 maybe-configure-gprof:
16196 @if gcc-bootstrap
16197 configure-gprof: stage_current
16198 @endif gcc-bootstrap
16199 @if gprof
16200 maybe-configure-gprof: configure-gprof
16201 configure-gprof:
16202 @: $(MAKE); $(unstage)
16203 @r=`${PWD_COMMAND}`; export r; \
16204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16205 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
16206 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
16207 $(HOST_EXPORTS) \
16208 echo Configuring in $(HOST_SUBDIR)/gprof; \
16209 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
16210 case $(srcdir) in \
16211 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16212 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
16213 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16214 esac; \
16215 module_srcdir=gprof; \
16216 $(SHELL) \
16217 $$s/$$module_srcdir/configure \
16218 --srcdir=$${topdir}/$$module_srcdir \
16219 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16220 --target=${target_alias} \
16221 || exit 1
16222 @endif gprof
16228 .PHONY: all-gprof maybe-all-gprof
16229 maybe-all-gprof:
16230 @if gcc-bootstrap
16231 all-gprof: stage_current
16232 @endif gcc-bootstrap
16233 @if gprof
16234 TARGET-gprof=all
16235 maybe-all-gprof: all-gprof
16236 all-gprof: configure-gprof
16237 @: $(MAKE); $(unstage)
16238 @r=`${PWD_COMMAND}`; export r; \
16239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16240 $(HOST_EXPORTS) \
16241 (cd $(HOST_SUBDIR)/gprof && \
16242 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
16243 $(TARGET-gprof))
16244 @endif gprof
16249 .PHONY: check-gprof maybe-check-gprof
16250 maybe-check-gprof:
16251 @if gprof
16252 maybe-check-gprof: check-gprof
16254 check-gprof:
16255 @: $(MAKE); $(unstage)
16256 @r=`${PWD_COMMAND}`; export r; \
16257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16258 $(HOST_EXPORTS) \
16259 (cd $(HOST_SUBDIR)/gprof && \
16260 $(MAKE) $(FLAGS_TO_PASS) check)
16262 @endif gprof
16264 .PHONY: install-gprof maybe-install-gprof
16265 maybe-install-gprof:
16266 @if gprof
16267 maybe-install-gprof: install-gprof
16269 install-gprof: installdirs
16270 @: $(MAKE); $(unstage)
16271 @r=`${PWD_COMMAND}`; export r; \
16272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16273 $(HOST_EXPORTS) \
16274 (cd $(HOST_SUBDIR)/gprof && \
16275 $(MAKE) $(FLAGS_TO_PASS) install)
16277 @endif gprof
16279 .PHONY: install-strip-gprof maybe-install-strip-gprof
16280 maybe-install-strip-gprof:
16281 @if gprof
16282 maybe-install-strip-gprof: install-strip-gprof
16284 install-strip-gprof: installdirs
16285 @: $(MAKE); $(unstage)
16286 @r=`${PWD_COMMAND}`; export r; \
16287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16288 $(HOST_EXPORTS) \
16289 (cd $(HOST_SUBDIR)/gprof && \
16290 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16292 @endif gprof
16294 # Other targets (info, dvi, pdf, etc.)
16296 .PHONY: maybe-info-gprof info-gprof
16297 maybe-info-gprof:
16298 @if gprof
16299 maybe-info-gprof: info-gprof
16301 info-gprof: \
16302 configure-gprof
16303 @: $(MAKE); $(unstage)
16304 @[ -f ./gprof/Makefile ] || exit 0; \
16305 r=`${PWD_COMMAND}`; export r; \
16306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16307 $(HOST_EXPORTS) \
16308 for flag in $(EXTRA_HOST_FLAGS) ; do \
16309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16310 done; \
16311 echo "Doing info in gprof" ; \
16312 (cd $(HOST_SUBDIR)/gprof && \
16313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16315 "RANLIB=$${RANLIB}" \
16316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16317 info) \
16318 || exit 1
16320 @endif gprof
16322 .PHONY: maybe-dvi-gprof dvi-gprof
16323 maybe-dvi-gprof:
16324 @if gprof
16325 maybe-dvi-gprof: dvi-gprof
16327 dvi-gprof: \
16328 configure-gprof
16329 @: $(MAKE); $(unstage)
16330 @[ -f ./gprof/Makefile ] || exit 0; \
16331 r=`${PWD_COMMAND}`; export r; \
16332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16333 $(HOST_EXPORTS) \
16334 for flag in $(EXTRA_HOST_FLAGS) ; do \
16335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16336 done; \
16337 echo "Doing dvi in gprof" ; \
16338 (cd $(HOST_SUBDIR)/gprof && \
16339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16341 "RANLIB=$${RANLIB}" \
16342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16343 dvi) \
16344 || exit 1
16346 @endif gprof
16348 .PHONY: maybe-pdf-gprof pdf-gprof
16349 maybe-pdf-gprof:
16350 @if gprof
16351 maybe-pdf-gprof: pdf-gprof
16353 pdf-gprof: \
16354 configure-gprof
16355 @: $(MAKE); $(unstage)
16356 @[ -f ./gprof/Makefile ] || exit 0; \
16357 r=`${PWD_COMMAND}`; export r; \
16358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16359 $(HOST_EXPORTS) \
16360 for flag in $(EXTRA_HOST_FLAGS) ; do \
16361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16362 done; \
16363 echo "Doing pdf in gprof" ; \
16364 (cd $(HOST_SUBDIR)/gprof && \
16365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16367 "RANLIB=$${RANLIB}" \
16368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16369 pdf) \
16370 || exit 1
16372 @endif gprof
16374 .PHONY: maybe-html-gprof html-gprof
16375 maybe-html-gprof:
16376 @if gprof
16377 maybe-html-gprof: html-gprof
16379 html-gprof: \
16380 configure-gprof
16381 @: $(MAKE); $(unstage)
16382 @[ -f ./gprof/Makefile ] || exit 0; \
16383 r=`${PWD_COMMAND}`; export r; \
16384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16385 $(HOST_EXPORTS) \
16386 for flag in $(EXTRA_HOST_FLAGS) ; do \
16387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16388 done; \
16389 echo "Doing html in gprof" ; \
16390 (cd $(HOST_SUBDIR)/gprof && \
16391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16393 "RANLIB=$${RANLIB}" \
16394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16395 html) \
16396 || exit 1
16398 @endif gprof
16400 .PHONY: maybe-TAGS-gprof TAGS-gprof
16401 maybe-TAGS-gprof:
16402 @if gprof
16403 maybe-TAGS-gprof: TAGS-gprof
16405 TAGS-gprof: \
16406 configure-gprof
16407 @: $(MAKE); $(unstage)
16408 @[ -f ./gprof/Makefile ] || exit 0; \
16409 r=`${PWD_COMMAND}`; export r; \
16410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16411 $(HOST_EXPORTS) \
16412 for flag in $(EXTRA_HOST_FLAGS) ; do \
16413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16414 done; \
16415 echo "Doing TAGS in gprof" ; \
16416 (cd $(HOST_SUBDIR)/gprof && \
16417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16419 "RANLIB=$${RANLIB}" \
16420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16421 TAGS) \
16422 || exit 1
16424 @endif gprof
16426 .PHONY: maybe-install-info-gprof install-info-gprof
16427 maybe-install-info-gprof:
16428 @if gprof
16429 maybe-install-info-gprof: install-info-gprof
16431 install-info-gprof: \
16432 configure-gprof \
16433 info-gprof
16434 @: $(MAKE); $(unstage)
16435 @[ -f ./gprof/Makefile ] || exit 0; \
16436 r=`${PWD_COMMAND}`; export r; \
16437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16438 $(HOST_EXPORTS) \
16439 for flag in $(EXTRA_HOST_FLAGS) ; do \
16440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16441 done; \
16442 echo "Doing install-info in gprof" ; \
16443 (cd $(HOST_SUBDIR)/gprof && \
16444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16446 "RANLIB=$${RANLIB}" \
16447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16448 install-info) \
16449 || exit 1
16451 @endif gprof
16453 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
16454 maybe-install-pdf-gprof:
16455 @if gprof
16456 maybe-install-pdf-gprof: install-pdf-gprof
16458 install-pdf-gprof: \
16459 configure-gprof \
16460 pdf-gprof
16461 @: $(MAKE); $(unstage)
16462 @[ -f ./gprof/Makefile ] || exit 0; \
16463 r=`${PWD_COMMAND}`; export r; \
16464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16465 $(HOST_EXPORTS) \
16466 for flag in $(EXTRA_HOST_FLAGS) ; do \
16467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16468 done; \
16469 echo "Doing install-pdf in gprof" ; \
16470 (cd $(HOST_SUBDIR)/gprof && \
16471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16473 "RANLIB=$${RANLIB}" \
16474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16475 install-pdf) \
16476 || exit 1
16478 @endif gprof
16480 .PHONY: maybe-install-html-gprof install-html-gprof
16481 maybe-install-html-gprof:
16482 @if gprof
16483 maybe-install-html-gprof: install-html-gprof
16485 install-html-gprof: \
16486 configure-gprof \
16487 html-gprof
16488 @: $(MAKE); $(unstage)
16489 @[ -f ./gprof/Makefile ] || exit 0; \
16490 r=`${PWD_COMMAND}`; export r; \
16491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16492 $(HOST_EXPORTS) \
16493 for flag in $(EXTRA_HOST_FLAGS) ; do \
16494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16495 done; \
16496 echo "Doing install-html in gprof" ; \
16497 (cd $(HOST_SUBDIR)/gprof && \
16498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16500 "RANLIB=$${RANLIB}" \
16501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16502 install-html) \
16503 || exit 1
16505 @endif gprof
16507 .PHONY: maybe-installcheck-gprof installcheck-gprof
16508 maybe-installcheck-gprof:
16509 @if gprof
16510 maybe-installcheck-gprof: installcheck-gprof
16512 installcheck-gprof: \
16513 configure-gprof
16514 @: $(MAKE); $(unstage)
16515 @[ -f ./gprof/Makefile ] || exit 0; \
16516 r=`${PWD_COMMAND}`; export r; \
16517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16518 $(HOST_EXPORTS) \
16519 for flag in $(EXTRA_HOST_FLAGS) ; do \
16520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16521 done; \
16522 echo "Doing installcheck in gprof" ; \
16523 (cd $(HOST_SUBDIR)/gprof && \
16524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16526 "RANLIB=$${RANLIB}" \
16527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16528 installcheck) \
16529 || exit 1
16531 @endif gprof
16533 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
16534 maybe-mostlyclean-gprof:
16535 @if gprof
16536 maybe-mostlyclean-gprof: mostlyclean-gprof
16538 mostlyclean-gprof:
16539 @: $(MAKE); $(unstage)
16540 @[ -f ./gprof/Makefile ] || exit 0; \
16541 r=`${PWD_COMMAND}`; export r; \
16542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16543 $(HOST_EXPORTS) \
16544 for flag in $(EXTRA_HOST_FLAGS) ; do \
16545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16546 done; \
16547 echo "Doing mostlyclean in gprof" ; \
16548 (cd $(HOST_SUBDIR)/gprof && \
16549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16551 "RANLIB=$${RANLIB}" \
16552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16553 mostlyclean) \
16554 || exit 1
16556 @endif gprof
16558 .PHONY: maybe-clean-gprof clean-gprof
16559 maybe-clean-gprof:
16560 @if gprof
16561 maybe-clean-gprof: clean-gprof
16563 clean-gprof:
16564 @: $(MAKE); $(unstage)
16565 @[ -f ./gprof/Makefile ] || exit 0; \
16566 r=`${PWD_COMMAND}`; export r; \
16567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16568 $(HOST_EXPORTS) \
16569 for flag in $(EXTRA_HOST_FLAGS) ; do \
16570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16571 done; \
16572 echo "Doing clean in gprof" ; \
16573 (cd $(HOST_SUBDIR)/gprof && \
16574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16576 "RANLIB=$${RANLIB}" \
16577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16578 clean) \
16579 || exit 1
16581 @endif gprof
16583 .PHONY: maybe-distclean-gprof distclean-gprof
16584 maybe-distclean-gprof:
16585 @if gprof
16586 maybe-distclean-gprof: distclean-gprof
16588 distclean-gprof:
16589 @: $(MAKE); $(unstage)
16590 @[ -f ./gprof/Makefile ] || exit 0; \
16591 r=`${PWD_COMMAND}`; export r; \
16592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16593 $(HOST_EXPORTS) \
16594 for flag in $(EXTRA_HOST_FLAGS) ; do \
16595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16596 done; \
16597 echo "Doing distclean in gprof" ; \
16598 (cd $(HOST_SUBDIR)/gprof && \
16599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16601 "RANLIB=$${RANLIB}" \
16602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16603 distclean) \
16604 || exit 1
16606 @endif gprof
16608 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
16609 maybe-maintainer-clean-gprof:
16610 @if gprof
16611 maybe-maintainer-clean-gprof: maintainer-clean-gprof
16613 maintainer-clean-gprof:
16614 @: $(MAKE); $(unstage)
16615 @[ -f ./gprof/Makefile ] || exit 0; \
16616 r=`${PWD_COMMAND}`; export r; \
16617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16618 $(HOST_EXPORTS) \
16619 for flag in $(EXTRA_HOST_FLAGS) ; do \
16620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16621 done; \
16622 echo "Doing maintainer-clean in gprof" ; \
16623 (cd $(HOST_SUBDIR)/gprof && \
16624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16626 "RANLIB=$${RANLIB}" \
16627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16628 maintainer-clean) \
16629 || exit 1
16631 @endif gprof
16635 .PHONY: configure-intl maybe-configure-intl
16636 maybe-configure-intl:
16637 @if gcc-bootstrap
16638 configure-intl: stage_current
16639 @endif gcc-bootstrap
16640 @if intl
16641 maybe-configure-intl: configure-intl
16642 configure-intl:
16643 @r=`${PWD_COMMAND}`; export r; \
16644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16645 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16646 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16647 $(HOST_EXPORTS) \
16648 echo Configuring in $(HOST_SUBDIR)/intl; \
16649 cd "$(HOST_SUBDIR)/intl" || exit 1; \
16650 case $(srcdir) in \
16651 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16652 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16653 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16654 esac; \
16655 module_srcdir=intl; \
16656 $(SHELL) \
16657 $$s/$$module_srcdir/configure \
16658 --srcdir=$${topdir}/$$module_srcdir \
16659 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16660 --target=${target_alias} \
16661 || exit 1
16662 @endif intl
16666 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
16667 maybe-configure-stage1-intl:
16668 @if intl-bootstrap
16669 maybe-configure-stage1-intl: configure-stage1-intl
16670 configure-stage1-intl:
16671 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16672 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16673 @r=`${PWD_COMMAND}`; export r; \
16674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16675 TFLAGS="$(STAGE1_TFLAGS)"; \
16676 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16677 $(HOST_EXPORTS) \
16678 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16679 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16680 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16681 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
16682 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16683 cd $(HOST_SUBDIR)/intl || exit 1; \
16684 case $(srcdir) in \
16685 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16686 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16687 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16688 esac; \
16689 module_srcdir=intl; \
16690 $(SHELL) $$s/$$module_srcdir/configure \
16691 --srcdir=$${topdir}/$$module_srcdir \
16692 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16693 --target=${target_alias} \
16695 $(STAGE1_CONFIGURE_FLAGS)
16696 @endif intl-bootstrap
16698 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
16699 maybe-configure-stage2-intl:
16700 @if intl-bootstrap
16701 maybe-configure-stage2-intl: configure-stage2-intl
16702 configure-stage2-intl:
16703 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16704 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16705 @r=`${PWD_COMMAND}`; export r; \
16706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16707 TFLAGS="$(STAGE2_TFLAGS)"; \
16708 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16709 $(HOST_EXPORTS) \
16710 $(POSTSTAGE1_HOST_EXPORTS) \
16711 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16712 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16713 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16714 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
16715 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16716 cd $(HOST_SUBDIR)/intl || exit 1; \
16717 case $(srcdir) in \
16718 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16719 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16720 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16721 esac; \
16722 module_srcdir=intl; \
16723 $(SHELL) $$s/$$module_srcdir/configure \
16724 --srcdir=$${topdir}/$$module_srcdir \
16725 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16726 --target=${target_alias} \
16727 --with-build-libsubdir=$(HOST_SUBDIR) \
16728 $(STAGE2_CONFIGURE_FLAGS)
16729 @endif intl-bootstrap
16731 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
16732 maybe-configure-stage3-intl:
16733 @if intl-bootstrap
16734 maybe-configure-stage3-intl: configure-stage3-intl
16735 configure-stage3-intl:
16736 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16737 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16738 @r=`${PWD_COMMAND}`; export r; \
16739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16740 TFLAGS="$(STAGE3_TFLAGS)"; \
16741 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16742 $(HOST_EXPORTS) \
16743 $(POSTSTAGE1_HOST_EXPORTS) \
16744 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
16745 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
16746 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
16747 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
16748 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16749 cd $(HOST_SUBDIR)/intl || exit 1; \
16750 case $(srcdir) in \
16751 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16752 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16753 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16754 esac; \
16755 module_srcdir=intl; \
16756 $(SHELL) $$s/$$module_srcdir/configure \
16757 --srcdir=$${topdir}/$$module_srcdir \
16758 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16759 --target=${target_alias} \
16760 --with-build-libsubdir=$(HOST_SUBDIR) \
16761 $(STAGE3_CONFIGURE_FLAGS)
16762 @endif intl-bootstrap
16764 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
16765 maybe-configure-stage4-intl:
16766 @if intl-bootstrap
16767 maybe-configure-stage4-intl: configure-stage4-intl
16768 configure-stage4-intl:
16769 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16770 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16771 @r=`${PWD_COMMAND}`; export r; \
16772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16773 TFLAGS="$(STAGE4_TFLAGS)"; \
16774 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16775 $(HOST_EXPORTS) \
16776 $(POSTSTAGE1_HOST_EXPORTS) \
16777 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
16778 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
16779 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
16780 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
16781 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16782 cd $(HOST_SUBDIR)/intl || exit 1; \
16783 case $(srcdir) in \
16784 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16785 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16786 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16787 esac; \
16788 module_srcdir=intl; \
16789 $(SHELL) $$s/$$module_srcdir/configure \
16790 --srcdir=$${topdir}/$$module_srcdir \
16791 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16792 --target=${target_alias} \
16793 --with-build-libsubdir=$(HOST_SUBDIR) \
16794 $(STAGE4_CONFIGURE_FLAGS)
16795 @endif intl-bootstrap
16797 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
16798 maybe-configure-stageprofile-intl:
16799 @if intl-bootstrap
16800 maybe-configure-stageprofile-intl: configure-stageprofile-intl
16801 configure-stageprofile-intl:
16802 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16803 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16804 @r=`${PWD_COMMAND}`; export r; \
16805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16806 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16807 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16808 $(HOST_EXPORTS) \
16809 $(POSTSTAGE1_HOST_EXPORTS) \
16810 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
16811 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
16812 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
16813 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
16814 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16815 cd $(HOST_SUBDIR)/intl || exit 1; \
16816 case $(srcdir) in \
16817 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16818 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16819 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16820 esac; \
16821 module_srcdir=intl; \
16822 $(SHELL) $$s/$$module_srcdir/configure \
16823 --srcdir=$${topdir}/$$module_srcdir \
16824 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16825 --target=${target_alias} \
16826 --with-build-libsubdir=$(HOST_SUBDIR) \
16827 $(STAGEprofile_CONFIGURE_FLAGS)
16828 @endif intl-bootstrap
16830 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
16831 maybe-configure-stagefeedback-intl:
16832 @if intl-bootstrap
16833 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
16834 configure-stagefeedback-intl:
16835 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16836 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16837 @r=`${PWD_COMMAND}`; export r; \
16838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16839 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16840 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16841 $(HOST_EXPORTS) \
16842 $(POSTSTAGE1_HOST_EXPORTS) \
16843 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
16844 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
16845 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
16846 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
16847 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16848 cd $(HOST_SUBDIR)/intl || exit 1; \
16849 case $(srcdir) in \
16850 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16851 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16852 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16853 esac; \
16854 module_srcdir=intl; \
16855 $(SHELL) $$s/$$module_srcdir/configure \
16856 --srcdir=$${topdir}/$$module_srcdir \
16857 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16858 --target=${target_alias} \
16859 --with-build-libsubdir=$(HOST_SUBDIR) \
16860 $(STAGEfeedback_CONFIGURE_FLAGS)
16861 @endif intl-bootstrap
16867 .PHONY: all-intl maybe-all-intl
16868 maybe-all-intl:
16869 @if gcc-bootstrap
16870 all-intl: stage_current
16871 @endif gcc-bootstrap
16872 @if intl
16873 TARGET-intl=all
16874 maybe-all-intl: all-intl
16875 all-intl: configure-intl
16876 @r=`${PWD_COMMAND}`; export r; \
16877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16878 $(HOST_EXPORTS) \
16879 (cd $(HOST_SUBDIR)/intl && \
16880 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
16881 $(TARGET-intl))
16882 @endif intl
16886 .PHONY: all-stage1-intl maybe-all-stage1-intl
16887 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
16888 maybe-all-stage1-intl:
16889 maybe-clean-stage1-intl:
16890 @if intl-bootstrap
16891 maybe-all-stage1-intl: all-stage1-intl
16892 all-stage1: all-stage1-intl
16893 TARGET-stage1-intl = $(TARGET-intl)
16894 all-stage1-intl: configure-stage1-intl
16895 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16896 @r=`${PWD_COMMAND}`; export r; \
16897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16898 TFLAGS="$(STAGE1_TFLAGS)"; \
16899 $(HOST_EXPORTS) \
16900 cd $(HOST_SUBDIR)/intl && \
16901 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16902 CFLAGS="$(STAGE1_CFLAGS)" \
16903 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
16904 LIBCFLAGS="$(LIBCFLAGS)" \
16905 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16906 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16907 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16908 $(EXTRA_HOST_FLAGS) \
16909 $(STAGE1_FLAGS_TO_PASS) \
16910 TFLAGS="$(STAGE1_TFLAGS)" \
16911 $(TARGET-stage1-intl)
16913 maybe-clean-stage1-intl: clean-stage1-intl
16914 clean-stage1: clean-stage1-intl
16915 clean-stage1-intl:
16916 @if [ $(current_stage) = stage1 ]; then \
16917 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16918 else \
16919 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
16920 $(MAKE) stage1-start; \
16921 fi; \
16922 cd $(HOST_SUBDIR)/intl && \
16923 $(MAKE) $(EXTRA_HOST_FLAGS) \
16924 $(STAGE1_FLAGS_TO_PASS) clean
16925 @endif intl-bootstrap
16928 .PHONY: all-stage2-intl maybe-all-stage2-intl
16929 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
16930 maybe-all-stage2-intl:
16931 maybe-clean-stage2-intl:
16932 @if intl-bootstrap
16933 maybe-all-stage2-intl: all-stage2-intl
16934 all-stage2: all-stage2-intl
16935 TARGET-stage2-intl = $(TARGET-intl)
16936 all-stage2-intl: configure-stage2-intl
16937 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16938 @r=`${PWD_COMMAND}`; export r; \
16939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16940 TFLAGS="$(STAGE2_TFLAGS)"; \
16941 $(HOST_EXPORTS) \
16942 $(POSTSTAGE1_HOST_EXPORTS) \
16943 cd $(HOST_SUBDIR)/intl && \
16944 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16945 CFLAGS="$(STAGE2_CFLAGS)" \
16946 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
16947 LIBCFLAGS="$(STAGE2_CFLAGS)" \
16948 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16949 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16950 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16951 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16952 TFLAGS="$(STAGE2_TFLAGS)" \
16953 $(TARGET-stage2-intl)
16955 maybe-clean-stage2-intl: clean-stage2-intl
16956 clean-stage2: clean-stage2-intl
16957 clean-stage2-intl:
16958 @if [ $(current_stage) = stage2 ]; then \
16959 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16960 else \
16961 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
16962 $(MAKE) stage2-start; \
16963 fi; \
16964 cd $(HOST_SUBDIR)/intl && \
16965 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16966 @endif intl-bootstrap
16969 .PHONY: all-stage3-intl maybe-all-stage3-intl
16970 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
16971 maybe-all-stage3-intl:
16972 maybe-clean-stage3-intl:
16973 @if intl-bootstrap
16974 maybe-all-stage3-intl: all-stage3-intl
16975 all-stage3: all-stage3-intl
16976 TARGET-stage3-intl = $(TARGET-intl)
16977 all-stage3-intl: configure-stage3-intl
16978 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16979 @r=`${PWD_COMMAND}`; export r; \
16980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16981 TFLAGS="$(STAGE3_TFLAGS)"; \
16982 $(HOST_EXPORTS) \
16983 $(POSTSTAGE1_HOST_EXPORTS) \
16984 cd $(HOST_SUBDIR)/intl && \
16985 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16986 CFLAGS="$(STAGE3_CFLAGS)" \
16987 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
16988 LIBCFLAGS="$(STAGE3_CFLAGS)" \
16989 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16990 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16991 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16992 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16993 TFLAGS="$(STAGE3_TFLAGS)" \
16994 $(TARGET-stage3-intl)
16996 maybe-clean-stage3-intl: clean-stage3-intl
16997 clean-stage3: clean-stage3-intl
16998 clean-stage3-intl:
16999 @if [ $(current_stage) = stage3 ]; then \
17000 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17001 else \
17002 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
17003 $(MAKE) stage3-start; \
17004 fi; \
17005 cd $(HOST_SUBDIR)/intl && \
17006 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17007 @endif intl-bootstrap
17010 .PHONY: all-stage4-intl maybe-all-stage4-intl
17011 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
17012 maybe-all-stage4-intl:
17013 maybe-clean-stage4-intl:
17014 @if intl-bootstrap
17015 maybe-all-stage4-intl: all-stage4-intl
17016 all-stage4: all-stage4-intl
17017 TARGET-stage4-intl = $(TARGET-intl)
17018 all-stage4-intl: configure-stage4-intl
17019 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17020 @r=`${PWD_COMMAND}`; export r; \
17021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17022 TFLAGS="$(STAGE4_TFLAGS)"; \
17023 $(HOST_EXPORTS) \
17024 $(POSTSTAGE1_HOST_EXPORTS) \
17025 cd $(HOST_SUBDIR)/intl && \
17026 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17027 CFLAGS="$(STAGE4_CFLAGS)" \
17028 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17029 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17030 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17031 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17032 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17033 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17034 TFLAGS="$(STAGE4_TFLAGS)" \
17035 $(TARGET-stage4-intl)
17037 maybe-clean-stage4-intl: clean-stage4-intl
17038 clean-stage4: clean-stage4-intl
17039 clean-stage4-intl:
17040 @if [ $(current_stage) = stage4 ]; then \
17041 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17042 else \
17043 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
17044 $(MAKE) stage4-start; \
17045 fi; \
17046 cd $(HOST_SUBDIR)/intl && \
17047 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17048 @endif intl-bootstrap
17051 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
17052 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
17053 maybe-all-stageprofile-intl:
17054 maybe-clean-stageprofile-intl:
17055 @if intl-bootstrap
17056 maybe-all-stageprofile-intl: all-stageprofile-intl
17057 all-stageprofile: all-stageprofile-intl
17058 TARGET-stageprofile-intl = $(TARGET-intl)
17059 all-stageprofile-intl: configure-stageprofile-intl
17060 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17061 @r=`${PWD_COMMAND}`; export r; \
17062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17063 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17064 $(HOST_EXPORTS) \
17065 $(POSTSTAGE1_HOST_EXPORTS) \
17066 cd $(HOST_SUBDIR)/intl && \
17067 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17068 CFLAGS="$(STAGEprofile_CFLAGS)" \
17069 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17070 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17071 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17072 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17073 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17074 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17075 TFLAGS="$(STAGEprofile_TFLAGS)" \
17076 $(TARGET-stageprofile-intl)
17078 maybe-clean-stageprofile-intl: clean-stageprofile-intl
17079 clean-stageprofile: clean-stageprofile-intl
17080 clean-stageprofile-intl:
17081 @if [ $(current_stage) = stageprofile ]; then \
17082 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17083 else \
17084 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
17085 $(MAKE) stageprofile-start; \
17086 fi; \
17087 cd $(HOST_SUBDIR)/intl && \
17088 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17089 @endif intl-bootstrap
17092 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
17093 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
17094 maybe-all-stagefeedback-intl:
17095 maybe-clean-stagefeedback-intl:
17096 @if intl-bootstrap
17097 maybe-all-stagefeedback-intl: all-stagefeedback-intl
17098 all-stagefeedback: all-stagefeedback-intl
17099 TARGET-stagefeedback-intl = $(TARGET-intl)
17100 all-stagefeedback-intl: configure-stagefeedback-intl
17101 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17102 @r=`${PWD_COMMAND}`; export r; \
17103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17104 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17105 $(HOST_EXPORTS) \
17106 $(POSTSTAGE1_HOST_EXPORTS) \
17107 cd $(HOST_SUBDIR)/intl && \
17108 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17109 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17110 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17111 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17112 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17113 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17114 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17115 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17116 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17117 $(TARGET-stagefeedback-intl)
17119 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
17120 clean-stagefeedback: clean-stagefeedback-intl
17121 clean-stagefeedback-intl:
17122 @if [ $(current_stage) = stagefeedback ]; then \
17123 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17124 else \
17125 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
17126 $(MAKE) stagefeedback-start; \
17127 fi; \
17128 cd $(HOST_SUBDIR)/intl && \
17129 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17130 @endif intl-bootstrap
17136 .PHONY: check-intl maybe-check-intl
17137 maybe-check-intl:
17138 @if intl
17139 maybe-check-intl: check-intl
17141 check-intl:
17142 @: $(MAKE); $(unstage)
17143 @r=`${PWD_COMMAND}`; export r; \
17144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17145 $(HOST_EXPORTS) \
17146 (cd $(HOST_SUBDIR)/intl && \
17147 $(MAKE) $(FLAGS_TO_PASS) check)
17149 @endif intl
17151 .PHONY: install-intl maybe-install-intl
17152 maybe-install-intl:
17153 @if intl
17154 maybe-install-intl: install-intl
17156 install-intl: installdirs
17157 @: $(MAKE); $(unstage)
17158 @r=`${PWD_COMMAND}`; export r; \
17159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17160 $(HOST_EXPORTS) \
17161 (cd $(HOST_SUBDIR)/intl && \
17162 $(MAKE) $(FLAGS_TO_PASS) install)
17164 @endif intl
17166 .PHONY: install-strip-intl maybe-install-strip-intl
17167 maybe-install-strip-intl:
17168 @if intl
17169 maybe-install-strip-intl: install-strip-intl
17171 install-strip-intl: installdirs
17172 @: $(MAKE); $(unstage)
17173 @r=`${PWD_COMMAND}`; export r; \
17174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17175 $(HOST_EXPORTS) \
17176 (cd $(HOST_SUBDIR)/intl && \
17177 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17179 @endif intl
17181 # Other targets (info, dvi, pdf, etc.)
17183 .PHONY: maybe-info-intl info-intl
17184 maybe-info-intl:
17185 @if intl
17186 maybe-info-intl: info-intl
17188 info-intl: \
17189 configure-intl
17190 @[ -f ./intl/Makefile ] || exit 0; \
17191 r=`${PWD_COMMAND}`; export r; \
17192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17193 $(HOST_EXPORTS) \
17194 for flag in $(EXTRA_HOST_FLAGS) ; do \
17195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17196 done; \
17197 echo "Doing info in intl" ; \
17198 (cd $(HOST_SUBDIR)/intl && \
17199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17201 "RANLIB=$${RANLIB}" \
17202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17203 info) \
17204 || exit 1
17206 @endif intl
17208 .PHONY: maybe-dvi-intl dvi-intl
17209 maybe-dvi-intl:
17210 @if intl
17211 maybe-dvi-intl: dvi-intl
17213 dvi-intl: \
17214 configure-intl
17215 @[ -f ./intl/Makefile ] || exit 0; \
17216 r=`${PWD_COMMAND}`; export r; \
17217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17218 $(HOST_EXPORTS) \
17219 for flag in $(EXTRA_HOST_FLAGS) ; do \
17220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17221 done; \
17222 echo "Doing dvi in intl" ; \
17223 (cd $(HOST_SUBDIR)/intl && \
17224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17226 "RANLIB=$${RANLIB}" \
17227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17228 dvi) \
17229 || exit 1
17231 @endif intl
17233 .PHONY: maybe-pdf-intl pdf-intl
17234 maybe-pdf-intl:
17235 @if intl
17236 maybe-pdf-intl: pdf-intl
17238 pdf-intl: \
17239 configure-intl
17240 @[ -f ./intl/Makefile ] || exit 0; \
17241 r=`${PWD_COMMAND}`; export r; \
17242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17243 $(HOST_EXPORTS) \
17244 for flag in $(EXTRA_HOST_FLAGS) ; do \
17245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17246 done; \
17247 echo "Doing pdf in intl" ; \
17248 (cd $(HOST_SUBDIR)/intl && \
17249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17251 "RANLIB=$${RANLIB}" \
17252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17253 pdf) \
17254 || exit 1
17256 @endif intl
17258 .PHONY: maybe-html-intl html-intl
17259 maybe-html-intl:
17260 @if intl
17261 maybe-html-intl: html-intl
17263 html-intl: \
17264 configure-intl
17265 @[ -f ./intl/Makefile ] || exit 0; \
17266 r=`${PWD_COMMAND}`; export r; \
17267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17268 $(HOST_EXPORTS) \
17269 for flag in $(EXTRA_HOST_FLAGS) ; do \
17270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17271 done; \
17272 echo "Doing html in intl" ; \
17273 (cd $(HOST_SUBDIR)/intl && \
17274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17276 "RANLIB=$${RANLIB}" \
17277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17278 html) \
17279 || exit 1
17281 @endif intl
17283 .PHONY: maybe-TAGS-intl TAGS-intl
17284 maybe-TAGS-intl:
17285 @if intl
17286 maybe-TAGS-intl: TAGS-intl
17288 TAGS-intl: \
17289 configure-intl
17290 @[ -f ./intl/Makefile ] || exit 0; \
17291 r=`${PWD_COMMAND}`; export r; \
17292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17293 $(HOST_EXPORTS) \
17294 for flag in $(EXTRA_HOST_FLAGS) ; do \
17295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17296 done; \
17297 echo "Doing TAGS in intl" ; \
17298 (cd $(HOST_SUBDIR)/intl && \
17299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17301 "RANLIB=$${RANLIB}" \
17302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17303 TAGS) \
17304 || exit 1
17306 @endif intl
17308 .PHONY: maybe-install-info-intl install-info-intl
17309 maybe-install-info-intl:
17310 @if intl
17311 maybe-install-info-intl: install-info-intl
17313 install-info-intl: \
17314 configure-intl \
17315 info-intl
17316 @[ -f ./intl/Makefile ] || exit 0; \
17317 r=`${PWD_COMMAND}`; export r; \
17318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17319 $(HOST_EXPORTS) \
17320 for flag in $(EXTRA_HOST_FLAGS) ; do \
17321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17322 done; \
17323 echo "Doing install-info in intl" ; \
17324 (cd $(HOST_SUBDIR)/intl && \
17325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17327 "RANLIB=$${RANLIB}" \
17328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17329 install-info) \
17330 || exit 1
17332 @endif intl
17334 .PHONY: maybe-install-pdf-intl install-pdf-intl
17335 maybe-install-pdf-intl:
17336 @if intl
17337 maybe-install-pdf-intl: install-pdf-intl
17339 install-pdf-intl: \
17340 configure-intl \
17341 pdf-intl
17342 @[ -f ./intl/Makefile ] || exit 0; \
17343 r=`${PWD_COMMAND}`; export r; \
17344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17345 $(HOST_EXPORTS) \
17346 for flag in $(EXTRA_HOST_FLAGS) ; do \
17347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17348 done; \
17349 echo "Doing install-pdf in intl" ; \
17350 (cd $(HOST_SUBDIR)/intl && \
17351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17353 "RANLIB=$${RANLIB}" \
17354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17355 install-pdf) \
17356 || exit 1
17358 @endif intl
17360 .PHONY: maybe-install-html-intl install-html-intl
17361 maybe-install-html-intl:
17362 @if intl
17363 maybe-install-html-intl: install-html-intl
17365 install-html-intl: \
17366 configure-intl \
17367 html-intl
17368 @[ -f ./intl/Makefile ] || exit 0; \
17369 r=`${PWD_COMMAND}`; export r; \
17370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17371 $(HOST_EXPORTS) \
17372 for flag in $(EXTRA_HOST_FLAGS) ; do \
17373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17374 done; \
17375 echo "Doing install-html in intl" ; \
17376 (cd $(HOST_SUBDIR)/intl && \
17377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17379 "RANLIB=$${RANLIB}" \
17380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17381 install-html) \
17382 || exit 1
17384 @endif intl
17386 .PHONY: maybe-installcheck-intl installcheck-intl
17387 maybe-installcheck-intl:
17388 @if intl
17389 maybe-installcheck-intl: installcheck-intl
17391 installcheck-intl: \
17392 configure-intl
17393 @[ -f ./intl/Makefile ] || exit 0; \
17394 r=`${PWD_COMMAND}`; export r; \
17395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17396 $(HOST_EXPORTS) \
17397 for flag in $(EXTRA_HOST_FLAGS) ; do \
17398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17399 done; \
17400 echo "Doing installcheck in intl" ; \
17401 (cd $(HOST_SUBDIR)/intl && \
17402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17404 "RANLIB=$${RANLIB}" \
17405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17406 installcheck) \
17407 || exit 1
17409 @endif intl
17411 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
17412 maybe-mostlyclean-intl:
17413 @if intl
17414 maybe-mostlyclean-intl: mostlyclean-intl
17416 mostlyclean-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 mostlyclean 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 mostlyclean) \
17431 || exit 1
17433 @endif intl
17435 .PHONY: maybe-clean-intl clean-intl
17436 maybe-clean-intl:
17437 @if intl
17438 maybe-clean-intl: clean-intl
17440 clean-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 clean 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 clean) \
17455 || exit 1
17457 @endif intl
17459 .PHONY: maybe-distclean-intl distclean-intl
17460 maybe-distclean-intl:
17461 @if intl
17462 maybe-distclean-intl: distclean-intl
17464 distclean-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 distclean 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 distclean) \
17479 || exit 1
17481 @endif intl
17483 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
17484 maybe-maintainer-clean-intl:
17485 @if intl
17486 maybe-maintainer-clean-intl: maintainer-clean-intl
17488 maintainer-clean-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 maintainer-clean 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 maintainer-clean) \
17503 || exit 1
17505 @endif intl
17509 .PHONY: configure-tcl maybe-configure-tcl
17510 maybe-configure-tcl:
17511 @if gcc-bootstrap
17512 configure-tcl: stage_current
17513 @endif gcc-bootstrap
17514 @if tcl
17515 maybe-configure-tcl: configure-tcl
17516 configure-tcl:
17517 @: $(MAKE); $(unstage)
17518 @r=`${PWD_COMMAND}`; export r; \
17519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17520 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
17521 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
17522 $(HOST_EXPORTS) \
17523 echo Configuring in $(HOST_SUBDIR)/tcl; \
17524 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
17525 case $(srcdir) in \
17526 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17527 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
17528 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17529 esac; \
17530 module_srcdir=tcl; \
17531 $(SHELL) \
17532 $$s/$$module_srcdir/configure \
17533 --srcdir=$${topdir}/$$module_srcdir \
17534 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17535 --target=${target_alias} \
17536 || exit 1
17537 @endif tcl
17543 .PHONY: all-tcl maybe-all-tcl
17544 maybe-all-tcl:
17545 @if gcc-bootstrap
17546 all-tcl: stage_current
17547 @endif gcc-bootstrap
17548 @if tcl
17549 TARGET-tcl=all
17550 maybe-all-tcl: all-tcl
17551 all-tcl: configure-tcl
17552 @: $(MAKE); $(unstage)
17553 @r=`${PWD_COMMAND}`; export r; \
17554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17555 $(HOST_EXPORTS) \
17556 (cd $(HOST_SUBDIR)/tcl && \
17557 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17558 $(TARGET-tcl))
17559 @endif tcl
17564 .PHONY: check-tcl maybe-check-tcl
17565 maybe-check-tcl:
17566 @if tcl
17567 maybe-check-tcl: check-tcl
17569 check-tcl:
17570 @: $(MAKE); $(unstage)
17571 @r=`${PWD_COMMAND}`; export r; \
17572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17573 $(HOST_EXPORTS) \
17574 (cd $(HOST_SUBDIR)/tcl && \
17575 $(MAKE) $(FLAGS_TO_PASS) check)
17577 @endif tcl
17579 .PHONY: install-tcl maybe-install-tcl
17580 maybe-install-tcl:
17581 @if tcl
17582 maybe-install-tcl: install-tcl
17584 install-tcl: installdirs
17585 @: $(MAKE); $(unstage)
17586 @r=`${PWD_COMMAND}`; export r; \
17587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17588 $(HOST_EXPORTS) \
17589 (cd $(HOST_SUBDIR)/tcl && \
17590 $(MAKE) $(FLAGS_TO_PASS) install)
17592 @endif tcl
17594 .PHONY: install-strip-tcl maybe-install-strip-tcl
17595 maybe-install-strip-tcl:
17596 @if tcl
17597 maybe-install-strip-tcl: install-strip-tcl
17599 install-strip-tcl: installdirs
17600 @: $(MAKE); $(unstage)
17601 @r=`${PWD_COMMAND}`; export r; \
17602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17603 $(HOST_EXPORTS) \
17604 (cd $(HOST_SUBDIR)/tcl && \
17605 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17607 @endif tcl
17609 # Other targets (info, dvi, pdf, etc.)
17611 .PHONY: maybe-info-tcl info-tcl
17612 maybe-info-tcl:
17613 @if tcl
17614 maybe-info-tcl: info-tcl
17616 info-tcl: \
17617 configure-tcl
17618 @: $(MAKE); $(unstage)
17619 @[ -f ./tcl/Makefile ] || exit 0; \
17620 r=`${PWD_COMMAND}`; export r; \
17621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17622 $(HOST_EXPORTS) \
17623 for flag in $(EXTRA_HOST_FLAGS) ; do \
17624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17625 done; \
17626 echo "Doing info in tcl" ; \
17627 (cd $(HOST_SUBDIR)/tcl && \
17628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17630 "RANLIB=$${RANLIB}" \
17631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17632 info) \
17633 || exit 1
17635 @endif tcl
17637 .PHONY: maybe-dvi-tcl dvi-tcl
17638 maybe-dvi-tcl:
17639 @if tcl
17640 maybe-dvi-tcl: dvi-tcl
17642 dvi-tcl: \
17643 configure-tcl
17644 @: $(MAKE); $(unstage)
17645 @[ -f ./tcl/Makefile ] || exit 0; \
17646 r=`${PWD_COMMAND}`; export r; \
17647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17648 $(HOST_EXPORTS) \
17649 for flag in $(EXTRA_HOST_FLAGS) ; do \
17650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17651 done; \
17652 echo "Doing dvi in tcl" ; \
17653 (cd $(HOST_SUBDIR)/tcl && \
17654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17656 "RANLIB=$${RANLIB}" \
17657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17658 dvi) \
17659 || exit 1
17661 @endif tcl
17663 .PHONY: maybe-pdf-tcl pdf-tcl
17664 maybe-pdf-tcl:
17665 @if tcl
17666 maybe-pdf-tcl: pdf-tcl
17668 pdf-tcl: \
17669 configure-tcl
17670 @: $(MAKE); $(unstage)
17671 @[ -f ./tcl/Makefile ] || exit 0; \
17672 r=`${PWD_COMMAND}`; export r; \
17673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17674 $(HOST_EXPORTS) \
17675 for flag in $(EXTRA_HOST_FLAGS) ; do \
17676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17677 done; \
17678 echo "Doing pdf in tcl" ; \
17679 (cd $(HOST_SUBDIR)/tcl && \
17680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17682 "RANLIB=$${RANLIB}" \
17683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17684 pdf) \
17685 || exit 1
17687 @endif tcl
17689 .PHONY: maybe-html-tcl html-tcl
17690 maybe-html-tcl:
17691 @if tcl
17692 maybe-html-tcl: html-tcl
17694 html-tcl: \
17695 configure-tcl
17696 @: $(MAKE); $(unstage)
17697 @[ -f ./tcl/Makefile ] || exit 0; \
17698 r=`${PWD_COMMAND}`; export r; \
17699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17700 $(HOST_EXPORTS) \
17701 for flag in $(EXTRA_HOST_FLAGS) ; do \
17702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17703 done; \
17704 echo "Doing html in tcl" ; \
17705 (cd $(HOST_SUBDIR)/tcl && \
17706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17708 "RANLIB=$${RANLIB}" \
17709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17710 html) \
17711 || exit 1
17713 @endif tcl
17715 .PHONY: maybe-TAGS-tcl TAGS-tcl
17716 maybe-TAGS-tcl:
17717 @if tcl
17718 maybe-TAGS-tcl: TAGS-tcl
17720 TAGS-tcl: \
17721 configure-tcl
17722 @: $(MAKE); $(unstage)
17723 @[ -f ./tcl/Makefile ] || exit 0; \
17724 r=`${PWD_COMMAND}`; export r; \
17725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17726 $(HOST_EXPORTS) \
17727 for flag in $(EXTRA_HOST_FLAGS) ; do \
17728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17729 done; \
17730 echo "Doing TAGS in tcl" ; \
17731 (cd $(HOST_SUBDIR)/tcl && \
17732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17734 "RANLIB=$${RANLIB}" \
17735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17736 TAGS) \
17737 || exit 1
17739 @endif tcl
17741 .PHONY: maybe-install-info-tcl install-info-tcl
17742 maybe-install-info-tcl:
17743 @if tcl
17744 maybe-install-info-tcl: install-info-tcl
17746 install-info-tcl: \
17747 configure-tcl \
17748 info-tcl
17749 @: $(MAKE); $(unstage)
17750 @[ -f ./tcl/Makefile ] || exit 0; \
17751 r=`${PWD_COMMAND}`; export r; \
17752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17753 $(HOST_EXPORTS) \
17754 for flag in $(EXTRA_HOST_FLAGS) ; do \
17755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17756 done; \
17757 echo "Doing install-info in tcl" ; \
17758 (cd $(HOST_SUBDIR)/tcl && \
17759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17761 "RANLIB=$${RANLIB}" \
17762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17763 install-info) \
17764 || exit 1
17766 @endif tcl
17768 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
17769 maybe-install-pdf-tcl:
17770 @if tcl
17771 maybe-install-pdf-tcl: install-pdf-tcl
17773 install-pdf-tcl: \
17774 configure-tcl \
17775 pdf-tcl
17776 @: $(MAKE); $(unstage)
17777 @[ -f ./tcl/Makefile ] || exit 0; \
17778 r=`${PWD_COMMAND}`; export r; \
17779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17780 $(HOST_EXPORTS) \
17781 for flag in $(EXTRA_HOST_FLAGS) ; do \
17782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17783 done; \
17784 echo "Doing install-pdf in tcl" ; \
17785 (cd $(HOST_SUBDIR)/tcl && \
17786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17788 "RANLIB=$${RANLIB}" \
17789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17790 install-pdf) \
17791 || exit 1
17793 @endif tcl
17795 .PHONY: maybe-install-html-tcl install-html-tcl
17796 maybe-install-html-tcl:
17797 @if tcl
17798 maybe-install-html-tcl: install-html-tcl
17800 install-html-tcl: \
17801 configure-tcl \
17802 html-tcl
17803 @: $(MAKE); $(unstage)
17804 @[ -f ./tcl/Makefile ] || exit 0; \
17805 r=`${PWD_COMMAND}`; export r; \
17806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17807 $(HOST_EXPORTS) \
17808 for flag in $(EXTRA_HOST_FLAGS) ; do \
17809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17810 done; \
17811 echo "Doing install-html in tcl" ; \
17812 (cd $(HOST_SUBDIR)/tcl && \
17813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17815 "RANLIB=$${RANLIB}" \
17816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17817 install-html) \
17818 || exit 1
17820 @endif tcl
17822 .PHONY: maybe-installcheck-tcl installcheck-tcl
17823 maybe-installcheck-tcl:
17824 @if tcl
17825 maybe-installcheck-tcl: installcheck-tcl
17827 installcheck-tcl: \
17828 configure-tcl
17829 @: $(MAKE); $(unstage)
17830 @[ -f ./tcl/Makefile ] || exit 0; \
17831 r=`${PWD_COMMAND}`; export r; \
17832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17833 $(HOST_EXPORTS) \
17834 for flag in $(EXTRA_HOST_FLAGS) ; do \
17835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17836 done; \
17837 echo "Doing installcheck in tcl" ; \
17838 (cd $(HOST_SUBDIR)/tcl && \
17839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17841 "RANLIB=$${RANLIB}" \
17842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17843 installcheck) \
17844 || exit 1
17846 @endif tcl
17848 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
17849 maybe-mostlyclean-tcl:
17850 @if tcl
17851 maybe-mostlyclean-tcl: mostlyclean-tcl
17853 # tcl doesn't support mostlyclean.
17854 mostlyclean-tcl:
17856 @endif tcl
17858 .PHONY: maybe-clean-tcl clean-tcl
17859 maybe-clean-tcl:
17860 @if tcl
17861 maybe-clean-tcl: clean-tcl
17863 clean-tcl:
17864 @: $(MAKE); $(unstage)
17865 @[ -f ./tcl/Makefile ] || exit 0; \
17866 r=`${PWD_COMMAND}`; export r; \
17867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17868 $(HOST_EXPORTS) \
17869 for flag in $(EXTRA_HOST_FLAGS) ; do \
17870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17871 done; \
17872 echo "Doing clean in tcl" ; \
17873 (cd $(HOST_SUBDIR)/tcl && \
17874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17876 "RANLIB=$${RANLIB}" \
17877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17878 clean) \
17879 || exit 1
17881 @endif tcl
17883 .PHONY: maybe-distclean-tcl distclean-tcl
17884 maybe-distclean-tcl:
17885 @if tcl
17886 maybe-distclean-tcl: distclean-tcl
17888 distclean-tcl:
17889 @: $(MAKE); $(unstage)
17890 @[ -f ./tcl/Makefile ] || exit 0; \
17891 r=`${PWD_COMMAND}`; export r; \
17892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17893 $(HOST_EXPORTS) \
17894 for flag in $(EXTRA_HOST_FLAGS) ; do \
17895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17896 done; \
17897 echo "Doing distclean in tcl" ; \
17898 (cd $(HOST_SUBDIR)/tcl && \
17899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17901 "RANLIB=$${RANLIB}" \
17902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17903 distclean) \
17904 || exit 1
17906 @endif tcl
17908 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
17909 maybe-maintainer-clean-tcl:
17910 @if tcl
17911 maybe-maintainer-clean-tcl: maintainer-clean-tcl
17913 maintainer-clean-tcl:
17914 @: $(MAKE); $(unstage)
17915 @[ -f ./tcl/Makefile ] || exit 0; \
17916 r=`${PWD_COMMAND}`; export r; \
17917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17918 $(HOST_EXPORTS) \
17919 for flag in $(EXTRA_HOST_FLAGS) ; do \
17920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17921 done; \
17922 echo "Doing maintainer-clean in tcl" ; \
17923 (cd $(HOST_SUBDIR)/tcl && \
17924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17926 "RANLIB=$${RANLIB}" \
17927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17928 maintainer-clean) \
17929 || exit 1
17931 @endif tcl
17935 .PHONY: configure-itcl maybe-configure-itcl
17936 maybe-configure-itcl:
17937 @if gcc-bootstrap
17938 configure-itcl: stage_current
17939 @endif gcc-bootstrap
17940 @if itcl
17941 maybe-configure-itcl: configure-itcl
17942 configure-itcl:
17943 @: $(MAKE); $(unstage)
17944 @r=`${PWD_COMMAND}`; export r; \
17945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17946 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
17947 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
17948 $(HOST_EXPORTS) \
17949 echo Configuring in $(HOST_SUBDIR)/itcl; \
17950 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
17951 case $(srcdir) in \
17952 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17953 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
17954 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17955 esac; \
17956 module_srcdir=itcl; \
17957 $(SHELL) \
17958 $$s/$$module_srcdir/configure \
17959 --srcdir=$${topdir}/$$module_srcdir \
17960 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17961 --target=${target_alias} \
17962 || exit 1
17963 @endif itcl
17969 .PHONY: all-itcl maybe-all-itcl
17970 maybe-all-itcl:
17971 @if gcc-bootstrap
17972 all-itcl: stage_current
17973 @endif gcc-bootstrap
17974 @if itcl
17975 TARGET-itcl=all
17976 maybe-all-itcl: all-itcl
17977 all-itcl: configure-itcl
17978 @: $(MAKE); $(unstage)
17979 @r=`${PWD_COMMAND}`; export r; \
17980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17981 $(HOST_EXPORTS) \
17982 (cd $(HOST_SUBDIR)/itcl && \
17983 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17984 $(TARGET-itcl))
17985 @endif itcl
17990 .PHONY: check-itcl maybe-check-itcl
17991 maybe-check-itcl:
17992 @if itcl
17993 maybe-check-itcl: check-itcl
17995 check-itcl:
17996 @: $(MAKE); $(unstage)
17997 @r=`${PWD_COMMAND}`; export r; \
17998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17999 $(HOST_EXPORTS) \
18000 (cd $(HOST_SUBDIR)/itcl && \
18001 $(MAKE) $(FLAGS_TO_PASS) check)
18003 @endif itcl
18005 .PHONY: install-itcl maybe-install-itcl
18006 maybe-install-itcl:
18007 @if itcl
18008 maybe-install-itcl: install-itcl
18010 install-itcl: installdirs
18011 @: $(MAKE); $(unstage)
18012 @r=`${PWD_COMMAND}`; export r; \
18013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18014 $(HOST_EXPORTS) \
18015 (cd $(HOST_SUBDIR)/itcl && \
18016 $(MAKE) $(FLAGS_TO_PASS) install)
18018 @endif itcl
18020 .PHONY: install-strip-itcl maybe-install-strip-itcl
18021 maybe-install-strip-itcl:
18022 @if itcl
18023 maybe-install-strip-itcl: install-strip-itcl
18025 install-strip-itcl: installdirs
18026 @: $(MAKE); $(unstage)
18027 @r=`${PWD_COMMAND}`; export r; \
18028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18029 $(HOST_EXPORTS) \
18030 (cd $(HOST_SUBDIR)/itcl && \
18031 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18033 @endif itcl
18035 # Other targets (info, dvi, pdf, etc.)
18037 .PHONY: maybe-info-itcl info-itcl
18038 maybe-info-itcl:
18039 @if itcl
18040 maybe-info-itcl: info-itcl
18042 info-itcl: \
18043 configure-itcl
18044 @: $(MAKE); $(unstage)
18045 @[ -f ./itcl/Makefile ] || exit 0; \
18046 r=`${PWD_COMMAND}`; export r; \
18047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18048 $(HOST_EXPORTS) \
18049 for flag in $(EXTRA_HOST_FLAGS) ; do \
18050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18051 done; \
18052 echo "Doing info in itcl" ; \
18053 (cd $(HOST_SUBDIR)/itcl && \
18054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18056 "RANLIB=$${RANLIB}" \
18057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18058 info) \
18059 || exit 1
18061 @endif itcl
18063 .PHONY: maybe-dvi-itcl dvi-itcl
18064 maybe-dvi-itcl:
18065 @if itcl
18066 maybe-dvi-itcl: dvi-itcl
18068 dvi-itcl: \
18069 configure-itcl
18070 @: $(MAKE); $(unstage)
18071 @[ -f ./itcl/Makefile ] || exit 0; \
18072 r=`${PWD_COMMAND}`; export r; \
18073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18074 $(HOST_EXPORTS) \
18075 for flag in $(EXTRA_HOST_FLAGS) ; do \
18076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18077 done; \
18078 echo "Doing dvi in itcl" ; \
18079 (cd $(HOST_SUBDIR)/itcl && \
18080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18082 "RANLIB=$${RANLIB}" \
18083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18084 dvi) \
18085 || exit 1
18087 @endif itcl
18089 .PHONY: maybe-pdf-itcl pdf-itcl
18090 maybe-pdf-itcl:
18091 @if itcl
18092 maybe-pdf-itcl: pdf-itcl
18094 pdf-itcl: \
18095 configure-itcl
18096 @: $(MAKE); $(unstage)
18097 @[ -f ./itcl/Makefile ] || exit 0; \
18098 r=`${PWD_COMMAND}`; export r; \
18099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18100 $(HOST_EXPORTS) \
18101 for flag in $(EXTRA_HOST_FLAGS) ; do \
18102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18103 done; \
18104 echo "Doing pdf in itcl" ; \
18105 (cd $(HOST_SUBDIR)/itcl && \
18106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18108 "RANLIB=$${RANLIB}" \
18109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18110 pdf) \
18111 || exit 1
18113 @endif itcl
18115 .PHONY: maybe-html-itcl html-itcl
18116 maybe-html-itcl:
18117 @if itcl
18118 maybe-html-itcl: html-itcl
18120 html-itcl: \
18121 configure-itcl
18122 @: $(MAKE); $(unstage)
18123 @[ -f ./itcl/Makefile ] || exit 0; \
18124 r=`${PWD_COMMAND}`; export r; \
18125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18126 $(HOST_EXPORTS) \
18127 for flag in $(EXTRA_HOST_FLAGS) ; do \
18128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18129 done; \
18130 echo "Doing html in itcl" ; \
18131 (cd $(HOST_SUBDIR)/itcl && \
18132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18134 "RANLIB=$${RANLIB}" \
18135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18136 html) \
18137 || exit 1
18139 @endif itcl
18141 .PHONY: maybe-TAGS-itcl TAGS-itcl
18142 maybe-TAGS-itcl:
18143 @if itcl
18144 maybe-TAGS-itcl: TAGS-itcl
18146 TAGS-itcl: \
18147 configure-itcl
18148 @: $(MAKE); $(unstage)
18149 @[ -f ./itcl/Makefile ] || exit 0; \
18150 r=`${PWD_COMMAND}`; export r; \
18151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18152 $(HOST_EXPORTS) \
18153 for flag in $(EXTRA_HOST_FLAGS) ; do \
18154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18155 done; \
18156 echo "Doing TAGS in itcl" ; \
18157 (cd $(HOST_SUBDIR)/itcl && \
18158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18160 "RANLIB=$${RANLIB}" \
18161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18162 TAGS) \
18163 || exit 1
18165 @endif itcl
18167 .PHONY: maybe-install-info-itcl install-info-itcl
18168 maybe-install-info-itcl:
18169 @if itcl
18170 maybe-install-info-itcl: install-info-itcl
18172 install-info-itcl: \
18173 configure-itcl \
18174 info-itcl
18175 @: $(MAKE); $(unstage)
18176 @[ -f ./itcl/Makefile ] || exit 0; \
18177 r=`${PWD_COMMAND}`; export r; \
18178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18179 $(HOST_EXPORTS) \
18180 for flag in $(EXTRA_HOST_FLAGS) ; do \
18181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18182 done; \
18183 echo "Doing install-info in itcl" ; \
18184 (cd $(HOST_SUBDIR)/itcl && \
18185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18187 "RANLIB=$${RANLIB}" \
18188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18189 install-info) \
18190 || exit 1
18192 @endif itcl
18194 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
18195 maybe-install-pdf-itcl:
18196 @if itcl
18197 maybe-install-pdf-itcl: install-pdf-itcl
18199 install-pdf-itcl: \
18200 configure-itcl \
18201 pdf-itcl
18202 @: $(MAKE); $(unstage)
18203 @[ -f ./itcl/Makefile ] || exit 0; \
18204 r=`${PWD_COMMAND}`; export r; \
18205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18206 $(HOST_EXPORTS) \
18207 for flag in $(EXTRA_HOST_FLAGS) ; do \
18208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18209 done; \
18210 echo "Doing install-pdf in itcl" ; \
18211 (cd $(HOST_SUBDIR)/itcl && \
18212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18214 "RANLIB=$${RANLIB}" \
18215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18216 install-pdf) \
18217 || exit 1
18219 @endif itcl
18221 .PHONY: maybe-install-html-itcl install-html-itcl
18222 maybe-install-html-itcl:
18223 @if itcl
18224 maybe-install-html-itcl: install-html-itcl
18226 install-html-itcl: \
18227 configure-itcl \
18228 html-itcl
18229 @: $(MAKE); $(unstage)
18230 @[ -f ./itcl/Makefile ] || exit 0; \
18231 r=`${PWD_COMMAND}`; export r; \
18232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18233 $(HOST_EXPORTS) \
18234 for flag in $(EXTRA_HOST_FLAGS) ; do \
18235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18236 done; \
18237 echo "Doing install-html in itcl" ; \
18238 (cd $(HOST_SUBDIR)/itcl && \
18239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18241 "RANLIB=$${RANLIB}" \
18242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18243 install-html) \
18244 || exit 1
18246 @endif itcl
18248 .PHONY: maybe-installcheck-itcl installcheck-itcl
18249 maybe-installcheck-itcl:
18250 @if itcl
18251 maybe-installcheck-itcl: installcheck-itcl
18253 installcheck-itcl: \
18254 configure-itcl
18255 @: $(MAKE); $(unstage)
18256 @[ -f ./itcl/Makefile ] || exit 0; \
18257 r=`${PWD_COMMAND}`; export r; \
18258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18259 $(HOST_EXPORTS) \
18260 for flag in $(EXTRA_HOST_FLAGS) ; do \
18261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18262 done; \
18263 echo "Doing installcheck in itcl" ; \
18264 (cd $(HOST_SUBDIR)/itcl && \
18265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18267 "RANLIB=$${RANLIB}" \
18268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18269 installcheck) \
18270 || exit 1
18272 @endif itcl
18274 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
18275 maybe-mostlyclean-itcl:
18276 @if itcl
18277 maybe-mostlyclean-itcl: mostlyclean-itcl
18279 mostlyclean-itcl:
18280 @: $(MAKE); $(unstage)
18281 @[ -f ./itcl/Makefile ] || exit 0; \
18282 r=`${PWD_COMMAND}`; export r; \
18283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18284 $(HOST_EXPORTS) \
18285 for flag in $(EXTRA_HOST_FLAGS) ; do \
18286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18287 done; \
18288 echo "Doing mostlyclean in itcl" ; \
18289 (cd $(HOST_SUBDIR)/itcl && \
18290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18292 "RANLIB=$${RANLIB}" \
18293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18294 mostlyclean) \
18295 || exit 1
18297 @endif itcl
18299 .PHONY: maybe-clean-itcl clean-itcl
18300 maybe-clean-itcl:
18301 @if itcl
18302 maybe-clean-itcl: clean-itcl
18304 clean-itcl:
18305 @: $(MAKE); $(unstage)
18306 @[ -f ./itcl/Makefile ] || exit 0; \
18307 r=`${PWD_COMMAND}`; export r; \
18308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18309 $(HOST_EXPORTS) \
18310 for flag in $(EXTRA_HOST_FLAGS) ; do \
18311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18312 done; \
18313 echo "Doing clean in itcl" ; \
18314 (cd $(HOST_SUBDIR)/itcl && \
18315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18317 "RANLIB=$${RANLIB}" \
18318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18319 clean) \
18320 || exit 1
18322 @endif itcl
18324 .PHONY: maybe-distclean-itcl distclean-itcl
18325 maybe-distclean-itcl:
18326 @if itcl
18327 maybe-distclean-itcl: distclean-itcl
18329 distclean-itcl:
18330 @: $(MAKE); $(unstage)
18331 @[ -f ./itcl/Makefile ] || exit 0; \
18332 r=`${PWD_COMMAND}`; export r; \
18333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18334 $(HOST_EXPORTS) \
18335 for flag in $(EXTRA_HOST_FLAGS) ; do \
18336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18337 done; \
18338 echo "Doing distclean in itcl" ; \
18339 (cd $(HOST_SUBDIR)/itcl && \
18340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18342 "RANLIB=$${RANLIB}" \
18343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18344 distclean) \
18345 || exit 1
18347 @endif itcl
18349 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
18350 maybe-maintainer-clean-itcl:
18351 @if itcl
18352 maybe-maintainer-clean-itcl: maintainer-clean-itcl
18354 maintainer-clean-itcl:
18355 @: $(MAKE); $(unstage)
18356 @[ -f ./itcl/Makefile ] || exit 0; \
18357 r=`${PWD_COMMAND}`; export r; \
18358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18359 $(HOST_EXPORTS) \
18360 for flag in $(EXTRA_HOST_FLAGS) ; do \
18361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18362 done; \
18363 echo "Doing maintainer-clean in itcl" ; \
18364 (cd $(HOST_SUBDIR)/itcl && \
18365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18367 "RANLIB=$${RANLIB}" \
18368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18369 maintainer-clean) \
18370 || exit 1
18372 @endif itcl
18376 .PHONY: configure-ld maybe-configure-ld
18377 maybe-configure-ld:
18378 @if gcc-bootstrap
18379 configure-ld: stage_current
18380 @endif gcc-bootstrap
18381 @if ld
18382 maybe-configure-ld: configure-ld
18383 configure-ld:
18384 @r=`${PWD_COMMAND}`; export r; \
18385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18386 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18387 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18388 $(HOST_EXPORTS) \
18389 echo Configuring in $(HOST_SUBDIR)/ld; \
18390 cd "$(HOST_SUBDIR)/ld" || exit 1; \
18391 case $(srcdir) in \
18392 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18393 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18394 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18395 esac; \
18396 module_srcdir=ld; \
18397 $(SHELL) \
18398 $$s/$$module_srcdir/configure \
18399 --srcdir=$${topdir}/$$module_srcdir \
18400 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18401 --target=${target_alias} \
18402 || exit 1
18403 @endif ld
18407 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
18408 maybe-configure-stage1-ld:
18409 @if ld-bootstrap
18410 maybe-configure-stage1-ld: configure-stage1-ld
18411 configure-stage1-ld:
18412 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18413 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18414 @r=`${PWD_COMMAND}`; export r; \
18415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18416 TFLAGS="$(STAGE1_TFLAGS)"; \
18417 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18418 $(HOST_EXPORTS) \
18419 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18420 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18421 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18422 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
18423 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18424 cd $(HOST_SUBDIR)/ld || exit 1; \
18425 case $(srcdir) in \
18426 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18427 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18428 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18429 esac; \
18430 module_srcdir=ld; \
18431 $(SHELL) $$s/$$module_srcdir/configure \
18432 --srcdir=$${topdir}/$$module_srcdir \
18433 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18434 --target=${target_alias} \
18436 $(STAGE1_CONFIGURE_FLAGS)
18437 @endif ld-bootstrap
18439 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
18440 maybe-configure-stage2-ld:
18441 @if ld-bootstrap
18442 maybe-configure-stage2-ld: configure-stage2-ld
18443 configure-stage2-ld:
18444 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18445 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18446 @r=`${PWD_COMMAND}`; export r; \
18447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18448 TFLAGS="$(STAGE2_TFLAGS)"; \
18449 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18450 $(HOST_EXPORTS) \
18451 $(POSTSTAGE1_HOST_EXPORTS) \
18452 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18453 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18454 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18455 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
18456 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18457 cd $(HOST_SUBDIR)/ld || exit 1; \
18458 case $(srcdir) in \
18459 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18460 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18461 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18462 esac; \
18463 module_srcdir=ld; \
18464 $(SHELL) $$s/$$module_srcdir/configure \
18465 --srcdir=$${topdir}/$$module_srcdir \
18466 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18467 --target=${target_alias} \
18468 --with-build-libsubdir=$(HOST_SUBDIR) \
18469 $(STAGE2_CONFIGURE_FLAGS)
18470 @endif ld-bootstrap
18472 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
18473 maybe-configure-stage3-ld:
18474 @if ld-bootstrap
18475 maybe-configure-stage3-ld: configure-stage3-ld
18476 configure-stage3-ld:
18477 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18478 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18479 @r=`${PWD_COMMAND}`; export r; \
18480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18481 TFLAGS="$(STAGE3_TFLAGS)"; \
18482 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18483 $(HOST_EXPORTS) \
18484 $(POSTSTAGE1_HOST_EXPORTS) \
18485 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18486 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18487 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18488 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
18489 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18490 cd $(HOST_SUBDIR)/ld || exit 1; \
18491 case $(srcdir) in \
18492 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18493 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18494 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18495 esac; \
18496 module_srcdir=ld; \
18497 $(SHELL) $$s/$$module_srcdir/configure \
18498 --srcdir=$${topdir}/$$module_srcdir \
18499 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18500 --target=${target_alias} \
18501 --with-build-libsubdir=$(HOST_SUBDIR) \
18502 $(STAGE3_CONFIGURE_FLAGS)
18503 @endif ld-bootstrap
18505 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
18506 maybe-configure-stage4-ld:
18507 @if ld-bootstrap
18508 maybe-configure-stage4-ld: configure-stage4-ld
18509 configure-stage4-ld:
18510 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18511 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18512 @r=`${PWD_COMMAND}`; export r; \
18513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18514 TFLAGS="$(STAGE4_TFLAGS)"; \
18515 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18516 $(HOST_EXPORTS) \
18517 $(POSTSTAGE1_HOST_EXPORTS) \
18518 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18519 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18520 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18521 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
18522 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18523 cd $(HOST_SUBDIR)/ld || exit 1; \
18524 case $(srcdir) in \
18525 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18526 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18527 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18528 esac; \
18529 module_srcdir=ld; \
18530 $(SHELL) $$s/$$module_srcdir/configure \
18531 --srcdir=$${topdir}/$$module_srcdir \
18532 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18533 --target=${target_alias} \
18534 --with-build-libsubdir=$(HOST_SUBDIR) \
18535 $(STAGE4_CONFIGURE_FLAGS)
18536 @endif ld-bootstrap
18538 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
18539 maybe-configure-stageprofile-ld:
18540 @if ld-bootstrap
18541 maybe-configure-stageprofile-ld: configure-stageprofile-ld
18542 configure-stageprofile-ld:
18543 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18544 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18545 @r=`${PWD_COMMAND}`; export r; \
18546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18547 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18548 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18549 $(HOST_EXPORTS) \
18550 $(POSTSTAGE1_HOST_EXPORTS) \
18551 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18552 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18553 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18554 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
18555 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18556 cd $(HOST_SUBDIR)/ld || exit 1; \
18557 case $(srcdir) in \
18558 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18559 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18560 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18561 esac; \
18562 module_srcdir=ld; \
18563 $(SHELL) $$s/$$module_srcdir/configure \
18564 --srcdir=$${topdir}/$$module_srcdir \
18565 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18566 --target=${target_alias} \
18567 --with-build-libsubdir=$(HOST_SUBDIR) \
18568 $(STAGEprofile_CONFIGURE_FLAGS)
18569 @endif ld-bootstrap
18571 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
18572 maybe-configure-stagefeedback-ld:
18573 @if ld-bootstrap
18574 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
18575 configure-stagefeedback-ld:
18576 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18577 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18578 @r=`${PWD_COMMAND}`; export r; \
18579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18580 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18581 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18582 $(HOST_EXPORTS) \
18583 $(POSTSTAGE1_HOST_EXPORTS) \
18584 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18585 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18586 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18587 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
18588 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18589 cd $(HOST_SUBDIR)/ld || exit 1; \
18590 case $(srcdir) in \
18591 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18592 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18593 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18594 esac; \
18595 module_srcdir=ld; \
18596 $(SHELL) $$s/$$module_srcdir/configure \
18597 --srcdir=$${topdir}/$$module_srcdir \
18598 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18599 --target=${target_alias} \
18600 --with-build-libsubdir=$(HOST_SUBDIR) \
18601 $(STAGEfeedback_CONFIGURE_FLAGS)
18602 @endif ld-bootstrap
18608 .PHONY: all-ld maybe-all-ld
18609 maybe-all-ld:
18610 @if gcc-bootstrap
18611 all-ld: stage_current
18612 @endif gcc-bootstrap
18613 @if ld
18614 TARGET-ld=all
18615 maybe-all-ld: all-ld
18616 all-ld: configure-ld
18617 @r=`${PWD_COMMAND}`; export r; \
18618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18619 $(HOST_EXPORTS) \
18620 (cd $(HOST_SUBDIR)/ld && \
18621 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18622 $(TARGET-ld))
18623 @endif ld
18627 .PHONY: all-stage1-ld maybe-all-stage1-ld
18628 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
18629 maybe-all-stage1-ld:
18630 maybe-clean-stage1-ld:
18631 @if ld-bootstrap
18632 maybe-all-stage1-ld: all-stage1-ld
18633 all-stage1: all-stage1-ld
18634 TARGET-stage1-ld = $(TARGET-ld)
18635 all-stage1-ld: configure-stage1-ld
18636 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18637 @r=`${PWD_COMMAND}`; export r; \
18638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18639 TFLAGS="$(STAGE1_TFLAGS)"; \
18640 $(HOST_EXPORTS) \
18641 cd $(HOST_SUBDIR)/ld && \
18642 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18643 CFLAGS="$(STAGE1_CFLAGS)" \
18644 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18645 LIBCFLAGS="$(LIBCFLAGS)" \
18646 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18647 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18648 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18649 $(EXTRA_HOST_FLAGS) \
18650 $(STAGE1_FLAGS_TO_PASS) \
18651 TFLAGS="$(STAGE1_TFLAGS)" \
18652 $(TARGET-stage1-ld)
18654 maybe-clean-stage1-ld: clean-stage1-ld
18655 clean-stage1: clean-stage1-ld
18656 clean-stage1-ld:
18657 @if [ $(current_stage) = stage1 ]; then \
18658 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18659 else \
18660 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
18661 $(MAKE) stage1-start; \
18662 fi; \
18663 cd $(HOST_SUBDIR)/ld && \
18664 $(MAKE) $(EXTRA_HOST_FLAGS) \
18665 $(STAGE1_FLAGS_TO_PASS) clean
18666 @endif ld-bootstrap
18669 .PHONY: all-stage2-ld maybe-all-stage2-ld
18670 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
18671 maybe-all-stage2-ld:
18672 maybe-clean-stage2-ld:
18673 @if ld-bootstrap
18674 maybe-all-stage2-ld: all-stage2-ld
18675 all-stage2: all-stage2-ld
18676 TARGET-stage2-ld = $(TARGET-ld)
18677 all-stage2-ld: configure-stage2-ld
18678 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18679 @r=`${PWD_COMMAND}`; export r; \
18680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18681 TFLAGS="$(STAGE2_TFLAGS)"; \
18682 $(HOST_EXPORTS) \
18683 $(POSTSTAGE1_HOST_EXPORTS) \
18684 cd $(HOST_SUBDIR)/ld && \
18685 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18686 CFLAGS="$(STAGE2_CFLAGS)" \
18687 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18688 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18689 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18690 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18691 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18692 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18693 TFLAGS="$(STAGE2_TFLAGS)" \
18694 $(TARGET-stage2-ld)
18696 maybe-clean-stage2-ld: clean-stage2-ld
18697 clean-stage2: clean-stage2-ld
18698 clean-stage2-ld:
18699 @if [ $(current_stage) = stage2 ]; then \
18700 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18701 else \
18702 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
18703 $(MAKE) stage2-start; \
18704 fi; \
18705 cd $(HOST_SUBDIR)/ld && \
18706 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18707 @endif ld-bootstrap
18710 .PHONY: all-stage3-ld maybe-all-stage3-ld
18711 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
18712 maybe-all-stage3-ld:
18713 maybe-clean-stage3-ld:
18714 @if ld-bootstrap
18715 maybe-all-stage3-ld: all-stage3-ld
18716 all-stage3: all-stage3-ld
18717 TARGET-stage3-ld = $(TARGET-ld)
18718 all-stage3-ld: configure-stage3-ld
18719 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18720 @r=`${PWD_COMMAND}`; export r; \
18721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18722 TFLAGS="$(STAGE3_TFLAGS)"; \
18723 $(HOST_EXPORTS) \
18724 $(POSTSTAGE1_HOST_EXPORTS) \
18725 cd $(HOST_SUBDIR)/ld && \
18726 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18727 CFLAGS="$(STAGE3_CFLAGS)" \
18728 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
18729 LIBCFLAGS="$(STAGE3_CFLAGS)" \
18730 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18731 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18732 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18733 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18734 TFLAGS="$(STAGE3_TFLAGS)" \
18735 $(TARGET-stage3-ld)
18737 maybe-clean-stage3-ld: clean-stage3-ld
18738 clean-stage3: clean-stage3-ld
18739 clean-stage3-ld:
18740 @if [ $(current_stage) = stage3 ]; then \
18741 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18742 else \
18743 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
18744 $(MAKE) stage3-start; \
18745 fi; \
18746 cd $(HOST_SUBDIR)/ld && \
18747 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18748 @endif ld-bootstrap
18751 .PHONY: all-stage4-ld maybe-all-stage4-ld
18752 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
18753 maybe-all-stage4-ld:
18754 maybe-clean-stage4-ld:
18755 @if ld-bootstrap
18756 maybe-all-stage4-ld: all-stage4-ld
18757 all-stage4: all-stage4-ld
18758 TARGET-stage4-ld = $(TARGET-ld)
18759 all-stage4-ld: configure-stage4-ld
18760 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18761 @r=`${PWD_COMMAND}`; export r; \
18762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18763 TFLAGS="$(STAGE4_TFLAGS)"; \
18764 $(HOST_EXPORTS) \
18765 $(POSTSTAGE1_HOST_EXPORTS) \
18766 cd $(HOST_SUBDIR)/ld && \
18767 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18768 CFLAGS="$(STAGE4_CFLAGS)" \
18769 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
18770 LIBCFLAGS="$(STAGE4_CFLAGS)" \
18771 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18772 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18773 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18774 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18775 TFLAGS="$(STAGE4_TFLAGS)" \
18776 $(TARGET-stage4-ld)
18778 maybe-clean-stage4-ld: clean-stage4-ld
18779 clean-stage4: clean-stage4-ld
18780 clean-stage4-ld:
18781 @if [ $(current_stage) = stage4 ]; then \
18782 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18783 else \
18784 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
18785 $(MAKE) stage4-start; \
18786 fi; \
18787 cd $(HOST_SUBDIR)/ld && \
18788 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18789 @endif ld-bootstrap
18792 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
18793 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
18794 maybe-all-stageprofile-ld:
18795 maybe-clean-stageprofile-ld:
18796 @if ld-bootstrap
18797 maybe-all-stageprofile-ld: all-stageprofile-ld
18798 all-stageprofile: all-stageprofile-ld
18799 TARGET-stageprofile-ld = $(TARGET-ld)
18800 all-stageprofile-ld: configure-stageprofile-ld
18801 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18802 @r=`${PWD_COMMAND}`; export r; \
18803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18804 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18805 $(HOST_EXPORTS) \
18806 $(POSTSTAGE1_HOST_EXPORTS) \
18807 cd $(HOST_SUBDIR)/ld && \
18808 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18809 CFLAGS="$(STAGEprofile_CFLAGS)" \
18810 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
18811 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
18812 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18813 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18814 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18815 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18816 TFLAGS="$(STAGEprofile_TFLAGS)" \
18817 $(TARGET-stageprofile-ld)
18819 maybe-clean-stageprofile-ld: clean-stageprofile-ld
18820 clean-stageprofile: clean-stageprofile-ld
18821 clean-stageprofile-ld:
18822 @if [ $(current_stage) = stageprofile ]; then \
18823 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18824 else \
18825 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
18826 $(MAKE) stageprofile-start; \
18827 fi; \
18828 cd $(HOST_SUBDIR)/ld && \
18829 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18830 @endif ld-bootstrap
18833 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
18834 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
18835 maybe-all-stagefeedback-ld:
18836 maybe-clean-stagefeedback-ld:
18837 @if ld-bootstrap
18838 maybe-all-stagefeedback-ld: all-stagefeedback-ld
18839 all-stagefeedback: all-stagefeedback-ld
18840 TARGET-stagefeedback-ld = $(TARGET-ld)
18841 all-stagefeedback-ld: configure-stagefeedback-ld
18842 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18843 @r=`${PWD_COMMAND}`; export r; \
18844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18845 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18846 $(HOST_EXPORTS) \
18847 $(POSTSTAGE1_HOST_EXPORTS) \
18848 cd $(HOST_SUBDIR)/ld && \
18849 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18850 CFLAGS="$(STAGEfeedback_CFLAGS)" \
18851 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
18852 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
18853 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18854 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18855 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18856 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18857 TFLAGS="$(STAGEfeedback_TFLAGS)" \
18858 $(TARGET-stagefeedback-ld)
18860 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
18861 clean-stagefeedback: clean-stagefeedback-ld
18862 clean-stagefeedback-ld:
18863 @if [ $(current_stage) = stagefeedback ]; then \
18864 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18865 else \
18866 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
18867 $(MAKE) stagefeedback-start; \
18868 fi; \
18869 cd $(HOST_SUBDIR)/ld && \
18870 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18871 @endif ld-bootstrap
18877 .PHONY: check-ld maybe-check-ld
18878 maybe-check-ld:
18879 @if ld
18880 maybe-check-ld: check-ld
18882 check-ld:
18883 @: $(MAKE); $(unstage)
18884 @r=`${PWD_COMMAND}`; export r; \
18885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18886 $(HOST_EXPORTS) \
18887 (cd $(HOST_SUBDIR)/ld && \
18888 $(MAKE) $(FLAGS_TO_PASS) check)
18890 @endif ld
18892 .PHONY: install-ld maybe-install-ld
18893 maybe-install-ld:
18894 @if ld
18895 maybe-install-ld: install-ld
18897 install-ld: installdirs
18898 @: $(MAKE); $(unstage)
18899 @r=`${PWD_COMMAND}`; export r; \
18900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18901 $(HOST_EXPORTS) \
18902 (cd $(HOST_SUBDIR)/ld && \
18903 $(MAKE) $(FLAGS_TO_PASS) install)
18905 @endif ld
18907 .PHONY: install-strip-ld maybe-install-strip-ld
18908 maybe-install-strip-ld:
18909 @if ld
18910 maybe-install-strip-ld: install-strip-ld
18912 install-strip-ld: installdirs
18913 @: $(MAKE); $(unstage)
18914 @r=`${PWD_COMMAND}`; export r; \
18915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18916 $(HOST_EXPORTS) \
18917 (cd $(HOST_SUBDIR)/ld && \
18918 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18920 @endif ld
18922 # Other targets (info, dvi, pdf, etc.)
18924 .PHONY: maybe-info-ld info-ld
18925 maybe-info-ld:
18926 @if ld
18927 maybe-info-ld: info-ld
18929 info-ld: \
18930 configure-ld
18931 @[ -f ./ld/Makefile ] || exit 0; \
18932 r=`${PWD_COMMAND}`; export r; \
18933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18934 $(HOST_EXPORTS) \
18935 for flag in $(EXTRA_HOST_FLAGS) ; do \
18936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18937 done; \
18938 echo "Doing info in ld" ; \
18939 (cd $(HOST_SUBDIR)/ld && \
18940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18942 "RANLIB=$${RANLIB}" \
18943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18944 info) \
18945 || exit 1
18947 @endif ld
18949 .PHONY: maybe-dvi-ld dvi-ld
18950 maybe-dvi-ld:
18951 @if ld
18952 maybe-dvi-ld: dvi-ld
18954 dvi-ld: \
18955 configure-ld
18956 @[ -f ./ld/Makefile ] || exit 0; \
18957 r=`${PWD_COMMAND}`; export r; \
18958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18959 $(HOST_EXPORTS) \
18960 for flag in $(EXTRA_HOST_FLAGS) ; do \
18961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18962 done; \
18963 echo "Doing dvi in ld" ; \
18964 (cd $(HOST_SUBDIR)/ld && \
18965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18967 "RANLIB=$${RANLIB}" \
18968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18969 dvi) \
18970 || exit 1
18972 @endif ld
18974 .PHONY: maybe-pdf-ld pdf-ld
18975 maybe-pdf-ld:
18976 @if ld
18977 maybe-pdf-ld: pdf-ld
18979 pdf-ld: \
18980 configure-ld
18981 @[ -f ./ld/Makefile ] || exit 0; \
18982 r=`${PWD_COMMAND}`; export r; \
18983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18984 $(HOST_EXPORTS) \
18985 for flag in $(EXTRA_HOST_FLAGS) ; do \
18986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18987 done; \
18988 echo "Doing pdf in ld" ; \
18989 (cd $(HOST_SUBDIR)/ld && \
18990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18992 "RANLIB=$${RANLIB}" \
18993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18994 pdf) \
18995 || exit 1
18997 @endif ld
18999 .PHONY: maybe-html-ld html-ld
19000 maybe-html-ld:
19001 @if ld
19002 maybe-html-ld: html-ld
19004 html-ld: \
19005 configure-ld
19006 @[ -f ./ld/Makefile ] || exit 0; \
19007 r=`${PWD_COMMAND}`; export r; \
19008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19009 $(HOST_EXPORTS) \
19010 for flag in $(EXTRA_HOST_FLAGS) ; do \
19011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19012 done; \
19013 echo "Doing html in ld" ; \
19014 (cd $(HOST_SUBDIR)/ld && \
19015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19017 "RANLIB=$${RANLIB}" \
19018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19019 html) \
19020 || exit 1
19022 @endif ld
19024 .PHONY: maybe-TAGS-ld TAGS-ld
19025 maybe-TAGS-ld:
19026 @if ld
19027 maybe-TAGS-ld: TAGS-ld
19029 TAGS-ld: \
19030 configure-ld
19031 @[ -f ./ld/Makefile ] || exit 0; \
19032 r=`${PWD_COMMAND}`; export r; \
19033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19034 $(HOST_EXPORTS) \
19035 for flag in $(EXTRA_HOST_FLAGS) ; do \
19036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19037 done; \
19038 echo "Doing TAGS in ld" ; \
19039 (cd $(HOST_SUBDIR)/ld && \
19040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19042 "RANLIB=$${RANLIB}" \
19043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19044 TAGS) \
19045 || exit 1
19047 @endif ld
19049 .PHONY: maybe-install-info-ld install-info-ld
19050 maybe-install-info-ld:
19051 @if ld
19052 maybe-install-info-ld: install-info-ld
19054 install-info-ld: \
19055 configure-ld \
19056 info-ld
19057 @[ -f ./ld/Makefile ] || exit 0; \
19058 r=`${PWD_COMMAND}`; export r; \
19059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19060 $(HOST_EXPORTS) \
19061 for flag in $(EXTRA_HOST_FLAGS) ; do \
19062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19063 done; \
19064 echo "Doing install-info in ld" ; \
19065 (cd $(HOST_SUBDIR)/ld && \
19066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19068 "RANLIB=$${RANLIB}" \
19069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19070 install-info) \
19071 || exit 1
19073 @endif ld
19075 .PHONY: maybe-install-pdf-ld install-pdf-ld
19076 maybe-install-pdf-ld:
19077 @if ld
19078 maybe-install-pdf-ld: install-pdf-ld
19080 install-pdf-ld: \
19081 configure-ld \
19082 pdf-ld
19083 @[ -f ./ld/Makefile ] || exit 0; \
19084 r=`${PWD_COMMAND}`; export r; \
19085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19086 $(HOST_EXPORTS) \
19087 for flag in $(EXTRA_HOST_FLAGS) ; do \
19088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19089 done; \
19090 echo "Doing install-pdf in ld" ; \
19091 (cd $(HOST_SUBDIR)/ld && \
19092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19094 "RANLIB=$${RANLIB}" \
19095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19096 install-pdf) \
19097 || exit 1
19099 @endif ld
19101 .PHONY: maybe-install-html-ld install-html-ld
19102 maybe-install-html-ld:
19103 @if ld
19104 maybe-install-html-ld: install-html-ld
19106 install-html-ld: \
19107 configure-ld \
19108 html-ld
19109 @[ -f ./ld/Makefile ] || exit 0; \
19110 r=`${PWD_COMMAND}`; export r; \
19111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19112 $(HOST_EXPORTS) \
19113 for flag in $(EXTRA_HOST_FLAGS) ; do \
19114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19115 done; \
19116 echo "Doing install-html in ld" ; \
19117 (cd $(HOST_SUBDIR)/ld && \
19118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19120 "RANLIB=$${RANLIB}" \
19121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19122 install-html) \
19123 || exit 1
19125 @endif ld
19127 .PHONY: maybe-installcheck-ld installcheck-ld
19128 maybe-installcheck-ld:
19129 @if ld
19130 maybe-installcheck-ld: installcheck-ld
19132 installcheck-ld: \
19133 configure-ld
19134 @[ -f ./ld/Makefile ] || exit 0; \
19135 r=`${PWD_COMMAND}`; export r; \
19136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19137 $(HOST_EXPORTS) \
19138 for flag in $(EXTRA_HOST_FLAGS) ; do \
19139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19140 done; \
19141 echo "Doing installcheck in ld" ; \
19142 (cd $(HOST_SUBDIR)/ld && \
19143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19145 "RANLIB=$${RANLIB}" \
19146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19147 installcheck) \
19148 || exit 1
19150 @endif ld
19152 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
19153 maybe-mostlyclean-ld:
19154 @if ld
19155 maybe-mostlyclean-ld: mostlyclean-ld
19157 mostlyclean-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 mostlyclean 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 mostlyclean) \
19172 || exit 1
19174 @endif ld
19176 .PHONY: maybe-clean-ld clean-ld
19177 maybe-clean-ld:
19178 @if ld
19179 maybe-clean-ld: clean-ld
19181 clean-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 clean 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 clean) \
19196 || exit 1
19198 @endif ld
19200 .PHONY: maybe-distclean-ld distclean-ld
19201 maybe-distclean-ld:
19202 @if ld
19203 maybe-distclean-ld: distclean-ld
19205 distclean-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 distclean 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 distclean) \
19220 || exit 1
19222 @endif ld
19224 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
19225 maybe-maintainer-clean-ld:
19226 @if ld
19227 maybe-maintainer-clean-ld: maintainer-clean-ld
19229 maintainer-clean-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 maintainer-clean 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 maintainer-clean) \
19244 || exit 1
19246 @endif ld
19250 .PHONY: configure-libbacktrace maybe-configure-libbacktrace
19251 maybe-configure-libbacktrace:
19252 @if gcc-bootstrap
19253 configure-libbacktrace: stage_current
19254 @endif gcc-bootstrap
19255 @if libbacktrace
19256 maybe-configure-libbacktrace: configure-libbacktrace
19257 configure-libbacktrace:
19258 @r=`${PWD_COMMAND}`; export r; \
19259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19260 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19261 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19262 $(HOST_EXPORTS) \
19263 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
19264 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
19265 case $(srcdir) in \
19266 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19267 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19268 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19269 esac; \
19270 module_srcdir=libbacktrace; \
19271 $(SHELL) \
19272 $$s/$$module_srcdir/configure \
19273 --srcdir=$${topdir}/$$module_srcdir \
19274 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19275 --target=${target_alias} \
19276 || exit 1
19277 @endif libbacktrace
19281 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
19282 maybe-configure-stage1-libbacktrace:
19283 @if libbacktrace-bootstrap
19284 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
19285 configure-stage1-libbacktrace:
19286 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19287 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19288 @r=`${PWD_COMMAND}`; export r; \
19289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19290 TFLAGS="$(STAGE1_TFLAGS)"; \
19291 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19292 $(HOST_EXPORTS) \
19293 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19294 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19295 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19296 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace ; \
19297 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19298 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19299 case $(srcdir) in \
19300 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19301 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19302 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19303 esac; \
19304 module_srcdir=libbacktrace; \
19305 $(SHELL) $$s/$$module_srcdir/configure \
19306 --srcdir=$${topdir}/$$module_srcdir \
19307 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19308 --target=${target_alias} \
19310 $(STAGE1_CONFIGURE_FLAGS)
19311 @endif libbacktrace-bootstrap
19313 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
19314 maybe-configure-stage2-libbacktrace:
19315 @if libbacktrace-bootstrap
19316 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
19317 configure-stage2-libbacktrace:
19318 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19319 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19320 @r=`${PWD_COMMAND}`; export r; \
19321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19322 TFLAGS="$(STAGE2_TFLAGS)"; \
19323 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19324 $(HOST_EXPORTS) \
19325 $(POSTSTAGE1_HOST_EXPORTS) \
19326 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19327 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19328 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19329 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace ; \
19330 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19331 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19332 case $(srcdir) in \
19333 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19334 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19335 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19336 esac; \
19337 module_srcdir=libbacktrace; \
19338 $(SHELL) $$s/$$module_srcdir/configure \
19339 --srcdir=$${topdir}/$$module_srcdir \
19340 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19341 --target=${target_alias} \
19342 --with-build-libsubdir=$(HOST_SUBDIR) \
19343 $(STAGE2_CONFIGURE_FLAGS)
19344 @endif libbacktrace-bootstrap
19346 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
19347 maybe-configure-stage3-libbacktrace:
19348 @if libbacktrace-bootstrap
19349 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
19350 configure-stage3-libbacktrace:
19351 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19352 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19353 @r=`${PWD_COMMAND}`; export r; \
19354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19355 TFLAGS="$(STAGE3_TFLAGS)"; \
19356 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19357 $(HOST_EXPORTS) \
19358 $(POSTSTAGE1_HOST_EXPORTS) \
19359 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19360 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19361 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19362 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace ; \
19363 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19364 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19365 case $(srcdir) in \
19366 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19367 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19368 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19369 esac; \
19370 module_srcdir=libbacktrace; \
19371 $(SHELL) $$s/$$module_srcdir/configure \
19372 --srcdir=$${topdir}/$$module_srcdir \
19373 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19374 --target=${target_alias} \
19375 --with-build-libsubdir=$(HOST_SUBDIR) \
19376 $(STAGE3_CONFIGURE_FLAGS)
19377 @endif libbacktrace-bootstrap
19379 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
19380 maybe-configure-stage4-libbacktrace:
19381 @if libbacktrace-bootstrap
19382 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
19383 configure-stage4-libbacktrace:
19384 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19385 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19386 @r=`${PWD_COMMAND}`; export r; \
19387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19388 TFLAGS="$(STAGE4_TFLAGS)"; \
19389 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19390 $(HOST_EXPORTS) \
19391 $(POSTSTAGE1_HOST_EXPORTS) \
19392 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19393 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19394 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19395 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace ; \
19396 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19397 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19398 case $(srcdir) in \
19399 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19400 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19401 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19402 esac; \
19403 module_srcdir=libbacktrace; \
19404 $(SHELL) $$s/$$module_srcdir/configure \
19405 --srcdir=$${topdir}/$$module_srcdir \
19406 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19407 --target=${target_alias} \
19408 --with-build-libsubdir=$(HOST_SUBDIR) \
19409 $(STAGE4_CONFIGURE_FLAGS)
19410 @endif libbacktrace-bootstrap
19412 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
19413 maybe-configure-stageprofile-libbacktrace:
19414 @if libbacktrace-bootstrap
19415 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
19416 configure-stageprofile-libbacktrace:
19417 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19418 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19419 @r=`${PWD_COMMAND}`; export r; \
19420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19421 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19422 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19423 $(HOST_EXPORTS) \
19424 $(POSTSTAGE1_HOST_EXPORTS) \
19425 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19426 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19427 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19428 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace ; \
19429 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19430 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19431 case $(srcdir) in \
19432 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19433 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19434 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19435 esac; \
19436 module_srcdir=libbacktrace; \
19437 $(SHELL) $$s/$$module_srcdir/configure \
19438 --srcdir=$${topdir}/$$module_srcdir \
19439 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19440 --target=${target_alias} \
19441 --with-build-libsubdir=$(HOST_SUBDIR) \
19442 $(STAGEprofile_CONFIGURE_FLAGS)
19443 @endif libbacktrace-bootstrap
19445 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
19446 maybe-configure-stagefeedback-libbacktrace:
19447 @if libbacktrace-bootstrap
19448 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
19449 configure-stagefeedback-libbacktrace:
19450 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19451 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19452 @r=`${PWD_COMMAND}`; export r; \
19453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19454 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19455 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19456 $(HOST_EXPORTS) \
19457 $(POSTSTAGE1_HOST_EXPORTS) \
19458 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19459 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19460 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19461 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace ; \
19462 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19463 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19464 case $(srcdir) in \
19465 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19466 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19467 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19468 esac; \
19469 module_srcdir=libbacktrace; \
19470 $(SHELL) $$s/$$module_srcdir/configure \
19471 --srcdir=$${topdir}/$$module_srcdir \
19472 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19473 --target=${target_alias} \
19474 --with-build-libsubdir=$(HOST_SUBDIR) \
19475 $(STAGEfeedback_CONFIGURE_FLAGS)
19476 @endif libbacktrace-bootstrap
19482 .PHONY: all-libbacktrace maybe-all-libbacktrace
19483 maybe-all-libbacktrace:
19484 @if gcc-bootstrap
19485 all-libbacktrace: stage_current
19486 @endif gcc-bootstrap
19487 @if libbacktrace
19488 TARGET-libbacktrace=all
19489 maybe-all-libbacktrace: all-libbacktrace
19490 all-libbacktrace: configure-libbacktrace
19491 @r=`${PWD_COMMAND}`; export r; \
19492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19493 $(HOST_EXPORTS) \
19494 (cd $(HOST_SUBDIR)/libbacktrace && \
19495 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19496 $(TARGET-libbacktrace))
19497 @endif libbacktrace
19501 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
19502 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
19503 maybe-all-stage1-libbacktrace:
19504 maybe-clean-stage1-libbacktrace:
19505 @if libbacktrace-bootstrap
19506 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
19507 all-stage1: all-stage1-libbacktrace
19508 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
19509 all-stage1-libbacktrace: configure-stage1-libbacktrace
19510 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19511 @r=`${PWD_COMMAND}`; export r; \
19512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19513 TFLAGS="$(STAGE1_TFLAGS)"; \
19514 $(HOST_EXPORTS) \
19515 cd $(HOST_SUBDIR)/libbacktrace && \
19516 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19517 CFLAGS="$(STAGE1_CFLAGS)" \
19518 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19519 LIBCFLAGS="$(LIBCFLAGS)" \
19520 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19521 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19522 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19523 $(EXTRA_HOST_FLAGS) \
19524 $(STAGE1_FLAGS_TO_PASS) \
19525 TFLAGS="$(STAGE1_TFLAGS)" \
19526 $(TARGET-stage1-libbacktrace)
19528 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
19529 clean-stage1: clean-stage1-libbacktrace
19530 clean-stage1-libbacktrace:
19531 @if [ $(current_stage) = stage1 ]; then \
19532 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19533 else \
19534 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
19535 $(MAKE) stage1-start; \
19536 fi; \
19537 cd $(HOST_SUBDIR)/libbacktrace && \
19538 $(MAKE) $(EXTRA_HOST_FLAGS) \
19539 $(STAGE1_FLAGS_TO_PASS) clean
19540 @endif libbacktrace-bootstrap
19543 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
19544 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
19545 maybe-all-stage2-libbacktrace:
19546 maybe-clean-stage2-libbacktrace:
19547 @if libbacktrace-bootstrap
19548 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
19549 all-stage2: all-stage2-libbacktrace
19550 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
19551 all-stage2-libbacktrace: configure-stage2-libbacktrace
19552 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19553 @r=`${PWD_COMMAND}`; export r; \
19554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19555 TFLAGS="$(STAGE2_TFLAGS)"; \
19556 $(HOST_EXPORTS) \
19557 $(POSTSTAGE1_HOST_EXPORTS) \
19558 cd $(HOST_SUBDIR)/libbacktrace && \
19559 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19560 CFLAGS="$(STAGE2_CFLAGS)" \
19561 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19562 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19563 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19564 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19565 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19566 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19567 TFLAGS="$(STAGE2_TFLAGS)" \
19568 $(TARGET-stage2-libbacktrace)
19570 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
19571 clean-stage2: clean-stage2-libbacktrace
19572 clean-stage2-libbacktrace:
19573 @if [ $(current_stage) = stage2 ]; then \
19574 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19575 else \
19576 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
19577 $(MAKE) stage2-start; \
19578 fi; \
19579 cd $(HOST_SUBDIR)/libbacktrace && \
19580 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19581 @endif libbacktrace-bootstrap
19584 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
19585 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
19586 maybe-all-stage3-libbacktrace:
19587 maybe-clean-stage3-libbacktrace:
19588 @if libbacktrace-bootstrap
19589 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
19590 all-stage3: all-stage3-libbacktrace
19591 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
19592 all-stage3-libbacktrace: configure-stage3-libbacktrace
19593 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19594 @r=`${PWD_COMMAND}`; export r; \
19595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19596 TFLAGS="$(STAGE3_TFLAGS)"; \
19597 $(HOST_EXPORTS) \
19598 $(POSTSTAGE1_HOST_EXPORTS) \
19599 cd $(HOST_SUBDIR)/libbacktrace && \
19600 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19601 CFLAGS="$(STAGE3_CFLAGS)" \
19602 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19603 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19604 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19605 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19606 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19607 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19608 TFLAGS="$(STAGE3_TFLAGS)" \
19609 $(TARGET-stage3-libbacktrace)
19611 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
19612 clean-stage3: clean-stage3-libbacktrace
19613 clean-stage3-libbacktrace:
19614 @if [ $(current_stage) = stage3 ]; then \
19615 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19616 else \
19617 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
19618 $(MAKE) stage3-start; \
19619 fi; \
19620 cd $(HOST_SUBDIR)/libbacktrace && \
19621 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19622 @endif libbacktrace-bootstrap
19625 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
19626 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
19627 maybe-all-stage4-libbacktrace:
19628 maybe-clean-stage4-libbacktrace:
19629 @if libbacktrace-bootstrap
19630 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
19631 all-stage4: all-stage4-libbacktrace
19632 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
19633 all-stage4-libbacktrace: configure-stage4-libbacktrace
19634 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19635 @r=`${PWD_COMMAND}`; export r; \
19636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19637 TFLAGS="$(STAGE4_TFLAGS)"; \
19638 $(HOST_EXPORTS) \
19639 $(POSTSTAGE1_HOST_EXPORTS) \
19640 cd $(HOST_SUBDIR)/libbacktrace && \
19641 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19642 CFLAGS="$(STAGE4_CFLAGS)" \
19643 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19644 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19645 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19646 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19647 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19648 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19649 TFLAGS="$(STAGE4_TFLAGS)" \
19650 $(TARGET-stage4-libbacktrace)
19652 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
19653 clean-stage4: clean-stage4-libbacktrace
19654 clean-stage4-libbacktrace:
19655 @if [ $(current_stage) = stage4 ]; then \
19656 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19657 else \
19658 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
19659 $(MAKE) stage4-start; \
19660 fi; \
19661 cd $(HOST_SUBDIR)/libbacktrace && \
19662 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19663 @endif libbacktrace-bootstrap
19666 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
19667 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
19668 maybe-all-stageprofile-libbacktrace:
19669 maybe-clean-stageprofile-libbacktrace:
19670 @if libbacktrace-bootstrap
19671 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
19672 all-stageprofile: all-stageprofile-libbacktrace
19673 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
19674 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
19675 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19676 @r=`${PWD_COMMAND}`; export r; \
19677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19678 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19679 $(HOST_EXPORTS) \
19680 $(POSTSTAGE1_HOST_EXPORTS) \
19681 cd $(HOST_SUBDIR)/libbacktrace && \
19682 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19683 CFLAGS="$(STAGEprofile_CFLAGS)" \
19684 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19685 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19686 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19687 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19688 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19689 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19690 TFLAGS="$(STAGEprofile_TFLAGS)" \
19691 $(TARGET-stageprofile-libbacktrace)
19693 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
19694 clean-stageprofile: clean-stageprofile-libbacktrace
19695 clean-stageprofile-libbacktrace:
19696 @if [ $(current_stage) = stageprofile ]; then \
19697 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19698 else \
19699 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
19700 $(MAKE) stageprofile-start; \
19701 fi; \
19702 cd $(HOST_SUBDIR)/libbacktrace && \
19703 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19704 @endif libbacktrace-bootstrap
19707 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
19708 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
19709 maybe-all-stagefeedback-libbacktrace:
19710 maybe-clean-stagefeedback-libbacktrace:
19711 @if libbacktrace-bootstrap
19712 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
19713 all-stagefeedback: all-stagefeedback-libbacktrace
19714 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
19715 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
19716 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19717 @r=`${PWD_COMMAND}`; export r; \
19718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19719 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19720 $(HOST_EXPORTS) \
19721 $(POSTSTAGE1_HOST_EXPORTS) \
19722 cd $(HOST_SUBDIR)/libbacktrace && \
19723 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19724 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19725 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19726 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19727 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19728 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19729 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19730 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19731 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19732 $(TARGET-stagefeedback-libbacktrace)
19734 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
19735 clean-stagefeedback: clean-stagefeedback-libbacktrace
19736 clean-stagefeedback-libbacktrace:
19737 @if [ $(current_stage) = stagefeedback ]; then \
19738 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19739 else \
19740 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
19741 $(MAKE) stagefeedback-start; \
19742 fi; \
19743 cd $(HOST_SUBDIR)/libbacktrace && \
19744 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19745 @endif libbacktrace-bootstrap
19751 .PHONY: check-libbacktrace maybe-check-libbacktrace
19752 maybe-check-libbacktrace:
19753 @if libbacktrace
19754 maybe-check-libbacktrace: check-libbacktrace
19756 check-libbacktrace:
19757 @: $(MAKE); $(unstage)
19758 @r=`${PWD_COMMAND}`; export r; \
19759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19760 $(HOST_EXPORTS) \
19761 (cd $(HOST_SUBDIR)/libbacktrace && \
19762 $(MAKE) $(FLAGS_TO_PASS) check)
19764 @endif libbacktrace
19766 .PHONY: install-libbacktrace maybe-install-libbacktrace
19767 maybe-install-libbacktrace:
19768 @if libbacktrace
19769 maybe-install-libbacktrace: install-libbacktrace
19771 install-libbacktrace: installdirs
19772 @: $(MAKE); $(unstage)
19773 @r=`${PWD_COMMAND}`; export r; \
19774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19775 $(HOST_EXPORTS) \
19776 (cd $(HOST_SUBDIR)/libbacktrace && \
19777 $(MAKE) $(FLAGS_TO_PASS) install)
19779 @endif libbacktrace
19781 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
19782 maybe-install-strip-libbacktrace:
19783 @if libbacktrace
19784 maybe-install-strip-libbacktrace: install-strip-libbacktrace
19786 install-strip-libbacktrace: installdirs
19787 @: $(MAKE); $(unstage)
19788 @r=`${PWD_COMMAND}`; export r; \
19789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19790 $(HOST_EXPORTS) \
19791 (cd $(HOST_SUBDIR)/libbacktrace && \
19792 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19794 @endif libbacktrace
19796 # Other targets (info, dvi, pdf, etc.)
19798 .PHONY: maybe-info-libbacktrace info-libbacktrace
19799 maybe-info-libbacktrace:
19800 @if libbacktrace
19801 maybe-info-libbacktrace: info-libbacktrace
19803 info-libbacktrace: \
19804 configure-libbacktrace
19805 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19806 r=`${PWD_COMMAND}`; export r; \
19807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19808 $(HOST_EXPORTS) \
19809 for flag in $(EXTRA_HOST_FLAGS) ; do \
19810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19811 done; \
19812 echo "Doing info in libbacktrace" ; \
19813 (cd $(HOST_SUBDIR)/libbacktrace && \
19814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19816 "RANLIB=$${RANLIB}" \
19817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19818 info) \
19819 || exit 1
19821 @endif libbacktrace
19823 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
19824 maybe-dvi-libbacktrace:
19825 @if libbacktrace
19826 maybe-dvi-libbacktrace: dvi-libbacktrace
19828 dvi-libbacktrace: \
19829 configure-libbacktrace
19830 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19831 r=`${PWD_COMMAND}`; export r; \
19832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19833 $(HOST_EXPORTS) \
19834 for flag in $(EXTRA_HOST_FLAGS) ; do \
19835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19836 done; \
19837 echo "Doing dvi in libbacktrace" ; \
19838 (cd $(HOST_SUBDIR)/libbacktrace && \
19839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19841 "RANLIB=$${RANLIB}" \
19842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19843 dvi) \
19844 || exit 1
19846 @endif libbacktrace
19848 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
19849 maybe-pdf-libbacktrace:
19850 @if libbacktrace
19851 maybe-pdf-libbacktrace: pdf-libbacktrace
19853 pdf-libbacktrace: \
19854 configure-libbacktrace
19855 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19856 r=`${PWD_COMMAND}`; export r; \
19857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19858 $(HOST_EXPORTS) \
19859 for flag in $(EXTRA_HOST_FLAGS) ; do \
19860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19861 done; \
19862 echo "Doing pdf in libbacktrace" ; \
19863 (cd $(HOST_SUBDIR)/libbacktrace && \
19864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19866 "RANLIB=$${RANLIB}" \
19867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19868 pdf) \
19869 || exit 1
19871 @endif libbacktrace
19873 .PHONY: maybe-html-libbacktrace html-libbacktrace
19874 maybe-html-libbacktrace:
19875 @if libbacktrace
19876 maybe-html-libbacktrace: html-libbacktrace
19878 html-libbacktrace: \
19879 configure-libbacktrace
19880 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19881 r=`${PWD_COMMAND}`; export r; \
19882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19883 $(HOST_EXPORTS) \
19884 for flag in $(EXTRA_HOST_FLAGS) ; do \
19885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19886 done; \
19887 echo "Doing html in libbacktrace" ; \
19888 (cd $(HOST_SUBDIR)/libbacktrace && \
19889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19891 "RANLIB=$${RANLIB}" \
19892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19893 html) \
19894 || exit 1
19896 @endif libbacktrace
19898 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
19899 maybe-TAGS-libbacktrace:
19900 @if libbacktrace
19901 maybe-TAGS-libbacktrace: TAGS-libbacktrace
19903 TAGS-libbacktrace: \
19904 configure-libbacktrace
19905 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19906 r=`${PWD_COMMAND}`; export r; \
19907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19908 $(HOST_EXPORTS) \
19909 for flag in $(EXTRA_HOST_FLAGS) ; do \
19910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19911 done; \
19912 echo "Doing TAGS in libbacktrace" ; \
19913 (cd $(HOST_SUBDIR)/libbacktrace && \
19914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19916 "RANLIB=$${RANLIB}" \
19917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19918 TAGS) \
19919 || exit 1
19921 @endif libbacktrace
19923 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
19924 maybe-install-info-libbacktrace:
19925 @if libbacktrace
19926 maybe-install-info-libbacktrace: install-info-libbacktrace
19928 install-info-libbacktrace: \
19929 configure-libbacktrace \
19930 info-libbacktrace
19931 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19932 r=`${PWD_COMMAND}`; export r; \
19933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19934 $(HOST_EXPORTS) \
19935 for flag in $(EXTRA_HOST_FLAGS) ; do \
19936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19937 done; \
19938 echo "Doing install-info in libbacktrace" ; \
19939 (cd $(HOST_SUBDIR)/libbacktrace && \
19940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19942 "RANLIB=$${RANLIB}" \
19943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19944 install-info) \
19945 || exit 1
19947 @endif libbacktrace
19949 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
19950 maybe-install-pdf-libbacktrace:
19951 @if libbacktrace
19952 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
19954 install-pdf-libbacktrace: \
19955 configure-libbacktrace \
19956 pdf-libbacktrace
19957 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19958 r=`${PWD_COMMAND}`; export r; \
19959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19960 $(HOST_EXPORTS) \
19961 for flag in $(EXTRA_HOST_FLAGS) ; do \
19962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19963 done; \
19964 echo "Doing install-pdf in libbacktrace" ; \
19965 (cd $(HOST_SUBDIR)/libbacktrace && \
19966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19968 "RANLIB=$${RANLIB}" \
19969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19970 install-pdf) \
19971 || exit 1
19973 @endif libbacktrace
19975 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
19976 maybe-install-html-libbacktrace:
19977 @if libbacktrace
19978 maybe-install-html-libbacktrace: install-html-libbacktrace
19980 install-html-libbacktrace: \
19981 configure-libbacktrace \
19982 html-libbacktrace
19983 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19984 r=`${PWD_COMMAND}`; export r; \
19985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19986 $(HOST_EXPORTS) \
19987 for flag in $(EXTRA_HOST_FLAGS) ; do \
19988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19989 done; \
19990 echo "Doing install-html in libbacktrace" ; \
19991 (cd $(HOST_SUBDIR)/libbacktrace && \
19992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19994 "RANLIB=$${RANLIB}" \
19995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19996 install-html) \
19997 || exit 1
19999 @endif libbacktrace
20001 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
20002 maybe-installcheck-libbacktrace:
20003 @if libbacktrace
20004 maybe-installcheck-libbacktrace: installcheck-libbacktrace
20006 installcheck-libbacktrace: \
20007 configure-libbacktrace
20008 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20009 r=`${PWD_COMMAND}`; export r; \
20010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20011 $(HOST_EXPORTS) \
20012 for flag in $(EXTRA_HOST_FLAGS) ; do \
20013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20014 done; \
20015 echo "Doing installcheck in libbacktrace" ; \
20016 (cd $(HOST_SUBDIR)/libbacktrace && \
20017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20019 "RANLIB=$${RANLIB}" \
20020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20021 installcheck) \
20022 || exit 1
20024 @endif libbacktrace
20026 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
20027 maybe-mostlyclean-libbacktrace:
20028 @if libbacktrace
20029 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
20031 mostlyclean-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 mostlyclean 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 mostlyclean) \
20046 || exit 1
20048 @endif libbacktrace
20050 .PHONY: maybe-clean-libbacktrace clean-libbacktrace
20051 maybe-clean-libbacktrace:
20052 @if libbacktrace
20053 maybe-clean-libbacktrace: clean-libbacktrace
20055 clean-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 clean 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 clean) \
20070 || exit 1
20072 @endif libbacktrace
20074 .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
20075 maybe-distclean-libbacktrace:
20076 @if libbacktrace
20077 maybe-distclean-libbacktrace: distclean-libbacktrace
20079 distclean-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 distclean 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 distclean) \
20094 || exit 1
20096 @endif libbacktrace
20098 .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
20099 maybe-maintainer-clean-libbacktrace:
20100 @if libbacktrace
20101 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
20103 maintainer-clean-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 maintainer-clean 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 maintainer-clean) \
20118 || exit 1
20120 @endif libbacktrace
20124 .PHONY: configure-libcpp maybe-configure-libcpp
20125 maybe-configure-libcpp:
20126 @if gcc-bootstrap
20127 configure-libcpp: stage_current
20128 @endif gcc-bootstrap
20129 @if libcpp
20130 maybe-configure-libcpp: configure-libcpp
20131 configure-libcpp:
20132 @r=`${PWD_COMMAND}`; export r; \
20133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20134 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20135 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20136 $(HOST_EXPORTS) \
20137 echo Configuring in $(HOST_SUBDIR)/libcpp; \
20138 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
20139 case $(srcdir) in \
20140 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20141 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20142 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20143 esac; \
20144 module_srcdir=libcpp; \
20145 $(SHELL) \
20146 $$s/$$module_srcdir/configure \
20147 --srcdir=$${topdir}/$$module_srcdir \
20148 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20149 --target=${target_alias} \
20150 || exit 1
20151 @endif libcpp
20155 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
20156 maybe-configure-stage1-libcpp:
20157 @if libcpp-bootstrap
20158 maybe-configure-stage1-libcpp: configure-stage1-libcpp
20159 configure-stage1-libcpp:
20160 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20161 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20162 @r=`${PWD_COMMAND}`; export r; \
20163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20164 TFLAGS="$(STAGE1_TFLAGS)"; \
20165 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20166 $(HOST_EXPORTS) \
20167 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20168 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20169 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20170 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
20171 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20172 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20173 case $(srcdir) in \
20174 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20175 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20176 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20177 esac; \
20178 module_srcdir=libcpp; \
20179 $(SHELL) $$s/$$module_srcdir/configure \
20180 --srcdir=$${topdir}/$$module_srcdir \
20181 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20182 --target=${target_alias} \
20184 $(STAGE1_CONFIGURE_FLAGS)
20185 @endif libcpp-bootstrap
20187 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
20188 maybe-configure-stage2-libcpp:
20189 @if libcpp-bootstrap
20190 maybe-configure-stage2-libcpp: configure-stage2-libcpp
20191 configure-stage2-libcpp:
20192 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20193 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20194 @r=`${PWD_COMMAND}`; export r; \
20195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20196 TFLAGS="$(STAGE2_TFLAGS)"; \
20197 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20198 $(HOST_EXPORTS) \
20199 $(POSTSTAGE1_HOST_EXPORTS) \
20200 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20201 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20202 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20203 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
20204 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20205 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20206 case $(srcdir) in \
20207 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20208 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20209 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20210 esac; \
20211 module_srcdir=libcpp; \
20212 $(SHELL) $$s/$$module_srcdir/configure \
20213 --srcdir=$${topdir}/$$module_srcdir \
20214 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20215 --target=${target_alias} \
20216 --with-build-libsubdir=$(HOST_SUBDIR) \
20217 $(STAGE2_CONFIGURE_FLAGS)
20218 @endif libcpp-bootstrap
20220 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
20221 maybe-configure-stage3-libcpp:
20222 @if libcpp-bootstrap
20223 maybe-configure-stage3-libcpp: configure-stage3-libcpp
20224 configure-stage3-libcpp:
20225 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20226 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20227 @r=`${PWD_COMMAND}`; export r; \
20228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20229 TFLAGS="$(STAGE3_TFLAGS)"; \
20230 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20231 $(HOST_EXPORTS) \
20232 $(POSTSTAGE1_HOST_EXPORTS) \
20233 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20234 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20235 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20236 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
20237 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20238 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20239 case $(srcdir) in \
20240 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20241 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20242 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20243 esac; \
20244 module_srcdir=libcpp; \
20245 $(SHELL) $$s/$$module_srcdir/configure \
20246 --srcdir=$${topdir}/$$module_srcdir \
20247 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20248 --target=${target_alias} \
20249 --with-build-libsubdir=$(HOST_SUBDIR) \
20250 $(STAGE3_CONFIGURE_FLAGS)
20251 @endif libcpp-bootstrap
20253 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
20254 maybe-configure-stage4-libcpp:
20255 @if libcpp-bootstrap
20256 maybe-configure-stage4-libcpp: configure-stage4-libcpp
20257 configure-stage4-libcpp:
20258 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20259 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20260 @r=`${PWD_COMMAND}`; export r; \
20261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20262 TFLAGS="$(STAGE4_TFLAGS)"; \
20263 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20264 $(HOST_EXPORTS) \
20265 $(POSTSTAGE1_HOST_EXPORTS) \
20266 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20267 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20268 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20269 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
20270 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20271 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20272 case $(srcdir) in \
20273 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20274 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20275 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20276 esac; \
20277 module_srcdir=libcpp; \
20278 $(SHELL) $$s/$$module_srcdir/configure \
20279 --srcdir=$${topdir}/$$module_srcdir \
20280 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20281 --target=${target_alias} \
20282 --with-build-libsubdir=$(HOST_SUBDIR) \
20283 $(STAGE4_CONFIGURE_FLAGS)
20284 @endif libcpp-bootstrap
20286 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
20287 maybe-configure-stageprofile-libcpp:
20288 @if libcpp-bootstrap
20289 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
20290 configure-stageprofile-libcpp:
20291 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20292 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20293 @r=`${PWD_COMMAND}`; export r; \
20294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20295 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20296 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20297 $(HOST_EXPORTS) \
20298 $(POSTSTAGE1_HOST_EXPORTS) \
20299 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20300 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20301 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20302 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
20303 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20304 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20305 case $(srcdir) in \
20306 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20307 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20308 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20309 esac; \
20310 module_srcdir=libcpp; \
20311 $(SHELL) $$s/$$module_srcdir/configure \
20312 --srcdir=$${topdir}/$$module_srcdir \
20313 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20314 --target=${target_alias} \
20315 --with-build-libsubdir=$(HOST_SUBDIR) \
20316 $(STAGEprofile_CONFIGURE_FLAGS)
20317 @endif libcpp-bootstrap
20319 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
20320 maybe-configure-stagefeedback-libcpp:
20321 @if libcpp-bootstrap
20322 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
20323 configure-stagefeedback-libcpp:
20324 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20325 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20326 @r=`${PWD_COMMAND}`; export r; \
20327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20328 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20329 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20330 $(HOST_EXPORTS) \
20331 $(POSTSTAGE1_HOST_EXPORTS) \
20332 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20333 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20334 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20335 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
20336 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20337 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20338 case $(srcdir) in \
20339 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20340 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20341 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20342 esac; \
20343 module_srcdir=libcpp; \
20344 $(SHELL) $$s/$$module_srcdir/configure \
20345 --srcdir=$${topdir}/$$module_srcdir \
20346 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20347 --target=${target_alias} \
20348 --with-build-libsubdir=$(HOST_SUBDIR) \
20349 $(STAGEfeedback_CONFIGURE_FLAGS)
20350 @endif libcpp-bootstrap
20356 .PHONY: all-libcpp maybe-all-libcpp
20357 maybe-all-libcpp:
20358 @if gcc-bootstrap
20359 all-libcpp: stage_current
20360 @endif gcc-bootstrap
20361 @if libcpp
20362 TARGET-libcpp=all
20363 maybe-all-libcpp: all-libcpp
20364 all-libcpp: configure-libcpp
20365 @r=`${PWD_COMMAND}`; export r; \
20366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20367 $(HOST_EXPORTS) \
20368 (cd $(HOST_SUBDIR)/libcpp && \
20369 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20370 $(TARGET-libcpp))
20371 @endif libcpp
20375 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
20376 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
20377 maybe-all-stage1-libcpp:
20378 maybe-clean-stage1-libcpp:
20379 @if libcpp-bootstrap
20380 maybe-all-stage1-libcpp: all-stage1-libcpp
20381 all-stage1: all-stage1-libcpp
20382 TARGET-stage1-libcpp = $(TARGET-libcpp)
20383 all-stage1-libcpp: configure-stage1-libcpp
20384 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20385 @r=`${PWD_COMMAND}`; export r; \
20386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20387 TFLAGS="$(STAGE1_TFLAGS)"; \
20388 $(HOST_EXPORTS) \
20389 cd $(HOST_SUBDIR)/libcpp && \
20390 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20391 CFLAGS="$(STAGE1_CFLAGS)" \
20392 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20393 LIBCFLAGS="$(LIBCFLAGS)" \
20394 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20395 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20396 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20397 $(EXTRA_HOST_FLAGS) \
20398 $(STAGE1_FLAGS_TO_PASS) \
20399 TFLAGS="$(STAGE1_TFLAGS)" \
20400 $(TARGET-stage1-libcpp)
20402 maybe-clean-stage1-libcpp: clean-stage1-libcpp
20403 clean-stage1: clean-stage1-libcpp
20404 clean-stage1-libcpp:
20405 @if [ $(current_stage) = stage1 ]; then \
20406 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20407 else \
20408 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
20409 $(MAKE) stage1-start; \
20410 fi; \
20411 cd $(HOST_SUBDIR)/libcpp && \
20412 $(MAKE) $(EXTRA_HOST_FLAGS) \
20413 $(STAGE1_FLAGS_TO_PASS) clean
20414 @endif libcpp-bootstrap
20417 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
20418 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
20419 maybe-all-stage2-libcpp:
20420 maybe-clean-stage2-libcpp:
20421 @if libcpp-bootstrap
20422 maybe-all-stage2-libcpp: all-stage2-libcpp
20423 all-stage2: all-stage2-libcpp
20424 TARGET-stage2-libcpp = $(TARGET-libcpp)
20425 all-stage2-libcpp: configure-stage2-libcpp
20426 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20427 @r=`${PWD_COMMAND}`; export r; \
20428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20429 TFLAGS="$(STAGE2_TFLAGS)"; \
20430 $(HOST_EXPORTS) \
20431 $(POSTSTAGE1_HOST_EXPORTS) \
20432 cd $(HOST_SUBDIR)/libcpp && \
20433 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20434 CFLAGS="$(STAGE2_CFLAGS)" \
20435 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20436 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20437 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20438 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20439 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20440 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20441 TFLAGS="$(STAGE2_TFLAGS)" \
20442 $(TARGET-stage2-libcpp)
20444 maybe-clean-stage2-libcpp: clean-stage2-libcpp
20445 clean-stage2: clean-stage2-libcpp
20446 clean-stage2-libcpp:
20447 @if [ $(current_stage) = stage2 ]; then \
20448 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20449 else \
20450 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
20451 $(MAKE) stage2-start; \
20452 fi; \
20453 cd $(HOST_SUBDIR)/libcpp && \
20454 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20455 @endif libcpp-bootstrap
20458 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
20459 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
20460 maybe-all-stage3-libcpp:
20461 maybe-clean-stage3-libcpp:
20462 @if libcpp-bootstrap
20463 maybe-all-stage3-libcpp: all-stage3-libcpp
20464 all-stage3: all-stage3-libcpp
20465 TARGET-stage3-libcpp = $(TARGET-libcpp)
20466 all-stage3-libcpp: configure-stage3-libcpp
20467 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20468 @r=`${PWD_COMMAND}`; export r; \
20469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20470 TFLAGS="$(STAGE3_TFLAGS)"; \
20471 $(HOST_EXPORTS) \
20472 $(POSTSTAGE1_HOST_EXPORTS) \
20473 cd $(HOST_SUBDIR)/libcpp && \
20474 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20475 CFLAGS="$(STAGE3_CFLAGS)" \
20476 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20477 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20478 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20479 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20480 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20481 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20482 TFLAGS="$(STAGE3_TFLAGS)" \
20483 $(TARGET-stage3-libcpp)
20485 maybe-clean-stage3-libcpp: clean-stage3-libcpp
20486 clean-stage3: clean-stage3-libcpp
20487 clean-stage3-libcpp:
20488 @if [ $(current_stage) = stage3 ]; then \
20489 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20490 else \
20491 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
20492 $(MAKE) stage3-start; \
20493 fi; \
20494 cd $(HOST_SUBDIR)/libcpp && \
20495 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20496 @endif libcpp-bootstrap
20499 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
20500 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
20501 maybe-all-stage4-libcpp:
20502 maybe-clean-stage4-libcpp:
20503 @if libcpp-bootstrap
20504 maybe-all-stage4-libcpp: all-stage4-libcpp
20505 all-stage4: all-stage4-libcpp
20506 TARGET-stage4-libcpp = $(TARGET-libcpp)
20507 all-stage4-libcpp: configure-stage4-libcpp
20508 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20509 @r=`${PWD_COMMAND}`; export r; \
20510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20511 TFLAGS="$(STAGE4_TFLAGS)"; \
20512 $(HOST_EXPORTS) \
20513 $(POSTSTAGE1_HOST_EXPORTS) \
20514 cd $(HOST_SUBDIR)/libcpp && \
20515 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20516 CFLAGS="$(STAGE4_CFLAGS)" \
20517 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20518 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20519 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20520 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20521 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20522 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20523 TFLAGS="$(STAGE4_TFLAGS)" \
20524 $(TARGET-stage4-libcpp)
20526 maybe-clean-stage4-libcpp: clean-stage4-libcpp
20527 clean-stage4: clean-stage4-libcpp
20528 clean-stage4-libcpp:
20529 @if [ $(current_stage) = stage4 ]; then \
20530 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20531 else \
20532 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
20533 $(MAKE) stage4-start; \
20534 fi; \
20535 cd $(HOST_SUBDIR)/libcpp && \
20536 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20537 @endif libcpp-bootstrap
20540 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
20541 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
20542 maybe-all-stageprofile-libcpp:
20543 maybe-clean-stageprofile-libcpp:
20544 @if libcpp-bootstrap
20545 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
20546 all-stageprofile: all-stageprofile-libcpp
20547 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
20548 all-stageprofile-libcpp: configure-stageprofile-libcpp
20549 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20550 @r=`${PWD_COMMAND}`; export r; \
20551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20552 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20553 $(HOST_EXPORTS) \
20554 $(POSTSTAGE1_HOST_EXPORTS) \
20555 cd $(HOST_SUBDIR)/libcpp && \
20556 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20557 CFLAGS="$(STAGEprofile_CFLAGS)" \
20558 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20559 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20560 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20561 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20562 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20563 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20564 TFLAGS="$(STAGEprofile_TFLAGS)" \
20565 $(TARGET-stageprofile-libcpp)
20567 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
20568 clean-stageprofile: clean-stageprofile-libcpp
20569 clean-stageprofile-libcpp:
20570 @if [ $(current_stage) = stageprofile ]; then \
20571 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20572 else \
20573 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
20574 $(MAKE) stageprofile-start; \
20575 fi; \
20576 cd $(HOST_SUBDIR)/libcpp && \
20577 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20578 @endif libcpp-bootstrap
20581 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
20582 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
20583 maybe-all-stagefeedback-libcpp:
20584 maybe-clean-stagefeedback-libcpp:
20585 @if libcpp-bootstrap
20586 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
20587 all-stagefeedback: all-stagefeedback-libcpp
20588 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
20589 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
20590 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20591 @r=`${PWD_COMMAND}`; export r; \
20592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20593 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20594 $(HOST_EXPORTS) \
20595 $(POSTSTAGE1_HOST_EXPORTS) \
20596 cd $(HOST_SUBDIR)/libcpp && \
20597 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20598 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20599 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20600 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20601 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20602 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20603 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20604 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20605 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20606 $(TARGET-stagefeedback-libcpp)
20608 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
20609 clean-stagefeedback: clean-stagefeedback-libcpp
20610 clean-stagefeedback-libcpp:
20611 @if [ $(current_stage) = stagefeedback ]; then \
20612 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20613 else \
20614 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
20615 $(MAKE) stagefeedback-start; \
20616 fi; \
20617 cd $(HOST_SUBDIR)/libcpp && \
20618 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20619 @endif libcpp-bootstrap
20625 .PHONY: check-libcpp maybe-check-libcpp
20626 maybe-check-libcpp:
20627 @if libcpp
20628 maybe-check-libcpp: check-libcpp
20630 check-libcpp:
20631 @: $(MAKE); $(unstage)
20632 @r=`${PWD_COMMAND}`; export r; \
20633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20634 $(HOST_EXPORTS) \
20635 (cd $(HOST_SUBDIR)/libcpp && \
20636 $(MAKE) $(FLAGS_TO_PASS) check)
20638 @endif libcpp
20640 .PHONY: install-libcpp maybe-install-libcpp
20641 maybe-install-libcpp:
20642 @if libcpp
20643 maybe-install-libcpp: install-libcpp
20645 install-libcpp: installdirs
20646 @: $(MAKE); $(unstage)
20647 @r=`${PWD_COMMAND}`; export r; \
20648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20649 $(HOST_EXPORTS) \
20650 (cd $(HOST_SUBDIR)/libcpp && \
20651 $(MAKE) $(FLAGS_TO_PASS) install)
20653 @endif libcpp
20655 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
20656 maybe-install-strip-libcpp:
20657 @if libcpp
20658 maybe-install-strip-libcpp: install-strip-libcpp
20660 install-strip-libcpp: installdirs
20661 @: $(MAKE); $(unstage)
20662 @r=`${PWD_COMMAND}`; export r; \
20663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20664 $(HOST_EXPORTS) \
20665 (cd $(HOST_SUBDIR)/libcpp && \
20666 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20668 @endif libcpp
20670 # Other targets (info, dvi, pdf, etc.)
20672 .PHONY: maybe-info-libcpp info-libcpp
20673 maybe-info-libcpp:
20674 @if libcpp
20675 maybe-info-libcpp: info-libcpp
20677 info-libcpp: \
20678 configure-libcpp
20679 @[ -f ./libcpp/Makefile ] || exit 0; \
20680 r=`${PWD_COMMAND}`; export r; \
20681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20682 $(HOST_EXPORTS) \
20683 for flag in $(EXTRA_HOST_FLAGS) ; do \
20684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20685 done; \
20686 echo "Doing info in libcpp" ; \
20687 (cd $(HOST_SUBDIR)/libcpp && \
20688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20690 "RANLIB=$${RANLIB}" \
20691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20692 info) \
20693 || exit 1
20695 @endif libcpp
20697 .PHONY: maybe-dvi-libcpp dvi-libcpp
20698 maybe-dvi-libcpp:
20699 @if libcpp
20700 maybe-dvi-libcpp: dvi-libcpp
20702 dvi-libcpp: \
20703 configure-libcpp
20704 @[ -f ./libcpp/Makefile ] || exit 0; \
20705 r=`${PWD_COMMAND}`; export r; \
20706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20707 $(HOST_EXPORTS) \
20708 for flag in $(EXTRA_HOST_FLAGS) ; do \
20709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20710 done; \
20711 echo "Doing dvi in libcpp" ; \
20712 (cd $(HOST_SUBDIR)/libcpp && \
20713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20715 "RANLIB=$${RANLIB}" \
20716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20717 dvi) \
20718 || exit 1
20720 @endif libcpp
20722 .PHONY: maybe-pdf-libcpp pdf-libcpp
20723 maybe-pdf-libcpp:
20724 @if libcpp
20725 maybe-pdf-libcpp: pdf-libcpp
20727 pdf-libcpp: \
20728 configure-libcpp
20729 @[ -f ./libcpp/Makefile ] || exit 0; \
20730 r=`${PWD_COMMAND}`; export r; \
20731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20732 $(HOST_EXPORTS) \
20733 for flag in $(EXTRA_HOST_FLAGS) ; do \
20734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20735 done; \
20736 echo "Doing pdf in libcpp" ; \
20737 (cd $(HOST_SUBDIR)/libcpp && \
20738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20740 "RANLIB=$${RANLIB}" \
20741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20742 pdf) \
20743 || exit 1
20745 @endif libcpp
20747 .PHONY: maybe-html-libcpp html-libcpp
20748 maybe-html-libcpp:
20749 @if libcpp
20750 maybe-html-libcpp: html-libcpp
20752 html-libcpp: \
20753 configure-libcpp
20754 @[ -f ./libcpp/Makefile ] || exit 0; \
20755 r=`${PWD_COMMAND}`; export r; \
20756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20757 $(HOST_EXPORTS) \
20758 for flag in $(EXTRA_HOST_FLAGS) ; do \
20759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20760 done; \
20761 echo "Doing html in libcpp" ; \
20762 (cd $(HOST_SUBDIR)/libcpp && \
20763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20765 "RANLIB=$${RANLIB}" \
20766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20767 html) \
20768 || exit 1
20770 @endif libcpp
20772 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
20773 maybe-TAGS-libcpp:
20774 @if libcpp
20775 maybe-TAGS-libcpp: TAGS-libcpp
20777 TAGS-libcpp: \
20778 configure-libcpp
20779 @[ -f ./libcpp/Makefile ] || exit 0; \
20780 r=`${PWD_COMMAND}`; export r; \
20781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20782 $(HOST_EXPORTS) \
20783 for flag in $(EXTRA_HOST_FLAGS) ; do \
20784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20785 done; \
20786 echo "Doing TAGS in libcpp" ; \
20787 (cd $(HOST_SUBDIR)/libcpp && \
20788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20790 "RANLIB=$${RANLIB}" \
20791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20792 TAGS) \
20793 || exit 1
20795 @endif libcpp
20797 .PHONY: maybe-install-info-libcpp install-info-libcpp
20798 maybe-install-info-libcpp:
20799 @if libcpp
20800 maybe-install-info-libcpp: install-info-libcpp
20802 install-info-libcpp: \
20803 configure-libcpp \
20804 info-libcpp
20805 @[ -f ./libcpp/Makefile ] || exit 0; \
20806 r=`${PWD_COMMAND}`; export r; \
20807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20808 $(HOST_EXPORTS) \
20809 for flag in $(EXTRA_HOST_FLAGS) ; do \
20810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20811 done; \
20812 echo "Doing install-info in libcpp" ; \
20813 (cd $(HOST_SUBDIR)/libcpp && \
20814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20816 "RANLIB=$${RANLIB}" \
20817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20818 install-info) \
20819 || exit 1
20821 @endif libcpp
20823 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
20824 maybe-install-pdf-libcpp:
20825 @if libcpp
20826 maybe-install-pdf-libcpp: install-pdf-libcpp
20828 install-pdf-libcpp: \
20829 configure-libcpp \
20830 pdf-libcpp
20831 @[ -f ./libcpp/Makefile ] || exit 0; \
20832 r=`${PWD_COMMAND}`; export r; \
20833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20834 $(HOST_EXPORTS) \
20835 for flag in $(EXTRA_HOST_FLAGS) ; do \
20836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20837 done; \
20838 echo "Doing install-pdf in libcpp" ; \
20839 (cd $(HOST_SUBDIR)/libcpp && \
20840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20842 "RANLIB=$${RANLIB}" \
20843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20844 install-pdf) \
20845 || exit 1
20847 @endif libcpp
20849 .PHONY: maybe-install-html-libcpp install-html-libcpp
20850 maybe-install-html-libcpp:
20851 @if libcpp
20852 maybe-install-html-libcpp: install-html-libcpp
20854 install-html-libcpp: \
20855 configure-libcpp \
20856 html-libcpp
20857 @[ -f ./libcpp/Makefile ] || exit 0; \
20858 r=`${PWD_COMMAND}`; export r; \
20859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20860 $(HOST_EXPORTS) \
20861 for flag in $(EXTRA_HOST_FLAGS) ; do \
20862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20863 done; \
20864 echo "Doing install-html in libcpp" ; \
20865 (cd $(HOST_SUBDIR)/libcpp && \
20866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20868 "RANLIB=$${RANLIB}" \
20869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20870 install-html) \
20871 || exit 1
20873 @endif libcpp
20875 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
20876 maybe-installcheck-libcpp:
20877 @if libcpp
20878 maybe-installcheck-libcpp: installcheck-libcpp
20880 installcheck-libcpp: \
20881 configure-libcpp
20882 @[ -f ./libcpp/Makefile ] || exit 0; \
20883 r=`${PWD_COMMAND}`; export r; \
20884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20885 $(HOST_EXPORTS) \
20886 for flag in $(EXTRA_HOST_FLAGS) ; do \
20887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20888 done; \
20889 echo "Doing installcheck in libcpp" ; \
20890 (cd $(HOST_SUBDIR)/libcpp && \
20891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20893 "RANLIB=$${RANLIB}" \
20894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20895 installcheck) \
20896 || exit 1
20898 @endif libcpp
20900 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
20901 maybe-mostlyclean-libcpp:
20902 @if libcpp
20903 maybe-mostlyclean-libcpp: mostlyclean-libcpp
20905 mostlyclean-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 mostlyclean 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 mostlyclean) \
20920 || exit 1
20922 @endif libcpp
20924 .PHONY: maybe-clean-libcpp clean-libcpp
20925 maybe-clean-libcpp:
20926 @if libcpp
20927 maybe-clean-libcpp: clean-libcpp
20929 clean-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 clean 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 clean) \
20944 || exit 1
20946 @endif libcpp
20948 .PHONY: maybe-distclean-libcpp distclean-libcpp
20949 maybe-distclean-libcpp:
20950 @if libcpp
20951 maybe-distclean-libcpp: distclean-libcpp
20953 distclean-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 distclean 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 distclean) \
20968 || exit 1
20970 @endif libcpp
20972 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
20973 maybe-maintainer-clean-libcpp:
20974 @if libcpp
20975 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
20977 maintainer-clean-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 maintainer-clean 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 maintainer-clean) \
20992 || exit 1
20994 @endif libcpp
20998 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
20999 maybe-configure-libdecnumber:
21000 @if gcc-bootstrap
21001 configure-libdecnumber: stage_current
21002 @endif gcc-bootstrap
21003 @if libdecnumber
21004 maybe-configure-libdecnumber: configure-libdecnumber
21005 configure-libdecnumber:
21006 @r=`${PWD_COMMAND}`; export r; \
21007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21008 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21009 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21010 $(HOST_EXPORTS) \
21011 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
21012 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
21013 case $(srcdir) in \
21014 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21015 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21016 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21017 esac; \
21018 module_srcdir=libdecnumber; \
21019 $(SHELL) \
21020 $$s/$$module_srcdir/configure \
21021 --srcdir=$${topdir}/$$module_srcdir \
21022 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21023 --target=${target_alias} \
21024 || exit 1
21025 @endif libdecnumber
21029 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
21030 maybe-configure-stage1-libdecnumber:
21031 @if libdecnumber-bootstrap
21032 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
21033 configure-stage1-libdecnumber:
21034 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21035 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21036 @r=`${PWD_COMMAND}`; export r; \
21037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21038 TFLAGS="$(STAGE1_TFLAGS)"; \
21039 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21040 $(HOST_EXPORTS) \
21041 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21042 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21043 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21044 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
21045 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21046 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21047 case $(srcdir) in \
21048 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21049 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21050 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21051 esac; \
21052 module_srcdir=libdecnumber; \
21053 $(SHELL) $$s/$$module_srcdir/configure \
21054 --srcdir=$${topdir}/$$module_srcdir \
21055 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21056 --target=${target_alias} \
21058 $(STAGE1_CONFIGURE_FLAGS)
21059 @endif libdecnumber-bootstrap
21061 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
21062 maybe-configure-stage2-libdecnumber:
21063 @if libdecnumber-bootstrap
21064 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
21065 configure-stage2-libdecnumber:
21066 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21067 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21068 @r=`${PWD_COMMAND}`; export r; \
21069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21070 TFLAGS="$(STAGE2_TFLAGS)"; \
21071 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21072 $(HOST_EXPORTS) \
21073 $(POSTSTAGE1_HOST_EXPORTS) \
21074 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21075 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21076 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21077 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
21078 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21079 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21080 case $(srcdir) in \
21081 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21082 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21083 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21084 esac; \
21085 module_srcdir=libdecnumber; \
21086 $(SHELL) $$s/$$module_srcdir/configure \
21087 --srcdir=$${topdir}/$$module_srcdir \
21088 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21089 --target=${target_alias} \
21090 --with-build-libsubdir=$(HOST_SUBDIR) \
21091 $(STAGE2_CONFIGURE_FLAGS)
21092 @endif libdecnumber-bootstrap
21094 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
21095 maybe-configure-stage3-libdecnumber:
21096 @if libdecnumber-bootstrap
21097 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
21098 configure-stage3-libdecnumber:
21099 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21100 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21101 @r=`${PWD_COMMAND}`; export r; \
21102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21103 TFLAGS="$(STAGE3_TFLAGS)"; \
21104 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21105 $(HOST_EXPORTS) \
21106 $(POSTSTAGE1_HOST_EXPORTS) \
21107 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21108 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21109 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21110 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
21111 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21112 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21113 case $(srcdir) in \
21114 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21115 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21116 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21117 esac; \
21118 module_srcdir=libdecnumber; \
21119 $(SHELL) $$s/$$module_srcdir/configure \
21120 --srcdir=$${topdir}/$$module_srcdir \
21121 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21122 --target=${target_alias} \
21123 --with-build-libsubdir=$(HOST_SUBDIR) \
21124 $(STAGE3_CONFIGURE_FLAGS)
21125 @endif libdecnumber-bootstrap
21127 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
21128 maybe-configure-stage4-libdecnumber:
21129 @if libdecnumber-bootstrap
21130 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
21131 configure-stage4-libdecnumber:
21132 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21133 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21134 @r=`${PWD_COMMAND}`; export r; \
21135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21136 TFLAGS="$(STAGE4_TFLAGS)"; \
21137 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21138 $(HOST_EXPORTS) \
21139 $(POSTSTAGE1_HOST_EXPORTS) \
21140 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21141 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21142 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21143 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
21144 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21145 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21146 case $(srcdir) in \
21147 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21148 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21149 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21150 esac; \
21151 module_srcdir=libdecnumber; \
21152 $(SHELL) $$s/$$module_srcdir/configure \
21153 --srcdir=$${topdir}/$$module_srcdir \
21154 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21155 --target=${target_alias} \
21156 --with-build-libsubdir=$(HOST_SUBDIR) \
21157 $(STAGE4_CONFIGURE_FLAGS)
21158 @endif libdecnumber-bootstrap
21160 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
21161 maybe-configure-stageprofile-libdecnumber:
21162 @if libdecnumber-bootstrap
21163 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21164 configure-stageprofile-libdecnumber:
21165 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21166 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21167 @r=`${PWD_COMMAND}`; export r; \
21168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21169 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21170 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21171 $(HOST_EXPORTS) \
21172 $(POSTSTAGE1_HOST_EXPORTS) \
21173 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21174 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21175 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21176 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
21177 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21178 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21179 case $(srcdir) in \
21180 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21181 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21182 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21183 esac; \
21184 module_srcdir=libdecnumber; \
21185 $(SHELL) $$s/$$module_srcdir/configure \
21186 --srcdir=$${topdir}/$$module_srcdir \
21187 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21188 --target=${target_alias} \
21189 --with-build-libsubdir=$(HOST_SUBDIR) \
21190 $(STAGEprofile_CONFIGURE_FLAGS)
21191 @endif libdecnumber-bootstrap
21193 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
21194 maybe-configure-stagefeedback-libdecnumber:
21195 @if libdecnumber-bootstrap
21196 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21197 configure-stagefeedback-libdecnumber:
21198 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21199 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21200 @r=`${PWD_COMMAND}`; export r; \
21201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21202 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21203 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21204 $(HOST_EXPORTS) \
21205 $(POSTSTAGE1_HOST_EXPORTS) \
21206 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21207 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21208 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21209 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
21210 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21211 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21212 case $(srcdir) in \
21213 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21214 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21215 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21216 esac; \
21217 module_srcdir=libdecnumber; \
21218 $(SHELL) $$s/$$module_srcdir/configure \
21219 --srcdir=$${topdir}/$$module_srcdir \
21220 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21221 --target=${target_alias} \
21222 --with-build-libsubdir=$(HOST_SUBDIR) \
21223 $(STAGEfeedback_CONFIGURE_FLAGS)
21224 @endif libdecnumber-bootstrap
21230 .PHONY: all-libdecnumber maybe-all-libdecnumber
21231 maybe-all-libdecnumber:
21232 @if gcc-bootstrap
21233 all-libdecnumber: stage_current
21234 @endif gcc-bootstrap
21235 @if libdecnumber
21236 TARGET-libdecnumber=all
21237 maybe-all-libdecnumber: all-libdecnumber
21238 all-libdecnumber: configure-libdecnumber
21239 @r=`${PWD_COMMAND}`; export r; \
21240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21241 $(HOST_EXPORTS) \
21242 (cd $(HOST_SUBDIR)/libdecnumber && \
21243 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21244 $(TARGET-libdecnumber))
21245 @endif libdecnumber
21249 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
21250 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
21251 maybe-all-stage1-libdecnumber:
21252 maybe-clean-stage1-libdecnumber:
21253 @if libdecnumber-bootstrap
21254 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
21255 all-stage1: all-stage1-libdecnumber
21256 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
21257 all-stage1-libdecnumber: configure-stage1-libdecnumber
21258 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21259 @r=`${PWD_COMMAND}`; export r; \
21260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21261 TFLAGS="$(STAGE1_TFLAGS)"; \
21262 $(HOST_EXPORTS) \
21263 cd $(HOST_SUBDIR)/libdecnumber && \
21264 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21265 CFLAGS="$(STAGE1_CFLAGS)" \
21266 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
21267 LIBCFLAGS="$(LIBCFLAGS)" \
21268 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21269 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21270 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21271 $(EXTRA_HOST_FLAGS) \
21272 $(STAGE1_FLAGS_TO_PASS) \
21273 TFLAGS="$(STAGE1_TFLAGS)" \
21274 $(TARGET-stage1-libdecnumber)
21276 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
21277 clean-stage1: clean-stage1-libdecnumber
21278 clean-stage1-libdecnumber:
21279 @if [ $(current_stage) = stage1 ]; then \
21280 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21281 else \
21282 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
21283 $(MAKE) stage1-start; \
21284 fi; \
21285 cd $(HOST_SUBDIR)/libdecnumber && \
21286 $(MAKE) $(EXTRA_HOST_FLAGS) \
21287 $(STAGE1_FLAGS_TO_PASS) clean
21288 @endif libdecnumber-bootstrap
21291 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
21292 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
21293 maybe-all-stage2-libdecnumber:
21294 maybe-clean-stage2-libdecnumber:
21295 @if libdecnumber-bootstrap
21296 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
21297 all-stage2: all-stage2-libdecnumber
21298 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
21299 all-stage2-libdecnumber: configure-stage2-libdecnumber
21300 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21301 @r=`${PWD_COMMAND}`; export r; \
21302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21303 TFLAGS="$(STAGE2_TFLAGS)"; \
21304 $(HOST_EXPORTS) \
21305 $(POSTSTAGE1_HOST_EXPORTS) \
21306 cd $(HOST_SUBDIR)/libdecnumber && \
21307 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21308 CFLAGS="$(STAGE2_CFLAGS)" \
21309 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
21310 LIBCFLAGS="$(STAGE2_CFLAGS)" \
21311 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21312 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21313 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21314 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21315 TFLAGS="$(STAGE2_TFLAGS)" \
21316 $(TARGET-stage2-libdecnumber)
21318 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
21319 clean-stage2: clean-stage2-libdecnumber
21320 clean-stage2-libdecnumber:
21321 @if [ $(current_stage) = stage2 ]; then \
21322 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21323 else \
21324 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
21325 $(MAKE) stage2-start; \
21326 fi; \
21327 cd $(HOST_SUBDIR)/libdecnumber && \
21328 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21329 @endif libdecnumber-bootstrap
21332 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
21333 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
21334 maybe-all-stage3-libdecnumber:
21335 maybe-clean-stage3-libdecnumber:
21336 @if libdecnumber-bootstrap
21337 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
21338 all-stage3: all-stage3-libdecnumber
21339 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
21340 all-stage3-libdecnumber: configure-stage3-libdecnumber
21341 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21342 @r=`${PWD_COMMAND}`; export r; \
21343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21344 TFLAGS="$(STAGE3_TFLAGS)"; \
21345 $(HOST_EXPORTS) \
21346 $(POSTSTAGE1_HOST_EXPORTS) \
21347 cd $(HOST_SUBDIR)/libdecnumber && \
21348 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21349 CFLAGS="$(STAGE3_CFLAGS)" \
21350 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
21351 LIBCFLAGS="$(STAGE3_CFLAGS)" \
21352 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21353 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21354 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21355 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21356 TFLAGS="$(STAGE3_TFLAGS)" \
21357 $(TARGET-stage3-libdecnumber)
21359 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
21360 clean-stage3: clean-stage3-libdecnumber
21361 clean-stage3-libdecnumber:
21362 @if [ $(current_stage) = stage3 ]; then \
21363 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21364 else \
21365 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
21366 $(MAKE) stage3-start; \
21367 fi; \
21368 cd $(HOST_SUBDIR)/libdecnumber && \
21369 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21370 @endif libdecnumber-bootstrap
21373 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
21374 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
21375 maybe-all-stage4-libdecnumber:
21376 maybe-clean-stage4-libdecnumber:
21377 @if libdecnumber-bootstrap
21378 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
21379 all-stage4: all-stage4-libdecnumber
21380 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
21381 all-stage4-libdecnumber: configure-stage4-libdecnumber
21382 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21383 @r=`${PWD_COMMAND}`; export r; \
21384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21385 TFLAGS="$(STAGE4_TFLAGS)"; \
21386 $(HOST_EXPORTS) \
21387 $(POSTSTAGE1_HOST_EXPORTS) \
21388 cd $(HOST_SUBDIR)/libdecnumber && \
21389 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21390 CFLAGS="$(STAGE4_CFLAGS)" \
21391 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
21392 LIBCFLAGS="$(STAGE4_CFLAGS)" \
21393 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21394 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21395 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21396 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21397 TFLAGS="$(STAGE4_TFLAGS)" \
21398 $(TARGET-stage4-libdecnumber)
21400 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
21401 clean-stage4: clean-stage4-libdecnumber
21402 clean-stage4-libdecnumber:
21403 @if [ $(current_stage) = stage4 ]; then \
21404 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21405 else \
21406 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
21407 $(MAKE) stage4-start; \
21408 fi; \
21409 cd $(HOST_SUBDIR)/libdecnumber && \
21410 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21411 @endif libdecnumber-bootstrap
21414 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
21415 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
21416 maybe-all-stageprofile-libdecnumber:
21417 maybe-clean-stageprofile-libdecnumber:
21418 @if libdecnumber-bootstrap
21419 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
21420 all-stageprofile: all-stageprofile-libdecnumber
21421 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
21422 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21423 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21424 @r=`${PWD_COMMAND}`; export r; \
21425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21426 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21427 $(HOST_EXPORTS) \
21428 $(POSTSTAGE1_HOST_EXPORTS) \
21429 cd $(HOST_SUBDIR)/libdecnumber && \
21430 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21431 CFLAGS="$(STAGEprofile_CFLAGS)" \
21432 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
21433 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
21434 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21435 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21436 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21437 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21438 TFLAGS="$(STAGEprofile_TFLAGS)" \
21439 $(TARGET-stageprofile-libdecnumber)
21441 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
21442 clean-stageprofile: clean-stageprofile-libdecnumber
21443 clean-stageprofile-libdecnumber:
21444 @if [ $(current_stage) = stageprofile ]; then \
21445 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21446 else \
21447 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
21448 $(MAKE) stageprofile-start; \
21449 fi; \
21450 cd $(HOST_SUBDIR)/libdecnumber && \
21451 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21452 @endif libdecnumber-bootstrap
21455 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
21456 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
21457 maybe-all-stagefeedback-libdecnumber:
21458 maybe-clean-stagefeedback-libdecnumber:
21459 @if libdecnumber-bootstrap
21460 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
21461 all-stagefeedback: all-stagefeedback-libdecnumber
21462 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
21463 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21464 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21465 @r=`${PWD_COMMAND}`; export r; \
21466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21467 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21468 $(HOST_EXPORTS) \
21469 $(POSTSTAGE1_HOST_EXPORTS) \
21470 cd $(HOST_SUBDIR)/libdecnumber && \
21471 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21472 CFLAGS="$(STAGEfeedback_CFLAGS)" \
21473 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
21474 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
21475 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21476 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21477 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21478 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21479 TFLAGS="$(STAGEfeedback_TFLAGS)" \
21480 $(TARGET-stagefeedback-libdecnumber)
21482 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
21483 clean-stagefeedback: clean-stagefeedback-libdecnumber
21484 clean-stagefeedback-libdecnumber:
21485 @if [ $(current_stage) = stagefeedback ]; then \
21486 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21487 else \
21488 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
21489 $(MAKE) stagefeedback-start; \
21490 fi; \
21491 cd $(HOST_SUBDIR)/libdecnumber && \
21492 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21493 @endif libdecnumber-bootstrap
21499 .PHONY: check-libdecnumber maybe-check-libdecnumber
21500 maybe-check-libdecnumber:
21501 @if libdecnumber
21502 maybe-check-libdecnumber: check-libdecnumber
21504 check-libdecnumber:
21505 @: $(MAKE); $(unstage)
21506 @r=`${PWD_COMMAND}`; export r; \
21507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21508 $(HOST_EXPORTS) \
21509 (cd $(HOST_SUBDIR)/libdecnumber && \
21510 $(MAKE) $(FLAGS_TO_PASS) check)
21512 @endif libdecnumber
21514 .PHONY: install-libdecnumber maybe-install-libdecnumber
21515 maybe-install-libdecnumber:
21516 @if libdecnumber
21517 maybe-install-libdecnumber: install-libdecnumber
21519 install-libdecnumber: installdirs
21520 @: $(MAKE); $(unstage)
21521 @r=`${PWD_COMMAND}`; export r; \
21522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21523 $(HOST_EXPORTS) \
21524 (cd $(HOST_SUBDIR)/libdecnumber && \
21525 $(MAKE) $(FLAGS_TO_PASS) install)
21527 @endif libdecnumber
21529 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
21530 maybe-install-strip-libdecnumber:
21531 @if libdecnumber
21532 maybe-install-strip-libdecnumber: install-strip-libdecnumber
21534 install-strip-libdecnumber: installdirs
21535 @: $(MAKE); $(unstage)
21536 @r=`${PWD_COMMAND}`; export r; \
21537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21538 $(HOST_EXPORTS) \
21539 (cd $(HOST_SUBDIR)/libdecnumber && \
21540 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21542 @endif libdecnumber
21544 # Other targets (info, dvi, pdf, etc.)
21546 .PHONY: maybe-info-libdecnumber info-libdecnumber
21547 maybe-info-libdecnumber:
21548 @if libdecnumber
21549 maybe-info-libdecnumber: info-libdecnumber
21551 info-libdecnumber: \
21552 configure-libdecnumber
21553 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21554 r=`${PWD_COMMAND}`; export r; \
21555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21556 $(HOST_EXPORTS) \
21557 for flag in $(EXTRA_HOST_FLAGS) ; do \
21558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21559 done; \
21560 echo "Doing info in libdecnumber" ; \
21561 (cd $(HOST_SUBDIR)/libdecnumber && \
21562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21564 "RANLIB=$${RANLIB}" \
21565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21566 info) \
21567 || exit 1
21569 @endif libdecnumber
21571 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
21572 maybe-dvi-libdecnumber:
21573 @if libdecnumber
21574 maybe-dvi-libdecnumber: dvi-libdecnumber
21576 dvi-libdecnumber: \
21577 configure-libdecnumber
21578 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21579 r=`${PWD_COMMAND}`; export r; \
21580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21581 $(HOST_EXPORTS) \
21582 for flag in $(EXTRA_HOST_FLAGS) ; do \
21583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21584 done; \
21585 echo "Doing dvi in libdecnumber" ; \
21586 (cd $(HOST_SUBDIR)/libdecnumber && \
21587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21589 "RANLIB=$${RANLIB}" \
21590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21591 dvi) \
21592 || exit 1
21594 @endif libdecnumber
21596 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
21597 maybe-pdf-libdecnumber:
21598 @if libdecnumber
21599 maybe-pdf-libdecnumber: pdf-libdecnumber
21601 pdf-libdecnumber: \
21602 configure-libdecnumber
21603 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21604 r=`${PWD_COMMAND}`; export r; \
21605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21606 $(HOST_EXPORTS) \
21607 for flag in $(EXTRA_HOST_FLAGS) ; do \
21608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21609 done; \
21610 echo "Doing pdf in libdecnumber" ; \
21611 (cd $(HOST_SUBDIR)/libdecnumber && \
21612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21614 "RANLIB=$${RANLIB}" \
21615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21616 pdf) \
21617 || exit 1
21619 @endif libdecnumber
21621 .PHONY: maybe-html-libdecnumber html-libdecnumber
21622 maybe-html-libdecnumber:
21623 @if libdecnumber
21624 maybe-html-libdecnumber: html-libdecnumber
21626 html-libdecnumber: \
21627 configure-libdecnumber
21628 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21629 r=`${PWD_COMMAND}`; export r; \
21630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21631 $(HOST_EXPORTS) \
21632 for flag in $(EXTRA_HOST_FLAGS) ; do \
21633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21634 done; \
21635 echo "Doing html in libdecnumber" ; \
21636 (cd $(HOST_SUBDIR)/libdecnumber && \
21637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21639 "RANLIB=$${RANLIB}" \
21640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21641 html) \
21642 || exit 1
21644 @endif libdecnumber
21646 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
21647 maybe-TAGS-libdecnumber:
21648 @if libdecnumber
21649 maybe-TAGS-libdecnumber: TAGS-libdecnumber
21651 TAGS-libdecnumber: \
21652 configure-libdecnumber
21653 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21654 r=`${PWD_COMMAND}`; export r; \
21655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21656 $(HOST_EXPORTS) \
21657 for flag in $(EXTRA_HOST_FLAGS) ; do \
21658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21659 done; \
21660 echo "Doing TAGS in libdecnumber" ; \
21661 (cd $(HOST_SUBDIR)/libdecnumber && \
21662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21664 "RANLIB=$${RANLIB}" \
21665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21666 TAGS) \
21667 || exit 1
21669 @endif libdecnumber
21671 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
21672 maybe-install-info-libdecnumber:
21673 @if libdecnumber
21674 maybe-install-info-libdecnumber: install-info-libdecnumber
21676 install-info-libdecnumber: \
21677 configure-libdecnumber \
21678 info-libdecnumber
21679 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21680 r=`${PWD_COMMAND}`; export r; \
21681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21682 $(HOST_EXPORTS) \
21683 for flag in $(EXTRA_HOST_FLAGS) ; do \
21684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21685 done; \
21686 echo "Doing install-info in libdecnumber" ; \
21687 (cd $(HOST_SUBDIR)/libdecnumber && \
21688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21690 "RANLIB=$${RANLIB}" \
21691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21692 install-info) \
21693 || exit 1
21695 @endif libdecnumber
21697 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
21698 maybe-install-pdf-libdecnumber:
21699 @if libdecnumber
21700 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
21702 install-pdf-libdecnumber: \
21703 configure-libdecnumber \
21704 pdf-libdecnumber
21705 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21706 r=`${PWD_COMMAND}`; export r; \
21707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21708 $(HOST_EXPORTS) \
21709 for flag in $(EXTRA_HOST_FLAGS) ; do \
21710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21711 done; \
21712 echo "Doing install-pdf in libdecnumber" ; \
21713 (cd $(HOST_SUBDIR)/libdecnumber && \
21714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21716 "RANLIB=$${RANLIB}" \
21717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21718 install-pdf) \
21719 || exit 1
21721 @endif libdecnumber
21723 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
21724 maybe-install-html-libdecnumber:
21725 @if libdecnumber
21726 maybe-install-html-libdecnumber: install-html-libdecnumber
21728 install-html-libdecnumber: \
21729 configure-libdecnumber \
21730 html-libdecnumber
21731 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21732 r=`${PWD_COMMAND}`; export r; \
21733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21734 $(HOST_EXPORTS) \
21735 for flag in $(EXTRA_HOST_FLAGS) ; do \
21736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21737 done; \
21738 echo "Doing install-html in libdecnumber" ; \
21739 (cd $(HOST_SUBDIR)/libdecnumber && \
21740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21742 "RANLIB=$${RANLIB}" \
21743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21744 install-html) \
21745 || exit 1
21747 @endif libdecnumber
21749 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
21750 maybe-installcheck-libdecnumber:
21751 @if libdecnumber
21752 maybe-installcheck-libdecnumber: installcheck-libdecnumber
21754 installcheck-libdecnumber: \
21755 configure-libdecnumber
21756 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21757 r=`${PWD_COMMAND}`; export r; \
21758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21759 $(HOST_EXPORTS) \
21760 for flag in $(EXTRA_HOST_FLAGS) ; do \
21761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21762 done; \
21763 echo "Doing installcheck in libdecnumber" ; \
21764 (cd $(HOST_SUBDIR)/libdecnumber && \
21765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21767 "RANLIB=$${RANLIB}" \
21768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21769 installcheck) \
21770 || exit 1
21772 @endif libdecnumber
21774 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
21775 maybe-mostlyclean-libdecnumber:
21776 @if libdecnumber
21777 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
21779 mostlyclean-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 mostlyclean 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 mostlyclean) \
21794 || exit 1
21796 @endif libdecnumber
21798 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
21799 maybe-clean-libdecnumber:
21800 @if libdecnumber
21801 maybe-clean-libdecnumber: clean-libdecnumber
21803 clean-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 clean 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 clean) \
21818 || exit 1
21820 @endif libdecnumber
21822 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
21823 maybe-distclean-libdecnumber:
21824 @if libdecnumber
21825 maybe-distclean-libdecnumber: distclean-libdecnumber
21827 distclean-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 distclean 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 distclean) \
21842 || exit 1
21844 @endif libdecnumber
21846 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
21847 maybe-maintainer-clean-libdecnumber:
21848 @if libdecnumber
21849 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
21851 maintainer-clean-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 maintainer-clean 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 maintainer-clean) \
21866 || exit 1
21868 @endif libdecnumber
21872 .PHONY: configure-libgui maybe-configure-libgui
21873 maybe-configure-libgui:
21874 @if gcc-bootstrap
21875 configure-libgui: stage_current
21876 @endif gcc-bootstrap
21877 @if libgui
21878 maybe-configure-libgui: configure-libgui
21879 configure-libgui:
21880 @: $(MAKE); $(unstage)
21881 @r=`${PWD_COMMAND}`; export r; \
21882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21883 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
21884 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
21885 $(HOST_EXPORTS) \
21886 echo Configuring in $(HOST_SUBDIR)/libgui; \
21887 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
21888 case $(srcdir) in \
21889 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21890 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
21891 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21892 esac; \
21893 module_srcdir=libgui; \
21894 $(SHELL) \
21895 $$s/$$module_srcdir/configure \
21896 --srcdir=$${topdir}/$$module_srcdir \
21897 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21898 --target=${target_alias} \
21899 || exit 1
21900 @endif libgui
21906 .PHONY: all-libgui maybe-all-libgui
21907 maybe-all-libgui:
21908 @if gcc-bootstrap
21909 all-libgui: stage_current
21910 @endif gcc-bootstrap
21911 @if libgui
21912 TARGET-libgui=all
21913 maybe-all-libgui: all-libgui
21914 all-libgui: configure-libgui
21915 @: $(MAKE); $(unstage)
21916 @r=`${PWD_COMMAND}`; export r; \
21917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21918 $(HOST_EXPORTS) \
21919 (cd $(HOST_SUBDIR)/libgui && \
21920 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21921 $(TARGET-libgui))
21922 @endif libgui
21927 .PHONY: check-libgui maybe-check-libgui
21928 maybe-check-libgui:
21929 @if libgui
21930 maybe-check-libgui: check-libgui
21932 check-libgui:
21933 @: $(MAKE); $(unstage)
21934 @r=`${PWD_COMMAND}`; export r; \
21935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21936 $(HOST_EXPORTS) \
21937 (cd $(HOST_SUBDIR)/libgui && \
21938 $(MAKE) $(FLAGS_TO_PASS) check)
21940 @endif libgui
21942 .PHONY: install-libgui maybe-install-libgui
21943 maybe-install-libgui:
21944 @if libgui
21945 maybe-install-libgui: install-libgui
21947 install-libgui: installdirs
21948 @: $(MAKE); $(unstage)
21949 @r=`${PWD_COMMAND}`; export r; \
21950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21951 $(HOST_EXPORTS) \
21952 (cd $(HOST_SUBDIR)/libgui && \
21953 $(MAKE) $(FLAGS_TO_PASS) install)
21955 @endif libgui
21957 .PHONY: install-strip-libgui maybe-install-strip-libgui
21958 maybe-install-strip-libgui:
21959 @if libgui
21960 maybe-install-strip-libgui: install-strip-libgui
21962 install-strip-libgui: installdirs
21963 @: $(MAKE); $(unstage)
21964 @r=`${PWD_COMMAND}`; export r; \
21965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21966 $(HOST_EXPORTS) \
21967 (cd $(HOST_SUBDIR)/libgui && \
21968 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21970 @endif libgui
21972 # Other targets (info, dvi, pdf, etc.)
21974 .PHONY: maybe-info-libgui info-libgui
21975 maybe-info-libgui:
21976 @if libgui
21977 maybe-info-libgui: info-libgui
21979 info-libgui: \
21980 configure-libgui
21981 @: $(MAKE); $(unstage)
21982 @[ -f ./libgui/Makefile ] || exit 0; \
21983 r=`${PWD_COMMAND}`; export r; \
21984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21985 $(HOST_EXPORTS) \
21986 for flag in $(EXTRA_HOST_FLAGS) ; do \
21987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21988 done; \
21989 echo "Doing info in libgui" ; \
21990 (cd $(HOST_SUBDIR)/libgui && \
21991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21993 "RANLIB=$${RANLIB}" \
21994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21995 info) \
21996 || exit 1
21998 @endif libgui
22000 .PHONY: maybe-dvi-libgui dvi-libgui
22001 maybe-dvi-libgui:
22002 @if libgui
22003 maybe-dvi-libgui: dvi-libgui
22005 dvi-libgui: \
22006 configure-libgui
22007 @: $(MAKE); $(unstage)
22008 @[ -f ./libgui/Makefile ] || exit 0; \
22009 r=`${PWD_COMMAND}`; export r; \
22010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22011 $(HOST_EXPORTS) \
22012 for flag in $(EXTRA_HOST_FLAGS) ; do \
22013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22014 done; \
22015 echo "Doing dvi in libgui" ; \
22016 (cd $(HOST_SUBDIR)/libgui && \
22017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22019 "RANLIB=$${RANLIB}" \
22020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22021 dvi) \
22022 || exit 1
22024 @endif libgui
22026 .PHONY: maybe-pdf-libgui pdf-libgui
22027 maybe-pdf-libgui:
22028 @if libgui
22029 maybe-pdf-libgui: pdf-libgui
22031 pdf-libgui: \
22032 configure-libgui
22033 @: $(MAKE); $(unstage)
22034 @[ -f ./libgui/Makefile ] || exit 0; \
22035 r=`${PWD_COMMAND}`; export r; \
22036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22037 $(HOST_EXPORTS) \
22038 for flag in $(EXTRA_HOST_FLAGS) ; do \
22039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22040 done; \
22041 echo "Doing pdf in libgui" ; \
22042 (cd $(HOST_SUBDIR)/libgui && \
22043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22045 "RANLIB=$${RANLIB}" \
22046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22047 pdf) \
22048 || exit 1
22050 @endif libgui
22052 .PHONY: maybe-html-libgui html-libgui
22053 maybe-html-libgui:
22054 @if libgui
22055 maybe-html-libgui: html-libgui
22057 html-libgui: \
22058 configure-libgui
22059 @: $(MAKE); $(unstage)
22060 @[ -f ./libgui/Makefile ] || exit 0; \
22061 r=`${PWD_COMMAND}`; export r; \
22062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22063 $(HOST_EXPORTS) \
22064 for flag in $(EXTRA_HOST_FLAGS) ; do \
22065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22066 done; \
22067 echo "Doing html in libgui" ; \
22068 (cd $(HOST_SUBDIR)/libgui && \
22069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22071 "RANLIB=$${RANLIB}" \
22072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22073 html) \
22074 || exit 1
22076 @endif libgui
22078 .PHONY: maybe-TAGS-libgui TAGS-libgui
22079 maybe-TAGS-libgui:
22080 @if libgui
22081 maybe-TAGS-libgui: TAGS-libgui
22083 TAGS-libgui: \
22084 configure-libgui
22085 @: $(MAKE); $(unstage)
22086 @[ -f ./libgui/Makefile ] || exit 0; \
22087 r=`${PWD_COMMAND}`; export r; \
22088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22089 $(HOST_EXPORTS) \
22090 for flag in $(EXTRA_HOST_FLAGS) ; do \
22091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22092 done; \
22093 echo "Doing TAGS in libgui" ; \
22094 (cd $(HOST_SUBDIR)/libgui && \
22095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22097 "RANLIB=$${RANLIB}" \
22098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22099 TAGS) \
22100 || exit 1
22102 @endif libgui
22104 .PHONY: maybe-install-info-libgui install-info-libgui
22105 maybe-install-info-libgui:
22106 @if libgui
22107 maybe-install-info-libgui: install-info-libgui
22109 install-info-libgui: \
22110 configure-libgui \
22111 info-libgui
22112 @: $(MAKE); $(unstage)
22113 @[ -f ./libgui/Makefile ] || exit 0; \
22114 r=`${PWD_COMMAND}`; export r; \
22115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22116 $(HOST_EXPORTS) \
22117 for flag in $(EXTRA_HOST_FLAGS) ; do \
22118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22119 done; \
22120 echo "Doing install-info in libgui" ; \
22121 (cd $(HOST_SUBDIR)/libgui && \
22122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22124 "RANLIB=$${RANLIB}" \
22125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22126 install-info) \
22127 || exit 1
22129 @endif libgui
22131 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
22132 maybe-install-pdf-libgui:
22133 @if libgui
22134 maybe-install-pdf-libgui: install-pdf-libgui
22136 install-pdf-libgui: \
22137 configure-libgui \
22138 pdf-libgui
22139 @: $(MAKE); $(unstage)
22140 @[ -f ./libgui/Makefile ] || exit 0; \
22141 r=`${PWD_COMMAND}`; export r; \
22142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22143 $(HOST_EXPORTS) \
22144 for flag in $(EXTRA_HOST_FLAGS) ; do \
22145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22146 done; \
22147 echo "Doing install-pdf in libgui" ; \
22148 (cd $(HOST_SUBDIR)/libgui && \
22149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22151 "RANLIB=$${RANLIB}" \
22152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22153 install-pdf) \
22154 || exit 1
22156 @endif libgui
22158 .PHONY: maybe-install-html-libgui install-html-libgui
22159 maybe-install-html-libgui:
22160 @if libgui
22161 maybe-install-html-libgui: install-html-libgui
22163 install-html-libgui: \
22164 configure-libgui \
22165 html-libgui
22166 @: $(MAKE); $(unstage)
22167 @[ -f ./libgui/Makefile ] || exit 0; \
22168 r=`${PWD_COMMAND}`; export r; \
22169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22170 $(HOST_EXPORTS) \
22171 for flag in $(EXTRA_HOST_FLAGS) ; do \
22172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22173 done; \
22174 echo "Doing install-html in libgui" ; \
22175 (cd $(HOST_SUBDIR)/libgui && \
22176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22178 "RANLIB=$${RANLIB}" \
22179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22180 install-html) \
22181 || exit 1
22183 @endif libgui
22185 .PHONY: maybe-installcheck-libgui installcheck-libgui
22186 maybe-installcheck-libgui:
22187 @if libgui
22188 maybe-installcheck-libgui: installcheck-libgui
22190 installcheck-libgui: \
22191 configure-libgui
22192 @: $(MAKE); $(unstage)
22193 @[ -f ./libgui/Makefile ] || exit 0; \
22194 r=`${PWD_COMMAND}`; export r; \
22195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22196 $(HOST_EXPORTS) \
22197 for flag in $(EXTRA_HOST_FLAGS) ; do \
22198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22199 done; \
22200 echo "Doing installcheck in libgui" ; \
22201 (cd $(HOST_SUBDIR)/libgui && \
22202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22204 "RANLIB=$${RANLIB}" \
22205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22206 installcheck) \
22207 || exit 1
22209 @endif libgui
22211 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
22212 maybe-mostlyclean-libgui:
22213 @if libgui
22214 maybe-mostlyclean-libgui: mostlyclean-libgui
22216 mostlyclean-libgui:
22217 @: $(MAKE); $(unstage)
22218 @[ -f ./libgui/Makefile ] || exit 0; \
22219 r=`${PWD_COMMAND}`; export r; \
22220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22221 $(HOST_EXPORTS) \
22222 for flag in $(EXTRA_HOST_FLAGS) ; do \
22223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22224 done; \
22225 echo "Doing mostlyclean in libgui" ; \
22226 (cd $(HOST_SUBDIR)/libgui && \
22227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22229 "RANLIB=$${RANLIB}" \
22230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22231 mostlyclean) \
22232 || exit 1
22234 @endif libgui
22236 .PHONY: maybe-clean-libgui clean-libgui
22237 maybe-clean-libgui:
22238 @if libgui
22239 maybe-clean-libgui: clean-libgui
22241 clean-libgui:
22242 @: $(MAKE); $(unstage)
22243 @[ -f ./libgui/Makefile ] || exit 0; \
22244 r=`${PWD_COMMAND}`; export r; \
22245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22246 $(HOST_EXPORTS) \
22247 for flag in $(EXTRA_HOST_FLAGS) ; do \
22248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22249 done; \
22250 echo "Doing clean in libgui" ; \
22251 (cd $(HOST_SUBDIR)/libgui && \
22252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22254 "RANLIB=$${RANLIB}" \
22255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22256 clean) \
22257 || exit 1
22259 @endif libgui
22261 .PHONY: maybe-distclean-libgui distclean-libgui
22262 maybe-distclean-libgui:
22263 @if libgui
22264 maybe-distclean-libgui: distclean-libgui
22266 distclean-libgui:
22267 @: $(MAKE); $(unstage)
22268 @[ -f ./libgui/Makefile ] || exit 0; \
22269 r=`${PWD_COMMAND}`; export r; \
22270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22271 $(HOST_EXPORTS) \
22272 for flag in $(EXTRA_HOST_FLAGS) ; do \
22273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22274 done; \
22275 echo "Doing distclean in libgui" ; \
22276 (cd $(HOST_SUBDIR)/libgui && \
22277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22279 "RANLIB=$${RANLIB}" \
22280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22281 distclean) \
22282 || exit 1
22284 @endif libgui
22286 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
22287 maybe-maintainer-clean-libgui:
22288 @if libgui
22289 maybe-maintainer-clean-libgui: maintainer-clean-libgui
22291 maintainer-clean-libgui:
22292 @: $(MAKE); $(unstage)
22293 @[ -f ./libgui/Makefile ] || exit 0; \
22294 r=`${PWD_COMMAND}`; export r; \
22295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22296 $(HOST_EXPORTS) \
22297 for flag in $(EXTRA_HOST_FLAGS) ; do \
22298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22299 done; \
22300 echo "Doing maintainer-clean in libgui" ; \
22301 (cd $(HOST_SUBDIR)/libgui && \
22302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22304 "RANLIB=$${RANLIB}" \
22305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22306 maintainer-clean) \
22307 || exit 1
22309 @endif libgui
22313 .PHONY: configure-libiberty maybe-configure-libiberty
22314 maybe-configure-libiberty:
22315 @if gcc-bootstrap
22316 configure-libiberty: stage_current
22317 @endif gcc-bootstrap
22318 @if libiberty
22319 maybe-configure-libiberty: configure-libiberty
22320 configure-libiberty:
22321 @r=`${PWD_COMMAND}`; export r; \
22322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22323 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22324 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22325 $(HOST_EXPORTS) \
22326 echo Configuring in $(HOST_SUBDIR)/libiberty; \
22327 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
22328 case $(srcdir) in \
22329 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22330 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22331 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22332 esac; \
22333 module_srcdir=libiberty; \
22334 $(SHELL) \
22335 $$s/$$module_srcdir/configure \
22336 --srcdir=$${topdir}/$$module_srcdir \
22337 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22338 --target=${target_alias} @extra_host_libiberty_configure_flags@ \
22339 || exit 1
22340 @endif libiberty
22344 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
22345 maybe-configure-stage1-libiberty:
22346 @if libiberty-bootstrap
22347 maybe-configure-stage1-libiberty: configure-stage1-libiberty
22348 configure-stage1-libiberty:
22349 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22350 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22351 @r=`${PWD_COMMAND}`; export r; \
22352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22353 TFLAGS="$(STAGE1_TFLAGS)"; \
22354 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22355 $(HOST_EXPORTS) \
22356 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
22357 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
22358 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
22359 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
22360 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22361 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22362 case $(srcdir) in \
22363 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22364 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22365 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22366 esac; \
22367 module_srcdir=libiberty; \
22368 $(SHELL) $$s/$$module_srcdir/configure \
22369 --srcdir=$${topdir}/$$module_srcdir \
22370 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22371 --target=${target_alias} \
22373 $(STAGE1_CONFIGURE_FLAGS) \
22374 @extra_host_libiberty_configure_flags@
22375 @endif libiberty-bootstrap
22377 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
22378 maybe-configure-stage2-libiberty:
22379 @if libiberty-bootstrap
22380 maybe-configure-stage2-libiberty: configure-stage2-libiberty
22381 configure-stage2-libiberty:
22382 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22383 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22384 @r=`${PWD_COMMAND}`; export r; \
22385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22386 TFLAGS="$(STAGE2_TFLAGS)"; \
22387 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22388 $(HOST_EXPORTS) \
22389 $(POSTSTAGE1_HOST_EXPORTS) \
22390 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
22391 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
22392 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
22393 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
22394 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22395 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22396 case $(srcdir) in \
22397 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22398 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22399 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22400 esac; \
22401 module_srcdir=libiberty; \
22402 $(SHELL) $$s/$$module_srcdir/configure \
22403 --srcdir=$${topdir}/$$module_srcdir \
22404 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22405 --target=${target_alias} \
22406 --with-build-libsubdir=$(HOST_SUBDIR) \
22407 $(STAGE2_CONFIGURE_FLAGS) \
22408 @extra_host_libiberty_configure_flags@
22409 @endif libiberty-bootstrap
22411 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
22412 maybe-configure-stage3-libiberty:
22413 @if libiberty-bootstrap
22414 maybe-configure-stage3-libiberty: configure-stage3-libiberty
22415 configure-stage3-libiberty:
22416 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22417 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22418 @r=`${PWD_COMMAND}`; export r; \
22419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22420 TFLAGS="$(STAGE3_TFLAGS)"; \
22421 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22422 $(HOST_EXPORTS) \
22423 $(POSTSTAGE1_HOST_EXPORTS) \
22424 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
22425 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
22426 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
22427 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
22428 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22429 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22430 case $(srcdir) in \
22431 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22432 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22433 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22434 esac; \
22435 module_srcdir=libiberty; \
22436 $(SHELL) $$s/$$module_srcdir/configure \
22437 --srcdir=$${topdir}/$$module_srcdir \
22438 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22439 --target=${target_alias} \
22440 --with-build-libsubdir=$(HOST_SUBDIR) \
22441 $(STAGE3_CONFIGURE_FLAGS) \
22442 @extra_host_libiberty_configure_flags@
22443 @endif libiberty-bootstrap
22445 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
22446 maybe-configure-stage4-libiberty:
22447 @if libiberty-bootstrap
22448 maybe-configure-stage4-libiberty: configure-stage4-libiberty
22449 configure-stage4-libiberty:
22450 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22451 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22452 @r=`${PWD_COMMAND}`; export r; \
22453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22454 TFLAGS="$(STAGE4_TFLAGS)"; \
22455 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22456 $(HOST_EXPORTS) \
22457 $(POSTSTAGE1_HOST_EXPORTS) \
22458 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
22459 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
22460 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
22461 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
22462 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22463 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22464 case $(srcdir) in \
22465 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22466 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22467 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22468 esac; \
22469 module_srcdir=libiberty; \
22470 $(SHELL) $$s/$$module_srcdir/configure \
22471 --srcdir=$${topdir}/$$module_srcdir \
22472 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22473 --target=${target_alias} \
22474 --with-build-libsubdir=$(HOST_SUBDIR) \
22475 $(STAGE4_CONFIGURE_FLAGS) \
22476 @extra_host_libiberty_configure_flags@
22477 @endif libiberty-bootstrap
22479 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
22480 maybe-configure-stageprofile-libiberty:
22481 @if libiberty-bootstrap
22482 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
22483 configure-stageprofile-libiberty:
22484 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22485 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22486 @r=`${PWD_COMMAND}`; export r; \
22487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22488 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22489 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22490 $(HOST_EXPORTS) \
22491 $(POSTSTAGE1_HOST_EXPORTS) \
22492 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
22493 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
22494 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
22495 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
22496 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22497 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22498 case $(srcdir) in \
22499 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22500 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22501 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22502 esac; \
22503 module_srcdir=libiberty; \
22504 $(SHELL) $$s/$$module_srcdir/configure \
22505 --srcdir=$${topdir}/$$module_srcdir \
22506 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22507 --target=${target_alias} \
22508 --with-build-libsubdir=$(HOST_SUBDIR) \
22509 $(STAGEprofile_CONFIGURE_FLAGS) \
22510 @extra_host_libiberty_configure_flags@
22511 @endif libiberty-bootstrap
22513 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
22514 maybe-configure-stagefeedback-libiberty:
22515 @if libiberty-bootstrap
22516 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
22517 configure-stagefeedback-libiberty:
22518 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22519 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22520 @r=`${PWD_COMMAND}`; export r; \
22521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22522 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22523 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22524 $(HOST_EXPORTS) \
22525 $(POSTSTAGE1_HOST_EXPORTS) \
22526 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
22527 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
22528 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
22529 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
22530 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22531 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22532 case $(srcdir) in \
22533 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22534 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22535 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22536 esac; \
22537 module_srcdir=libiberty; \
22538 $(SHELL) $$s/$$module_srcdir/configure \
22539 --srcdir=$${topdir}/$$module_srcdir \
22540 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22541 --target=${target_alias} \
22542 --with-build-libsubdir=$(HOST_SUBDIR) \
22543 $(STAGEfeedback_CONFIGURE_FLAGS) \
22544 @extra_host_libiberty_configure_flags@
22545 @endif libiberty-bootstrap
22551 .PHONY: all-libiberty maybe-all-libiberty
22552 maybe-all-libiberty:
22553 @if gcc-bootstrap
22554 all-libiberty: stage_current
22555 @endif gcc-bootstrap
22556 @if libiberty
22557 TARGET-libiberty=all
22558 maybe-all-libiberty: all-libiberty
22559 all-libiberty: configure-libiberty
22560 @r=`${PWD_COMMAND}`; export r; \
22561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22562 $(HOST_EXPORTS) \
22563 (cd $(HOST_SUBDIR)/libiberty && \
22564 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22565 $(TARGET-libiberty))
22566 @endif libiberty
22570 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
22571 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
22572 maybe-all-stage1-libiberty:
22573 maybe-clean-stage1-libiberty:
22574 @if libiberty-bootstrap
22575 maybe-all-stage1-libiberty: all-stage1-libiberty
22576 all-stage1: all-stage1-libiberty
22577 TARGET-stage1-libiberty = $(TARGET-libiberty)
22578 all-stage1-libiberty: configure-stage1-libiberty
22579 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22580 @r=`${PWD_COMMAND}`; export r; \
22581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22582 TFLAGS="$(STAGE1_TFLAGS)"; \
22583 $(HOST_EXPORTS) \
22584 cd $(HOST_SUBDIR)/libiberty && \
22585 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22586 CFLAGS="$(STAGE1_CFLAGS)" \
22587 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22588 LIBCFLAGS="$(LIBCFLAGS)" \
22589 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22590 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22591 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22592 $(EXTRA_HOST_FLAGS) \
22593 $(STAGE1_FLAGS_TO_PASS) \
22594 TFLAGS="$(STAGE1_TFLAGS)" \
22595 $(TARGET-stage1-libiberty)
22597 maybe-clean-stage1-libiberty: clean-stage1-libiberty
22598 clean-stage1: clean-stage1-libiberty
22599 clean-stage1-libiberty:
22600 @if [ $(current_stage) = stage1 ]; then \
22601 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22602 else \
22603 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
22604 $(MAKE) stage1-start; \
22605 fi; \
22606 cd $(HOST_SUBDIR)/libiberty && \
22607 $(MAKE) $(EXTRA_HOST_FLAGS) \
22608 $(STAGE1_FLAGS_TO_PASS) clean
22609 @endif libiberty-bootstrap
22612 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
22613 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
22614 maybe-all-stage2-libiberty:
22615 maybe-clean-stage2-libiberty:
22616 @if libiberty-bootstrap
22617 maybe-all-stage2-libiberty: all-stage2-libiberty
22618 all-stage2: all-stage2-libiberty
22619 TARGET-stage2-libiberty = $(TARGET-libiberty)
22620 all-stage2-libiberty: configure-stage2-libiberty
22621 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22622 @r=`${PWD_COMMAND}`; export r; \
22623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22624 TFLAGS="$(STAGE2_TFLAGS)"; \
22625 $(HOST_EXPORTS) \
22626 $(POSTSTAGE1_HOST_EXPORTS) \
22627 cd $(HOST_SUBDIR)/libiberty && \
22628 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22629 CFLAGS="$(STAGE2_CFLAGS)" \
22630 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22631 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22632 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22633 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22634 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22635 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22636 TFLAGS="$(STAGE2_TFLAGS)" \
22637 $(TARGET-stage2-libiberty)
22639 maybe-clean-stage2-libiberty: clean-stage2-libiberty
22640 clean-stage2: clean-stage2-libiberty
22641 clean-stage2-libiberty:
22642 @if [ $(current_stage) = stage2 ]; then \
22643 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22644 else \
22645 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
22646 $(MAKE) stage2-start; \
22647 fi; \
22648 cd $(HOST_SUBDIR)/libiberty && \
22649 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22650 @endif libiberty-bootstrap
22653 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
22654 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
22655 maybe-all-stage3-libiberty:
22656 maybe-clean-stage3-libiberty:
22657 @if libiberty-bootstrap
22658 maybe-all-stage3-libiberty: all-stage3-libiberty
22659 all-stage3: all-stage3-libiberty
22660 TARGET-stage3-libiberty = $(TARGET-libiberty)
22661 all-stage3-libiberty: configure-stage3-libiberty
22662 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22663 @r=`${PWD_COMMAND}`; export r; \
22664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22665 TFLAGS="$(STAGE3_TFLAGS)"; \
22666 $(HOST_EXPORTS) \
22667 $(POSTSTAGE1_HOST_EXPORTS) \
22668 cd $(HOST_SUBDIR)/libiberty && \
22669 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22670 CFLAGS="$(STAGE3_CFLAGS)" \
22671 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22672 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22673 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22674 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22675 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22676 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22677 TFLAGS="$(STAGE3_TFLAGS)" \
22678 $(TARGET-stage3-libiberty)
22680 maybe-clean-stage3-libiberty: clean-stage3-libiberty
22681 clean-stage3: clean-stage3-libiberty
22682 clean-stage3-libiberty:
22683 @if [ $(current_stage) = stage3 ]; then \
22684 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22685 else \
22686 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
22687 $(MAKE) stage3-start; \
22688 fi; \
22689 cd $(HOST_SUBDIR)/libiberty && \
22690 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22691 @endif libiberty-bootstrap
22694 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
22695 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
22696 maybe-all-stage4-libiberty:
22697 maybe-clean-stage4-libiberty:
22698 @if libiberty-bootstrap
22699 maybe-all-stage4-libiberty: all-stage4-libiberty
22700 all-stage4: all-stage4-libiberty
22701 TARGET-stage4-libiberty = $(TARGET-libiberty)
22702 all-stage4-libiberty: configure-stage4-libiberty
22703 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22704 @r=`${PWD_COMMAND}`; export r; \
22705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22706 TFLAGS="$(STAGE4_TFLAGS)"; \
22707 $(HOST_EXPORTS) \
22708 $(POSTSTAGE1_HOST_EXPORTS) \
22709 cd $(HOST_SUBDIR)/libiberty && \
22710 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22711 CFLAGS="$(STAGE4_CFLAGS)" \
22712 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22713 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22714 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22715 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22716 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22717 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22718 TFLAGS="$(STAGE4_TFLAGS)" \
22719 $(TARGET-stage4-libiberty)
22721 maybe-clean-stage4-libiberty: clean-stage4-libiberty
22722 clean-stage4: clean-stage4-libiberty
22723 clean-stage4-libiberty:
22724 @if [ $(current_stage) = stage4 ]; then \
22725 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22726 else \
22727 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
22728 $(MAKE) stage4-start; \
22729 fi; \
22730 cd $(HOST_SUBDIR)/libiberty && \
22731 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22732 @endif libiberty-bootstrap
22735 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
22736 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
22737 maybe-all-stageprofile-libiberty:
22738 maybe-clean-stageprofile-libiberty:
22739 @if libiberty-bootstrap
22740 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
22741 all-stageprofile: all-stageprofile-libiberty
22742 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
22743 all-stageprofile-libiberty: configure-stageprofile-libiberty
22744 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22745 @r=`${PWD_COMMAND}`; export r; \
22746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22747 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22748 $(HOST_EXPORTS) \
22749 $(POSTSTAGE1_HOST_EXPORTS) \
22750 cd $(HOST_SUBDIR)/libiberty && \
22751 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22752 CFLAGS="$(STAGEprofile_CFLAGS)" \
22753 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22754 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22755 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22756 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22757 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22758 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22759 TFLAGS="$(STAGEprofile_TFLAGS)" \
22760 $(TARGET-stageprofile-libiberty)
22762 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
22763 clean-stageprofile: clean-stageprofile-libiberty
22764 clean-stageprofile-libiberty:
22765 @if [ $(current_stage) = stageprofile ]; then \
22766 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22767 else \
22768 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
22769 $(MAKE) stageprofile-start; \
22770 fi; \
22771 cd $(HOST_SUBDIR)/libiberty && \
22772 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22773 @endif libiberty-bootstrap
22776 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
22777 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
22778 maybe-all-stagefeedback-libiberty:
22779 maybe-clean-stagefeedback-libiberty:
22780 @if libiberty-bootstrap
22781 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
22782 all-stagefeedback: all-stagefeedback-libiberty
22783 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
22784 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
22785 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22786 @r=`${PWD_COMMAND}`; export r; \
22787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22788 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22789 $(HOST_EXPORTS) \
22790 $(POSTSTAGE1_HOST_EXPORTS) \
22791 cd $(HOST_SUBDIR)/libiberty && \
22792 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22793 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22794 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22795 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22796 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22797 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22798 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22799 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22800 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22801 $(TARGET-stagefeedback-libiberty)
22803 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
22804 clean-stagefeedback: clean-stagefeedback-libiberty
22805 clean-stagefeedback-libiberty:
22806 @if [ $(current_stage) = stagefeedback ]; then \
22807 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22808 else \
22809 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
22810 $(MAKE) stagefeedback-start; \
22811 fi; \
22812 cd $(HOST_SUBDIR)/libiberty && \
22813 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22814 @endif libiberty-bootstrap
22820 .PHONY: check-libiberty maybe-check-libiberty
22821 maybe-check-libiberty:
22822 @if libiberty
22823 maybe-check-libiberty: check-libiberty
22825 check-libiberty:
22826 @: $(MAKE); $(unstage)
22827 @r=`${PWD_COMMAND}`; export r; \
22828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22829 $(HOST_EXPORTS) \
22830 (cd $(HOST_SUBDIR)/libiberty && \
22831 $(MAKE) $(FLAGS_TO_PASS) check)
22833 @endif libiberty
22835 .PHONY: install-libiberty maybe-install-libiberty
22836 maybe-install-libiberty:
22837 @if libiberty
22838 maybe-install-libiberty: install-libiberty
22840 install-libiberty: installdirs
22841 @: $(MAKE); $(unstage)
22842 @r=`${PWD_COMMAND}`; export r; \
22843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22844 $(HOST_EXPORTS) \
22845 (cd $(HOST_SUBDIR)/libiberty && \
22846 $(MAKE) $(FLAGS_TO_PASS) install)
22848 @endif libiberty
22850 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
22851 maybe-install-strip-libiberty:
22852 @if libiberty
22853 maybe-install-strip-libiberty: install-strip-libiberty
22855 install-strip-libiberty: installdirs
22856 @: $(MAKE); $(unstage)
22857 @r=`${PWD_COMMAND}`; export r; \
22858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22859 $(HOST_EXPORTS) \
22860 (cd $(HOST_SUBDIR)/libiberty && \
22861 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22863 @endif libiberty
22865 # Other targets (info, dvi, pdf, etc.)
22867 .PHONY: maybe-info-libiberty info-libiberty
22868 maybe-info-libiberty:
22869 @if libiberty
22870 maybe-info-libiberty: info-libiberty
22872 info-libiberty: \
22873 configure-libiberty
22874 @[ -f ./libiberty/Makefile ] || exit 0; \
22875 r=`${PWD_COMMAND}`; export r; \
22876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22877 $(HOST_EXPORTS) \
22878 for flag in $(EXTRA_HOST_FLAGS) ; do \
22879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22880 done; \
22881 echo "Doing info in libiberty" ; \
22882 (cd $(HOST_SUBDIR)/libiberty && \
22883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22885 "RANLIB=$${RANLIB}" \
22886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22887 info) \
22888 || exit 1
22890 @endif libiberty
22892 .PHONY: maybe-dvi-libiberty dvi-libiberty
22893 maybe-dvi-libiberty:
22894 @if libiberty
22895 maybe-dvi-libiberty: dvi-libiberty
22897 dvi-libiberty: \
22898 configure-libiberty
22899 @[ -f ./libiberty/Makefile ] || exit 0; \
22900 r=`${PWD_COMMAND}`; export r; \
22901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22902 $(HOST_EXPORTS) \
22903 for flag in $(EXTRA_HOST_FLAGS) ; do \
22904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22905 done; \
22906 echo "Doing dvi in libiberty" ; \
22907 (cd $(HOST_SUBDIR)/libiberty && \
22908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22910 "RANLIB=$${RANLIB}" \
22911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22912 dvi) \
22913 || exit 1
22915 @endif libiberty
22917 .PHONY: maybe-pdf-libiberty pdf-libiberty
22918 maybe-pdf-libiberty:
22919 @if libiberty
22920 maybe-pdf-libiberty: pdf-libiberty
22922 pdf-libiberty: \
22923 configure-libiberty
22924 @[ -f ./libiberty/Makefile ] || exit 0; \
22925 r=`${PWD_COMMAND}`; export r; \
22926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22927 $(HOST_EXPORTS) \
22928 for flag in $(EXTRA_HOST_FLAGS) ; do \
22929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22930 done; \
22931 echo "Doing pdf in libiberty" ; \
22932 (cd $(HOST_SUBDIR)/libiberty && \
22933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22935 "RANLIB=$${RANLIB}" \
22936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22937 pdf) \
22938 || exit 1
22940 @endif libiberty
22942 .PHONY: maybe-html-libiberty html-libiberty
22943 maybe-html-libiberty:
22944 @if libiberty
22945 maybe-html-libiberty: html-libiberty
22947 html-libiberty: \
22948 configure-libiberty
22949 @[ -f ./libiberty/Makefile ] || exit 0; \
22950 r=`${PWD_COMMAND}`; export r; \
22951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22952 $(HOST_EXPORTS) \
22953 for flag in $(EXTRA_HOST_FLAGS) ; do \
22954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22955 done; \
22956 echo "Doing html in libiberty" ; \
22957 (cd $(HOST_SUBDIR)/libiberty && \
22958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22960 "RANLIB=$${RANLIB}" \
22961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22962 html) \
22963 || exit 1
22965 @endif libiberty
22967 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
22968 maybe-TAGS-libiberty:
22969 @if libiberty
22970 maybe-TAGS-libiberty: TAGS-libiberty
22972 TAGS-libiberty: \
22973 configure-libiberty
22974 @[ -f ./libiberty/Makefile ] || exit 0; \
22975 r=`${PWD_COMMAND}`; export r; \
22976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22977 $(HOST_EXPORTS) \
22978 for flag in $(EXTRA_HOST_FLAGS) ; do \
22979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22980 done; \
22981 echo "Doing TAGS in libiberty" ; \
22982 (cd $(HOST_SUBDIR)/libiberty && \
22983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22985 "RANLIB=$${RANLIB}" \
22986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22987 TAGS) \
22988 || exit 1
22990 @endif libiberty
22992 .PHONY: maybe-install-info-libiberty install-info-libiberty
22993 maybe-install-info-libiberty:
22994 @if libiberty
22995 maybe-install-info-libiberty: install-info-libiberty
22997 install-info-libiberty: \
22998 configure-libiberty \
22999 info-libiberty
23000 @[ -f ./libiberty/Makefile ] || exit 0; \
23001 r=`${PWD_COMMAND}`; export r; \
23002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23003 $(HOST_EXPORTS) \
23004 for flag in $(EXTRA_HOST_FLAGS) ; do \
23005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23006 done; \
23007 echo "Doing install-info in libiberty" ; \
23008 (cd $(HOST_SUBDIR)/libiberty && \
23009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23011 "RANLIB=$${RANLIB}" \
23012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23013 install-info) \
23014 || exit 1
23016 @endif libiberty
23018 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
23019 maybe-install-pdf-libiberty:
23020 @if libiberty
23021 maybe-install-pdf-libiberty: install-pdf-libiberty
23023 install-pdf-libiberty: \
23024 configure-libiberty \
23025 pdf-libiberty
23026 @[ -f ./libiberty/Makefile ] || exit 0; \
23027 r=`${PWD_COMMAND}`; export r; \
23028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23029 $(HOST_EXPORTS) \
23030 for flag in $(EXTRA_HOST_FLAGS) ; do \
23031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23032 done; \
23033 echo "Doing install-pdf in libiberty" ; \
23034 (cd $(HOST_SUBDIR)/libiberty && \
23035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23037 "RANLIB=$${RANLIB}" \
23038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23039 install-pdf) \
23040 || exit 1
23042 @endif libiberty
23044 .PHONY: maybe-install-html-libiberty install-html-libiberty
23045 maybe-install-html-libiberty:
23046 @if libiberty
23047 maybe-install-html-libiberty: install-html-libiberty
23049 install-html-libiberty: \
23050 configure-libiberty \
23051 html-libiberty
23052 @[ -f ./libiberty/Makefile ] || exit 0; \
23053 r=`${PWD_COMMAND}`; export r; \
23054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23055 $(HOST_EXPORTS) \
23056 for flag in $(EXTRA_HOST_FLAGS) ; do \
23057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23058 done; \
23059 echo "Doing install-html in libiberty" ; \
23060 (cd $(HOST_SUBDIR)/libiberty && \
23061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23063 "RANLIB=$${RANLIB}" \
23064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23065 install-html) \
23066 || exit 1
23068 @endif libiberty
23070 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
23071 maybe-installcheck-libiberty:
23072 @if libiberty
23073 maybe-installcheck-libiberty: installcheck-libiberty
23075 installcheck-libiberty: \
23076 configure-libiberty
23077 @[ -f ./libiberty/Makefile ] || exit 0; \
23078 r=`${PWD_COMMAND}`; export r; \
23079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23080 $(HOST_EXPORTS) \
23081 for flag in $(EXTRA_HOST_FLAGS) ; do \
23082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23083 done; \
23084 echo "Doing installcheck in libiberty" ; \
23085 (cd $(HOST_SUBDIR)/libiberty && \
23086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23088 "RANLIB=$${RANLIB}" \
23089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23090 installcheck) \
23091 || exit 1
23093 @endif libiberty
23095 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
23096 maybe-mostlyclean-libiberty:
23097 @if libiberty
23098 maybe-mostlyclean-libiberty: mostlyclean-libiberty
23100 mostlyclean-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 mostlyclean 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 mostlyclean) \
23115 || exit 1
23117 @endif libiberty
23119 .PHONY: maybe-clean-libiberty clean-libiberty
23120 maybe-clean-libiberty:
23121 @if libiberty
23122 maybe-clean-libiberty: clean-libiberty
23124 clean-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 clean 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 clean) \
23139 || exit 1
23141 @endif libiberty
23143 .PHONY: maybe-distclean-libiberty distclean-libiberty
23144 maybe-distclean-libiberty:
23145 @if libiberty
23146 maybe-distclean-libiberty: distclean-libiberty
23148 distclean-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 distclean 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 distclean) \
23163 || exit 1
23165 @endif libiberty
23167 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
23168 maybe-maintainer-clean-libiberty:
23169 @if libiberty
23170 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
23172 maintainer-clean-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 maintainer-clean 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 maintainer-clean) \
23187 || exit 1
23189 @endif libiberty
23193 .PHONY: configure-libiberty-linker-plugin maybe-configure-libiberty-linker-plugin
23194 maybe-configure-libiberty-linker-plugin:
23195 @if gcc-bootstrap
23196 configure-libiberty-linker-plugin: stage_current
23197 @endif gcc-bootstrap
23198 @if libiberty-linker-plugin
23199 maybe-configure-libiberty-linker-plugin: configure-libiberty-linker-plugin
23200 configure-libiberty-linker-plugin:
23201 @r=`${PWD_COMMAND}`; export r; \
23202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23203 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23204 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23205 $(HOST_EXPORTS) \
23206 echo Configuring in $(HOST_SUBDIR)/libiberty-linker-plugin; \
23207 cd "$(HOST_SUBDIR)/libiberty-linker-plugin" || exit 1; \
23208 case $(srcdir) in \
23209 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23210 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23211 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23212 esac; \
23213 module_srcdir=libiberty; \
23214 $(SHELL) \
23215 $$s/$$module_srcdir/configure \
23216 --srcdir=$${topdir}/$$module_srcdir \
23217 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23218 --target=${target_alias} @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
23219 || exit 1
23220 @endif libiberty-linker-plugin
23224 .PHONY: configure-stage1-libiberty-linker-plugin maybe-configure-stage1-libiberty-linker-plugin
23225 maybe-configure-stage1-libiberty-linker-plugin:
23226 @if libiberty-linker-plugin-bootstrap
23227 maybe-configure-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
23228 configure-stage1-libiberty-linker-plugin:
23229 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23230 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23231 @r=`${PWD_COMMAND}`; export r; \
23232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23233 TFLAGS="$(STAGE1_TFLAGS)"; \
23234 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23235 $(HOST_EXPORTS) \
23236 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
23237 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
23238 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
23239 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23240 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23241 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23242 case $(srcdir) in \
23243 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23244 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23245 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23246 esac; \
23247 module_srcdir=libiberty; \
23248 $(SHELL) $$s/$$module_srcdir/configure \
23249 --srcdir=$${topdir}/$$module_srcdir \
23250 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23251 --target=${target_alias} \
23253 $(STAGE1_CONFIGURE_FLAGS) \
23254 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23255 @endif libiberty-linker-plugin-bootstrap
23257 .PHONY: configure-stage2-libiberty-linker-plugin maybe-configure-stage2-libiberty-linker-plugin
23258 maybe-configure-stage2-libiberty-linker-plugin:
23259 @if libiberty-linker-plugin-bootstrap
23260 maybe-configure-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
23261 configure-stage2-libiberty-linker-plugin:
23262 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23263 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23264 @r=`${PWD_COMMAND}`; export r; \
23265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23266 TFLAGS="$(STAGE2_TFLAGS)"; \
23267 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23268 $(HOST_EXPORTS) \
23269 $(POSTSTAGE1_HOST_EXPORTS) \
23270 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
23271 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
23272 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
23273 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23274 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23275 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23276 case $(srcdir) in \
23277 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23278 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23279 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23280 esac; \
23281 module_srcdir=libiberty; \
23282 $(SHELL) $$s/$$module_srcdir/configure \
23283 --srcdir=$${topdir}/$$module_srcdir \
23284 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23285 --target=${target_alias} \
23286 --with-build-libsubdir=$(HOST_SUBDIR) \
23287 $(STAGE2_CONFIGURE_FLAGS) \
23288 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23289 @endif libiberty-linker-plugin-bootstrap
23291 .PHONY: configure-stage3-libiberty-linker-plugin maybe-configure-stage3-libiberty-linker-plugin
23292 maybe-configure-stage3-libiberty-linker-plugin:
23293 @if libiberty-linker-plugin-bootstrap
23294 maybe-configure-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
23295 configure-stage3-libiberty-linker-plugin:
23296 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23297 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23298 @r=`${PWD_COMMAND}`; export r; \
23299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23300 TFLAGS="$(STAGE3_TFLAGS)"; \
23301 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23302 $(HOST_EXPORTS) \
23303 $(POSTSTAGE1_HOST_EXPORTS) \
23304 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
23305 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
23306 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
23307 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23308 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23309 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23310 case $(srcdir) in \
23311 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23312 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23313 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23314 esac; \
23315 module_srcdir=libiberty; \
23316 $(SHELL) $$s/$$module_srcdir/configure \
23317 --srcdir=$${topdir}/$$module_srcdir \
23318 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23319 --target=${target_alias} \
23320 --with-build-libsubdir=$(HOST_SUBDIR) \
23321 $(STAGE3_CONFIGURE_FLAGS) \
23322 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23323 @endif libiberty-linker-plugin-bootstrap
23325 .PHONY: configure-stage4-libiberty-linker-plugin maybe-configure-stage4-libiberty-linker-plugin
23326 maybe-configure-stage4-libiberty-linker-plugin:
23327 @if libiberty-linker-plugin-bootstrap
23328 maybe-configure-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
23329 configure-stage4-libiberty-linker-plugin:
23330 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23331 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23332 @r=`${PWD_COMMAND}`; export r; \
23333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23334 TFLAGS="$(STAGE4_TFLAGS)"; \
23335 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23336 $(HOST_EXPORTS) \
23337 $(POSTSTAGE1_HOST_EXPORTS) \
23338 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
23339 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
23340 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
23341 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23342 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23343 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23344 case $(srcdir) in \
23345 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23346 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23347 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23348 esac; \
23349 module_srcdir=libiberty; \
23350 $(SHELL) $$s/$$module_srcdir/configure \
23351 --srcdir=$${topdir}/$$module_srcdir \
23352 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23353 --target=${target_alias} \
23354 --with-build-libsubdir=$(HOST_SUBDIR) \
23355 $(STAGE4_CONFIGURE_FLAGS) \
23356 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23357 @endif libiberty-linker-plugin-bootstrap
23359 .PHONY: configure-stageprofile-libiberty-linker-plugin maybe-configure-stageprofile-libiberty-linker-plugin
23360 maybe-configure-stageprofile-libiberty-linker-plugin:
23361 @if libiberty-linker-plugin-bootstrap
23362 maybe-configure-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
23363 configure-stageprofile-libiberty-linker-plugin:
23364 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23365 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23366 @r=`${PWD_COMMAND}`; export r; \
23367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23368 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23369 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23370 $(HOST_EXPORTS) \
23371 $(POSTSTAGE1_HOST_EXPORTS) \
23372 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
23373 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
23374 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
23375 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23376 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23377 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23378 case $(srcdir) in \
23379 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23380 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23381 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23382 esac; \
23383 module_srcdir=libiberty; \
23384 $(SHELL) $$s/$$module_srcdir/configure \
23385 --srcdir=$${topdir}/$$module_srcdir \
23386 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23387 --target=${target_alias} \
23388 --with-build-libsubdir=$(HOST_SUBDIR) \
23389 $(STAGEprofile_CONFIGURE_FLAGS) \
23390 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23391 @endif libiberty-linker-plugin-bootstrap
23393 .PHONY: configure-stagefeedback-libiberty-linker-plugin maybe-configure-stagefeedback-libiberty-linker-plugin
23394 maybe-configure-stagefeedback-libiberty-linker-plugin:
23395 @if libiberty-linker-plugin-bootstrap
23396 maybe-configure-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
23397 configure-stagefeedback-libiberty-linker-plugin:
23398 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23399 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23400 @r=`${PWD_COMMAND}`; export r; \
23401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23402 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23403 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23404 $(HOST_EXPORTS) \
23405 $(POSTSTAGE1_HOST_EXPORTS) \
23406 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
23407 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
23408 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
23409 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23410 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23411 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23412 case $(srcdir) in \
23413 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23414 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23415 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23416 esac; \
23417 module_srcdir=libiberty; \
23418 $(SHELL) $$s/$$module_srcdir/configure \
23419 --srcdir=$${topdir}/$$module_srcdir \
23420 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23421 --target=${target_alias} \
23422 --with-build-libsubdir=$(HOST_SUBDIR) \
23423 $(STAGEfeedback_CONFIGURE_FLAGS) \
23424 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23425 @endif libiberty-linker-plugin-bootstrap
23431 .PHONY: all-libiberty-linker-plugin maybe-all-libiberty-linker-plugin
23432 maybe-all-libiberty-linker-plugin:
23433 @if gcc-bootstrap
23434 all-libiberty-linker-plugin: stage_current
23435 @endif gcc-bootstrap
23436 @if libiberty-linker-plugin
23437 TARGET-libiberty-linker-plugin=all
23438 maybe-all-libiberty-linker-plugin: all-libiberty-linker-plugin
23439 all-libiberty-linker-plugin: configure-libiberty-linker-plugin
23440 @r=`${PWD_COMMAND}`; export r; \
23441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23442 $(HOST_EXPORTS) \
23443 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23444 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23445 $(TARGET-libiberty-linker-plugin))
23446 @endif libiberty-linker-plugin
23450 .PHONY: all-stage1-libiberty-linker-plugin maybe-all-stage1-libiberty-linker-plugin
23451 .PHONY: clean-stage1-libiberty-linker-plugin maybe-clean-stage1-libiberty-linker-plugin
23452 maybe-all-stage1-libiberty-linker-plugin:
23453 maybe-clean-stage1-libiberty-linker-plugin:
23454 @if libiberty-linker-plugin-bootstrap
23455 maybe-all-stage1-libiberty-linker-plugin: all-stage1-libiberty-linker-plugin
23456 all-stage1: all-stage1-libiberty-linker-plugin
23457 TARGET-stage1-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23458 all-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
23459 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23460 @r=`${PWD_COMMAND}`; export r; \
23461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23462 TFLAGS="$(STAGE1_TFLAGS)"; \
23463 $(HOST_EXPORTS) \
23464 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23465 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23466 CFLAGS="$(STAGE1_CFLAGS)" \
23467 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
23468 LIBCFLAGS="$(LIBCFLAGS)" \
23469 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23470 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23471 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23472 $(EXTRA_HOST_FLAGS) \
23473 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23474 TFLAGS="$(STAGE1_TFLAGS)" \
23475 $(TARGET-stage1-libiberty-linker-plugin)
23477 maybe-clean-stage1-libiberty-linker-plugin: clean-stage1-libiberty-linker-plugin
23478 clean-stage1: clean-stage1-libiberty-linker-plugin
23479 clean-stage1-libiberty-linker-plugin:
23480 @if [ $(current_stage) = stage1 ]; then \
23481 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23482 else \
23483 [ -f $(HOST_SUBDIR)/stage1-libiberty-linker-plugin/Makefile ] || exit 0; \
23484 $(MAKE) stage1-start; \
23485 fi; \
23486 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23487 $(MAKE) $(EXTRA_HOST_FLAGS) \
23488 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23489 @endif libiberty-linker-plugin-bootstrap
23492 .PHONY: all-stage2-libiberty-linker-plugin maybe-all-stage2-libiberty-linker-plugin
23493 .PHONY: clean-stage2-libiberty-linker-plugin maybe-clean-stage2-libiberty-linker-plugin
23494 maybe-all-stage2-libiberty-linker-plugin:
23495 maybe-clean-stage2-libiberty-linker-plugin:
23496 @if libiberty-linker-plugin-bootstrap
23497 maybe-all-stage2-libiberty-linker-plugin: all-stage2-libiberty-linker-plugin
23498 all-stage2: all-stage2-libiberty-linker-plugin
23499 TARGET-stage2-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23500 all-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
23501 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23502 @r=`${PWD_COMMAND}`; export r; \
23503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23504 TFLAGS="$(STAGE2_TFLAGS)"; \
23505 $(HOST_EXPORTS) \
23506 $(POSTSTAGE1_HOST_EXPORTS) \
23507 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23508 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23509 CFLAGS="$(STAGE2_CFLAGS)" \
23510 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
23511 LIBCFLAGS="$(STAGE2_CFLAGS)" \
23512 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23513 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23514 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23515 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23516 TFLAGS="$(STAGE2_TFLAGS)" \
23517 $(TARGET-stage2-libiberty-linker-plugin)
23519 maybe-clean-stage2-libiberty-linker-plugin: clean-stage2-libiberty-linker-plugin
23520 clean-stage2: clean-stage2-libiberty-linker-plugin
23521 clean-stage2-libiberty-linker-plugin:
23522 @if [ $(current_stage) = stage2 ]; then \
23523 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23524 else \
23525 [ -f $(HOST_SUBDIR)/stage2-libiberty-linker-plugin/Makefile ] || exit 0; \
23526 $(MAKE) stage2-start; \
23527 fi; \
23528 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23529 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23530 @endif libiberty-linker-plugin-bootstrap
23533 .PHONY: all-stage3-libiberty-linker-plugin maybe-all-stage3-libiberty-linker-plugin
23534 .PHONY: clean-stage3-libiberty-linker-plugin maybe-clean-stage3-libiberty-linker-plugin
23535 maybe-all-stage3-libiberty-linker-plugin:
23536 maybe-clean-stage3-libiberty-linker-plugin:
23537 @if libiberty-linker-plugin-bootstrap
23538 maybe-all-stage3-libiberty-linker-plugin: all-stage3-libiberty-linker-plugin
23539 all-stage3: all-stage3-libiberty-linker-plugin
23540 TARGET-stage3-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23541 all-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
23542 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23543 @r=`${PWD_COMMAND}`; export r; \
23544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23545 TFLAGS="$(STAGE3_TFLAGS)"; \
23546 $(HOST_EXPORTS) \
23547 $(POSTSTAGE1_HOST_EXPORTS) \
23548 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23549 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23550 CFLAGS="$(STAGE3_CFLAGS)" \
23551 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
23552 LIBCFLAGS="$(STAGE3_CFLAGS)" \
23553 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23554 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23555 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23556 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23557 TFLAGS="$(STAGE3_TFLAGS)" \
23558 $(TARGET-stage3-libiberty-linker-plugin)
23560 maybe-clean-stage3-libiberty-linker-plugin: clean-stage3-libiberty-linker-plugin
23561 clean-stage3: clean-stage3-libiberty-linker-plugin
23562 clean-stage3-libiberty-linker-plugin:
23563 @if [ $(current_stage) = stage3 ]; then \
23564 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23565 else \
23566 [ -f $(HOST_SUBDIR)/stage3-libiberty-linker-plugin/Makefile ] || exit 0; \
23567 $(MAKE) stage3-start; \
23568 fi; \
23569 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23570 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23571 @endif libiberty-linker-plugin-bootstrap
23574 .PHONY: all-stage4-libiberty-linker-plugin maybe-all-stage4-libiberty-linker-plugin
23575 .PHONY: clean-stage4-libiberty-linker-plugin maybe-clean-stage4-libiberty-linker-plugin
23576 maybe-all-stage4-libiberty-linker-plugin:
23577 maybe-clean-stage4-libiberty-linker-plugin:
23578 @if libiberty-linker-plugin-bootstrap
23579 maybe-all-stage4-libiberty-linker-plugin: all-stage4-libiberty-linker-plugin
23580 all-stage4: all-stage4-libiberty-linker-plugin
23581 TARGET-stage4-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23582 all-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
23583 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23584 @r=`${PWD_COMMAND}`; export r; \
23585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23586 TFLAGS="$(STAGE4_TFLAGS)"; \
23587 $(HOST_EXPORTS) \
23588 $(POSTSTAGE1_HOST_EXPORTS) \
23589 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23590 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23591 CFLAGS="$(STAGE4_CFLAGS)" \
23592 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
23593 LIBCFLAGS="$(STAGE4_CFLAGS)" \
23594 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23595 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23596 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23597 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23598 TFLAGS="$(STAGE4_TFLAGS)" \
23599 $(TARGET-stage4-libiberty-linker-plugin)
23601 maybe-clean-stage4-libiberty-linker-plugin: clean-stage4-libiberty-linker-plugin
23602 clean-stage4: clean-stage4-libiberty-linker-plugin
23603 clean-stage4-libiberty-linker-plugin:
23604 @if [ $(current_stage) = stage4 ]; then \
23605 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23606 else \
23607 [ -f $(HOST_SUBDIR)/stage4-libiberty-linker-plugin/Makefile ] || exit 0; \
23608 $(MAKE) stage4-start; \
23609 fi; \
23610 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23611 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23612 @endif libiberty-linker-plugin-bootstrap
23615 .PHONY: all-stageprofile-libiberty-linker-plugin maybe-all-stageprofile-libiberty-linker-plugin
23616 .PHONY: clean-stageprofile-libiberty-linker-plugin maybe-clean-stageprofile-libiberty-linker-plugin
23617 maybe-all-stageprofile-libiberty-linker-plugin:
23618 maybe-clean-stageprofile-libiberty-linker-plugin:
23619 @if libiberty-linker-plugin-bootstrap
23620 maybe-all-stageprofile-libiberty-linker-plugin: all-stageprofile-libiberty-linker-plugin
23621 all-stageprofile: all-stageprofile-libiberty-linker-plugin
23622 TARGET-stageprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23623 all-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
23624 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23625 @r=`${PWD_COMMAND}`; export r; \
23626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23627 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23628 $(HOST_EXPORTS) \
23629 $(POSTSTAGE1_HOST_EXPORTS) \
23630 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23631 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23632 CFLAGS="$(STAGEprofile_CFLAGS)" \
23633 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
23634 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
23635 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23636 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23637 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23638 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23639 TFLAGS="$(STAGEprofile_TFLAGS)" \
23640 $(TARGET-stageprofile-libiberty-linker-plugin)
23642 maybe-clean-stageprofile-libiberty-linker-plugin: clean-stageprofile-libiberty-linker-plugin
23643 clean-stageprofile: clean-stageprofile-libiberty-linker-plugin
23644 clean-stageprofile-libiberty-linker-plugin:
23645 @if [ $(current_stage) = stageprofile ]; then \
23646 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23647 else \
23648 [ -f $(HOST_SUBDIR)/stageprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
23649 $(MAKE) stageprofile-start; \
23650 fi; \
23651 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23652 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23653 @endif libiberty-linker-plugin-bootstrap
23656 .PHONY: all-stagefeedback-libiberty-linker-plugin maybe-all-stagefeedback-libiberty-linker-plugin
23657 .PHONY: clean-stagefeedback-libiberty-linker-plugin maybe-clean-stagefeedback-libiberty-linker-plugin
23658 maybe-all-stagefeedback-libiberty-linker-plugin:
23659 maybe-clean-stagefeedback-libiberty-linker-plugin:
23660 @if libiberty-linker-plugin-bootstrap
23661 maybe-all-stagefeedback-libiberty-linker-plugin: all-stagefeedback-libiberty-linker-plugin
23662 all-stagefeedback: all-stagefeedback-libiberty-linker-plugin
23663 TARGET-stagefeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23664 all-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
23665 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23666 @r=`${PWD_COMMAND}`; export r; \
23667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23668 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23669 $(HOST_EXPORTS) \
23670 $(POSTSTAGE1_HOST_EXPORTS) \
23671 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23672 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23673 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23674 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23675 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23676 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23677 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23678 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23679 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23680 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23681 $(TARGET-stagefeedback-libiberty-linker-plugin)
23683 maybe-clean-stagefeedback-libiberty-linker-plugin: clean-stagefeedback-libiberty-linker-plugin
23684 clean-stagefeedback: clean-stagefeedback-libiberty-linker-plugin
23685 clean-stagefeedback-libiberty-linker-plugin:
23686 @if [ $(current_stage) = stagefeedback ]; then \
23687 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23688 else \
23689 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
23690 $(MAKE) stagefeedback-start; \
23691 fi; \
23692 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23693 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23694 @endif libiberty-linker-plugin-bootstrap
23700 .PHONY: check-libiberty-linker-plugin maybe-check-libiberty-linker-plugin
23701 maybe-check-libiberty-linker-plugin:
23702 @if libiberty-linker-plugin
23703 maybe-check-libiberty-linker-plugin: check-libiberty-linker-plugin
23705 check-libiberty-linker-plugin:
23706 @: $(MAKE); $(unstage)
23707 @r=`${PWD_COMMAND}`; export r; \
23708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23709 $(HOST_EXPORTS) \
23710 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23711 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ check)
23713 @endif libiberty-linker-plugin
23715 .PHONY: install-libiberty-linker-plugin maybe-install-libiberty-linker-plugin
23716 maybe-install-libiberty-linker-plugin:
23717 @if libiberty-linker-plugin
23718 maybe-install-libiberty-linker-plugin: install-libiberty-linker-plugin
23720 install-libiberty-linker-plugin: installdirs
23721 @: $(MAKE); $(unstage)
23722 @r=`${PWD_COMMAND}`; export r; \
23723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23724 $(HOST_EXPORTS) \
23725 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23726 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
23728 @endif libiberty-linker-plugin
23730 .PHONY: install-strip-libiberty-linker-plugin maybe-install-strip-libiberty-linker-plugin
23731 maybe-install-strip-libiberty-linker-plugin:
23732 @if libiberty-linker-plugin
23733 maybe-install-strip-libiberty-linker-plugin: install-strip-libiberty-linker-plugin
23735 install-strip-libiberty-linker-plugin: installdirs
23736 @: $(MAKE); $(unstage)
23737 @r=`${PWD_COMMAND}`; export r; \
23738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23739 $(HOST_EXPORTS) \
23740 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23741 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
23743 @endif libiberty-linker-plugin
23745 # Other targets (info, dvi, pdf, etc.)
23747 .PHONY: maybe-info-libiberty-linker-plugin info-libiberty-linker-plugin
23748 maybe-info-libiberty-linker-plugin:
23749 @if libiberty-linker-plugin
23750 maybe-info-libiberty-linker-plugin: info-libiberty-linker-plugin
23752 info-libiberty-linker-plugin: \
23753 configure-libiberty-linker-plugin
23754 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23755 r=`${PWD_COMMAND}`; export r; \
23756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23757 $(HOST_EXPORTS) \
23758 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23760 done; \
23761 echo "Doing info in libiberty-linker-plugin" ; \
23762 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23765 "RANLIB=$${RANLIB}" \
23766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23767 info) \
23768 || exit 1
23770 @endif libiberty-linker-plugin
23772 .PHONY: maybe-dvi-libiberty-linker-plugin dvi-libiberty-linker-plugin
23773 maybe-dvi-libiberty-linker-plugin:
23774 @if libiberty-linker-plugin
23775 maybe-dvi-libiberty-linker-plugin: dvi-libiberty-linker-plugin
23777 dvi-libiberty-linker-plugin: \
23778 configure-libiberty-linker-plugin
23779 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23780 r=`${PWD_COMMAND}`; export r; \
23781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23782 $(HOST_EXPORTS) \
23783 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23785 done; \
23786 echo "Doing dvi in libiberty-linker-plugin" ; \
23787 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23790 "RANLIB=$${RANLIB}" \
23791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23792 dvi) \
23793 || exit 1
23795 @endif libiberty-linker-plugin
23797 .PHONY: maybe-pdf-libiberty-linker-plugin pdf-libiberty-linker-plugin
23798 maybe-pdf-libiberty-linker-plugin:
23799 @if libiberty-linker-plugin
23800 maybe-pdf-libiberty-linker-plugin: pdf-libiberty-linker-plugin
23802 pdf-libiberty-linker-plugin: \
23803 configure-libiberty-linker-plugin
23804 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23805 r=`${PWD_COMMAND}`; export r; \
23806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23807 $(HOST_EXPORTS) \
23808 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23810 done; \
23811 echo "Doing pdf in libiberty-linker-plugin" ; \
23812 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23815 "RANLIB=$${RANLIB}" \
23816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23817 pdf) \
23818 || exit 1
23820 @endif libiberty-linker-plugin
23822 .PHONY: maybe-html-libiberty-linker-plugin html-libiberty-linker-plugin
23823 maybe-html-libiberty-linker-plugin:
23824 @if libiberty-linker-plugin
23825 maybe-html-libiberty-linker-plugin: html-libiberty-linker-plugin
23827 html-libiberty-linker-plugin: \
23828 configure-libiberty-linker-plugin
23829 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23830 r=`${PWD_COMMAND}`; export r; \
23831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23832 $(HOST_EXPORTS) \
23833 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23835 done; \
23836 echo "Doing html in libiberty-linker-plugin" ; \
23837 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23840 "RANLIB=$${RANLIB}" \
23841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23842 html) \
23843 || exit 1
23845 @endif libiberty-linker-plugin
23847 .PHONY: maybe-TAGS-libiberty-linker-plugin TAGS-libiberty-linker-plugin
23848 maybe-TAGS-libiberty-linker-plugin:
23849 @if libiberty-linker-plugin
23850 maybe-TAGS-libiberty-linker-plugin: TAGS-libiberty-linker-plugin
23852 TAGS-libiberty-linker-plugin: \
23853 configure-libiberty-linker-plugin
23854 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23855 r=`${PWD_COMMAND}`; export r; \
23856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23857 $(HOST_EXPORTS) \
23858 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23860 done; \
23861 echo "Doing TAGS in libiberty-linker-plugin" ; \
23862 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23865 "RANLIB=$${RANLIB}" \
23866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23867 TAGS) \
23868 || exit 1
23870 @endif libiberty-linker-plugin
23872 .PHONY: maybe-install-info-libiberty-linker-plugin install-info-libiberty-linker-plugin
23873 maybe-install-info-libiberty-linker-plugin:
23874 @if libiberty-linker-plugin
23875 maybe-install-info-libiberty-linker-plugin: install-info-libiberty-linker-plugin
23877 install-info-libiberty-linker-plugin: \
23878 configure-libiberty-linker-plugin \
23879 info-libiberty-linker-plugin
23880 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23881 r=`${PWD_COMMAND}`; export r; \
23882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23883 $(HOST_EXPORTS) \
23884 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23886 done; \
23887 echo "Doing install-info in libiberty-linker-plugin" ; \
23888 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23891 "RANLIB=$${RANLIB}" \
23892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23893 install-info) \
23894 || exit 1
23896 @endif libiberty-linker-plugin
23898 .PHONY: maybe-install-pdf-libiberty-linker-plugin install-pdf-libiberty-linker-plugin
23899 maybe-install-pdf-libiberty-linker-plugin:
23900 @if libiberty-linker-plugin
23901 maybe-install-pdf-libiberty-linker-plugin: install-pdf-libiberty-linker-plugin
23903 install-pdf-libiberty-linker-plugin: \
23904 configure-libiberty-linker-plugin \
23905 pdf-libiberty-linker-plugin
23906 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23907 r=`${PWD_COMMAND}`; export r; \
23908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23909 $(HOST_EXPORTS) \
23910 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23912 done; \
23913 echo "Doing install-pdf in libiberty-linker-plugin" ; \
23914 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23917 "RANLIB=$${RANLIB}" \
23918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23919 install-pdf) \
23920 || exit 1
23922 @endif libiberty-linker-plugin
23924 .PHONY: maybe-install-html-libiberty-linker-plugin install-html-libiberty-linker-plugin
23925 maybe-install-html-libiberty-linker-plugin:
23926 @if libiberty-linker-plugin
23927 maybe-install-html-libiberty-linker-plugin: install-html-libiberty-linker-plugin
23929 install-html-libiberty-linker-plugin: \
23930 configure-libiberty-linker-plugin \
23931 html-libiberty-linker-plugin
23932 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23933 r=`${PWD_COMMAND}`; export r; \
23934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23935 $(HOST_EXPORTS) \
23936 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23938 done; \
23939 echo "Doing install-html in libiberty-linker-plugin" ; \
23940 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23943 "RANLIB=$${RANLIB}" \
23944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23945 install-html) \
23946 || exit 1
23948 @endif libiberty-linker-plugin
23950 .PHONY: maybe-installcheck-libiberty-linker-plugin installcheck-libiberty-linker-plugin
23951 maybe-installcheck-libiberty-linker-plugin:
23952 @if libiberty-linker-plugin
23953 maybe-installcheck-libiberty-linker-plugin: installcheck-libiberty-linker-plugin
23955 installcheck-libiberty-linker-plugin: \
23956 configure-libiberty-linker-plugin
23957 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23958 r=`${PWD_COMMAND}`; export r; \
23959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23960 $(HOST_EXPORTS) \
23961 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23963 done; \
23964 echo "Doing installcheck in libiberty-linker-plugin" ; \
23965 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23968 "RANLIB=$${RANLIB}" \
23969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23970 installcheck) \
23971 || exit 1
23973 @endif libiberty-linker-plugin
23975 .PHONY: maybe-mostlyclean-libiberty-linker-plugin mostlyclean-libiberty-linker-plugin
23976 maybe-mostlyclean-libiberty-linker-plugin:
23977 @if libiberty-linker-plugin
23978 maybe-mostlyclean-libiberty-linker-plugin: mostlyclean-libiberty-linker-plugin
23980 mostlyclean-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 mostlyclean 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 mostlyclean) \
23995 || exit 1
23997 @endif libiberty-linker-plugin
23999 .PHONY: maybe-clean-libiberty-linker-plugin clean-libiberty-linker-plugin
24000 maybe-clean-libiberty-linker-plugin:
24001 @if libiberty-linker-plugin
24002 maybe-clean-libiberty-linker-plugin: clean-libiberty-linker-plugin
24004 clean-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 clean 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 clean) \
24019 || exit 1
24021 @endif libiberty-linker-plugin
24023 .PHONY: maybe-distclean-libiberty-linker-plugin distclean-libiberty-linker-plugin
24024 maybe-distclean-libiberty-linker-plugin:
24025 @if libiberty-linker-plugin
24026 maybe-distclean-libiberty-linker-plugin: distclean-libiberty-linker-plugin
24028 distclean-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 distclean 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 distclean) \
24043 || exit 1
24045 @endif libiberty-linker-plugin
24047 .PHONY: maybe-maintainer-clean-libiberty-linker-plugin maintainer-clean-libiberty-linker-plugin
24048 maybe-maintainer-clean-libiberty-linker-plugin:
24049 @if libiberty-linker-plugin
24050 maybe-maintainer-clean-libiberty-linker-plugin: maintainer-clean-libiberty-linker-plugin
24052 maintainer-clean-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 maintainer-clean 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 maintainer-clean) \
24067 || exit 1
24069 @endif libiberty-linker-plugin
24073 .PHONY: configure-libiconv maybe-configure-libiconv
24074 maybe-configure-libiconv:
24075 @if gcc-bootstrap
24076 configure-libiconv: stage_current
24077 @endif gcc-bootstrap
24078 @if libiconv
24079 maybe-configure-libiconv: configure-libiconv
24080 configure-libiconv:
24081 @: $(MAKE); $(unstage)
24082 @r=`${PWD_COMMAND}`; export r; \
24083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24084 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
24085 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \
24086 $(HOST_EXPORTS) \
24087 echo Configuring in $(HOST_SUBDIR)/libiconv; \
24088 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
24089 case $(srcdir) in \
24090 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24091 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
24092 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24093 esac; \
24094 module_srcdir=libiconv; \
24095 $(SHELL) \
24096 $$s/$$module_srcdir/configure \
24097 --srcdir=$${topdir}/$$module_srcdir \
24098 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24099 --target=${target_alias} --disable-shared \
24100 || exit 1
24101 @endif libiconv
24107 .PHONY: all-libiconv maybe-all-libiconv
24108 maybe-all-libiconv:
24109 @if gcc-bootstrap
24110 all-libiconv: stage_current
24111 @endif gcc-bootstrap
24112 @if libiconv
24113 TARGET-libiconv=all
24114 maybe-all-libiconv: all-libiconv
24115 all-libiconv: configure-libiconv
24116 @: $(MAKE); $(unstage)
24117 @r=`${PWD_COMMAND}`; export r; \
24118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24119 $(HOST_EXPORTS) \
24120 (cd $(HOST_SUBDIR)/libiconv && \
24121 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24122 $(TARGET-libiconv))
24123 @endif libiconv
24128 .PHONY: check-libiconv maybe-check-libiconv
24129 maybe-check-libiconv:
24130 @if libiconv
24131 maybe-check-libiconv: check-libiconv
24133 check-libiconv:
24134 @: $(MAKE); $(unstage)
24135 @r=`${PWD_COMMAND}`; export r; \
24136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24137 $(HOST_EXPORTS) \
24138 (cd $(HOST_SUBDIR)/libiconv && \
24139 $(MAKE) $(FLAGS_TO_PASS) check)
24141 @endif libiconv
24143 .PHONY: install-libiconv maybe-install-libiconv
24144 maybe-install-libiconv:
24145 @if libiconv
24146 maybe-install-libiconv: install-libiconv
24148 install-libiconv:
24150 @endif libiconv
24152 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
24153 maybe-install-strip-libiconv:
24154 @if libiconv
24155 maybe-install-strip-libiconv: install-strip-libiconv
24157 install-strip-libiconv:
24159 @endif libiconv
24161 # Other targets (info, dvi, pdf, etc.)
24163 .PHONY: maybe-info-libiconv info-libiconv
24164 maybe-info-libiconv:
24165 @if libiconv
24166 maybe-info-libiconv: info-libiconv
24168 info-libiconv: \
24169 configure-libiconv
24170 @: $(MAKE); $(unstage)
24171 @[ -f ./libiconv/Makefile ] || exit 0; \
24172 r=`${PWD_COMMAND}`; export r; \
24173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24174 $(HOST_EXPORTS) \
24175 for flag in $(EXTRA_HOST_FLAGS) ; do \
24176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24177 done; \
24178 echo "Doing info in libiconv" ; \
24179 (cd $(HOST_SUBDIR)/libiconv && \
24180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24182 "RANLIB=$${RANLIB}" \
24183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24184 info) \
24185 || exit 1
24187 @endif libiconv
24189 .PHONY: maybe-dvi-libiconv dvi-libiconv
24190 maybe-dvi-libiconv:
24191 @if libiconv
24192 maybe-dvi-libiconv: dvi-libiconv
24194 dvi-libiconv: \
24195 configure-libiconv
24196 @: $(MAKE); $(unstage)
24197 @[ -f ./libiconv/Makefile ] || exit 0; \
24198 r=`${PWD_COMMAND}`; export r; \
24199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24200 $(HOST_EXPORTS) \
24201 for flag in $(EXTRA_HOST_FLAGS) ; do \
24202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24203 done; \
24204 echo "Doing dvi in libiconv" ; \
24205 (cd $(HOST_SUBDIR)/libiconv && \
24206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24208 "RANLIB=$${RANLIB}" \
24209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24210 dvi) \
24211 || exit 1
24213 @endif libiconv
24215 .PHONY: maybe-pdf-libiconv pdf-libiconv
24216 maybe-pdf-libiconv:
24217 @if libiconv
24218 maybe-pdf-libiconv: pdf-libiconv
24220 pdf-libiconv: \
24221 configure-libiconv
24222 @: $(MAKE); $(unstage)
24223 @[ -f ./libiconv/Makefile ] || exit 0; \
24224 r=`${PWD_COMMAND}`; export r; \
24225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24226 $(HOST_EXPORTS) \
24227 for flag in $(EXTRA_HOST_FLAGS) ; do \
24228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24229 done; \
24230 echo "Doing pdf in libiconv" ; \
24231 (cd $(HOST_SUBDIR)/libiconv && \
24232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24234 "RANLIB=$${RANLIB}" \
24235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24236 pdf) \
24237 || exit 1
24239 @endif libiconv
24241 .PHONY: maybe-html-libiconv html-libiconv
24242 maybe-html-libiconv:
24243 @if libiconv
24244 maybe-html-libiconv: html-libiconv
24246 html-libiconv: \
24247 configure-libiconv
24248 @: $(MAKE); $(unstage)
24249 @[ -f ./libiconv/Makefile ] || exit 0; \
24250 r=`${PWD_COMMAND}`; export r; \
24251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24252 $(HOST_EXPORTS) \
24253 for flag in $(EXTRA_HOST_FLAGS) ; do \
24254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24255 done; \
24256 echo "Doing html in libiconv" ; \
24257 (cd $(HOST_SUBDIR)/libiconv && \
24258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24260 "RANLIB=$${RANLIB}" \
24261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24262 html) \
24263 || exit 1
24265 @endif libiconv
24267 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
24268 maybe-TAGS-libiconv:
24269 @if libiconv
24270 maybe-TAGS-libiconv: TAGS-libiconv
24272 TAGS-libiconv: \
24273 configure-libiconv
24274 @: $(MAKE); $(unstage)
24275 @[ -f ./libiconv/Makefile ] || exit 0; \
24276 r=`${PWD_COMMAND}`; export r; \
24277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24278 $(HOST_EXPORTS) \
24279 for flag in $(EXTRA_HOST_FLAGS) ; do \
24280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24281 done; \
24282 echo "Doing TAGS in libiconv" ; \
24283 (cd $(HOST_SUBDIR)/libiconv && \
24284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24286 "RANLIB=$${RANLIB}" \
24287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24288 TAGS) \
24289 || exit 1
24291 @endif libiconv
24293 .PHONY: maybe-install-info-libiconv install-info-libiconv
24294 maybe-install-info-libiconv:
24295 @if libiconv
24296 maybe-install-info-libiconv: install-info-libiconv
24298 # libiconv doesn't support install-info.
24299 install-info-libiconv:
24301 @endif libiconv
24303 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
24304 maybe-install-pdf-libiconv:
24305 @if libiconv
24306 maybe-install-pdf-libiconv: install-pdf-libiconv
24308 # libiconv doesn't support install-pdf.
24309 install-pdf-libiconv:
24311 @endif libiconv
24313 .PHONY: maybe-install-html-libiconv install-html-libiconv
24314 maybe-install-html-libiconv:
24315 @if libiconv
24316 maybe-install-html-libiconv: install-html-libiconv
24318 # libiconv doesn't support install-html.
24319 install-html-libiconv:
24321 @endif libiconv
24323 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
24324 maybe-installcheck-libiconv:
24325 @if libiconv
24326 maybe-installcheck-libiconv: installcheck-libiconv
24328 installcheck-libiconv: \
24329 configure-libiconv
24330 @: $(MAKE); $(unstage)
24331 @[ -f ./libiconv/Makefile ] || exit 0; \
24332 r=`${PWD_COMMAND}`; export r; \
24333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24334 $(HOST_EXPORTS) \
24335 for flag in $(EXTRA_HOST_FLAGS) ; do \
24336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24337 done; \
24338 echo "Doing installcheck in libiconv" ; \
24339 (cd $(HOST_SUBDIR)/libiconv && \
24340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24342 "RANLIB=$${RANLIB}" \
24343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24344 installcheck) \
24345 || exit 1
24347 @endif libiconv
24349 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
24350 maybe-mostlyclean-libiconv:
24351 @if libiconv
24352 maybe-mostlyclean-libiconv: mostlyclean-libiconv
24354 mostlyclean-libiconv:
24355 @: $(MAKE); $(unstage)
24356 @[ -f ./libiconv/Makefile ] || exit 0; \
24357 r=`${PWD_COMMAND}`; export r; \
24358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24359 $(HOST_EXPORTS) \
24360 for flag in $(EXTRA_HOST_FLAGS) ; do \
24361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24362 done; \
24363 echo "Doing mostlyclean in libiconv" ; \
24364 (cd $(HOST_SUBDIR)/libiconv && \
24365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24367 "RANLIB=$${RANLIB}" \
24368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24369 mostlyclean) \
24370 || exit 1
24372 @endif libiconv
24374 .PHONY: maybe-clean-libiconv clean-libiconv
24375 maybe-clean-libiconv:
24376 @if libiconv
24377 maybe-clean-libiconv: clean-libiconv
24379 clean-libiconv:
24380 @: $(MAKE); $(unstage)
24381 @[ -f ./libiconv/Makefile ] || exit 0; \
24382 r=`${PWD_COMMAND}`; export r; \
24383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24384 $(HOST_EXPORTS) \
24385 for flag in $(EXTRA_HOST_FLAGS) ; do \
24386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24387 done; \
24388 echo "Doing clean in libiconv" ; \
24389 (cd $(HOST_SUBDIR)/libiconv && \
24390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24392 "RANLIB=$${RANLIB}" \
24393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24394 clean) \
24395 || exit 1
24397 @endif libiconv
24399 .PHONY: maybe-distclean-libiconv distclean-libiconv
24400 maybe-distclean-libiconv:
24401 @if libiconv
24402 maybe-distclean-libiconv: distclean-libiconv
24404 distclean-libiconv:
24405 @: $(MAKE); $(unstage)
24406 @[ -f ./libiconv/Makefile ] || exit 0; \
24407 r=`${PWD_COMMAND}`; export r; \
24408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24409 $(HOST_EXPORTS) \
24410 for flag in $(EXTRA_HOST_FLAGS) ; do \
24411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24412 done; \
24413 echo "Doing distclean in libiconv" ; \
24414 (cd $(HOST_SUBDIR)/libiconv && \
24415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24417 "RANLIB=$${RANLIB}" \
24418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24419 distclean) \
24420 || exit 1
24422 @endif libiconv
24424 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
24425 maybe-maintainer-clean-libiconv:
24426 @if libiconv
24427 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
24429 maintainer-clean-libiconv:
24430 @: $(MAKE); $(unstage)
24431 @[ -f ./libiconv/Makefile ] || exit 0; \
24432 r=`${PWD_COMMAND}`; export r; \
24433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24434 $(HOST_EXPORTS) \
24435 for flag in $(EXTRA_HOST_FLAGS) ; do \
24436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24437 done; \
24438 echo "Doing maintainer-clean in libiconv" ; \
24439 (cd $(HOST_SUBDIR)/libiconv && \
24440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24442 "RANLIB=$${RANLIB}" \
24443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24444 maintainer-clean) \
24445 || exit 1
24447 @endif libiconv
24451 .PHONY: configure-m4 maybe-configure-m4
24452 maybe-configure-m4:
24453 @if gcc-bootstrap
24454 configure-m4: stage_current
24455 @endif gcc-bootstrap
24456 @if m4
24457 maybe-configure-m4: configure-m4
24458 configure-m4:
24459 @: $(MAKE); $(unstage)
24460 @r=`${PWD_COMMAND}`; export r; \
24461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24462 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
24463 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
24464 $(HOST_EXPORTS) \
24465 echo Configuring in $(HOST_SUBDIR)/m4; \
24466 cd "$(HOST_SUBDIR)/m4" || exit 1; \
24467 case $(srcdir) in \
24468 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24469 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
24470 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24471 esac; \
24472 module_srcdir=m4; \
24473 $(SHELL) \
24474 $$s/$$module_srcdir/configure \
24475 --srcdir=$${topdir}/$$module_srcdir \
24476 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24477 --target=${target_alias} \
24478 || exit 1
24479 @endif m4
24485 .PHONY: all-m4 maybe-all-m4
24486 maybe-all-m4:
24487 @if gcc-bootstrap
24488 all-m4: stage_current
24489 @endif gcc-bootstrap
24490 @if m4
24491 TARGET-m4=all
24492 maybe-all-m4: all-m4
24493 all-m4: configure-m4
24494 @: $(MAKE); $(unstage)
24495 @r=`${PWD_COMMAND}`; export r; \
24496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24497 $(HOST_EXPORTS) \
24498 (cd $(HOST_SUBDIR)/m4 && \
24499 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24500 $(TARGET-m4))
24501 @endif m4
24506 .PHONY: check-m4 maybe-check-m4
24507 maybe-check-m4:
24508 @if m4
24509 maybe-check-m4: check-m4
24511 check-m4:
24512 @: $(MAKE); $(unstage)
24513 @r=`${PWD_COMMAND}`; export r; \
24514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24515 $(HOST_EXPORTS) \
24516 (cd $(HOST_SUBDIR)/m4 && \
24517 $(MAKE) $(FLAGS_TO_PASS) check)
24519 @endif m4
24521 .PHONY: install-m4 maybe-install-m4
24522 maybe-install-m4:
24523 @if m4
24524 maybe-install-m4: install-m4
24526 install-m4: installdirs
24527 @: $(MAKE); $(unstage)
24528 @r=`${PWD_COMMAND}`; export r; \
24529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24530 $(HOST_EXPORTS) \
24531 (cd $(HOST_SUBDIR)/m4 && \
24532 $(MAKE) $(FLAGS_TO_PASS) install)
24534 @endif m4
24536 .PHONY: install-strip-m4 maybe-install-strip-m4
24537 maybe-install-strip-m4:
24538 @if m4
24539 maybe-install-strip-m4: install-strip-m4
24541 install-strip-m4: installdirs
24542 @: $(MAKE); $(unstage)
24543 @r=`${PWD_COMMAND}`; export r; \
24544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24545 $(HOST_EXPORTS) \
24546 (cd $(HOST_SUBDIR)/m4 && \
24547 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24549 @endif m4
24551 # Other targets (info, dvi, pdf, etc.)
24553 .PHONY: maybe-info-m4 info-m4
24554 maybe-info-m4:
24555 @if m4
24556 maybe-info-m4: info-m4
24558 info-m4: \
24559 configure-m4
24560 @: $(MAKE); $(unstage)
24561 @[ -f ./m4/Makefile ] || exit 0; \
24562 r=`${PWD_COMMAND}`; export r; \
24563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24564 $(HOST_EXPORTS) \
24565 for flag in $(EXTRA_HOST_FLAGS) ; do \
24566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24567 done; \
24568 echo "Doing info in m4" ; \
24569 (cd $(HOST_SUBDIR)/m4 && \
24570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24572 "RANLIB=$${RANLIB}" \
24573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24574 info) \
24575 || exit 1
24577 @endif m4
24579 .PHONY: maybe-dvi-m4 dvi-m4
24580 maybe-dvi-m4:
24581 @if m4
24582 maybe-dvi-m4: dvi-m4
24584 dvi-m4: \
24585 configure-m4
24586 @: $(MAKE); $(unstage)
24587 @[ -f ./m4/Makefile ] || exit 0; \
24588 r=`${PWD_COMMAND}`; export r; \
24589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24590 $(HOST_EXPORTS) \
24591 for flag in $(EXTRA_HOST_FLAGS) ; do \
24592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24593 done; \
24594 echo "Doing dvi in m4" ; \
24595 (cd $(HOST_SUBDIR)/m4 && \
24596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24598 "RANLIB=$${RANLIB}" \
24599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24600 dvi) \
24601 || exit 1
24603 @endif m4
24605 .PHONY: maybe-pdf-m4 pdf-m4
24606 maybe-pdf-m4:
24607 @if m4
24608 maybe-pdf-m4: pdf-m4
24610 pdf-m4: \
24611 configure-m4
24612 @: $(MAKE); $(unstage)
24613 @[ -f ./m4/Makefile ] || exit 0; \
24614 r=`${PWD_COMMAND}`; export r; \
24615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24616 $(HOST_EXPORTS) \
24617 for flag in $(EXTRA_HOST_FLAGS) ; do \
24618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24619 done; \
24620 echo "Doing pdf in m4" ; \
24621 (cd $(HOST_SUBDIR)/m4 && \
24622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24624 "RANLIB=$${RANLIB}" \
24625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24626 pdf) \
24627 || exit 1
24629 @endif m4
24631 .PHONY: maybe-html-m4 html-m4
24632 maybe-html-m4:
24633 @if m4
24634 maybe-html-m4: html-m4
24636 html-m4: \
24637 configure-m4
24638 @: $(MAKE); $(unstage)
24639 @[ -f ./m4/Makefile ] || exit 0; \
24640 r=`${PWD_COMMAND}`; export r; \
24641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24642 $(HOST_EXPORTS) \
24643 for flag in $(EXTRA_HOST_FLAGS) ; do \
24644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24645 done; \
24646 echo "Doing html in m4" ; \
24647 (cd $(HOST_SUBDIR)/m4 && \
24648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24650 "RANLIB=$${RANLIB}" \
24651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24652 html) \
24653 || exit 1
24655 @endif m4
24657 .PHONY: maybe-TAGS-m4 TAGS-m4
24658 maybe-TAGS-m4:
24659 @if m4
24660 maybe-TAGS-m4: TAGS-m4
24662 TAGS-m4: \
24663 configure-m4
24664 @: $(MAKE); $(unstage)
24665 @[ -f ./m4/Makefile ] || exit 0; \
24666 r=`${PWD_COMMAND}`; export r; \
24667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24668 $(HOST_EXPORTS) \
24669 for flag in $(EXTRA_HOST_FLAGS) ; do \
24670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24671 done; \
24672 echo "Doing TAGS in m4" ; \
24673 (cd $(HOST_SUBDIR)/m4 && \
24674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24676 "RANLIB=$${RANLIB}" \
24677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24678 TAGS) \
24679 || exit 1
24681 @endif m4
24683 .PHONY: maybe-install-info-m4 install-info-m4
24684 maybe-install-info-m4:
24685 @if m4
24686 maybe-install-info-m4: install-info-m4
24688 install-info-m4: \
24689 configure-m4 \
24690 info-m4
24691 @: $(MAKE); $(unstage)
24692 @[ -f ./m4/Makefile ] || exit 0; \
24693 r=`${PWD_COMMAND}`; export r; \
24694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24695 $(HOST_EXPORTS) \
24696 for flag in $(EXTRA_HOST_FLAGS) ; do \
24697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24698 done; \
24699 echo "Doing install-info in m4" ; \
24700 (cd $(HOST_SUBDIR)/m4 && \
24701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24703 "RANLIB=$${RANLIB}" \
24704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24705 install-info) \
24706 || exit 1
24708 @endif m4
24710 .PHONY: maybe-install-pdf-m4 install-pdf-m4
24711 maybe-install-pdf-m4:
24712 @if m4
24713 maybe-install-pdf-m4: install-pdf-m4
24715 install-pdf-m4: \
24716 configure-m4 \
24717 pdf-m4
24718 @: $(MAKE); $(unstage)
24719 @[ -f ./m4/Makefile ] || exit 0; \
24720 r=`${PWD_COMMAND}`; export r; \
24721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24722 $(HOST_EXPORTS) \
24723 for flag in $(EXTRA_HOST_FLAGS) ; do \
24724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24725 done; \
24726 echo "Doing install-pdf in m4" ; \
24727 (cd $(HOST_SUBDIR)/m4 && \
24728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24730 "RANLIB=$${RANLIB}" \
24731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24732 install-pdf) \
24733 || exit 1
24735 @endif m4
24737 .PHONY: maybe-install-html-m4 install-html-m4
24738 maybe-install-html-m4:
24739 @if m4
24740 maybe-install-html-m4: install-html-m4
24742 install-html-m4: \
24743 configure-m4 \
24744 html-m4
24745 @: $(MAKE); $(unstage)
24746 @[ -f ./m4/Makefile ] || exit 0; \
24747 r=`${PWD_COMMAND}`; export r; \
24748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24749 $(HOST_EXPORTS) \
24750 for flag in $(EXTRA_HOST_FLAGS) ; do \
24751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24752 done; \
24753 echo "Doing install-html in m4" ; \
24754 (cd $(HOST_SUBDIR)/m4 && \
24755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24757 "RANLIB=$${RANLIB}" \
24758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24759 install-html) \
24760 || exit 1
24762 @endif m4
24764 .PHONY: maybe-installcheck-m4 installcheck-m4
24765 maybe-installcheck-m4:
24766 @if m4
24767 maybe-installcheck-m4: installcheck-m4
24769 installcheck-m4: \
24770 configure-m4
24771 @: $(MAKE); $(unstage)
24772 @[ -f ./m4/Makefile ] || exit 0; \
24773 r=`${PWD_COMMAND}`; export r; \
24774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24775 $(HOST_EXPORTS) \
24776 for flag in $(EXTRA_HOST_FLAGS) ; do \
24777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24778 done; \
24779 echo "Doing installcheck in m4" ; \
24780 (cd $(HOST_SUBDIR)/m4 && \
24781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24783 "RANLIB=$${RANLIB}" \
24784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24785 installcheck) \
24786 || exit 1
24788 @endif m4
24790 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
24791 maybe-mostlyclean-m4:
24792 @if m4
24793 maybe-mostlyclean-m4: mostlyclean-m4
24795 mostlyclean-m4:
24796 @: $(MAKE); $(unstage)
24797 @[ -f ./m4/Makefile ] || exit 0; \
24798 r=`${PWD_COMMAND}`; export r; \
24799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24800 $(HOST_EXPORTS) \
24801 for flag in $(EXTRA_HOST_FLAGS) ; do \
24802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24803 done; \
24804 echo "Doing mostlyclean in m4" ; \
24805 (cd $(HOST_SUBDIR)/m4 && \
24806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24808 "RANLIB=$${RANLIB}" \
24809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24810 mostlyclean) \
24811 || exit 1
24813 @endif m4
24815 .PHONY: maybe-clean-m4 clean-m4
24816 maybe-clean-m4:
24817 @if m4
24818 maybe-clean-m4: clean-m4
24820 clean-m4:
24821 @: $(MAKE); $(unstage)
24822 @[ -f ./m4/Makefile ] || exit 0; \
24823 r=`${PWD_COMMAND}`; export r; \
24824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24825 $(HOST_EXPORTS) \
24826 for flag in $(EXTRA_HOST_FLAGS) ; do \
24827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24828 done; \
24829 echo "Doing clean in m4" ; \
24830 (cd $(HOST_SUBDIR)/m4 && \
24831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24833 "RANLIB=$${RANLIB}" \
24834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24835 clean) \
24836 || exit 1
24838 @endif m4
24840 .PHONY: maybe-distclean-m4 distclean-m4
24841 maybe-distclean-m4:
24842 @if m4
24843 maybe-distclean-m4: distclean-m4
24845 distclean-m4:
24846 @: $(MAKE); $(unstage)
24847 @[ -f ./m4/Makefile ] || exit 0; \
24848 r=`${PWD_COMMAND}`; export r; \
24849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24850 $(HOST_EXPORTS) \
24851 for flag in $(EXTRA_HOST_FLAGS) ; do \
24852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24853 done; \
24854 echo "Doing distclean in m4" ; \
24855 (cd $(HOST_SUBDIR)/m4 && \
24856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24858 "RANLIB=$${RANLIB}" \
24859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24860 distclean) \
24861 || exit 1
24863 @endif m4
24865 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
24866 maybe-maintainer-clean-m4:
24867 @if m4
24868 maybe-maintainer-clean-m4: maintainer-clean-m4
24870 maintainer-clean-m4:
24871 @: $(MAKE); $(unstage)
24872 @[ -f ./m4/Makefile ] || exit 0; \
24873 r=`${PWD_COMMAND}`; export r; \
24874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24875 $(HOST_EXPORTS) \
24876 for flag in $(EXTRA_HOST_FLAGS) ; do \
24877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24878 done; \
24879 echo "Doing maintainer-clean in m4" ; \
24880 (cd $(HOST_SUBDIR)/m4 && \
24881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24883 "RANLIB=$${RANLIB}" \
24884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24885 maintainer-clean) \
24886 || exit 1
24888 @endif m4
24892 .PHONY: configure-readline maybe-configure-readline
24893 maybe-configure-readline:
24894 @if gcc-bootstrap
24895 configure-readline: stage_current
24896 @endif gcc-bootstrap
24897 @if readline
24898 maybe-configure-readline: configure-readline
24899 configure-readline:
24900 @: $(MAKE); $(unstage)
24901 @r=`${PWD_COMMAND}`; export r; \
24902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24903 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
24904 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
24905 $(HOST_EXPORTS) \
24906 echo Configuring in $(HOST_SUBDIR)/readline; \
24907 cd "$(HOST_SUBDIR)/readline" || exit 1; \
24908 case $(srcdir) in \
24909 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24910 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
24911 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24912 esac; \
24913 module_srcdir=readline; \
24914 $(SHELL) \
24915 $$s/$$module_srcdir/configure \
24916 --srcdir=$${topdir}/$$module_srcdir \
24917 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24918 --target=${target_alias} \
24919 || exit 1
24920 @endif readline
24926 .PHONY: all-readline maybe-all-readline
24927 maybe-all-readline:
24928 @if gcc-bootstrap
24929 all-readline: stage_current
24930 @endif gcc-bootstrap
24931 @if readline
24932 TARGET-readline=all
24933 maybe-all-readline: all-readline
24934 all-readline: configure-readline
24935 @: $(MAKE); $(unstage)
24936 @r=`${PWD_COMMAND}`; export r; \
24937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24938 $(HOST_EXPORTS) \
24939 (cd $(HOST_SUBDIR)/readline && \
24940 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24941 $(TARGET-readline))
24942 @endif readline
24947 .PHONY: check-readline maybe-check-readline
24948 maybe-check-readline:
24949 @if readline
24950 maybe-check-readline: check-readline
24952 check-readline:
24953 @: $(MAKE); $(unstage)
24954 @r=`${PWD_COMMAND}`; export r; \
24955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24956 $(HOST_EXPORTS) \
24957 (cd $(HOST_SUBDIR)/readline && \
24958 $(MAKE) $(FLAGS_TO_PASS) check)
24960 @endif readline
24962 .PHONY: install-readline maybe-install-readline
24963 maybe-install-readline:
24964 @if readline
24965 maybe-install-readline: install-readline
24967 install-readline: installdirs
24968 @: $(MAKE); $(unstage)
24969 @r=`${PWD_COMMAND}`; export r; \
24970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24971 $(HOST_EXPORTS) \
24972 (cd $(HOST_SUBDIR)/readline && \
24973 $(MAKE) $(FLAGS_TO_PASS) install)
24975 @endif readline
24977 .PHONY: install-strip-readline maybe-install-strip-readline
24978 maybe-install-strip-readline:
24979 @if readline
24980 maybe-install-strip-readline: install-strip-readline
24982 install-strip-readline: installdirs
24983 @: $(MAKE); $(unstage)
24984 @r=`${PWD_COMMAND}`; export r; \
24985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24986 $(HOST_EXPORTS) \
24987 (cd $(HOST_SUBDIR)/readline && \
24988 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24990 @endif readline
24992 # Other targets (info, dvi, pdf, etc.)
24994 .PHONY: maybe-info-readline info-readline
24995 maybe-info-readline:
24996 @if readline
24997 maybe-info-readline: info-readline
24999 info-readline: \
25000 configure-readline
25001 @: $(MAKE); $(unstage)
25002 @[ -f ./readline/Makefile ] || exit 0; \
25003 r=`${PWD_COMMAND}`; export r; \
25004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25005 $(HOST_EXPORTS) \
25006 for flag in $(EXTRA_HOST_FLAGS) ; do \
25007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25008 done; \
25009 echo "Doing info in readline" ; \
25010 (cd $(HOST_SUBDIR)/readline && \
25011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25013 "RANLIB=$${RANLIB}" \
25014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25015 info) \
25016 || exit 1
25018 @endif readline
25020 .PHONY: maybe-dvi-readline dvi-readline
25021 maybe-dvi-readline:
25022 @if readline
25023 maybe-dvi-readline: dvi-readline
25025 dvi-readline: \
25026 configure-readline
25027 @: $(MAKE); $(unstage)
25028 @[ -f ./readline/Makefile ] || exit 0; \
25029 r=`${PWD_COMMAND}`; export r; \
25030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25031 $(HOST_EXPORTS) \
25032 for flag in $(EXTRA_HOST_FLAGS) ; do \
25033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25034 done; \
25035 echo "Doing dvi in readline" ; \
25036 (cd $(HOST_SUBDIR)/readline && \
25037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25039 "RANLIB=$${RANLIB}" \
25040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25041 dvi) \
25042 || exit 1
25044 @endif readline
25046 .PHONY: maybe-pdf-readline pdf-readline
25047 maybe-pdf-readline:
25048 @if readline
25049 maybe-pdf-readline: pdf-readline
25051 pdf-readline: \
25052 configure-readline
25053 @: $(MAKE); $(unstage)
25054 @[ -f ./readline/Makefile ] || exit 0; \
25055 r=`${PWD_COMMAND}`; export r; \
25056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25057 $(HOST_EXPORTS) \
25058 for flag in $(EXTRA_HOST_FLAGS) ; do \
25059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25060 done; \
25061 echo "Doing pdf in readline" ; \
25062 (cd $(HOST_SUBDIR)/readline && \
25063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25065 "RANLIB=$${RANLIB}" \
25066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25067 pdf) \
25068 || exit 1
25070 @endif readline
25072 .PHONY: maybe-html-readline html-readline
25073 maybe-html-readline:
25074 @if readline
25075 maybe-html-readline: html-readline
25077 html-readline: \
25078 configure-readline
25079 @: $(MAKE); $(unstage)
25080 @[ -f ./readline/Makefile ] || exit 0; \
25081 r=`${PWD_COMMAND}`; export r; \
25082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25083 $(HOST_EXPORTS) \
25084 for flag in $(EXTRA_HOST_FLAGS) ; do \
25085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25086 done; \
25087 echo "Doing html in readline" ; \
25088 (cd $(HOST_SUBDIR)/readline && \
25089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25091 "RANLIB=$${RANLIB}" \
25092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25093 html) \
25094 || exit 1
25096 @endif readline
25098 .PHONY: maybe-TAGS-readline TAGS-readline
25099 maybe-TAGS-readline:
25100 @if readline
25101 maybe-TAGS-readline: TAGS-readline
25103 TAGS-readline: \
25104 configure-readline
25105 @: $(MAKE); $(unstage)
25106 @[ -f ./readline/Makefile ] || exit 0; \
25107 r=`${PWD_COMMAND}`; export r; \
25108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25109 $(HOST_EXPORTS) \
25110 for flag in $(EXTRA_HOST_FLAGS) ; do \
25111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25112 done; \
25113 echo "Doing TAGS in readline" ; \
25114 (cd $(HOST_SUBDIR)/readline && \
25115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25117 "RANLIB=$${RANLIB}" \
25118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25119 TAGS) \
25120 || exit 1
25122 @endif readline
25124 .PHONY: maybe-install-info-readline install-info-readline
25125 maybe-install-info-readline:
25126 @if readline
25127 maybe-install-info-readline: install-info-readline
25129 install-info-readline: \
25130 configure-readline \
25131 info-readline
25132 @: $(MAKE); $(unstage)
25133 @[ -f ./readline/Makefile ] || exit 0; \
25134 r=`${PWD_COMMAND}`; export r; \
25135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25136 $(HOST_EXPORTS) \
25137 for flag in $(EXTRA_HOST_FLAGS) ; do \
25138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25139 done; \
25140 echo "Doing install-info in readline" ; \
25141 (cd $(HOST_SUBDIR)/readline && \
25142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25144 "RANLIB=$${RANLIB}" \
25145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25146 install-info) \
25147 || exit 1
25149 @endif readline
25151 .PHONY: maybe-install-pdf-readline install-pdf-readline
25152 maybe-install-pdf-readline:
25153 @if readline
25154 maybe-install-pdf-readline: install-pdf-readline
25156 install-pdf-readline: \
25157 configure-readline \
25158 pdf-readline
25159 @: $(MAKE); $(unstage)
25160 @[ -f ./readline/Makefile ] || exit 0; \
25161 r=`${PWD_COMMAND}`; export r; \
25162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25163 $(HOST_EXPORTS) \
25164 for flag in $(EXTRA_HOST_FLAGS) ; do \
25165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25166 done; \
25167 echo "Doing install-pdf in readline" ; \
25168 (cd $(HOST_SUBDIR)/readline && \
25169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25171 "RANLIB=$${RANLIB}" \
25172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25173 install-pdf) \
25174 || exit 1
25176 @endif readline
25178 .PHONY: maybe-install-html-readline install-html-readline
25179 maybe-install-html-readline:
25180 @if readline
25181 maybe-install-html-readline: install-html-readline
25183 install-html-readline: \
25184 configure-readline \
25185 html-readline
25186 @: $(MAKE); $(unstage)
25187 @[ -f ./readline/Makefile ] || exit 0; \
25188 r=`${PWD_COMMAND}`; export r; \
25189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25190 $(HOST_EXPORTS) \
25191 for flag in $(EXTRA_HOST_FLAGS) ; do \
25192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25193 done; \
25194 echo "Doing install-html in readline" ; \
25195 (cd $(HOST_SUBDIR)/readline && \
25196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25198 "RANLIB=$${RANLIB}" \
25199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25200 install-html) \
25201 || exit 1
25203 @endif readline
25205 .PHONY: maybe-installcheck-readline installcheck-readline
25206 maybe-installcheck-readline:
25207 @if readline
25208 maybe-installcheck-readline: installcheck-readline
25210 installcheck-readline: \
25211 configure-readline
25212 @: $(MAKE); $(unstage)
25213 @[ -f ./readline/Makefile ] || exit 0; \
25214 r=`${PWD_COMMAND}`; export r; \
25215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25216 $(HOST_EXPORTS) \
25217 for flag in $(EXTRA_HOST_FLAGS) ; do \
25218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25219 done; \
25220 echo "Doing installcheck in readline" ; \
25221 (cd $(HOST_SUBDIR)/readline && \
25222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25224 "RANLIB=$${RANLIB}" \
25225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25226 installcheck) \
25227 || exit 1
25229 @endif readline
25231 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
25232 maybe-mostlyclean-readline:
25233 @if readline
25234 maybe-mostlyclean-readline: mostlyclean-readline
25236 mostlyclean-readline:
25237 @: $(MAKE); $(unstage)
25238 @[ -f ./readline/Makefile ] || exit 0; \
25239 r=`${PWD_COMMAND}`; export r; \
25240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25241 $(HOST_EXPORTS) \
25242 for flag in $(EXTRA_HOST_FLAGS) ; do \
25243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25244 done; \
25245 echo "Doing mostlyclean in readline" ; \
25246 (cd $(HOST_SUBDIR)/readline && \
25247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25249 "RANLIB=$${RANLIB}" \
25250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25251 mostlyclean) \
25252 || exit 1
25254 @endif readline
25256 .PHONY: maybe-clean-readline clean-readline
25257 maybe-clean-readline:
25258 @if readline
25259 maybe-clean-readline: clean-readline
25261 clean-readline:
25262 @: $(MAKE); $(unstage)
25263 @[ -f ./readline/Makefile ] || exit 0; \
25264 r=`${PWD_COMMAND}`; export r; \
25265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25266 $(HOST_EXPORTS) \
25267 for flag in $(EXTRA_HOST_FLAGS) ; do \
25268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25269 done; \
25270 echo "Doing clean in readline" ; \
25271 (cd $(HOST_SUBDIR)/readline && \
25272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25274 "RANLIB=$${RANLIB}" \
25275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25276 clean) \
25277 || exit 1
25279 @endif readline
25281 .PHONY: maybe-distclean-readline distclean-readline
25282 maybe-distclean-readline:
25283 @if readline
25284 maybe-distclean-readline: distclean-readline
25286 distclean-readline:
25287 @: $(MAKE); $(unstage)
25288 @[ -f ./readline/Makefile ] || exit 0; \
25289 r=`${PWD_COMMAND}`; export r; \
25290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25291 $(HOST_EXPORTS) \
25292 for flag in $(EXTRA_HOST_FLAGS) ; do \
25293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25294 done; \
25295 echo "Doing distclean in readline" ; \
25296 (cd $(HOST_SUBDIR)/readline && \
25297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25299 "RANLIB=$${RANLIB}" \
25300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25301 distclean) \
25302 || exit 1
25304 @endif readline
25306 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
25307 maybe-maintainer-clean-readline:
25308 @if readline
25309 maybe-maintainer-clean-readline: maintainer-clean-readline
25311 maintainer-clean-readline:
25312 @: $(MAKE); $(unstage)
25313 @[ -f ./readline/Makefile ] || exit 0; \
25314 r=`${PWD_COMMAND}`; export r; \
25315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25316 $(HOST_EXPORTS) \
25317 for flag in $(EXTRA_HOST_FLAGS) ; do \
25318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25319 done; \
25320 echo "Doing maintainer-clean in readline" ; \
25321 (cd $(HOST_SUBDIR)/readline && \
25322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25324 "RANLIB=$${RANLIB}" \
25325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25326 maintainer-clean) \
25327 || exit 1
25329 @endif readline
25333 .PHONY: configure-sid maybe-configure-sid
25334 maybe-configure-sid:
25335 @if gcc-bootstrap
25336 configure-sid: stage_current
25337 @endif gcc-bootstrap
25338 @if sid
25339 maybe-configure-sid: configure-sid
25340 configure-sid:
25341 @: $(MAKE); $(unstage)
25342 @r=`${PWD_COMMAND}`; export r; \
25343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25344 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
25345 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
25346 $(HOST_EXPORTS) \
25347 echo Configuring in $(HOST_SUBDIR)/sid; \
25348 cd "$(HOST_SUBDIR)/sid" || exit 1; \
25349 case $(srcdir) in \
25350 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25351 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
25352 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25353 esac; \
25354 module_srcdir=sid; \
25355 $(SHELL) \
25356 $$s/$$module_srcdir/configure \
25357 --srcdir=$${topdir}/$$module_srcdir \
25358 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25359 --target=${target_alias} \
25360 || exit 1
25361 @endif sid
25367 .PHONY: all-sid maybe-all-sid
25368 maybe-all-sid:
25369 @if gcc-bootstrap
25370 all-sid: stage_current
25371 @endif gcc-bootstrap
25372 @if sid
25373 TARGET-sid=all
25374 maybe-all-sid: all-sid
25375 all-sid: configure-sid
25376 @: $(MAKE); $(unstage)
25377 @r=`${PWD_COMMAND}`; export r; \
25378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25379 $(HOST_EXPORTS) \
25380 (cd $(HOST_SUBDIR)/sid && \
25381 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25382 $(TARGET-sid))
25383 @endif sid
25388 .PHONY: check-sid maybe-check-sid
25389 maybe-check-sid:
25390 @if sid
25391 maybe-check-sid: check-sid
25393 check-sid:
25394 @: $(MAKE); $(unstage)
25395 @r=`${PWD_COMMAND}`; export r; \
25396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25397 $(HOST_EXPORTS) \
25398 (cd $(HOST_SUBDIR)/sid && \
25399 $(MAKE) $(FLAGS_TO_PASS) check)
25401 @endif sid
25403 .PHONY: install-sid maybe-install-sid
25404 maybe-install-sid:
25405 @if sid
25406 maybe-install-sid: install-sid
25408 install-sid: installdirs
25409 @: $(MAKE); $(unstage)
25410 @r=`${PWD_COMMAND}`; export r; \
25411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25412 $(HOST_EXPORTS) \
25413 (cd $(HOST_SUBDIR)/sid && \
25414 $(MAKE) $(FLAGS_TO_PASS) install)
25416 @endif sid
25418 .PHONY: install-strip-sid maybe-install-strip-sid
25419 maybe-install-strip-sid:
25420 @if sid
25421 maybe-install-strip-sid: install-strip-sid
25423 install-strip-sid: installdirs
25424 @: $(MAKE); $(unstage)
25425 @r=`${PWD_COMMAND}`; export r; \
25426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25427 $(HOST_EXPORTS) \
25428 (cd $(HOST_SUBDIR)/sid && \
25429 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25431 @endif sid
25433 # Other targets (info, dvi, pdf, etc.)
25435 .PHONY: maybe-info-sid info-sid
25436 maybe-info-sid:
25437 @if sid
25438 maybe-info-sid: info-sid
25440 info-sid: \
25441 configure-sid
25442 @: $(MAKE); $(unstage)
25443 @[ -f ./sid/Makefile ] || exit 0; \
25444 r=`${PWD_COMMAND}`; export r; \
25445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25446 $(HOST_EXPORTS) \
25447 for flag in $(EXTRA_HOST_FLAGS) ; do \
25448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25449 done; \
25450 echo "Doing info in sid" ; \
25451 (cd $(HOST_SUBDIR)/sid && \
25452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25454 "RANLIB=$${RANLIB}" \
25455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25456 info) \
25457 || exit 1
25459 @endif sid
25461 .PHONY: maybe-dvi-sid dvi-sid
25462 maybe-dvi-sid:
25463 @if sid
25464 maybe-dvi-sid: dvi-sid
25466 dvi-sid: \
25467 configure-sid
25468 @: $(MAKE); $(unstage)
25469 @[ -f ./sid/Makefile ] || exit 0; \
25470 r=`${PWD_COMMAND}`; export r; \
25471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25472 $(HOST_EXPORTS) \
25473 for flag in $(EXTRA_HOST_FLAGS) ; do \
25474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25475 done; \
25476 echo "Doing dvi in sid" ; \
25477 (cd $(HOST_SUBDIR)/sid && \
25478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25480 "RANLIB=$${RANLIB}" \
25481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25482 dvi) \
25483 || exit 1
25485 @endif sid
25487 .PHONY: maybe-pdf-sid pdf-sid
25488 maybe-pdf-sid:
25489 @if sid
25490 maybe-pdf-sid: pdf-sid
25492 pdf-sid: \
25493 configure-sid
25494 @: $(MAKE); $(unstage)
25495 @[ -f ./sid/Makefile ] || exit 0; \
25496 r=`${PWD_COMMAND}`; export r; \
25497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25498 $(HOST_EXPORTS) \
25499 for flag in $(EXTRA_HOST_FLAGS) ; do \
25500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25501 done; \
25502 echo "Doing pdf in sid" ; \
25503 (cd $(HOST_SUBDIR)/sid && \
25504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25506 "RANLIB=$${RANLIB}" \
25507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25508 pdf) \
25509 || exit 1
25511 @endif sid
25513 .PHONY: maybe-html-sid html-sid
25514 maybe-html-sid:
25515 @if sid
25516 maybe-html-sid: html-sid
25518 html-sid: \
25519 configure-sid
25520 @: $(MAKE); $(unstage)
25521 @[ -f ./sid/Makefile ] || exit 0; \
25522 r=`${PWD_COMMAND}`; export r; \
25523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25524 $(HOST_EXPORTS) \
25525 for flag in $(EXTRA_HOST_FLAGS) ; do \
25526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25527 done; \
25528 echo "Doing html in sid" ; \
25529 (cd $(HOST_SUBDIR)/sid && \
25530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25532 "RANLIB=$${RANLIB}" \
25533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25534 html) \
25535 || exit 1
25537 @endif sid
25539 .PHONY: maybe-TAGS-sid TAGS-sid
25540 maybe-TAGS-sid:
25541 @if sid
25542 maybe-TAGS-sid: TAGS-sid
25544 TAGS-sid: \
25545 configure-sid
25546 @: $(MAKE); $(unstage)
25547 @[ -f ./sid/Makefile ] || exit 0; \
25548 r=`${PWD_COMMAND}`; export r; \
25549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25550 $(HOST_EXPORTS) \
25551 for flag in $(EXTRA_HOST_FLAGS) ; do \
25552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25553 done; \
25554 echo "Doing TAGS in sid" ; \
25555 (cd $(HOST_SUBDIR)/sid && \
25556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25558 "RANLIB=$${RANLIB}" \
25559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25560 TAGS) \
25561 || exit 1
25563 @endif sid
25565 .PHONY: maybe-install-info-sid install-info-sid
25566 maybe-install-info-sid:
25567 @if sid
25568 maybe-install-info-sid: install-info-sid
25570 install-info-sid: \
25571 configure-sid \
25572 info-sid
25573 @: $(MAKE); $(unstage)
25574 @[ -f ./sid/Makefile ] || exit 0; \
25575 r=`${PWD_COMMAND}`; export r; \
25576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25577 $(HOST_EXPORTS) \
25578 for flag in $(EXTRA_HOST_FLAGS) ; do \
25579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25580 done; \
25581 echo "Doing install-info in sid" ; \
25582 (cd $(HOST_SUBDIR)/sid && \
25583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25585 "RANLIB=$${RANLIB}" \
25586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25587 install-info) \
25588 || exit 1
25590 @endif sid
25592 .PHONY: maybe-install-pdf-sid install-pdf-sid
25593 maybe-install-pdf-sid:
25594 @if sid
25595 maybe-install-pdf-sid: install-pdf-sid
25597 install-pdf-sid: \
25598 configure-sid \
25599 pdf-sid
25600 @: $(MAKE); $(unstage)
25601 @[ -f ./sid/Makefile ] || exit 0; \
25602 r=`${PWD_COMMAND}`; export r; \
25603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25604 $(HOST_EXPORTS) \
25605 for flag in $(EXTRA_HOST_FLAGS) ; do \
25606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25607 done; \
25608 echo "Doing install-pdf in sid" ; \
25609 (cd $(HOST_SUBDIR)/sid && \
25610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25612 "RANLIB=$${RANLIB}" \
25613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25614 install-pdf) \
25615 || exit 1
25617 @endif sid
25619 .PHONY: maybe-install-html-sid install-html-sid
25620 maybe-install-html-sid:
25621 @if sid
25622 maybe-install-html-sid: install-html-sid
25624 install-html-sid: \
25625 configure-sid \
25626 html-sid
25627 @: $(MAKE); $(unstage)
25628 @[ -f ./sid/Makefile ] || exit 0; \
25629 r=`${PWD_COMMAND}`; export r; \
25630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25631 $(HOST_EXPORTS) \
25632 for flag in $(EXTRA_HOST_FLAGS) ; do \
25633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25634 done; \
25635 echo "Doing install-html in sid" ; \
25636 (cd $(HOST_SUBDIR)/sid && \
25637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25639 "RANLIB=$${RANLIB}" \
25640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25641 install-html) \
25642 || exit 1
25644 @endif sid
25646 .PHONY: maybe-installcheck-sid installcheck-sid
25647 maybe-installcheck-sid:
25648 @if sid
25649 maybe-installcheck-sid: installcheck-sid
25651 installcheck-sid: \
25652 configure-sid
25653 @: $(MAKE); $(unstage)
25654 @[ -f ./sid/Makefile ] || exit 0; \
25655 r=`${PWD_COMMAND}`; export r; \
25656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25657 $(HOST_EXPORTS) \
25658 for flag in $(EXTRA_HOST_FLAGS) ; do \
25659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25660 done; \
25661 echo "Doing installcheck in sid" ; \
25662 (cd $(HOST_SUBDIR)/sid && \
25663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25665 "RANLIB=$${RANLIB}" \
25666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25667 installcheck) \
25668 || exit 1
25670 @endif sid
25672 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
25673 maybe-mostlyclean-sid:
25674 @if sid
25675 maybe-mostlyclean-sid: mostlyclean-sid
25677 mostlyclean-sid:
25678 @: $(MAKE); $(unstage)
25679 @[ -f ./sid/Makefile ] || exit 0; \
25680 r=`${PWD_COMMAND}`; export r; \
25681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25682 $(HOST_EXPORTS) \
25683 for flag in $(EXTRA_HOST_FLAGS) ; do \
25684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25685 done; \
25686 echo "Doing mostlyclean in sid" ; \
25687 (cd $(HOST_SUBDIR)/sid && \
25688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25690 "RANLIB=$${RANLIB}" \
25691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25692 mostlyclean) \
25693 || exit 1
25695 @endif sid
25697 .PHONY: maybe-clean-sid clean-sid
25698 maybe-clean-sid:
25699 @if sid
25700 maybe-clean-sid: clean-sid
25702 clean-sid:
25703 @: $(MAKE); $(unstage)
25704 @[ -f ./sid/Makefile ] || exit 0; \
25705 r=`${PWD_COMMAND}`; export r; \
25706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25707 $(HOST_EXPORTS) \
25708 for flag in $(EXTRA_HOST_FLAGS) ; do \
25709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25710 done; \
25711 echo "Doing clean in sid" ; \
25712 (cd $(HOST_SUBDIR)/sid && \
25713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25715 "RANLIB=$${RANLIB}" \
25716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25717 clean) \
25718 || exit 1
25720 @endif sid
25722 .PHONY: maybe-distclean-sid distclean-sid
25723 maybe-distclean-sid:
25724 @if sid
25725 maybe-distclean-sid: distclean-sid
25727 distclean-sid:
25728 @: $(MAKE); $(unstage)
25729 @[ -f ./sid/Makefile ] || exit 0; \
25730 r=`${PWD_COMMAND}`; export r; \
25731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25732 $(HOST_EXPORTS) \
25733 for flag in $(EXTRA_HOST_FLAGS) ; do \
25734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25735 done; \
25736 echo "Doing distclean in sid" ; \
25737 (cd $(HOST_SUBDIR)/sid && \
25738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25740 "RANLIB=$${RANLIB}" \
25741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25742 distclean) \
25743 || exit 1
25745 @endif sid
25747 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
25748 maybe-maintainer-clean-sid:
25749 @if sid
25750 maybe-maintainer-clean-sid: maintainer-clean-sid
25752 maintainer-clean-sid:
25753 @: $(MAKE); $(unstage)
25754 @[ -f ./sid/Makefile ] || exit 0; \
25755 r=`${PWD_COMMAND}`; export r; \
25756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25757 $(HOST_EXPORTS) \
25758 for flag in $(EXTRA_HOST_FLAGS) ; do \
25759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25760 done; \
25761 echo "Doing maintainer-clean in sid" ; \
25762 (cd $(HOST_SUBDIR)/sid && \
25763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25765 "RANLIB=$${RANLIB}" \
25766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25767 maintainer-clean) \
25768 || exit 1
25770 @endif sid
25774 .PHONY: configure-sim maybe-configure-sim
25775 maybe-configure-sim:
25776 @if gcc-bootstrap
25777 configure-sim: stage_current
25778 @endif gcc-bootstrap
25779 @if sim
25780 maybe-configure-sim: configure-sim
25781 configure-sim:
25782 @: $(MAKE); $(unstage)
25783 @r=`${PWD_COMMAND}`; export r; \
25784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25785 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
25786 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
25787 $(HOST_EXPORTS) \
25788 echo Configuring in $(HOST_SUBDIR)/sim; \
25789 cd "$(HOST_SUBDIR)/sim" || exit 1; \
25790 case $(srcdir) in \
25791 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25792 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
25793 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25794 esac; \
25795 module_srcdir=sim; \
25796 $(SHELL) \
25797 $$s/$$module_srcdir/configure \
25798 --srcdir=$${topdir}/$$module_srcdir \
25799 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25800 --target=${target_alias} \
25801 || exit 1
25802 @endif sim
25808 .PHONY: all-sim maybe-all-sim
25809 maybe-all-sim:
25810 @if gcc-bootstrap
25811 all-sim: stage_current
25812 @endif gcc-bootstrap
25813 @if sim
25814 TARGET-sim=all
25815 maybe-all-sim: all-sim
25816 all-sim: configure-sim
25817 @: $(MAKE); $(unstage)
25818 @r=`${PWD_COMMAND}`; export r; \
25819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25820 $(HOST_EXPORTS) \
25821 (cd $(HOST_SUBDIR)/sim && \
25822 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25823 $(TARGET-sim))
25824 @endif sim
25829 .PHONY: check-sim maybe-check-sim
25830 maybe-check-sim:
25831 @if sim
25832 maybe-check-sim: check-sim
25834 check-sim:
25835 @: $(MAKE); $(unstage)
25836 @r=`${PWD_COMMAND}`; export r; \
25837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25838 $(HOST_EXPORTS) \
25839 (cd $(HOST_SUBDIR)/sim && \
25840 $(MAKE) $(FLAGS_TO_PASS) check)
25842 @endif sim
25844 .PHONY: install-sim maybe-install-sim
25845 maybe-install-sim:
25846 @if sim
25847 maybe-install-sim: install-sim
25849 install-sim: installdirs
25850 @: $(MAKE); $(unstage)
25851 @r=`${PWD_COMMAND}`; export r; \
25852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25853 $(HOST_EXPORTS) \
25854 (cd $(HOST_SUBDIR)/sim && \
25855 $(MAKE) $(FLAGS_TO_PASS) install)
25857 @endif sim
25859 .PHONY: install-strip-sim maybe-install-strip-sim
25860 maybe-install-strip-sim:
25861 @if sim
25862 maybe-install-strip-sim: install-strip-sim
25864 install-strip-sim: installdirs
25865 @: $(MAKE); $(unstage)
25866 @r=`${PWD_COMMAND}`; export r; \
25867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25868 $(HOST_EXPORTS) \
25869 (cd $(HOST_SUBDIR)/sim && \
25870 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25872 @endif sim
25874 # Other targets (info, dvi, pdf, etc.)
25876 .PHONY: maybe-info-sim info-sim
25877 maybe-info-sim:
25878 @if sim
25879 maybe-info-sim: info-sim
25881 info-sim: \
25882 configure-sim
25883 @: $(MAKE); $(unstage)
25884 @[ -f ./sim/Makefile ] || exit 0; \
25885 r=`${PWD_COMMAND}`; export r; \
25886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25887 $(HOST_EXPORTS) \
25888 for flag in $(EXTRA_HOST_FLAGS) ; do \
25889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25890 done; \
25891 echo "Doing info in sim" ; \
25892 (cd $(HOST_SUBDIR)/sim && \
25893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25895 "RANLIB=$${RANLIB}" \
25896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25897 info) \
25898 || exit 1
25900 @endif sim
25902 .PHONY: maybe-dvi-sim dvi-sim
25903 maybe-dvi-sim:
25904 @if sim
25905 maybe-dvi-sim: dvi-sim
25907 dvi-sim: \
25908 configure-sim
25909 @: $(MAKE); $(unstage)
25910 @[ -f ./sim/Makefile ] || exit 0; \
25911 r=`${PWD_COMMAND}`; export r; \
25912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25913 $(HOST_EXPORTS) \
25914 for flag in $(EXTRA_HOST_FLAGS) ; do \
25915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25916 done; \
25917 echo "Doing dvi in sim" ; \
25918 (cd $(HOST_SUBDIR)/sim && \
25919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25921 "RANLIB=$${RANLIB}" \
25922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25923 dvi) \
25924 || exit 1
25926 @endif sim
25928 .PHONY: maybe-pdf-sim pdf-sim
25929 maybe-pdf-sim:
25930 @if sim
25931 maybe-pdf-sim: pdf-sim
25933 pdf-sim: \
25934 configure-sim
25935 @: $(MAKE); $(unstage)
25936 @[ -f ./sim/Makefile ] || exit 0; \
25937 r=`${PWD_COMMAND}`; export r; \
25938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25939 $(HOST_EXPORTS) \
25940 for flag in $(EXTRA_HOST_FLAGS) ; do \
25941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25942 done; \
25943 echo "Doing pdf in sim" ; \
25944 (cd $(HOST_SUBDIR)/sim && \
25945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25947 "RANLIB=$${RANLIB}" \
25948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25949 pdf) \
25950 || exit 1
25952 @endif sim
25954 .PHONY: maybe-html-sim html-sim
25955 maybe-html-sim:
25956 @if sim
25957 maybe-html-sim: html-sim
25959 html-sim: \
25960 configure-sim
25961 @: $(MAKE); $(unstage)
25962 @[ -f ./sim/Makefile ] || exit 0; \
25963 r=`${PWD_COMMAND}`; export r; \
25964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25965 $(HOST_EXPORTS) \
25966 for flag in $(EXTRA_HOST_FLAGS) ; do \
25967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25968 done; \
25969 echo "Doing html in sim" ; \
25970 (cd $(HOST_SUBDIR)/sim && \
25971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25973 "RANLIB=$${RANLIB}" \
25974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25975 html) \
25976 || exit 1
25978 @endif sim
25980 .PHONY: maybe-TAGS-sim TAGS-sim
25981 maybe-TAGS-sim:
25982 @if sim
25983 maybe-TAGS-sim: TAGS-sim
25985 TAGS-sim: \
25986 configure-sim
25987 @: $(MAKE); $(unstage)
25988 @[ -f ./sim/Makefile ] || exit 0; \
25989 r=`${PWD_COMMAND}`; export r; \
25990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25991 $(HOST_EXPORTS) \
25992 for flag in $(EXTRA_HOST_FLAGS) ; do \
25993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25994 done; \
25995 echo "Doing TAGS in sim" ; \
25996 (cd $(HOST_SUBDIR)/sim && \
25997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25999 "RANLIB=$${RANLIB}" \
26000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26001 TAGS) \
26002 || exit 1
26004 @endif sim
26006 .PHONY: maybe-install-info-sim install-info-sim
26007 maybe-install-info-sim:
26008 @if sim
26009 maybe-install-info-sim: install-info-sim
26011 install-info-sim: \
26012 configure-sim \
26013 info-sim
26014 @: $(MAKE); $(unstage)
26015 @[ -f ./sim/Makefile ] || exit 0; \
26016 r=`${PWD_COMMAND}`; export r; \
26017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26018 $(HOST_EXPORTS) \
26019 for flag in $(EXTRA_HOST_FLAGS) ; do \
26020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26021 done; \
26022 echo "Doing install-info in sim" ; \
26023 (cd $(HOST_SUBDIR)/sim && \
26024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26026 "RANLIB=$${RANLIB}" \
26027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26028 install-info) \
26029 || exit 1
26031 @endif sim
26033 .PHONY: maybe-install-pdf-sim install-pdf-sim
26034 maybe-install-pdf-sim:
26035 @if sim
26036 maybe-install-pdf-sim: install-pdf-sim
26038 install-pdf-sim: \
26039 configure-sim \
26040 pdf-sim
26041 @: $(MAKE); $(unstage)
26042 @[ -f ./sim/Makefile ] || exit 0; \
26043 r=`${PWD_COMMAND}`; export r; \
26044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26045 $(HOST_EXPORTS) \
26046 for flag in $(EXTRA_HOST_FLAGS) ; do \
26047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26048 done; \
26049 echo "Doing install-pdf in sim" ; \
26050 (cd $(HOST_SUBDIR)/sim && \
26051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26053 "RANLIB=$${RANLIB}" \
26054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26055 install-pdf) \
26056 || exit 1
26058 @endif sim
26060 .PHONY: maybe-install-html-sim install-html-sim
26061 maybe-install-html-sim:
26062 @if sim
26063 maybe-install-html-sim: install-html-sim
26065 install-html-sim: \
26066 configure-sim \
26067 html-sim
26068 @: $(MAKE); $(unstage)
26069 @[ -f ./sim/Makefile ] || exit 0; \
26070 r=`${PWD_COMMAND}`; export r; \
26071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26072 $(HOST_EXPORTS) \
26073 for flag in $(EXTRA_HOST_FLAGS) ; do \
26074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26075 done; \
26076 echo "Doing install-html in sim" ; \
26077 (cd $(HOST_SUBDIR)/sim && \
26078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26080 "RANLIB=$${RANLIB}" \
26081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26082 install-html) \
26083 || exit 1
26085 @endif sim
26087 .PHONY: maybe-installcheck-sim installcheck-sim
26088 maybe-installcheck-sim:
26089 @if sim
26090 maybe-installcheck-sim: installcheck-sim
26092 installcheck-sim: \
26093 configure-sim
26094 @: $(MAKE); $(unstage)
26095 @[ -f ./sim/Makefile ] || exit 0; \
26096 r=`${PWD_COMMAND}`; export r; \
26097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26098 $(HOST_EXPORTS) \
26099 for flag in $(EXTRA_HOST_FLAGS) ; do \
26100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26101 done; \
26102 echo "Doing installcheck in sim" ; \
26103 (cd $(HOST_SUBDIR)/sim && \
26104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26106 "RANLIB=$${RANLIB}" \
26107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26108 installcheck) \
26109 || exit 1
26111 @endif sim
26113 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
26114 maybe-mostlyclean-sim:
26115 @if sim
26116 maybe-mostlyclean-sim: mostlyclean-sim
26118 mostlyclean-sim:
26119 @: $(MAKE); $(unstage)
26120 @[ -f ./sim/Makefile ] || exit 0; \
26121 r=`${PWD_COMMAND}`; export r; \
26122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26123 $(HOST_EXPORTS) \
26124 for flag in $(EXTRA_HOST_FLAGS) ; do \
26125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26126 done; \
26127 echo "Doing mostlyclean in sim" ; \
26128 (cd $(HOST_SUBDIR)/sim && \
26129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26131 "RANLIB=$${RANLIB}" \
26132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26133 mostlyclean) \
26134 || exit 1
26136 @endif sim
26138 .PHONY: maybe-clean-sim clean-sim
26139 maybe-clean-sim:
26140 @if sim
26141 maybe-clean-sim: clean-sim
26143 clean-sim:
26144 @: $(MAKE); $(unstage)
26145 @[ -f ./sim/Makefile ] || exit 0; \
26146 r=`${PWD_COMMAND}`; export r; \
26147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26148 $(HOST_EXPORTS) \
26149 for flag in $(EXTRA_HOST_FLAGS) ; do \
26150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26151 done; \
26152 echo "Doing clean in sim" ; \
26153 (cd $(HOST_SUBDIR)/sim && \
26154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26156 "RANLIB=$${RANLIB}" \
26157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26158 clean) \
26159 || exit 1
26161 @endif sim
26163 .PHONY: maybe-distclean-sim distclean-sim
26164 maybe-distclean-sim:
26165 @if sim
26166 maybe-distclean-sim: distclean-sim
26168 distclean-sim:
26169 @: $(MAKE); $(unstage)
26170 @[ -f ./sim/Makefile ] || exit 0; \
26171 r=`${PWD_COMMAND}`; export r; \
26172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26173 $(HOST_EXPORTS) \
26174 for flag in $(EXTRA_HOST_FLAGS) ; do \
26175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26176 done; \
26177 echo "Doing distclean in sim" ; \
26178 (cd $(HOST_SUBDIR)/sim && \
26179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26181 "RANLIB=$${RANLIB}" \
26182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26183 distclean) \
26184 || exit 1
26186 @endif sim
26188 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
26189 maybe-maintainer-clean-sim:
26190 @if sim
26191 maybe-maintainer-clean-sim: maintainer-clean-sim
26193 maintainer-clean-sim:
26194 @: $(MAKE); $(unstage)
26195 @[ -f ./sim/Makefile ] || exit 0; \
26196 r=`${PWD_COMMAND}`; export r; \
26197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26198 $(HOST_EXPORTS) \
26199 for flag in $(EXTRA_HOST_FLAGS) ; do \
26200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26201 done; \
26202 echo "Doing maintainer-clean in sim" ; \
26203 (cd $(HOST_SUBDIR)/sim && \
26204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26206 "RANLIB=$${RANLIB}" \
26207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26208 maintainer-clean) \
26209 || exit 1
26211 @endif sim
26215 .PHONY: configure-texinfo maybe-configure-texinfo
26216 maybe-configure-texinfo:
26217 @if gcc-bootstrap
26218 configure-texinfo: stage_current
26219 @endif gcc-bootstrap
26220 @if texinfo
26221 maybe-configure-texinfo: configure-texinfo
26222 configure-texinfo:
26223 @: $(MAKE); $(unstage)
26224 @r=`${PWD_COMMAND}`; export r; \
26225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26226 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
26227 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
26228 $(HOST_EXPORTS) \
26229 echo Configuring in $(HOST_SUBDIR)/texinfo; \
26230 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
26231 case $(srcdir) in \
26232 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26233 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
26234 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26235 esac; \
26236 module_srcdir=texinfo; \
26237 $(SHELL) \
26238 $$s/$$module_srcdir/configure \
26239 --srcdir=$${topdir}/$$module_srcdir \
26240 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26241 --target=${target_alias} \
26242 || exit 1
26243 @endif texinfo
26249 .PHONY: all-texinfo maybe-all-texinfo
26250 maybe-all-texinfo:
26251 @if gcc-bootstrap
26252 all-texinfo: stage_current
26253 @endif gcc-bootstrap
26254 @if texinfo
26255 TARGET-texinfo=all
26256 maybe-all-texinfo: all-texinfo
26257 all-texinfo: configure-texinfo
26258 @: $(MAKE); $(unstage)
26259 @r=`${PWD_COMMAND}`; export r; \
26260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26261 $(HOST_EXPORTS) \
26262 (cd $(HOST_SUBDIR)/texinfo && \
26263 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26264 $(TARGET-texinfo))
26265 @endif texinfo
26270 .PHONY: check-texinfo maybe-check-texinfo
26271 maybe-check-texinfo:
26272 @if texinfo
26273 maybe-check-texinfo: check-texinfo
26275 check-texinfo:
26276 @: $(MAKE); $(unstage)
26277 @r=`${PWD_COMMAND}`; export r; \
26278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26279 $(HOST_EXPORTS) \
26280 (cd $(HOST_SUBDIR)/texinfo && \
26281 $(MAKE) $(FLAGS_TO_PASS) check)
26283 @endif texinfo
26285 .PHONY: install-texinfo maybe-install-texinfo
26286 maybe-install-texinfo:
26287 @if texinfo
26288 maybe-install-texinfo: install-texinfo
26290 install-texinfo:
26292 @endif texinfo
26294 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
26295 maybe-install-strip-texinfo:
26296 @if texinfo
26297 maybe-install-strip-texinfo: install-strip-texinfo
26299 install-strip-texinfo:
26301 @endif texinfo
26303 # Other targets (info, dvi, pdf, etc.)
26305 .PHONY: maybe-info-texinfo info-texinfo
26306 maybe-info-texinfo:
26307 @if texinfo
26308 maybe-info-texinfo: info-texinfo
26310 info-texinfo: \
26311 configure-texinfo
26312 @: $(MAKE); $(unstage)
26313 @[ -f ./texinfo/Makefile ] || exit 0; \
26314 r=`${PWD_COMMAND}`; export r; \
26315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26316 $(HOST_EXPORTS) \
26317 for flag in $(EXTRA_HOST_FLAGS) ; do \
26318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26319 done; \
26320 echo "Doing info in texinfo" ; \
26321 (cd $(HOST_SUBDIR)/texinfo && \
26322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26324 "RANLIB=$${RANLIB}" \
26325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26326 info) \
26327 || exit 1
26329 @endif texinfo
26331 .PHONY: maybe-dvi-texinfo dvi-texinfo
26332 maybe-dvi-texinfo:
26333 @if texinfo
26334 maybe-dvi-texinfo: dvi-texinfo
26336 dvi-texinfo: \
26337 configure-texinfo
26338 @: $(MAKE); $(unstage)
26339 @[ -f ./texinfo/Makefile ] || exit 0; \
26340 r=`${PWD_COMMAND}`; export r; \
26341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26342 $(HOST_EXPORTS) \
26343 for flag in $(EXTRA_HOST_FLAGS) ; do \
26344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26345 done; \
26346 echo "Doing dvi in texinfo" ; \
26347 (cd $(HOST_SUBDIR)/texinfo && \
26348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26350 "RANLIB=$${RANLIB}" \
26351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26352 dvi) \
26353 || exit 1
26355 @endif texinfo
26357 .PHONY: maybe-pdf-texinfo pdf-texinfo
26358 maybe-pdf-texinfo:
26359 @if texinfo
26360 maybe-pdf-texinfo: pdf-texinfo
26362 pdf-texinfo: \
26363 configure-texinfo
26364 @: $(MAKE); $(unstage)
26365 @[ -f ./texinfo/Makefile ] || exit 0; \
26366 r=`${PWD_COMMAND}`; export r; \
26367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26368 $(HOST_EXPORTS) \
26369 for flag in $(EXTRA_HOST_FLAGS) ; do \
26370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26371 done; \
26372 echo "Doing pdf in texinfo" ; \
26373 (cd $(HOST_SUBDIR)/texinfo && \
26374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26376 "RANLIB=$${RANLIB}" \
26377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26378 pdf) \
26379 || exit 1
26381 @endif texinfo
26383 .PHONY: maybe-html-texinfo html-texinfo
26384 maybe-html-texinfo:
26385 @if texinfo
26386 maybe-html-texinfo: html-texinfo
26388 html-texinfo: \
26389 configure-texinfo
26390 @: $(MAKE); $(unstage)
26391 @[ -f ./texinfo/Makefile ] || exit 0; \
26392 r=`${PWD_COMMAND}`; export r; \
26393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26394 $(HOST_EXPORTS) \
26395 for flag in $(EXTRA_HOST_FLAGS) ; do \
26396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26397 done; \
26398 echo "Doing html in texinfo" ; \
26399 (cd $(HOST_SUBDIR)/texinfo && \
26400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26402 "RANLIB=$${RANLIB}" \
26403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26404 html) \
26405 || exit 1
26407 @endif texinfo
26409 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
26410 maybe-TAGS-texinfo:
26411 @if texinfo
26412 maybe-TAGS-texinfo: TAGS-texinfo
26414 TAGS-texinfo: \
26415 configure-texinfo
26416 @: $(MAKE); $(unstage)
26417 @[ -f ./texinfo/Makefile ] || exit 0; \
26418 r=`${PWD_COMMAND}`; export r; \
26419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26420 $(HOST_EXPORTS) \
26421 for flag in $(EXTRA_HOST_FLAGS) ; do \
26422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26423 done; \
26424 echo "Doing TAGS in texinfo" ; \
26425 (cd $(HOST_SUBDIR)/texinfo && \
26426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26428 "RANLIB=$${RANLIB}" \
26429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26430 TAGS) \
26431 || exit 1
26433 @endif texinfo
26435 .PHONY: maybe-install-info-texinfo install-info-texinfo
26436 maybe-install-info-texinfo:
26437 @if texinfo
26438 maybe-install-info-texinfo: install-info-texinfo
26440 install-info-texinfo: \
26441 configure-texinfo \
26442 info-texinfo
26443 @: $(MAKE); $(unstage)
26444 @[ -f ./texinfo/Makefile ] || exit 0; \
26445 r=`${PWD_COMMAND}`; export r; \
26446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26447 $(HOST_EXPORTS) \
26448 for flag in $(EXTRA_HOST_FLAGS) ; do \
26449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26450 done; \
26451 echo "Doing install-info in texinfo" ; \
26452 (cd $(HOST_SUBDIR)/texinfo && \
26453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26455 "RANLIB=$${RANLIB}" \
26456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26457 install-info) \
26458 || exit 1
26460 @endif texinfo
26462 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
26463 maybe-install-pdf-texinfo:
26464 @if texinfo
26465 maybe-install-pdf-texinfo: install-pdf-texinfo
26467 install-pdf-texinfo: \
26468 configure-texinfo \
26469 pdf-texinfo
26470 @: $(MAKE); $(unstage)
26471 @[ -f ./texinfo/Makefile ] || exit 0; \
26472 r=`${PWD_COMMAND}`; export r; \
26473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26474 $(HOST_EXPORTS) \
26475 for flag in $(EXTRA_HOST_FLAGS) ; do \
26476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26477 done; \
26478 echo "Doing install-pdf in texinfo" ; \
26479 (cd $(HOST_SUBDIR)/texinfo && \
26480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26482 "RANLIB=$${RANLIB}" \
26483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26484 install-pdf) \
26485 || exit 1
26487 @endif texinfo
26489 .PHONY: maybe-install-html-texinfo install-html-texinfo
26490 maybe-install-html-texinfo:
26491 @if texinfo
26492 maybe-install-html-texinfo: install-html-texinfo
26494 install-html-texinfo: \
26495 configure-texinfo \
26496 html-texinfo
26497 @: $(MAKE); $(unstage)
26498 @[ -f ./texinfo/Makefile ] || exit 0; \
26499 r=`${PWD_COMMAND}`; export r; \
26500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26501 $(HOST_EXPORTS) \
26502 for flag in $(EXTRA_HOST_FLAGS) ; do \
26503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26504 done; \
26505 echo "Doing install-html in texinfo" ; \
26506 (cd $(HOST_SUBDIR)/texinfo && \
26507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26509 "RANLIB=$${RANLIB}" \
26510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26511 install-html) \
26512 || exit 1
26514 @endif texinfo
26516 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
26517 maybe-installcheck-texinfo:
26518 @if texinfo
26519 maybe-installcheck-texinfo: installcheck-texinfo
26521 installcheck-texinfo: \
26522 configure-texinfo
26523 @: $(MAKE); $(unstage)
26524 @[ -f ./texinfo/Makefile ] || exit 0; \
26525 r=`${PWD_COMMAND}`; export r; \
26526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26527 $(HOST_EXPORTS) \
26528 for flag in $(EXTRA_HOST_FLAGS) ; do \
26529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26530 done; \
26531 echo "Doing installcheck in texinfo" ; \
26532 (cd $(HOST_SUBDIR)/texinfo && \
26533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26535 "RANLIB=$${RANLIB}" \
26536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26537 installcheck) \
26538 || exit 1
26540 @endif texinfo
26542 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
26543 maybe-mostlyclean-texinfo:
26544 @if texinfo
26545 maybe-mostlyclean-texinfo: mostlyclean-texinfo
26547 mostlyclean-texinfo:
26548 @: $(MAKE); $(unstage)
26549 @[ -f ./texinfo/Makefile ] || exit 0; \
26550 r=`${PWD_COMMAND}`; export r; \
26551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26552 $(HOST_EXPORTS) \
26553 for flag in $(EXTRA_HOST_FLAGS) ; do \
26554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26555 done; \
26556 echo "Doing mostlyclean in texinfo" ; \
26557 (cd $(HOST_SUBDIR)/texinfo && \
26558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26560 "RANLIB=$${RANLIB}" \
26561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26562 mostlyclean) \
26563 || exit 1
26565 @endif texinfo
26567 .PHONY: maybe-clean-texinfo clean-texinfo
26568 maybe-clean-texinfo:
26569 @if texinfo
26570 maybe-clean-texinfo: clean-texinfo
26572 clean-texinfo:
26573 @: $(MAKE); $(unstage)
26574 @[ -f ./texinfo/Makefile ] || exit 0; \
26575 r=`${PWD_COMMAND}`; export r; \
26576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26577 $(HOST_EXPORTS) \
26578 for flag in $(EXTRA_HOST_FLAGS) ; do \
26579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26580 done; \
26581 echo "Doing clean in texinfo" ; \
26582 (cd $(HOST_SUBDIR)/texinfo && \
26583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26585 "RANLIB=$${RANLIB}" \
26586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26587 clean) \
26588 || exit 1
26590 @endif texinfo
26592 .PHONY: maybe-distclean-texinfo distclean-texinfo
26593 maybe-distclean-texinfo:
26594 @if texinfo
26595 maybe-distclean-texinfo: distclean-texinfo
26597 distclean-texinfo:
26598 @: $(MAKE); $(unstage)
26599 @[ -f ./texinfo/Makefile ] || exit 0; \
26600 r=`${PWD_COMMAND}`; export r; \
26601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26602 $(HOST_EXPORTS) \
26603 for flag in $(EXTRA_HOST_FLAGS) ; do \
26604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26605 done; \
26606 echo "Doing distclean in texinfo" ; \
26607 (cd $(HOST_SUBDIR)/texinfo && \
26608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26610 "RANLIB=$${RANLIB}" \
26611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26612 distclean) \
26613 || exit 1
26615 @endif texinfo
26617 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
26618 maybe-maintainer-clean-texinfo:
26619 @if texinfo
26620 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
26622 maintainer-clean-texinfo:
26623 @: $(MAKE); $(unstage)
26624 @[ -f ./texinfo/Makefile ] || exit 0; \
26625 r=`${PWD_COMMAND}`; export r; \
26626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26627 $(HOST_EXPORTS) \
26628 for flag in $(EXTRA_HOST_FLAGS) ; do \
26629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26630 done; \
26631 echo "Doing maintainer-clean in texinfo" ; \
26632 (cd $(HOST_SUBDIR)/texinfo && \
26633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26635 "RANLIB=$${RANLIB}" \
26636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26637 maintainer-clean) \
26638 || exit 1
26640 @endif texinfo
26644 .PHONY: configure-zlib maybe-configure-zlib
26645 maybe-configure-zlib:
26646 @if gcc-bootstrap
26647 configure-zlib: stage_current
26648 @endif gcc-bootstrap
26649 @if zlib
26650 maybe-configure-zlib: configure-zlib
26651 configure-zlib:
26652 @r=`${PWD_COMMAND}`; export r; \
26653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26654 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26655 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26656 $(HOST_EXPORTS) \
26657 echo Configuring in $(HOST_SUBDIR)/zlib; \
26658 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
26659 case $(srcdir) in \
26660 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26661 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26662 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26663 esac; \
26664 module_srcdir=zlib; \
26665 $(SHELL) \
26666 $$s/$$module_srcdir/configure \
26667 --srcdir=$${topdir}/$$module_srcdir \
26668 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26669 --target=${target_alias} \
26670 || exit 1
26671 @endif zlib
26675 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
26676 maybe-configure-stage1-zlib:
26677 @if zlib-bootstrap
26678 maybe-configure-stage1-zlib: configure-stage1-zlib
26679 configure-stage1-zlib:
26680 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26681 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26682 @r=`${PWD_COMMAND}`; export r; \
26683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26684 TFLAGS="$(STAGE1_TFLAGS)"; \
26685 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26686 $(HOST_EXPORTS) \
26687 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26688 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
26689 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
26690 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
26691 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26692 cd $(HOST_SUBDIR)/zlib || exit 1; \
26693 case $(srcdir) in \
26694 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26695 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26696 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26697 esac; \
26698 module_srcdir=zlib; \
26699 $(SHELL) $$s/$$module_srcdir/configure \
26700 --srcdir=$${topdir}/$$module_srcdir \
26701 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26702 --target=${target_alias} \
26704 $(STAGE1_CONFIGURE_FLAGS)
26705 @endif zlib-bootstrap
26707 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
26708 maybe-configure-stage2-zlib:
26709 @if zlib-bootstrap
26710 maybe-configure-stage2-zlib: configure-stage2-zlib
26711 configure-stage2-zlib:
26712 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26713 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26714 @r=`${PWD_COMMAND}`; export r; \
26715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26716 TFLAGS="$(STAGE2_TFLAGS)"; \
26717 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26718 $(HOST_EXPORTS) \
26719 $(POSTSTAGE1_HOST_EXPORTS) \
26720 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26721 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
26722 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
26723 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
26724 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26725 cd $(HOST_SUBDIR)/zlib || exit 1; \
26726 case $(srcdir) in \
26727 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26728 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26729 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26730 esac; \
26731 module_srcdir=zlib; \
26732 $(SHELL) $$s/$$module_srcdir/configure \
26733 --srcdir=$${topdir}/$$module_srcdir \
26734 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26735 --target=${target_alias} \
26736 --with-build-libsubdir=$(HOST_SUBDIR) \
26737 $(STAGE2_CONFIGURE_FLAGS)
26738 @endif zlib-bootstrap
26740 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
26741 maybe-configure-stage3-zlib:
26742 @if zlib-bootstrap
26743 maybe-configure-stage3-zlib: configure-stage3-zlib
26744 configure-stage3-zlib:
26745 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26746 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26747 @r=`${PWD_COMMAND}`; export r; \
26748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26749 TFLAGS="$(STAGE3_TFLAGS)"; \
26750 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26751 $(HOST_EXPORTS) \
26752 $(POSTSTAGE1_HOST_EXPORTS) \
26753 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
26754 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
26755 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
26756 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
26757 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26758 cd $(HOST_SUBDIR)/zlib || exit 1; \
26759 case $(srcdir) in \
26760 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26761 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26762 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26763 esac; \
26764 module_srcdir=zlib; \
26765 $(SHELL) $$s/$$module_srcdir/configure \
26766 --srcdir=$${topdir}/$$module_srcdir \
26767 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26768 --target=${target_alias} \
26769 --with-build-libsubdir=$(HOST_SUBDIR) \
26770 $(STAGE3_CONFIGURE_FLAGS)
26771 @endif zlib-bootstrap
26773 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
26774 maybe-configure-stage4-zlib:
26775 @if zlib-bootstrap
26776 maybe-configure-stage4-zlib: configure-stage4-zlib
26777 configure-stage4-zlib:
26778 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26779 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26780 @r=`${PWD_COMMAND}`; export r; \
26781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26782 TFLAGS="$(STAGE4_TFLAGS)"; \
26783 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26784 $(HOST_EXPORTS) \
26785 $(POSTSTAGE1_HOST_EXPORTS) \
26786 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
26787 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
26788 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
26789 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
26790 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26791 cd $(HOST_SUBDIR)/zlib || exit 1; \
26792 case $(srcdir) in \
26793 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26794 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26795 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26796 esac; \
26797 module_srcdir=zlib; \
26798 $(SHELL) $$s/$$module_srcdir/configure \
26799 --srcdir=$${topdir}/$$module_srcdir \
26800 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26801 --target=${target_alias} \
26802 --with-build-libsubdir=$(HOST_SUBDIR) \
26803 $(STAGE4_CONFIGURE_FLAGS)
26804 @endif zlib-bootstrap
26806 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
26807 maybe-configure-stageprofile-zlib:
26808 @if zlib-bootstrap
26809 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
26810 configure-stageprofile-zlib:
26811 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26812 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26813 @r=`${PWD_COMMAND}`; export r; \
26814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26815 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26816 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26817 $(HOST_EXPORTS) \
26818 $(POSTSTAGE1_HOST_EXPORTS) \
26819 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
26820 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
26821 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
26822 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
26823 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26824 cd $(HOST_SUBDIR)/zlib || exit 1; \
26825 case $(srcdir) in \
26826 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26827 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26828 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26829 esac; \
26830 module_srcdir=zlib; \
26831 $(SHELL) $$s/$$module_srcdir/configure \
26832 --srcdir=$${topdir}/$$module_srcdir \
26833 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26834 --target=${target_alias} \
26835 --with-build-libsubdir=$(HOST_SUBDIR) \
26836 $(STAGEprofile_CONFIGURE_FLAGS)
26837 @endif zlib-bootstrap
26839 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
26840 maybe-configure-stagefeedback-zlib:
26841 @if zlib-bootstrap
26842 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
26843 configure-stagefeedback-zlib:
26844 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26845 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26846 @r=`${PWD_COMMAND}`; export r; \
26847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26848 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26849 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26850 $(HOST_EXPORTS) \
26851 $(POSTSTAGE1_HOST_EXPORTS) \
26852 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
26853 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
26854 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
26855 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
26856 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26857 cd $(HOST_SUBDIR)/zlib || exit 1; \
26858 case $(srcdir) in \
26859 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26860 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26861 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26862 esac; \
26863 module_srcdir=zlib; \
26864 $(SHELL) $$s/$$module_srcdir/configure \
26865 --srcdir=$${topdir}/$$module_srcdir \
26866 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26867 --target=${target_alias} \
26868 --with-build-libsubdir=$(HOST_SUBDIR) \
26869 $(STAGEfeedback_CONFIGURE_FLAGS)
26870 @endif zlib-bootstrap
26876 .PHONY: all-zlib maybe-all-zlib
26877 maybe-all-zlib:
26878 @if gcc-bootstrap
26879 all-zlib: stage_current
26880 @endif gcc-bootstrap
26881 @if zlib
26882 TARGET-zlib=all
26883 maybe-all-zlib: all-zlib
26884 all-zlib: configure-zlib
26885 @r=`${PWD_COMMAND}`; export r; \
26886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26887 $(HOST_EXPORTS) \
26888 (cd $(HOST_SUBDIR)/zlib && \
26889 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26890 $(TARGET-zlib))
26891 @endif zlib
26895 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
26896 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
26897 maybe-all-stage1-zlib:
26898 maybe-clean-stage1-zlib:
26899 @if zlib-bootstrap
26900 maybe-all-stage1-zlib: all-stage1-zlib
26901 all-stage1: all-stage1-zlib
26902 TARGET-stage1-zlib = $(TARGET-zlib)
26903 all-stage1-zlib: configure-stage1-zlib
26904 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26905 @r=`${PWD_COMMAND}`; export r; \
26906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26907 TFLAGS="$(STAGE1_TFLAGS)"; \
26908 $(HOST_EXPORTS) \
26909 cd $(HOST_SUBDIR)/zlib && \
26910 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26911 CFLAGS="$(STAGE1_CFLAGS)" \
26912 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
26913 LIBCFLAGS="$(LIBCFLAGS)" \
26914 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26915 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26916 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26917 $(EXTRA_HOST_FLAGS) \
26918 $(STAGE1_FLAGS_TO_PASS) \
26919 TFLAGS="$(STAGE1_TFLAGS)" \
26920 $(TARGET-stage1-zlib)
26922 maybe-clean-stage1-zlib: clean-stage1-zlib
26923 clean-stage1: clean-stage1-zlib
26924 clean-stage1-zlib:
26925 @if [ $(current_stage) = stage1 ]; then \
26926 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26927 else \
26928 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
26929 $(MAKE) stage1-start; \
26930 fi; \
26931 cd $(HOST_SUBDIR)/zlib && \
26932 $(MAKE) $(EXTRA_HOST_FLAGS) \
26933 $(STAGE1_FLAGS_TO_PASS) clean
26934 @endif zlib-bootstrap
26937 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
26938 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
26939 maybe-all-stage2-zlib:
26940 maybe-clean-stage2-zlib:
26941 @if zlib-bootstrap
26942 maybe-all-stage2-zlib: all-stage2-zlib
26943 all-stage2: all-stage2-zlib
26944 TARGET-stage2-zlib = $(TARGET-zlib)
26945 all-stage2-zlib: configure-stage2-zlib
26946 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26947 @r=`${PWD_COMMAND}`; export r; \
26948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26949 TFLAGS="$(STAGE2_TFLAGS)"; \
26950 $(HOST_EXPORTS) \
26951 $(POSTSTAGE1_HOST_EXPORTS) \
26952 cd $(HOST_SUBDIR)/zlib && \
26953 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26954 CFLAGS="$(STAGE2_CFLAGS)" \
26955 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
26956 LIBCFLAGS="$(STAGE2_CFLAGS)" \
26957 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26958 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26959 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26960 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26961 TFLAGS="$(STAGE2_TFLAGS)" \
26962 $(TARGET-stage2-zlib)
26964 maybe-clean-stage2-zlib: clean-stage2-zlib
26965 clean-stage2: clean-stage2-zlib
26966 clean-stage2-zlib:
26967 @if [ $(current_stage) = stage2 ]; then \
26968 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26969 else \
26970 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
26971 $(MAKE) stage2-start; \
26972 fi; \
26973 cd $(HOST_SUBDIR)/zlib && \
26974 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26975 @endif zlib-bootstrap
26978 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
26979 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
26980 maybe-all-stage3-zlib:
26981 maybe-clean-stage3-zlib:
26982 @if zlib-bootstrap
26983 maybe-all-stage3-zlib: all-stage3-zlib
26984 all-stage3: all-stage3-zlib
26985 TARGET-stage3-zlib = $(TARGET-zlib)
26986 all-stage3-zlib: configure-stage3-zlib
26987 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26988 @r=`${PWD_COMMAND}`; export r; \
26989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26990 TFLAGS="$(STAGE3_TFLAGS)"; \
26991 $(HOST_EXPORTS) \
26992 $(POSTSTAGE1_HOST_EXPORTS) \
26993 cd $(HOST_SUBDIR)/zlib && \
26994 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26995 CFLAGS="$(STAGE3_CFLAGS)" \
26996 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
26997 LIBCFLAGS="$(STAGE3_CFLAGS)" \
26998 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26999 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27000 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27001 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27002 TFLAGS="$(STAGE3_TFLAGS)" \
27003 $(TARGET-stage3-zlib)
27005 maybe-clean-stage3-zlib: clean-stage3-zlib
27006 clean-stage3: clean-stage3-zlib
27007 clean-stage3-zlib:
27008 @if [ $(current_stage) = stage3 ]; then \
27009 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27010 else \
27011 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
27012 $(MAKE) stage3-start; \
27013 fi; \
27014 cd $(HOST_SUBDIR)/zlib && \
27015 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27016 @endif zlib-bootstrap
27019 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
27020 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
27021 maybe-all-stage4-zlib:
27022 maybe-clean-stage4-zlib:
27023 @if zlib-bootstrap
27024 maybe-all-stage4-zlib: all-stage4-zlib
27025 all-stage4: all-stage4-zlib
27026 TARGET-stage4-zlib = $(TARGET-zlib)
27027 all-stage4-zlib: configure-stage4-zlib
27028 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27029 @r=`${PWD_COMMAND}`; export r; \
27030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27031 TFLAGS="$(STAGE4_TFLAGS)"; \
27032 $(HOST_EXPORTS) \
27033 $(POSTSTAGE1_HOST_EXPORTS) \
27034 cd $(HOST_SUBDIR)/zlib && \
27035 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27036 CFLAGS="$(STAGE4_CFLAGS)" \
27037 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
27038 LIBCFLAGS="$(STAGE4_CFLAGS)" \
27039 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27040 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27041 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27042 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27043 TFLAGS="$(STAGE4_TFLAGS)" \
27044 $(TARGET-stage4-zlib)
27046 maybe-clean-stage4-zlib: clean-stage4-zlib
27047 clean-stage4: clean-stage4-zlib
27048 clean-stage4-zlib:
27049 @if [ $(current_stage) = stage4 ]; then \
27050 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27051 else \
27052 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
27053 $(MAKE) stage4-start; \
27054 fi; \
27055 cd $(HOST_SUBDIR)/zlib && \
27056 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27057 @endif zlib-bootstrap
27060 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
27061 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
27062 maybe-all-stageprofile-zlib:
27063 maybe-clean-stageprofile-zlib:
27064 @if zlib-bootstrap
27065 maybe-all-stageprofile-zlib: all-stageprofile-zlib
27066 all-stageprofile: all-stageprofile-zlib
27067 TARGET-stageprofile-zlib = $(TARGET-zlib)
27068 all-stageprofile-zlib: configure-stageprofile-zlib
27069 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27070 @r=`${PWD_COMMAND}`; export r; \
27071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27072 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27073 $(HOST_EXPORTS) \
27074 $(POSTSTAGE1_HOST_EXPORTS) \
27075 cd $(HOST_SUBDIR)/zlib && \
27076 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27077 CFLAGS="$(STAGEprofile_CFLAGS)" \
27078 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
27079 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
27080 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27081 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27082 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27083 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27084 TFLAGS="$(STAGEprofile_TFLAGS)" \
27085 $(TARGET-stageprofile-zlib)
27087 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
27088 clean-stageprofile: clean-stageprofile-zlib
27089 clean-stageprofile-zlib:
27090 @if [ $(current_stage) = stageprofile ]; then \
27091 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27092 else \
27093 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
27094 $(MAKE) stageprofile-start; \
27095 fi; \
27096 cd $(HOST_SUBDIR)/zlib && \
27097 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27098 @endif zlib-bootstrap
27101 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
27102 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
27103 maybe-all-stagefeedback-zlib:
27104 maybe-clean-stagefeedback-zlib:
27105 @if zlib-bootstrap
27106 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
27107 all-stagefeedback: all-stagefeedback-zlib
27108 TARGET-stagefeedback-zlib = $(TARGET-zlib)
27109 all-stagefeedback-zlib: configure-stagefeedback-zlib
27110 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27111 @r=`${PWD_COMMAND}`; export r; \
27112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27113 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27114 $(HOST_EXPORTS) \
27115 $(POSTSTAGE1_HOST_EXPORTS) \
27116 cd $(HOST_SUBDIR)/zlib && \
27117 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27118 CFLAGS="$(STAGEfeedback_CFLAGS)" \
27119 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
27120 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
27121 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27122 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27123 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27124 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27125 TFLAGS="$(STAGEfeedback_TFLAGS)" \
27126 $(TARGET-stagefeedback-zlib)
27128 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
27129 clean-stagefeedback: clean-stagefeedback-zlib
27130 clean-stagefeedback-zlib:
27131 @if [ $(current_stage) = stagefeedback ]; then \
27132 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27133 else \
27134 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
27135 $(MAKE) stagefeedback-start; \
27136 fi; \
27137 cd $(HOST_SUBDIR)/zlib && \
27138 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27139 @endif zlib-bootstrap
27145 .PHONY: check-zlib maybe-check-zlib
27146 maybe-check-zlib:
27147 @if zlib
27148 maybe-check-zlib: check-zlib
27150 check-zlib:
27152 @endif zlib
27154 .PHONY: install-zlib maybe-install-zlib
27155 maybe-install-zlib:
27156 @if zlib
27157 maybe-install-zlib: install-zlib
27159 install-zlib:
27161 @endif zlib
27163 .PHONY: install-strip-zlib maybe-install-strip-zlib
27164 maybe-install-strip-zlib:
27165 @if zlib
27166 maybe-install-strip-zlib: install-strip-zlib
27168 install-strip-zlib:
27170 @endif zlib
27172 # Other targets (info, dvi, pdf, etc.)
27174 .PHONY: maybe-info-zlib info-zlib
27175 maybe-info-zlib:
27176 @if zlib
27177 maybe-info-zlib: info-zlib
27179 info-zlib: \
27180 configure-zlib
27181 @[ -f ./zlib/Makefile ] || exit 0; \
27182 r=`${PWD_COMMAND}`; export r; \
27183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27184 $(HOST_EXPORTS) \
27185 for flag in $(EXTRA_HOST_FLAGS) ; do \
27186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27187 done; \
27188 echo "Doing info in zlib" ; \
27189 (cd $(HOST_SUBDIR)/zlib && \
27190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27192 "RANLIB=$${RANLIB}" \
27193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27194 info) \
27195 || exit 1
27197 @endif zlib
27199 .PHONY: maybe-dvi-zlib dvi-zlib
27200 maybe-dvi-zlib:
27201 @if zlib
27202 maybe-dvi-zlib: dvi-zlib
27204 dvi-zlib: \
27205 configure-zlib
27206 @[ -f ./zlib/Makefile ] || exit 0; \
27207 r=`${PWD_COMMAND}`; export r; \
27208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27209 $(HOST_EXPORTS) \
27210 for flag in $(EXTRA_HOST_FLAGS) ; do \
27211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27212 done; \
27213 echo "Doing dvi in zlib" ; \
27214 (cd $(HOST_SUBDIR)/zlib && \
27215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27217 "RANLIB=$${RANLIB}" \
27218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27219 dvi) \
27220 || exit 1
27222 @endif zlib
27224 .PHONY: maybe-pdf-zlib pdf-zlib
27225 maybe-pdf-zlib:
27226 @if zlib
27227 maybe-pdf-zlib: pdf-zlib
27229 pdf-zlib: \
27230 configure-zlib
27231 @[ -f ./zlib/Makefile ] || exit 0; \
27232 r=`${PWD_COMMAND}`; export r; \
27233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27234 $(HOST_EXPORTS) \
27235 for flag in $(EXTRA_HOST_FLAGS) ; do \
27236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27237 done; \
27238 echo "Doing pdf in zlib" ; \
27239 (cd $(HOST_SUBDIR)/zlib && \
27240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27242 "RANLIB=$${RANLIB}" \
27243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27244 pdf) \
27245 || exit 1
27247 @endif zlib
27249 .PHONY: maybe-html-zlib html-zlib
27250 maybe-html-zlib:
27251 @if zlib
27252 maybe-html-zlib: html-zlib
27254 html-zlib: \
27255 configure-zlib
27256 @[ -f ./zlib/Makefile ] || exit 0; \
27257 r=`${PWD_COMMAND}`; export r; \
27258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27259 $(HOST_EXPORTS) \
27260 for flag in $(EXTRA_HOST_FLAGS) ; do \
27261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27262 done; \
27263 echo "Doing html in zlib" ; \
27264 (cd $(HOST_SUBDIR)/zlib && \
27265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27267 "RANLIB=$${RANLIB}" \
27268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27269 html) \
27270 || exit 1
27272 @endif zlib
27274 .PHONY: maybe-TAGS-zlib TAGS-zlib
27275 maybe-TAGS-zlib:
27276 @if zlib
27277 maybe-TAGS-zlib: TAGS-zlib
27279 TAGS-zlib: \
27280 configure-zlib
27281 @[ -f ./zlib/Makefile ] || exit 0; \
27282 r=`${PWD_COMMAND}`; export r; \
27283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27284 $(HOST_EXPORTS) \
27285 for flag in $(EXTRA_HOST_FLAGS) ; do \
27286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27287 done; \
27288 echo "Doing TAGS in zlib" ; \
27289 (cd $(HOST_SUBDIR)/zlib && \
27290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27292 "RANLIB=$${RANLIB}" \
27293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27294 TAGS) \
27295 || exit 1
27297 @endif zlib
27299 .PHONY: maybe-install-info-zlib install-info-zlib
27300 maybe-install-info-zlib:
27301 @if zlib
27302 maybe-install-info-zlib: install-info-zlib
27304 install-info-zlib: \
27305 configure-zlib \
27306 info-zlib
27307 @[ -f ./zlib/Makefile ] || exit 0; \
27308 r=`${PWD_COMMAND}`; export r; \
27309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27310 $(HOST_EXPORTS) \
27311 for flag in $(EXTRA_HOST_FLAGS) ; do \
27312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27313 done; \
27314 echo "Doing install-info in zlib" ; \
27315 (cd $(HOST_SUBDIR)/zlib && \
27316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27318 "RANLIB=$${RANLIB}" \
27319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27320 install-info) \
27321 || exit 1
27323 @endif zlib
27325 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
27326 maybe-install-pdf-zlib:
27327 @if zlib
27328 maybe-install-pdf-zlib: install-pdf-zlib
27330 install-pdf-zlib: \
27331 configure-zlib \
27332 pdf-zlib
27333 @[ -f ./zlib/Makefile ] || exit 0; \
27334 r=`${PWD_COMMAND}`; export r; \
27335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27336 $(HOST_EXPORTS) \
27337 for flag in $(EXTRA_HOST_FLAGS) ; do \
27338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27339 done; \
27340 echo "Doing install-pdf in zlib" ; \
27341 (cd $(HOST_SUBDIR)/zlib && \
27342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27344 "RANLIB=$${RANLIB}" \
27345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27346 install-pdf) \
27347 || exit 1
27349 @endif zlib
27351 .PHONY: maybe-install-html-zlib install-html-zlib
27352 maybe-install-html-zlib:
27353 @if zlib
27354 maybe-install-html-zlib: install-html-zlib
27356 install-html-zlib: \
27357 configure-zlib \
27358 html-zlib
27359 @[ -f ./zlib/Makefile ] || exit 0; \
27360 r=`${PWD_COMMAND}`; export r; \
27361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27362 $(HOST_EXPORTS) \
27363 for flag in $(EXTRA_HOST_FLAGS) ; do \
27364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27365 done; \
27366 echo "Doing install-html in zlib" ; \
27367 (cd $(HOST_SUBDIR)/zlib && \
27368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27370 "RANLIB=$${RANLIB}" \
27371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27372 install-html) \
27373 || exit 1
27375 @endif zlib
27377 .PHONY: maybe-installcheck-zlib installcheck-zlib
27378 maybe-installcheck-zlib:
27379 @if zlib
27380 maybe-installcheck-zlib: installcheck-zlib
27382 installcheck-zlib: \
27383 configure-zlib
27384 @[ -f ./zlib/Makefile ] || exit 0; \
27385 r=`${PWD_COMMAND}`; export r; \
27386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27387 $(HOST_EXPORTS) \
27388 for flag in $(EXTRA_HOST_FLAGS) ; do \
27389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27390 done; \
27391 echo "Doing installcheck in zlib" ; \
27392 (cd $(HOST_SUBDIR)/zlib && \
27393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27395 "RANLIB=$${RANLIB}" \
27396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27397 installcheck) \
27398 || exit 1
27400 @endif zlib
27402 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
27403 maybe-mostlyclean-zlib:
27404 @if zlib
27405 maybe-mostlyclean-zlib: mostlyclean-zlib
27407 mostlyclean-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 mostlyclean 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 mostlyclean) \
27422 || exit 1
27424 @endif zlib
27426 .PHONY: maybe-clean-zlib clean-zlib
27427 maybe-clean-zlib:
27428 @if zlib
27429 maybe-clean-zlib: clean-zlib
27431 clean-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 clean 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 clean) \
27446 || exit 1
27448 @endif zlib
27450 .PHONY: maybe-distclean-zlib distclean-zlib
27451 maybe-distclean-zlib:
27452 @if zlib
27453 maybe-distclean-zlib: distclean-zlib
27455 distclean-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 distclean 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 distclean) \
27470 || exit 1
27472 @endif zlib
27474 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
27475 maybe-maintainer-clean-zlib:
27476 @if zlib
27477 maybe-maintainer-clean-zlib: maintainer-clean-zlib
27479 maintainer-clean-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 maintainer-clean 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 maintainer-clean) \
27494 || exit 1
27496 @endif zlib
27500 .PHONY: configure-gdb maybe-configure-gdb
27501 maybe-configure-gdb:
27502 @if gcc-bootstrap
27503 configure-gdb: stage_current
27504 @endif gcc-bootstrap
27505 @if gdb
27506 maybe-configure-gdb: configure-gdb
27507 configure-gdb:
27508 @: $(MAKE); $(unstage)
27509 @r=`${PWD_COMMAND}`; export r; \
27510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27511 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
27512 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
27513 $(HOST_EXPORTS) \
27514 echo Configuring in $(HOST_SUBDIR)/gdb; \
27515 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
27516 case $(srcdir) in \
27517 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27518 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
27519 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27520 esac; \
27521 module_srcdir=gdb; \
27522 $(SHELL) \
27523 $$s/$$module_srcdir/configure \
27524 --srcdir=$${topdir}/$$module_srcdir \
27525 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27526 --target=${target_alias} \
27527 || exit 1
27528 @endif gdb
27534 .PHONY: all-gdb maybe-all-gdb
27535 maybe-all-gdb:
27536 @if gcc-bootstrap
27537 all-gdb: stage_current
27538 @endif gcc-bootstrap
27539 @if gdb
27540 TARGET-gdb=all
27541 maybe-all-gdb: all-gdb
27542 all-gdb: configure-gdb
27543 @: $(MAKE); $(unstage)
27544 @r=`${PWD_COMMAND}`; export r; \
27545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27546 $(HOST_EXPORTS) \
27547 (cd $(HOST_SUBDIR)/gdb && \
27548 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27549 $(TARGET-gdb))
27550 @endif gdb
27555 .PHONY: check-gdb maybe-check-gdb
27556 maybe-check-gdb:
27557 @if gdb
27558 maybe-check-gdb: check-gdb
27560 check-gdb:
27561 @: $(MAKE); $(unstage)
27562 @r=`${PWD_COMMAND}`; export r; \
27563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27564 $(HOST_EXPORTS) \
27565 (cd $(HOST_SUBDIR)/gdb && \
27566 $(MAKE) $(FLAGS_TO_PASS) check)
27568 @endif gdb
27570 .PHONY: install-gdb maybe-install-gdb
27571 maybe-install-gdb:
27572 @if gdb
27573 maybe-install-gdb: install-gdb
27575 install-gdb: installdirs
27576 @: $(MAKE); $(unstage)
27577 @r=`${PWD_COMMAND}`; export r; \
27578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27579 $(HOST_EXPORTS) \
27580 (cd $(HOST_SUBDIR)/gdb && \
27581 $(MAKE) $(FLAGS_TO_PASS) install)
27583 @endif gdb
27585 .PHONY: install-strip-gdb maybe-install-strip-gdb
27586 maybe-install-strip-gdb:
27587 @if gdb
27588 maybe-install-strip-gdb: install-strip-gdb
27590 install-strip-gdb: installdirs
27591 @: $(MAKE); $(unstage)
27592 @r=`${PWD_COMMAND}`; export r; \
27593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27594 $(HOST_EXPORTS) \
27595 (cd $(HOST_SUBDIR)/gdb && \
27596 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27598 @endif gdb
27600 # Other targets (info, dvi, pdf, etc.)
27602 .PHONY: maybe-info-gdb info-gdb
27603 maybe-info-gdb:
27604 @if gdb
27605 maybe-info-gdb: info-gdb
27607 info-gdb: \
27608 configure-gdb
27609 @: $(MAKE); $(unstage)
27610 @[ -f ./gdb/Makefile ] || exit 0; \
27611 r=`${PWD_COMMAND}`; export r; \
27612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27613 $(HOST_EXPORTS) \
27614 for flag in $(EXTRA_HOST_FLAGS) ; do \
27615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27616 done; \
27617 echo "Doing info in gdb" ; \
27618 (cd $(HOST_SUBDIR)/gdb && \
27619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27621 "RANLIB=$${RANLIB}" \
27622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27623 info) \
27624 || exit 1
27626 @endif gdb
27628 .PHONY: maybe-dvi-gdb dvi-gdb
27629 maybe-dvi-gdb:
27630 @if gdb
27631 maybe-dvi-gdb: dvi-gdb
27633 dvi-gdb: \
27634 configure-gdb
27635 @: $(MAKE); $(unstage)
27636 @[ -f ./gdb/Makefile ] || exit 0; \
27637 r=`${PWD_COMMAND}`; export r; \
27638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27639 $(HOST_EXPORTS) \
27640 for flag in $(EXTRA_HOST_FLAGS) ; do \
27641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27642 done; \
27643 echo "Doing dvi in gdb" ; \
27644 (cd $(HOST_SUBDIR)/gdb && \
27645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27647 "RANLIB=$${RANLIB}" \
27648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27649 dvi) \
27650 || exit 1
27652 @endif gdb
27654 .PHONY: maybe-pdf-gdb pdf-gdb
27655 maybe-pdf-gdb:
27656 @if gdb
27657 maybe-pdf-gdb: pdf-gdb
27659 pdf-gdb: \
27660 configure-gdb
27661 @: $(MAKE); $(unstage)
27662 @[ -f ./gdb/Makefile ] || exit 0; \
27663 r=`${PWD_COMMAND}`; export r; \
27664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27665 $(HOST_EXPORTS) \
27666 for flag in $(EXTRA_HOST_FLAGS) ; do \
27667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27668 done; \
27669 echo "Doing pdf in gdb" ; \
27670 (cd $(HOST_SUBDIR)/gdb && \
27671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27673 "RANLIB=$${RANLIB}" \
27674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27675 pdf) \
27676 || exit 1
27678 @endif gdb
27680 .PHONY: maybe-html-gdb html-gdb
27681 maybe-html-gdb:
27682 @if gdb
27683 maybe-html-gdb: html-gdb
27685 html-gdb: \
27686 configure-gdb
27687 @: $(MAKE); $(unstage)
27688 @[ -f ./gdb/Makefile ] || exit 0; \
27689 r=`${PWD_COMMAND}`; export r; \
27690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27691 $(HOST_EXPORTS) \
27692 for flag in $(EXTRA_HOST_FLAGS) ; do \
27693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27694 done; \
27695 echo "Doing html in gdb" ; \
27696 (cd $(HOST_SUBDIR)/gdb && \
27697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27699 "RANLIB=$${RANLIB}" \
27700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27701 html) \
27702 || exit 1
27704 @endif gdb
27706 .PHONY: maybe-TAGS-gdb TAGS-gdb
27707 maybe-TAGS-gdb:
27708 @if gdb
27709 maybe-TAGS-gdb: TAGS-gdb
27711 TAGS-gdb: \
27712 configure-gdb
27713 @: $(MAKE); $(unstage)
27714 @[ -f ./gdb/Makefile ] || exit 0; \
27715 r=`${PWD_COMMAND}`; export r; \
27716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27717 $(HOST_EXPORTS) \
27718 for flag in $(EXTRA_HOST_FLAGS) ; do \
27719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27720 done; \
27721 echo "Doing TAGS in gdb" ; \
27722 (cd $(HOST_SUBDIR)/gdb && \
27723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27725 "RANLIB=$${RANLIB}" \
27726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27727 TAGS) \
27728 || exit 1
27730 @endif gdb
27732 .PHONY: maybe-install-info-gdb install-info-gdb
27733 maybe-install-info-gdb:
27734 @if gdb
27735 maybe-install-info-gdb: install-info-gdb
27737 install-info-gdb: \
27738 configure-gdb \
27739 info-gdb
27740 @: $(MAKE); $(unstage)
27741 @[ -f ./gdb/Makefile ] || exit 0; \
27742 r=`${PWD_COMMAND}`; export r; \
27743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27744 $(HOST_EXPORTS) \
27745 for flag in $(EXTRA_HOST_FLAGS) ; do \
27746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27747 done; \
27748 echo "Doing install-info in gdb" ; \
27749 (cd $(HOST_SUBDIR)/gdb && \
27750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27752 "RANLIB=$${RANLIB}" \
27753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27754 install-info) \
27755 || exit 1
27757 @endif gdb
27759 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
27760 maybe-install-pdf-gdb:
27761 @if gdb
27762 maybe-install-pdf-gdb: install-pdf-gdb
27764 install-pdf-gdb: \
27765 configure-gdb \
27766 pdf-gdb
27767 @: $(MAKE); $(unstage)
27768 @[ -f ./gdb/Makefile ] || exit 0; \
27769 r=`${PWD_COMMAND}`; export r; \
27770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27771 $(HOST_EXPORTS) \
27772 for flag in $(EXTRA_HOST_FLAGS) ; do \
27773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27774 done; \
27775 echo "Doing install-pdf in gdb" ; \
27776 (cd $(HOST_SUBDIR)/gdb && \
27777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27779 "RANLIB=$${RANLIB}" \
27780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27781 install-pdf) \
27782 || exit 1
27784 @endif gdb
27786 .PHONY: maybe-install-html-gdb install-html-gdb
27787 maybe-install-html-gdb:
27788 @if gdb
27789 maybe-install-html-gdb: install-html-gdb
27791 install-html-gdb: \
27792 configure-gdb \
27793 html-gdb
27794 @: $(MAKE); $(unstage)
27795 @[ -f ./gdb/Makefile ] || exit 0; \
27796 r=`${PWD_COMMAND}`; export r; \
27797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27798 $(HOST_EXPORTS) \
27799 for flag in $(EXTRA_HOST_FLAGS) ; do \
27800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27801 done; \
27802 echo "Doing install-html in gdb" ; \
27803 (cd $(HOST_SUBDIR)/gdb && \
27804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27806 "RANLIB=$${RANLIB}" \
27807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27808 install-html) \
27809 || exit 1
27811 @endif gdb
27813 .PHONY: maybe-installcheck-gdb installcheck-gdb
27814 maybe-installcheck-gdb:
27815 @if gdb
27816 maybe-installcheck-gdb: installcheck-gdb
27818 installcheck-gdb: \
27819 configure-gdb
27820 @: $(MAKE); $(unstage)
27821 @[ -f ./gdb/Makefile ] || exit 0; \
27822 r=`${PWD_COMMAND}`; export r; \
27823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27824 $(HOST_EXPORTS) \
27825 for flag in $(EXTRA_HOST_FLAGS) ; do \
27826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27827 done; \
27828 echo "Doing installcheck in gdb" ; \
27829 (cd $(HOST_SUBDIR)/gdb && \
27830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27832 "RANLIB=$${RANLIB}" \
27833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27834 installcheck) \
27835 || exit 1
27837 @endif gdb
27839 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
27840 maybe-mostlyclean-gdb:
27841 @if gdb
27842 maybe-mostlyclean-gdb: mostlyclean-gdb
27844 mostlyclean-gdb:
27845 @: $(MAKE); $(unstage)
27846 @[ -f ./gdb/Makefile ] || exit 0; \
27847 r=`${PWD_COMMAND}`; export r; \
27848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27849 $(HOST_EXPORTS) \
27850 for flag in $(EXTRA_HOST_FLAGS) ; do \
27851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27852 done; \
27853 echo "Doing mostlyclean in gdb" ; \
27854 (cd $(HOST_SUBDIR)/gdb && \
27855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27857 "RANLIB=$${RANLIB}" \
27858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27859 mostlyclean) \
27860 || exit 1
27862 @endif gdb
27864 .PHONY: maybe-clean-gdb clean-gdb
27865 maybe-clean-gdb:
27866 @if gdb
27867 maybe-clean-gdb: clean-gdb
27869 clean-gdb:
27870 @: $(MAKE); $(unstage)
27871 @[ -f ./gdb/Makefile ] || exit 0; \
27872 r=`${PWD_COMMAND}`; export r; \
27873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27874 $(HOST_EXPORTS) \
27875 for flag in $(EXTRA_HOST_FLAGS) ; do \
27876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27877 done; \
27878 echo "Doing clean in gdb" ; \
27879 (cd $(HOST_SUBDIR)/gdb && \
27880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27882 "RANLIB=$${RANLIB}" \
27883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27884 clean) \
27885 || exit 1
27887 @endif gdb
27889 .PHONY: maybe-distclean-gdb distclean-gdb
27890 maybe-distclean-gdb:
27891 @if gdb
27892 maybe-distclean-gdb: distclean-gdb
27894 distclean-gdb:
27895 @: $(MAKE); $(unstage)
27896 @[ -f ./gdb/Makefile ] || exit 0; \
27897 r=`${PWD_COMMAND}`; export r; \
27898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27899 $(HOST_EXPORTS) \
27900 for flag in $(EXTRA_HOST_FLAGS) ; do \
27901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27902 done; \
27903 echo "Doing distclean in gdb" ; \
27904 (cd $(HOST_SUBDIR)/gdb && \
27905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27907 "RANLIB=$${RANLIB}" \
27908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27909 distclean) \
27910 || exit 1
27912 @endif gdb
27914 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
27915 maybe-maintainer-clean-gdb:
27916 @if gdb
27917 maybe-maintainer-clean-gdb: maintainer-clean-gdb
27919 maintainer-clean-gdb:
27920 @: $(MAKE); $(unstage)
27921 @[ -f ./gdb/Makefile ] || exit 0; \
27922 r=`${PWD_COMMAND}`; export r; \
27923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27924 $(HOST_EXPORTS) \
27925 for flag in $(EXTRA_HOST_FLAGS) ; do \
27926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27927 done; \
27928 echo "Doing maintainer-clean in gdb" ; \
27929 (cd $(HOST_SUBDIR)/gdb && \
27930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27932 "RANLIB=$${RANLIB}" \
27933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27934 maintainer-clean) \
27935 || exit 1
27937 @endif gdb
27941 .PHONY: configure-expect maybe-configure-expect
27942 maybe-configure-expect:
27943 @if gcc-bootstrap
27944 configure-expect: stage_current
27945 @endif gcc-bootstrap
27946 @if expect
27947 maybe-configure-expect: configure-expect
27948 configure-expect:
27949 @: $(MAKE); $(unstage)
27950 @r=`${PWD_COMMAND}`; export r; \
27951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27952 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
27953 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
27954 $(HOST_EXPORTS) \
27955 echo Configuring in $(HOST_SUBDIR)/expect; \
27956 cd "$(HOST_SUBDIR)/expect" || exit 1; \
27957 case $(srcdir) in \
27958 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27959 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
27960 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27961 esac; \
27962 module_srcdir=expect; \
27963 $(SHELL) \
27964 $$s/$$module_srcdir/configure \
27965 --srcdir=$${topdir}/$$module_srcdir \
27966 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27967 --target=${target_alias} \
27968 || exit 1
27969 @endif expect
27975 .PHONY: all-expect maybe-all-expect
27976 maybe-all-expect:
27977 @if gcc-bootstrap
27978 all-expect: stage_current
27979 @endif gcc-bootstrap
27980 @if expect
27981 TARGET-expect=all
27982 maybe-all-expect: all-expect
27983 all-expect: configure-expect
27984 @: $(MAKE); $(unstage)
27985 @r=`${PWD_COMMAND}`; export r; \
27986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27987 $(HOST_EXPORTS) \
27988 (cd $(HOST_SUBDIR)/expect && \
27989 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27990 $(TARGET-expect))
27991 @endif expect
27996 .PHONY: check-expect maybe-check-expect
27997 maybe-check-expect:
27998 @if expect
27999 maybe-check-expect: check-expect
28001 check-expect:
28002 @: $(MAKE); $(unstage)
28003 @r=`${PWD_COMMAND}`; export r; \
28004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28005 $(HOST_EXPORTS) \
28006 (cd $(HOST_SUBDIR)/expect && \
28007 $(MAKE) $(FLAGS_TO_PASS) check)
28009 @endif expect
28011 .PHONY: install-expect maybe-install-expect
28012 maybe-install-expect:
28013 @if expect
28014 maybe-install-expect: install-expect
28016 install-expect: installdirs
28017 @: $(MAKE); $(unstage)
28018 @r=`${PWD_COMMAND}`; export r; \
28019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28020 $(HOST_EXPORTS) \
28021 (cd $(HOST_SUBDIR)/expect && \
28022 $(MAKE) $(FLAGS_TO_PASS) install)
28024 @endif expect
28026 .PHONY: install-strip-expect maybe-install-strip-expect
28027 maybe-install-strip-expect:
28028 @if expect
28029 maybe-install-strip-expect: install-strip-expect
28031 install-strip-expect: installdirs
28032 @: $(MAKE); $(unstage)
28033 @r=`${PWD_COMMAND}`; export r; \
28034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28035 $(HOST_EXPORTS) \
28036 (cd $(HOST_SUBDIR)/expect && \
28037 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28039 @endif expect
28041 # Other targets (info, dvi, pdf, etc.)
28043 .PHONY: maybe-info-expect info-expect
28044 maybe-info-expect:
28045 @if expect
28046 maybe-info-expect: info-expect
28048 info-expect: \
28049 configure-expect
28050 @: $(MAKE); $(unstage)
28051 @[ -f ./expect/Makefile ] || exit 0; \
28052 r=`${PWD_COMMAND}`; export r; \
28053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28054 $(HOST_EXPORTS) \
28055 for flag in $(EXTRA_HOST_FLAGS) ; do \
28056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28057 done; \
28058 echo "Doing info in expect" ; \
28059 (cd $(HOST_SUBDIR)/expect && \
28060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28062 "RANLIB=$${RANLIB}" \
28063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28064 info) \
28065 || exit 1
28067 @endif expect
28069 .PHONY: maybe-dvi-expect dvi-expect
28070 maybe-dvi-expect:
28071 @if expect
28072 maybe-dvi-expect: dvi-expect
28074 dvi-expect: \
28075 configure-expect
28076 @: $(MAKE); $(unstage)
28077 @[ -f ./expect/Makefile ] || exit 0; \
28078 r=`${PWD_COMMAND}`; export r; \
28079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28080 $(HOST_EXPORTS) \
28081 for flag in $(EXTRA_HOST_FLAGS) ; do \
28082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28083 done; \
28084 echo "Doing dvi in expect" ; \
28085 (cd $(HOST_SUBDIR)/expect && \
28086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28088 "RANLIB=$${RANLIB}" \
28089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28090 dvi) \
28091 || exit 1
28093 @endif expect
28095 .PHONY: maybe-pdf-expect pdf-expect
28096 maybe-pdf-expect:
28097 @if expect
28098 maybe-pdf-expect: pdf-expect
28100 pdf-expect: \
28101 configure-expect
28102 @: $(MAKE); $(unstage)
28103 @[ -f ./expect/Makefile ] || exit 0; \
28104 r=`${PWD_COMMAND}`; export r; \
28105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28106 $(HOST_EXPORTS) \
28107 for flag in $(EXTRA_HOST_FLAGS) ; do \
28108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28109 done; \
28110 echo "Doing pdf in expect" ; \
28111 (cd $(HOST_SUBDIR)/expect && \
28112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28114 "RANLIB=$${RANLIB}" \
28115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28116 pdf) \
28117 || exit 1
28119 @endif expect
28121 .PHONY: maybe-html-expect html-expect
28122 maybe-html-expect:
28123 @if expect
28124 maybe-html-expect: html-expect
28126 html-expect: \
28127 configure-expect
28128 @: $(MAKE); $(unstage)
28129 @[ -f ./expect/Makefile ] || exit 0; \
28130 r=`${PWD_COMMAND}`; export r; \
28131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28132 $(HOST_EXPORTS) \
28133 for flag in $(EXTRA_HOST_FLAGS) ; do \
28134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28135 done; \
28136 echo "Doing html in expect" ; \
28137 (cd $(HOST_SUBDIR)/expect && \
28138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28140 "RANLIB=$${RANLIB}" \
28141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28142 html) \
28143 || exit 1
28145 @endif expect
28147 .PHONY: maybe-TAGS-expect TAGS-expect
28148 maybe-TAGS-expect:
28149 @if expect
28150 maybe-TAGS-expect: TAGS-expect
28152 TAGS-expect: \
28153 configure-expect
28154 @: $(MAKE); $(unstage)
28155 @[ -f ./expect/Makefile ] || exit 0; \
28156 r=`${PWD_COMMAND}`; export r; \
28157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28158 $(HOST_EXPORTS) \
28159 for flag in $(EXTRA_HOST_FLAGS) ; do \
28160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28161 done; \
28162 echo "Doing TAGS in expect" ; \
28163 (cd $(HOST_SUBDIR)/expect && \
28164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28166 "RANLIB=$${RANLIB}" \
28167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28168 TAGS) \
28169 || exit 1
28171 @endif expect
28173 .PHONY: maybe-install-info-expect install-info-expect
28174 maybe-install-info-expect:
28175 @if expect
28176 maybe-install-info-expect: install-info-expect
28178 install-info-expect: \
28179 configure-expect \
28180 info-expect
28181 @: $(MAKE); $(unstage)
28182 @[ -f ./expect/Makefile ] || exit 0; \
28183 r=`${PWD_COMMAND}`; export r; \
28184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28185 $(HOST_EXPORTS) \
28186 for flag in $(EXTRA_HOST_FLAGS) ; do \
28187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28188 done; \
28189 echo "Doing install-info in expect" ; \
28190 (cd $(HOST_SUBDIR)/expect && \
28191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28193 "RANLIB=$${RANLIB}" \
28194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28195 install-info) \
28196 || exit 1
28198 @endif expect
28200 .PHONY: maybe-install-pdf-expect install-pdf-expect
28201 maybe-install-pdf-expect:
28202 @if expect
28203 maybe-install-pdf-expect: install-pdf-expect
28205 install-pdf-expect: \
28206 configure-expect \
28207 pdf-expect
28208 @: $(MAKE); $(unstage)
28209 @[ -f ./expect/Makefile ] || exit 0; \
28210 r=`${PWD_COMMAND}`; export r; \
28211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28212 $(HOST_EXPORTS) \
28213 for flag in $(EXTRA_HOST_FLAGS) ; do \
28214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28215 done; \
28216 echo "Doing install-pdf in expect" ; \
28217 (cd $(HOST_SUBDIR)/expect && \
28218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28220 "RANLIB=$${RANLIB}" \
28221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28222 install-pdf) \
28223 || exit 1
28225 @endif expect
28227 .PHONY: maybe-install-html-expect install-html-expect
28228 maybe-install-html-expect:
28229 @if expect
28230 maybe-install-html-expect: install-html-expect
28232 install-html-expect: \
28233 configure-expect \
28234 html-expect
28235 @: $(MAKE); $(unstage)
28236 @[ -f ./expect/Makefile ] || exit 0; \
28237 r=`${PWD_COMMAND}`; export r; \
28238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28239 $(HOST_EXPORTS) \
28240 for flag in $(EXTRA_HOST_FLAGS) ; do \
28241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28242 done; \
28243 echo "Doing install-html in expect" ; \
28244 (cd $(HOST_SUBDIR)/expect && \
28245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28247 "RANLIB=$${RANLIB}" \
28248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28249 install-html) \
28250 || exit 1
28252 @endif expect
28254 .PHONY: maybe-installcheck-expect installcheck-expect
28255 maybe-installcheck-expect:
28256 @if expect
28257 maybe-installcheck-expect: installcheck-expect
28259 installcheck-expect: \
28260 configure-expect
28261 @: $(MAKE); $(unstage)
28262 @[ -f ./expect/Makefile ] || exit 0; \
28263 r=`${PWD_COMMAND}`; export r; \
28264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28265 $(HOST_EXPORTS) \
28266 for flag in $(EXTRA_HOST_FLAGS) ; do \
28267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28268 done; \
28269 echo "Doing installcheck in expect" ; \
28270 (cd $(HOST_SUBDIR)/expect && \
28271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28273 "RANLIB=$${RANLIB}" \
28274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28275 installcheck) \
28276 || exit 1
28278 @endif expect
28280 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
28281 maybe-mostlyclean-expect:
28282 @if expect
28283 maybe-mostlyclean-expect: mostlyclean-expect
28285 mostlyclean-expect:
28286 @: $(MAKE); $(unstage)
28287 @[ -f ./expect/Makefile ] || exit 0; \
28288 r=`${PWD_COMMAND}`; export r; \
28289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28290 $(HOST_EXPORTS) \
28291 for flag in $(EXTRA_HOST_FLAGS) ; do \
28292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28293 done; \
28294 echo "Doing mostlyclean in expect" ; \
28295 (cd $(HOST_SUBDIR)/expect && \
28296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28298 "RANLIB=$${RANLIB}" \
28299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28300 mostlyclean) \
28301 || exit 1
28303 @endif expect
28305 .PHONY: maybe-clean-expect clean-expect
28306 maybe-clean-expect:
28307 @if expect
28308 maybe-clean-expect: clean-expect
28310 clean-expect:
28311 @: $(MAKE); $(unstage)
28312 @[ -f ./expect/Makefile ] || exit 0; \
28313 r=`${PWD_COMMAND}`; export r; \
28314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28315 $(HOST_EXPORTS) \
28316 for flag in $(EXTRA_HOST_FLAGS) ; do \
28317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28318 done; \
28319 echo "Doing clean in expect" ; \
28320 (cd $(HOST_SUBDIR)/expect && \
28321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28323 "RANLIB=$${RANLIB}" \
28324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28325 clean) \
28326 || exit 1
28328 @endif expect
28330 .PHONY: maybe-distclean-expect distclean-expect
28331 maybe-distclean-expect:
28332 @if expect
28333 maybe-distclean-expect: distclean-expect
28335 distclean-expect:
28336 @: $(MAKE); $(unstage)
28337 @[ -f ./expect/Makefile ] || exit 0; \
28338 r=`${PWD_COMMAND}`; export r; \
28339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28340 $(HOST_EXPORTS) \
28341 for flag in $(EXTRA_HOST_FLAGS) ; do \
28342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28343 done; \
28344 echo "Doing distclean in expect" ; \
28345 (cd $(HOST_SUBDIR)/expect && \
28346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28348 "RANLIB=$${RANLIB}" \
28349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28350 distclean) \
28351 || exit 1
28353 @endif expect
28355 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
28356 maybe-maintainer-clean-expect:
28357 @if expect
28358 maybe-maintainer-clean-expect: maintainer-clean-expect
28360 maintainer-clean-expect:
28361 @: $(MAKE); $(unstage)
28362 @[ -f ./expect/Makefile ] || exit 0; \
28363 r=`${PWD_COMMAND}`; export r; \
28364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28365 $(HOST_EXPORTS) \
28366 for flag in $(EXTRA_HOST_FLAGS) ; do \
28367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28368 done; \
28369 echo "Doing maintainer-clean in expect" ; \
28370 (cd $(HOST_SUBDIR)/expect && \
28371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28373 "RANLIB=$${RANLIB}" \
28374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28375 maintainer-clean) \
28376 || exit 1
28378 @endif expect
28382 .PHONY: configure-guile maybe-configure-guile
28383 maybe-configure-guile:
28384 @if gcc-bootstrap
28385 configure-guile: stage_current
28386 @endif gcc-bootstrap
28387 @if guile
28388 maybe-configure-guile: configure-guile
28389 configure-guile:
28390 @: $(MAKE); $(unstage)
28391 @r=`${PWD_COMMAND}`; export r; \
28392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28393 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
28394 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
28395 $(HOST_EXPORTS) \
28396 echo Configuring in $(HOST_SUBDIR)/guile; \
28397 cd "$(HOST_SUBDIR)/guile" || exit 1; \
28398 case $(srcdir) in \
28399 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28400 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
28401 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28402 esac; \
28403 module_srcdir=guile; \
28404 $(SHELL) \
28405 $$s/$$module_srcdir/configure \
28406 --srcdir=$${topdir}/$$module_srcdir \
28407 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28408 --target=${target_alias} \
28409 || exit 1
28410 @endif guile
28416 .PHONY: all-guile maybe-all-guile
28417 maybe-all-guile:
28418 @if gcc-bootstrap
28419 all-guile: stage_current
28420 @endif gcc-bootstrap
28421 @if guile
28422 TARGET-guile=all
28423 maybe-all-guile: all-guile
28424 all-guile: configure-guile
28425 @: $(MAKE); $(unstage)
28426 @r=`${PWD_COMMAND}`; export r; \
28427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28428 $(HOST_EXPORTS) \
28429 (cd $(HOST_SUBDIR)/guile && \
28430 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28431 $(TARGET-guile))
28432 @endif guile
28437 .PHONY: check-guile maybe-check-guile
28438 maybe-check-guile:
28439 @if guile
28440 maybe-check-guile: check-guile
28442 check-guile:
28443 @: $(MAKE); $(unstage)
28444 @r=`${PWD_COMMAND}`; export r; \
28445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28446 $(HOST_EXPORTS) \
28447 (cd $(HOST_SUBDIR)/guile && \
28448 $(MAKE) $(FLAGS_TO_PASS) check)
28450 @endif guile
28452 .PHONY: install-guile maybe-install-guile
28453 maybe-install-guile:
28454 @if guile
28455 maybe-install-guile: install-guile
28457 install-guile: installdirs
28458 @: $(MAKE); $(unstage)
28459 @r=`${PWD_COMMAND}`; export r; \
28460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28461 $(HOST_EXPORTS) \
28462 (cd $(HOST_SUBDIR)/guile && \
28463 $(MAKE) $(FLAGS_TO_PASS) install)
28465 @endif guile
28467 .PHONY: install-strip-guile maybe-install-strip-guile
28468 maybe-install-strip-guile:
28469 @if guile
28470 maybe-install-strip-guile: install-strip-guile
28472 install-strip-guile: installdirs
28473 @: $(MAKE); $(unstage)
28474 @r=`${PWD_COMMAND}`; export r; \
28475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28476 $(HOST_EXPORTS) \
28477 (cd $(HOST_SUBDIR)/guile && \
28478 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28480 @endif guile
28482 # Other targets (info, dvi, pdf, etc.)
28484 .PHONY: maybe-info-guile info-guile
28485 maybe-info-guile:
28486 @if guile
28487 maybe-info-guile: info-guile
28489 info-guile: \
28490 configure-guile
28491 @: $(MAKE); $(unstage)
28492 @[ -f ./guile/Makefile ] || exit 0; \
28493 r=`${PWD_COMMAND}`; export r; \
28494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28495 $(HOST_EXPORTS) \
28496 for flag in $(EXTRA_HOST_FLAGS) ; do \
28497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28498 done; \
28499 echo "Doing info in guile" ; \
28500 (cd $(HOST_SUBDIR)/guile && \
28501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28503 "RANLIB=$${RANLIB}" \
28504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28505 info) \
28506 || exit 1
28508 @endif guile
28510 .PHONY: maybe-dvi-guile dvi-guile
28511 maybe-dvi-guile:
28512 @if guile
28513 maybe-dvi-guile: dvi-guile
28515 dvi-guile: \
28516 configure-guile
28517 @: $(MAKE); $(unstage)
28518 @[ -f ./guile/Makefile ] || exit 0; \
28519 r=`${PWD_COMMAND}`; export r; \
28520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28521 $(HOST_EXPORTS) \
28522 for flag in $(EXTRA_HOST_FLAGS) ; do \
28523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28524 done; \
28525 echo "Doing dvi in guile" ; \
28526 (cd $(HOST_SUBDIR)/guile && \
28527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28529 "RANLIB=$${RANLIB}" \
28530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28531 dvi) \
28532 || exit 1
28534 @endif guile
28536 .PHONY: maybe-pdf-guile pdf-guile
28537 maybe-pdf-guile:
28538 @if guile
28539 maybe-pdf-guile: pdf-guile
28541 pdf-guile: \
28542 configure-guile
28543 @: $(MAKE); $(unstage)
28544 @[ -f ./guile/Makefile ] || exit 0; \
28545 r=`${PWD_COMMAND}`; export r; \
28546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28547 $(HOST_EXPORTS) \
28548 for flag in $(EXTRA_HOST_FLAGS) ; do \
28549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28550 done; \
28551 echo "Doing pdf in guile" ; \
28552 (cd $(HOST_SUBDIR)/guile && \
28553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28555 "RANLIB=$${RANLIB}" \
28556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28557 pdf) \
28558 || exit 1
28560 @endif guile
28562 .PHONY: maybe-html-guile html-guile
28563 maybe-html-guile:
28564 @if guile
28565 maybe-html-guile: html-guile
28567 html-guile: \
28568 configure-guile
28569 @: $(MAKE); $(unstage)
28570 @[ -f ./guile/Makefile ] || exit 0; \
28571 r=`${PWD_COMMAND}`; export r; \
28572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28573 $(HOST_EXPORTS) \
28574 for flag in $(EXTRA_HOST_FLAGS) ; do \
28575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28576 done; \
28577 echo "Doing html in guile" ; \
28578 (cd $(HOST_SUBDIR)/guile && \
28579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28581 "RANLIB=$${RANLIB}" \
28582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28583 html) \
28584 || exit 1
28586 @endif guile
28588 .PHONY: maybe-TAGS-guile TAGS-guile
28589 maybe-TAGS-guile:
28590 @if guile
28591 maybe-TAGS-guile: TAGS-guile
28593 TAGS-guile: \
28594 configure-guile
28595 @: $(MAKE); $(unstage)
28596 @[ -f ./guile/Makefile ] || exit 0; \
28597 r=`${PWD_COMMAND}`; export r; \
28598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28599 $(HOST_EXPORTS) \
28600 for flag in $(EXTRA_HOST_FLAGS) ; do \
28601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28602 done; \
28603 echo "Doing TAGS in guile" ; \
28604 (cd $(HOST_SUBDIR)/guile && \
28605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28607 "RANLIB=$${RANLIB}" \
28608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28609 TAGS) \
28610 || exit 1
28612 @endif guile
28614 .PHONY: maybe-install-info-guile install-info-guile
28615 maybe-install-info-guile:
28616 @if guile
28617 maybe-install-info-guile: install-info-guile
28619 install-info-guile: \
28620 configure-guile \
28621 info-guile
28622 @: $(MAKE); $(unstage)
28623 @[ -f ./guile/Makefile ] || exit 0; \
28624 r=`${PWD_COMMAND}`; export r; \
28625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28626 $(HOST_EXPORTS) \
28627 for flag in $(EXTRA_HOST_FLAGS) ; do \
28628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28629 done; \
28630 echo "Doing install-info in guile" ; \
28631 (cd $(HOST_SUBDIR)/guile && \
28632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28634 "RANLIB=$${RANLIB}" \
28635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28636 install-info) \
28637 || exit 1
28639 @endif guile
28641 .PHONY: maybe-install-pdf-guile install-pdf-guile
28642 maybe-install-pdf-guile:
28643 @if guile
28644 maybe-install-pdf-guile: install-pdf-guile
28646 install-pdf-guile: \
28647 configure-guile \
28648 pdf-guile
28649 @: $(MAKE); $(unstage)
28650 @[ -f ./guile/Makefile ] || exit 0; \
28651 r=`${PWD_COMMAND}`; export r; \
28652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28653 $(HOST_EXPORTS) \
28654 for flag in $(EXTRA_HOST_FLAGS) ; do \
28655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28656 done; \
28657 echo "Doing install-pdf in guile" ; \
28658 (cd $(HOST_SUBDIR)/guile && \
28659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28661 "RANLIB=$${RANLIB}" \
28662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28663 install-pdf) \
28664 || exit 1
28666 @endif guile
28668 .PHONY: maybe-install-html-guile install-html-guile
28669 maybe-install-html-guile:
28670 @if guile
28671 maybe-install-html-guile: install-html-guile
28673 install-html-guile: \
28674 configure-guile \
28675 html-guile
28676 @: $(MAKE); $(unstage)
28677 @[ -f ./guile/Makefile ] || exit 0; \
28678 r=`${PWD_COMMAND}`; export r; \
28679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28680 $(HOST_EXPORTS) \
28681 for flag in $(EXTRA_HOST_FLAGS) ; do \
28682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28683 done; \
28684 echo "Doing install-html in guile" ; \
28685 (cd $(HOST_SUBDIR)/guile && \
28686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28688 "RANLIB=$${RANLIB}" \
28689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28690 install-html) \
28691 || exit 1
28693 @endif guile
28695 .PHONY: maybe-installcheck-guile installcheck-guile
28696 maybe-installcheck-guile:
28697 @if guile
28698 maybe-installcheck-guile: installcheck-guile
28700 installcheck-guile: \
28701 configure-guile
28702 @: $(MAKE); $(unstage)
28703 @[ -f ./guile/Makefile ] || exit 0; \
28704 r=`${PWD_COMMAND}`; export r; \
28705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28706 $(HOST_EXPORTS) \
28707 for flag in $(EXTRA_HOST_FLAGS) ; do \
28708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28709 done; \
28710 echo "Doing installcheck in guile" ; \
28711 (cd $(HOST_SUBDIR)/guile && \
28712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28714 "RANLIB=$${RANLIB}" \
28715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28716 installcheck) \
28717 || exit 1
28719 @endif guile
28721 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
28722 maybe-mostlyclean-guile:
28723 @if guile
28724 maybe-mostlyclean-guile: mostlyclean-guile
28726 mostlyclean-guile:
28727 @: $(MAKE); $(unstage)
28728 @[ -f ./guile/Makefile ] || exit 0; \
28729 r=`${PWD_COMMAND}`; export r; \
28730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28731 $(HOST_EXPORTS) \
28732 for flag in $(EXTRA_HOST_FLAGS) ; do \
28733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28734 done; \
28735 echo "Doing mostlyclean in guile" ; \
28736 (cd $(HOST_SUBDIR)/guile && \
28737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28739 "RANLIB=$${RANLIB}" \
28740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28741 mostlyclean) \
28742 || exit 1
28744 @endif guile
28746 .PHONY: maybe-clean-guile clean-guile
28747 maybe-clean-guile:
28748 @if guile
28749 maybe-clean-guile: clean-guile
28751 clean-guile:
28752 @: $(MAKE); $(unstage)
28753 @[ -f ./guile/Makefile ] || exit 0; \
28754 r=`${PWD_COMMAND}`; export r; \
28755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28756 $(HOST_EXPORTS) \
28757 for flag in $(EXTRA_HOST_FLAGS) ; do \
28758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28759 done; \
28760 echo "Doing clean in guile" ; \
28761 (cd $(HOST_SUBDIR)/guile && \
28762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28764 "RANLIB=$${RANLIB}" \
28765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28766 clean) \
28767 || exit 1
28769 @endif guile
28771 .PHONY: maybe-distclean-guile distclean-guile
28772 maybe-distclean-guile:
28773 @if guile
28774 maybe-distclean-guile: distclean-guile
28776 distclean-guile:
28777 @: $(MAKE); $(unstage)
28778 @[ -f ./guile/Makefile ] || exit 0; \
28779 r=`${PWD_COMMAND}`; export r; \
28780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28781 $(HOST_EXPORTS) \
28782 for flag in $(EXTRA_HOST_FLAGS) ; do \
28783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28784 done; \
28785 echo "Doing distclean in guile" ; \
28786 (cd $(HOST_SUBDIR)/guile && \
28787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28789 "RANLIB=$${RANLIB}" \
28790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28791 distclean) \
28792 || exit 1
28794 @endif guile
28796 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
28797 maybe-maintainer-clean-guile:
28798 @if guile
28799 maybe-maintainer-clean-guile: maintainer-clean-guile
28801 maintainer-clean-guile:
28802 @: $(MAKE); $(unstage)
28803 @[ -f ./guile/Makefile ] || exit 0; \
28804 r=`${PWD_COMMAND}`; export r; \
28805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28806 $(HOST_EXPORTS) \
28807 for flag in $(EXTRA_HOST_FLAGS) ; do \
28808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28809 done; \
28810 echo "Doing maintainer-clean in guile" ; \
28811 (cd $(HOST_SUBDIR)/guile && \
28812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28814 "RANLIB=$${RANLIB}" \
28815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28816 maintainer-clean) \
28817 || exit 1
28819 @endif guile
28823 .PHONY: configure-tk maybe-configure-tk
28824 maybe-configure-tk:
28825 @if gcc-bootstrap
28826 configure-tk: stage_current
28827 @endif gcc-bootstrap
28828 @if tk
28829 maybe-configure-tk: configure-tk
28830 configure-tk:
28831 @: $(MAKE); $(unstage)
28832 @r=`${PWD_COMMAND}`; export r; \
28833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28834 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
28835 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
28836 $(HOST_EXPORTS) \
28837 echo Configuring in $(HOST_SUBDIR)/tk; \
28838 cd "$(HOST_SUBDIR)/tk" || exit 1; \
28839 case $(srcdir) in \
28840 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28841 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
28842 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28843 esac; \
28844 module_srcdir=tk; \
28845 $(SHELL) \
28846 $$s/$$module_srcdir/configure \
28847 --srcdir=$${topdir}/$$module_srcdir \
28848 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28849 --target=${target_alias} \
28850 || exit 1
28851 @endif tk
28857 .PHONY: all-tk maybe-all-tk
28858 maybe-all-tk:
28859 @if gcc-bootstrap
28860 all-tk: stage_current
28861 @endif gcc-bootstrap
28862 @if tk
28863 TARGET-tk=all
28864 maybe-all-tk: all-tk
28865 all-tk: configure-tk
28866 @: $(MAKE); $(unstage)
28867 @r=`${PWD_COMMAND}`; export r; \
28868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28869 $(HOST_EXPORTS) \
28870 (cd $(HOST_SUBDIR)/tk && \
28871 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28872 $(TARGET-tk))
28873 @endif tk
28878 .PHONY: check-tk maybe-check-tk
28879 maybe-check-tk:
28880 @if tk
28881 maybe-check-tk: check-tk
28883 check-tk:
28884 @: $(MAKE); $(unstage)
28885 @r=`${PWD_COMMAND}`; export r; \
28886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28887 $(HOST_EXPORTS) \
28888 (cd $(HOST_SUBDIR)/tk && \
28889 $(MAKE) $(FLAGS_TO_PASS) check)
28891 @endif tk
28893 .PHONY: install-tk maybe-install-tk
28894 maybe-install-tk:
28895 @if tk
28896 maybe-install-tk: install-tk
28898 install-tk: installdirs
28899 @: $(MAKE); $(unstage)
28900 @r=`${PWD_COMMAND}`; export r; \
28901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28902 $(HOST_EXPORTS) \
28903 (cd $(HOST_SUBDIR)/tk && \
28904 $(MAKE) $(FLAGS_TO_PASS) install)
28906 @endif tk
28908 .PHONY: install-strip-tk maybe-install-strip-tk
28909 maybe-install-strip-tk:
28910 @if tk
28911 maybe-install-strip-tk: install-strip-tk
28913 install-strip-tk: installdirs
28914 @: $(MAKE); $(unstage)
28915 @r=`${PWD_COMMAND}`; export r; \
28916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28917 $(HOST_EXPORTS) \
28918 (cd $(HOST_SUBDIR)/tk && \
28919 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28921 @endif tk
28923 # Other targets (info, dvi, pdf, etc.)
28925 .PHONY: maybe-info-tk info-tk
28926 maybe-info-tk:
28927 @if tk
28928 maybe-info-tk: info-tk
28930 info-tk: \
28931 configure-tk
28932 @: $(MAKE); $(unstage)
28933 @[ -f ./tk/Makefile ] || exit 0; \
28934 r=`${PWD_COMMAND}`; export r; \
28935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28936 $(HOST_EXPORTS) \
28937 for flag in $(EXTRA_HOST_FLAGS) ; do \
28938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28939 done; \
28940 echo "Doing info in tk" ; \
28941 (cd $(HOST_SUBDIR)/tk && \
28942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28944 "RANLIB=$${RANLIB}" \
28945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28946 info) \
28947 || exit 1
28949 @endif tk
28951 .PHONY: maybe-dvi-tk dvi-tk
28952 maybe-dvi-tk:
28953 @if tk
28954 maybe-dvi-tk: dvi-tk
28956 dvi-tk: \
28957 configure-tk
28958 @: $(MAKE); $(unstage)
28959 @[ -f ./tk/Makefile ] || exit 0; \
28960 r=`${PWD_COMMAND}`; export r; \
28961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28962 $(HOST_EXPORTS) \
28963 for flag in $(EXTRA_HOST_FLAGS) ; do \
28964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28965 done; \
28966 echo "Doing dvi in tk" ; \
28967 (cd $(HOST_SUBDIR)/tk && \
28968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28970 "RANLIB=$${RANLIB}" \
28971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28972 dvi) \
28973 || exit 1
28975 @endif tk
28977 .PHONY: maybe-pdf-tk pdf-tk
28978 maybe-pdf-tk:
28979 @if tk
28980 maybe-pdf-tk: pdf-tk
28982 pdf-tk: \
28983 configure-tk
28984 @: $(MAKE); $(unstage)
28985 @[ -f ./tk/Makefile ] || exit 0; \
28986 r=`${PWD_COMMAND}`; export r; \
28987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28988 $(HOST_EXPORTS) \
28989 for flag in $(EXTRA_HOST_FLAGS) ; do \
28990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28991 done; \
28992 echo "Doing pdf in tk" ; \
28993 (cd $(HOST_SUBDIR)/tk && \
28994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28996 "RANLIB=$${RANLIB}" \
28997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28998 pdf) \
28999 || exit 1
29001 @endif tk
29003 .PHONY: maybe-html-tk html-tk
29004 maybe-html-tk:
29005 @if tk
29006 maybe-html-tk: html-tk
29008 html-tk: \
29009 configure-tk
29010 @: $(MAKE); $(unstage)
29011 @[ -f ./tk/Makefile ] || exit 0; \
29012 r=`${PWD_COMMAND}`; export r; \
29013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29014 $(HOST_EXPORTS) \
29015 for flag in $(EXTRA_HOST_FLAGS) ; do \
29016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29017 done; \
29018 echo "Doing html in tk" ; \
29019 (cd $(HOST_SUBDIR)/tk && \
29020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29022 "RANLIB=$${RANLIB}" \
29023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29024 html) \
29025 || exit 1
29027 @endif tk
29029 .PHONY: maybe-TAGS-tk TAGS-tk
29030 maybe-TAGS-tk:
29031 @if tk
29032 maybe-TAGS-tk: TAGS-tk
29034 TAGS-tk: \
29035 configure-tk
29036 @: $(MAKE); $(unstage)
29037 @[ -f ./tk/Makefile ] || exit 0; \
29038 r=`${PWD_COMMAND}`; export r; \
29039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29040 $(HOST_EXPORTS) \
29041 for flag in $(EXTRA_HOST_FLAGS) ; do \
29042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29043 done; \
29044 echo "Doing TAGS in tk" ; \
29045 (cd $(HOST_SUBDIR)/tk && \
29046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29048 "RANLIB=$${RANLIB}" \
29049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29050 TAGS) \
29051 || exit 1
29053 @endif tk
29055 .PHONY: maybe-install-info-tk install-info-tk
29056 maybe-install-info-tk:
29057 @if tk
29058 maybe-install-info-tk: install-info-tk
29060 install-info-tk: \
29061 configure-tk \
29062 info-tk
29063 @: $(MAKE); $(unstage)
29064 @[ -f ./tk/Makefile ] || exit 0; \
29065 r=`${PWD_COMMAND}`; export r; \
29066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29067 $(HOST_EXPORTS) \
29068 for flag in $(EXTRA_HOST_FLAGS) ; do \
29069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29070 done; \
29071 echo "Doing install-info in tk" ; \
29072 (cd $(HOST_SUBDIR)/tk && \
29073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29075 "RANLIB=$${RANLIB}" \
29076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29077 install-info) \
29078 || exit 1
29080 @endif tk
29082 .PHONY: maybe-install-pdf-tk install-pdf-tk
29083 maybe-install-pdf-tk:
29084 @if tk
29085 maybe-install-pdf-tk: install-pdf-tk
29087 install-pdf-tk: \
29088 configure-tk \
29089 pdf-tk
29090 @: $(MAKE); $(unstage)
29091 @[ -f ./tk/Makefile ] || exit 0; \
29092 r=`${PWD_COMMAND}`; export r; \
29093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29094 $(HOST_EXPORTS) \
29095 for flag in $(EXTRA_HOST_FLAGS) ; do \
29096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29097 done; \
29098 echo "Doing install-pdf in tk" ; \
29099 (cd $(HOST_SUBDIR)/tk && \
29100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29102 "RANLIB=$${RANLIB}" \
29103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29104 install-pdf) \
29105 || exit 1
29107 @endif tk
29109 .PHONY: maybe-install-html-tk install-html-tk
29110 maybe-install-html-tk:
29111 @if tk
29112 maybe-install-html-tk: install-html-tk
29114 install-html-tk: \
29115 configure-tk \
29116 html-tk
29117 @: $(MAKE); $(unstage)
29118 @[ -f ./tk/Makefile ] || exit 0; \
29119 r=`${PWD_COMMAND}`; export r; \
29120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29121 $(HOST_EXPORTS) \
29122 for flag in $(EXTRA_HOST_FLAGS) ; do \
29123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29124 done; \
29125 echo "Doing install-html in tk" ; \
29126 (cd $(HOST_SUBDIR)/tk && \
29127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29129 "RANLIB=$${RANLIB}" \
29130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29131 install-html) \
29132 || exit 1
29134 @endif tk
29136 .PHONY: maybe-installcheck-tk installcheck-tk
29137 maybe-installcheck-tk:
29138 @if tk
29139 maybe-installcheck-tk: installcheck-tk
29141 installcheck-tk: \
29142 configure-tk
29143 @: $(MAKE); $(unstage)
29144 @[ -f ./tk/Makefile ] || exit 0; \
29145 r=`${PWD_COMMAND}`; export r; \
29146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29147 $(HOST_EXPORTS) \
29148 for flag in $(EXTRA_HOST_FLAGS) ; do \
29149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29150 done; \
29151 echo "Doing installcheck in tk" ; \
29152 (cd $(HOST_SUBDIR)/tk && \
29153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29155 "RANLIB=$${RANLIB}" \
29156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29157 installcheck) \
29158 || exit 1
29160 @endif tk
29162 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
29163 maybe-mostlyclean-tk:
29164 @if tk
29165 maybe-mostlyclean-tk: mostlyclean-tk
29167 mostlyclean-tk:
29168 @: $(MAKE); $(unstage)
29169 @[ -f ./tk/Makefile ] || exit 0; \
29170 r=`${PWD_COMMAND}`; export r; \
29171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29172 $(HOST_EXPORTS) \
29173 for flag in $(EXTRA_HOST_FLAGS) ; do \
29174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29175 done; \
29176 echo "Doing mostlyclean in tk" ; \
29177 (cd $(HOST_SUBDIR)/tk && \
29178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29180 "RANLIB=$${RANLIB}" \
29181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29182 mostlyclean) \
29183 || exit 1
29185 @endif tk
29187 .PHONY: maybe-clean-tk clean-tk
29188 maybe-clean-tk:
29189 @if tk
29190 maybe-clean-tk: clean-tk
29192 clean-tk:
29193 @: $(MAKE); $(unstage)
29194 @[ -f ./tk/Makefile ] || exit 0; \
29195 r=`${PWD_COMMAND}`; export r; \
29196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29197 $(HOST_EXPORTS) \
29198 for flag in $(EXTRA_HOST_FLAGS) ; do \
29199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29200 done; \
29201 echo "Doing clean in tk" ; \
29202 (cd $(HOST_SUBDIR)/tk && \
29203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29205 "RANLIB=$${RANLIB}" \
29206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29207 clean) \
29208 || exit 1
29210 @endif tk
29212 .PHONY: maybe-distclean-tk distclean-tk
29213 maybe-distclean-tk:
29214 @if tk
29215 maybe-distclean-tk: distclean-tk
29217 distclean-tk:
29218 @: $(MAKE); $(unstage)
29219 @[ -f ./tk/Makefile ] || exit 0; \
29220 r=`${PWD_COMMAND}`; export r; \
29221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29222 $(HOST_EXPORTS) \
29223 for flag in $(EXTRA_HOST_FLAGS) ; do \
29224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29225 done; \
29226 echo "Doing distclean in tk" ; \
29227 (cd $(HOST_SUBDIR)/tk && \
29228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29230 "RANLIB=$${RANLIB}" \
29231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29232 distclean) \
29233 || exit 1
29235 @endif tk
29237 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
29238 maybe-maintainer-clean-tk:
29239 @if tk
29240 maybe-maintainer-clean-tk: maintainer-clean-tk
29242 maintainer-clean-tk:
29243 @: $(MAKE); $(unstage)
29244 @[ -f ./tk/Makefile ] || exit 0; \
29245 r=`${PWD_COMMAND}`; export r; \
29246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29247 $(HOST_EXPORTS) \
29248 for flag in $(EXTRA_HOST_FLAGS) ; do \
29249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29250 done; \
29251 echo "Doing maintainer-clean in tk" ; \
29252 (cd $(HOST_SUBDIR)/tk && \
29253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29255 "RANLIB=$${RANLIB}" \
29256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29257 maintainer-clean) \
29258 || exit 1
29260 @endif tk
29264 .PHONY: configure-libtermcap maybe-configure-libtermcap
29265 maybe-configure-libtermcap:
29266 @if gcc-bootstrap
29267 configure-libtermcap: stage_current
29268 @endif gcc-bootstrap
29269 @if libtermcap
29270 maybe-configure-libtermcap: configure-libtermcap
29271 configure-libtermcap:
29272 @: $(MAKE); $(unstage)
29273 @r=`${PWD_COMMAND}`; export r; \
29274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29275 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
29276 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
29277 $(HOST_EXPORTS) \
29278 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
29279 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
29280 case $(srcdir) in \
29281 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29282 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
29283 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29284 esac; \
29285 module_srcdir=libtermcap; \
29286 $(SHELL) \
29287 $$s/$$module_srcdir/configure \
29288 --srcdir=$${topdir}/$$module_srcdir \
29289 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29290 --target=${target_alias} \
29291 || exit 1
29292 @endif libtermcap
29298 .PHONY: all-libtermcap maybe-all-libtermcap
29299 maybe-all-libtermcap:
29300 @if gcc-bootstrap
29301 all-libtermcap: stage_current
29302 @endif gcc-bootstrap
29303 @if libtermcap
29304 TARGET-libtermcap=all
29305 maybe-all-libtermcap: all-libtermcap
29306 all-libtermcap: configure-libtermcap
29307 @: $(MAKE); $(unstage)
29308 @r=`${PWD_COMMAND}`; export r; \
29309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29310 $(HOST_EXPORTS) \
29311 (cd $(HOST_SUBDIR)/libtermcap && \
29312 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29313 $(TARGET-libtermcap))
29314 @endif libtermcap
29319 .PHONY: check-libtermcap maybe-check-libtermcap
29320 maybe-check-libtermcap:
29321 @if libtermcap
29322 maybe-check-libtermcap: check-libtermcap
29324 check-libtermcap:
29326 @endif libtermcap
29328 .PHONY: install-libtermcap maybe-install-libtermcap
29329 maybe-install-libtermcap:
29330 @if libtermcap
29331 maybe-install-libtermcap: install-libtermcap
29333 install-libtermcap: installdirs
29334 @: $(MAKE); $(unstage)
29335 @r=`${PWD_COMMAND}`; export r; \
29336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29337 $(HOST_EXPORTS) \
29338 (cd $(HOST_SUBDIR)/libtermcap && \
29339 $(MAKE) $(FLAGS_TO_PASS) install)
29341 @endif libtermcap
29343 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
29344 maybe-install-strip-libtermcap:
29345 @if libtermcap
29346 maybe-install-strip-libtermcap: install-strip-libtermcap
29348 install-strip-libtermcap: installdirs
29349 @: $(MAKE); $(unstage)
29350 @r=`${PWD_COMMAND}`; export r; \
29351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29352 $(HOST_EXPORTS) \
29353 (cd $(HOST_SUBDIR)/libtermcap && \
29354 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29356 @endif libtermcap
29358 # Other targets (info, dvi, pdf, etc.)
29360 .PHONY: maybe-info-libtermcap info-libtermcap
29361 maybe-info-libtermcap:
29362 @if libtermcap
29363 maybe-info-libtermcap: info-libtermcap
29365 info-libtermcap: \
29366 configure-libtermcap
29367 @: $(MAKE); $(unstage)
29368 @[ -f ./libtermcap/Makefile ] || exit 0; \
29369 r=`${PWD_COMMAND}`; export r; \
29370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29371 $(HOST_EXPORTS) \
29372 for flag in $(EXTRA_HOST_FLAGS) ; do \
29373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29374 done; \
29375 echo "Doing info in libtermcap" ; \
29376 (cd $(HOST_SUBDIR)/libtermcap && \
29377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29379 "RANLIB=$${RANLIB}" \
29380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29381 info) \
29382 || exit 1
29384 @endif libtermcap
29386 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
29387 maybe-dvi-libtermcap:
29388 @if libtermcap
29389 maybe-dvi-libtermcap: dvi-libtermcap
29391 dvi-libtermcap: \
29392 configure-libtermcap
29393 @: $(MAKE); $(unstage)
29394 @[ -f ./libtermcap/Makefile ] || exit 0; \
29395 r=`${PWD_COMMAND}`; export r; \
29396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29397 $(HOST_EXPORTS) \
29398 for flag in $(EXTRA_HOST_FLAGS) ; do \
29399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29400 done; \
29401 echo "Doing dvi in libtermcap" ; \
29402 (cd $(HOST_SUBDIR)/libtermcap && \
29403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29405 "RANLIB=$${RANLIB}" \
29406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29407 dvi) \
29408 || exit 1
29410 @endif libtermcap
29412 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
29413 maybe-pdf-libtermcap:
29414 @if libtermcap
29415 maybe-pdf-libtermcap: pdf-libtermcap
29417 pdf-libtermcap: \
29418 configure-libtermcap
29419 @: $(MAKE); $(unstage)
29420 @[ -f ./libtermcap/Makefile ] || exit 0; \
29421 r=`${PWD_COMMAND}`; export r; \
29422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29423 $(HOST_EXPORTS) \
29424 for flag in $(EXTRA_HOST_FLAGS) ; do \
29425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29426 done; \
29427 echo "Doing pdf in libtermcap" ; \
29428 (cd $(HOST_SUBDIR)/libtermcap && \
29429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29431 "RANLIB=$${RANLIB}" \
29432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29433 pdf) \
29434 || exit 1
29436 @endif libtermcap
29438 .PHONY: maybe-html-libtermcap html-libtermcap
29439 maybe-html-libtermcap:
29440 @if libtermcap
29441 maybe-html-libtermcap: html-libtermcap
29443 html-libtermcap: \
29444 configure-libtermcap
29445 @: $(MAKE); $(unstage)
29446 @[ -f ./libtermcap/Makefile ] || exit 0; \
29447 r=`${PWD_COMMAND}`; export r; \
29448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29449 $(HOST_EXPORTS) \
29450 for flag in $(EXTRA_HOST_FLAGS) ; do \
29451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29452 done; \
29453 echo "Doing html in libtermcap" ; \
29454 (cd $(HOST_SUBDIR)/libtermcap && \
29455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29457 "RANLIB=$${RANLIB}" \
29458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29459 html) \
29460 || exit 1
29462 @endif libtermcap
29464 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
29465 maybe-TAGS-libtermcap:
29466 @if libtermcap
29467 maybe-TAGS-libtermcap: TAGS-libtermcap
29469 TAGS-libtermcap: \
29470 configure-libtermcap
29471 @: $(MAKE); $(unstage)
29472 @[ -f ./libtermcap/Makefile ] || exit 0; \
29473 r=`${PWD_COMMAND}`; export r; \
29474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29475 $(HOST_EXPORTS) \
29476 for flag in $(EXTRA_HOST_FLAGS) ; do \
29477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29478 done; \
29479 echo "Doing TAGS in libtermcap" ; \
29480 (cd $(HOST_SUBDIR)/libtermcap && \
29481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29483 "RANLIB=$${RANLIB}" \
29484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29485 TAGS) \
29486 || exit 1
29488 @endif libtermcap
29490 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
29491 maybe-install-info-libtermcap:
29492 @if libtermcap
29493 maybe-install-info-libtermcap: install-info-libtermcap
29495 install-info-libtermcap: \
29496 configure-libtermcap \
29497 info-libtermcap
29498 @: $(MAKE); $(unstage)
29499 @[ -f ./libtermcap/Makefile ] || exit 0; \
29500 r=`${PWD_COMMAND}`; export r; \
29501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29502 $(HOST_EXPORTS) \
29503 for flag in $(EXTRA_HOST_FLAGS) ; do \
29504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29505 done; \
29506 echo "Doing install-info in libtermcap" ; \
29507 (cd $(HOST_SUBDIR)/libtermcap && \
29508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29510 "RANLIB=$${RANLIB}" \
29511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29512 install-info) \
29513 || exit 1
29515 @endif libtermcap
29517 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
29518 maybe-install-pdf-libtermcap:
29519 @if libtermcap
29520 maybe-install-pdf-libtermcap: install-pdf-libtermcap
29522 install-pdf-libtermcap: \
29523 configure-libtermcap \
29524 pdf-libtermcap
29525 @: $(MAKE); $(unstage)
29526 @[ -f ./libtermcap/Makefile ] || exit 0; \
29527 r=`${PWD_COMMAND}`; export r; \
29528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29529 $(HOST_EXPORTS) \
29530 for flag in $(EXTRA_HOST_FLAGS) ; do \
29531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29532 done; \
29533 echo "Doing install-pdf in libtermcap" ; \
29534 (cd $(HOST_SUBDIR)/libtermcap && \
29535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29537 "RANLIB=$${RANLIB}" \
29538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29539 install-pdf) \
29540 || exit 1
29542 @endif libtermcap
29544 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
29545 maybe-install-html-libtermcap:
29546 @if libtermcap
29547 maybe-install-html-libtermcap: install-html-libtermcap
29549 install-html-libtermcap: \
29550 configure-libtermcap \
29551 html-libtermcap
29552 @: $(MAKE); $(unstage)
29553 @[ -f ./libtermcap/Makefile ] || exit 0; \
29554 r=`${PWD_COMMAND}`; export r; \
29555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29556 $(HOST_EXPORTS) \
29557 for flag in $(EXTRA_HOST_FLAGS) ; do \
29558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29559 done; \
29560 echo "Doing install-html in libtermcap" ; \
29561 (cd $(HOST_SUBDIR)/libtermcap && \
29562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29564 "RANLIB=$${RANLIB}" \
29565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29566 install-html) \
29567 || exit 1
29569 @endif libtermcap
29571 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
29572 maybe-installcheck-libtermcap:
29573 @if libtermcap
29574 maybe-installcheck-libtermcap: installcheck-libtermcap
29576 installcheck-libtermcap: \
29577 configure-libtermcap
29578 @: $(MAKE); $(unstage)
29579 @[ -f ./libtermcap/Makefile ] || exit 0; \
29580 r=`${PWD_COMMAND}`; export r; \
29581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29582 $(HOST_EXPORTS) \
29583 for flag in $(EXTRA_HOST_FLAGS) ; do \
29584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29585 done; \
29586 echo "Doing installcheck in libtermcap" ; \
29587 (cd $(HOST_SUBDIR)/libtermcap && \
29588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29590 "RANLIB=$${RANLIB}" \
29591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29592 installcheck) \
29593 || exit 1
29595 @endif libtermcap
29597 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
29598 maybe-mostlyclean-libtermcap:
29599 @if libtermcap
29600 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
29602 # libtermcap doesn't support mostlyclean.
29603 mostlyclean-libtermcap:
29605 @endif libtermcap
29607 .PHONY: maybe-clean-libtermcap clean-libtermcap
29608 maybe-clean-libtermcap:
29609 @if libtermcap
29610 maybe-clean-libtermcap: clean-libtermcap
29612 # libtermcap doesn't support clean.
29613 clean-libtermcap:
29615 @endif libtermcap
29617 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
29618 maybe-distclean-libtermcap:
29619 @if libtermcap
29620 maybe-distclean-libtermcap: distclean-libtermcap
29622 # libtermcap doesn't support distclean.
29623 distclean-libtermcap:
29625 @endif libtermcap
29627 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
29628 maybe-maintainer-clean-libtermcap:
29629 @if libtermcap
29630 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
29632 # libtermcap doesn't support maintainer-clean.
29633 maintainer-clean-libtermcap:
29635 @endif libtermcap
29639 .PHONY: configure-utils maybe-configure-utils
29640 maybe-configure-utils:
29641 @if gcc-bootstrap
29642 configure-utils: stage_current
29643 @endif gcc-bootstrap
29644 @if utils
29645 maybe-configure-utils: configure-utils
29646 configure-utils:
29647 @: $(MAKE); $(unstage)
29648 @r=`${PWD_COMMAND}`; export r; \
29649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29650 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
29651 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
29652 $(HOST_EXPORTS) \
29653 echo Configuring in $(HOST_SUBDIR)/utils; \
29654 cd "$(HOST_SUBDIR)/utils" || exit 1; \
29655 case $(srcdir) in \
29656 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29657 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
29658 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29659 esac; \
29660 module_srcdir=utils; \
29661 $(SHELL) \
29662 $$s/$$module_srcdir/configure \
29663 --srcdir=$${topdir}/$$module_srcdir \
29664 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29665 --target=${target_alias} \
29666 || exit 1
29667 @endif utils
29673 .PHONY: all-utils maybe-all-utils
29674 maybe-all-utils:
29675 @if gcc-bootstrap
29676 all-utils: stage_current
29677 @endif gcc-bootstrap
29678 @if utils
29679 TARGET-utils=all
29680 maybe-all-utils: all-utils
29681 all-utils: configure-utils
29682 @: $(MAKE); $(unstage)
29683 @r=`${PWD_COMMAND}`; export r; \
29684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29685 $(HOST_EXPORTS) \
29686 (cd $(HOST_SUBDIR)/utils && \
29687 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29688 $(TARGET-utils))
29689 @endif utils
29694 .PHONY: check-utils maybe-check-utils
29695 maybe-check-utils:
29696 @if utils
29697 maybe-check-utils: check-utils
29699 check-utils:
29701 @endif utils
29703 .PHONY: install-utils maybe-install-utils
29704 maybe-install-utils:
29705 @if utils
29706 maybe-install-utils: install-utils
29708 install-utils: installdirs
29709 @: $(MAKE); $(unstage)
29710 @r=`${PWD_COMMAND}`; export r; \
29711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29712 $(HOST_EXPORTS) \
29713 (cd $(HOST_SUBDIR)/utils && \
29714 $(MAKE) $(FLAGS_TO_PASS) install)
29716 @endif utils
29718 .PHONY: install-strip-utils maybe-install-strip-utils
29719 maybe-install-strip-utils:
29720 @if utils
29721 maybe-install-strip-utils: install-strip-utils
29723 install-strip-utils: installdirs
29724 @: $(MAKE); $(unstage)
29725 @r=`${PWD_COMMAND}`; export r; \
29726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29727 $(HOST_EXPORTS) \
29728 (cd $(HOST_SUBDIR)/utils && \
29729 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29731 @endif utils
29733 # Other targets (info, dvi, pdf, etc.)
29735 .PHONY: maybe-info-utils info-utils
29736 maybe-info-utils:
29737 @if utils
29738 maybe-info-utils: info-utils
29740 info-utils: \
29741 configure-utils
29742 @: $(MAKE); $(unstage)
29743 @[ -f ./utils/Makefile ] || exit 0; \
29744 r=`${PWD_COMMAND}`; export r; \
29745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29746 $(HOST_EXPORTS) \
29747 for flag in $(EXTRA_HOST_FLAGS) ; do \
29748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29749 done; \
29750 echo "Doing info in utils" ; \
29751 (cd $(HOST_SUBDIR)/utils && \
29752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29754 "RANLIB=$${RANLIB}" \
29755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29756 info) \
29757 || exit 1
29759 @endif utils
29761 .PHONY: maybe-dvi-utils dvi-utils
29762 maybe-dvi-utils:
29763 @if utils
29764 maybe-dvi-utils: dvi-utils
29766 dvi-utils: \
29767 configure-utils
29768 @: $(MAKE); $(unstage)
29769 @[ -f ./utils/Makefile ] || exit 0; \
29770 r=`${PWD_COMMAND}`; export r; \
29771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29772 $(HOST_EXPORTS) \
29773 for flag in $(EXTRA_HOST_FLAGS) ; do \
29774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29775 done; \
29776 echo "Doing dvi in utils" ; \
29777 (cd $(HOST_SUBDIR)/utils && \
29778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29780 "RANLIB=$${RANLIB}" \
29781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29782 dvi) \
29783 || exit 1
29785 @endif utils
29787 .PHONY: maybe-pdf-utils pdf-utils
29788 maybe-pdf-utils:
29789 @if utils
29790 maybe-pdf-utils: pdf-utils
29792 pdf-utils: \
29793 configure-utils
29794 @: $(MAKE); $(unstage)
29795 @[ -f ./utils/Makefile ] || exit 0; \
29796 r=`${PWD_COMMAND}`; export r; \
29797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29798 $(HOST_EXPORTS) \
29799 for flag in $(EXTRA_HOST_FLAGS) ; do \
29800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29801 done; \
29802 echo "Doing pdf in utils" ; \
29803 (cd $(HOST_SUBDIR)/utils && \
29804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29806 "RANLIB=$${RANLIB}" \
29807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29808 pdf) \
29809 || exit 1
29811 @endif utils
29813 .PHONY: maybe-html-utils html-utils
29814 maybe-html-utils:
29815 @if utils
29816 maybe-html-utils: html-utils
29818 html-utils: \
29819 configure-utils
29820 @: $(MAKE); $(unstage)
29821 @[ -f ./utils/Makefile ] || exit 0; \
29822 r=`${PWD_COMMAND}`; export r; \
29823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29824 $(HOST_EXPORTS) \
29825 for flag in $(EXTRA_HOST_FLAGS) ; do \
29826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29827 done; \
29828 echo "Doing html in utils" ; \
29829 (cd $(HOST_SUBDIR)/utils && \
29830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29832 "RANLIB=$${RANLIB}" \
29833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29834 html) \
29835 || exit 1
29837 @endif utils
29839 .PHONY: maybe-TAGS-utils TAGS-utils
29840 maybe-TAGS-utils:
29841 @if utils
29842 maybe-TAGS-utils: TAGS-utils
29844 TAGS-utils: \
29845 configure-utils
29846 @: $(MAKE); $(unstage)
29847 @[ -f ./utils/Makefile ] || exit 0; \
29848 r=`${PWD_COMMAND}`; export r; \
29849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29850 $(HOST_EXPORTS) \
29851 for flag in $(EXTRA_HOST_FLAGS) ; do \
29852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29853 done; \
29854 echo "Doing TAGS in utils" ; \
29855 (cd $(HOST_SUBDIR)/utils && \
29856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29858 "RANLIB=$${RANLIB}" \
29859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29860 TAGS) \
29861 || exit 1
29863 @endif utils
29865 .PHONY: maybe-install-info-utils install-info-utils
29866 maybe-install-info-utils:
29867 @if utils
29868 maybe-install-info-utils: install-info-utils
29870 install-info-utils: \
29871 configure-utils \
29872 info-utils
29873 @: $(MAKE); $(unstage)
29874 @[ -f ./utils/Makefile ] || exit 0; \
29875 r=`${PWD_COMMAND}`; export r; \
29876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29877 $(HOST_EXPORTS) \
29878 for flag in $(EXTRA_HOST_FLAGS) ; do \
29879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29880 done; \
29881 echo "Doing install-info in utils" ; \
29882 (cd $(HOST_SUBDIR)/utils && \
29883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29885 "RANLIB=$${RANLIB}" \
29886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29887 install-info) \
29888 || exit 1
29890 @endif utils
29892 .PHONY: maybe-install-pdf-utils install-pdf-utils
29893 maybe-install-pdf-utils:
29894 @if utils
29895 maybe-install-pdf-utils: install-pdf-utils
29897 install-pdf-utils: \
29898 configure-utils \
29899 pdf-utils
29900 @: $(MAKE); $(unstage)
29901 @[ -f ./utils/Makefile ] || exit 0; \
29902 r=`${PWD_COMMAND}`; export r; \
29903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29904 $(HOST_EXPORTS) \
29905 for flag in $(EXTRA_HOST_FLAGS) ; do \
29906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29907 done; \
29908 echo "Doing install-pdf in utils" ; \
29909 (cd $(HOST_SUBDIR)/utils && \
29910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29912 "RANLIB=$${RANLIB}" \
29913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29914 install-pdf) \
29915 || exit 1
29917 @endif utils
29919 .PHONY: maybe-install-html-utils install-html-utils
29920 maybe-install-html-utils:
29921 @if utils
29922 maybe-install-html-utils: install-html-utils
29924 install-html-utils: \
29925 configure-utils \
29926 html-utils
29927 @: $(MAKE); $(unstage)
29928 @[ -f ./utils/Makefile ] || exit 0; \
29929 r=`${PWD_COMMAND}`; export r; \
29930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29931 $(HOST_EXPORTS) \
29932 for flag in $(EXTRA_HOST_FLAGS) ; do \
29933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29934 done; \
29935 echo "Doing install-html in utils" ; \
29936 (cd $(HOST_SUBDIR)/utils && \
29937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29939 "RANLIB=$${RANLIB}" \
29940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29941 install-html) \
29942 || exit 1
29944 @endif utils
29946 .PHONY: maybe-installcheck-utils installcheck-utils
29947 maybe-installcheck-utils:
29948 @if utils
29949 maybe-installcheck-utils: installcheck-utils
29951 installcheck-utils: \
29952 configure-utils
29953 @: $(MAKE); $(unstage)
29954 @[ -f ./utils/Makefile ] || exit 0; \
29955 r=`${PWD_COMMAND}`; export r; \
29956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29957 $(HOST_EXPORTS) \
29958 for flag in $(EXTRA_HOST_FLAGS) ; do \
29959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29960 done; \
29961 echo "Doing installcheck in utils" ; \
29962 (cd $(HOST_SUBDIR)/utils && \
29963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29965 "RANLIB=$${RANLIB}" \
29966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29967 installcheck) \
29968 || exit 1
29970 @endif utils
29972 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
29973 maybe-mostlyclean-utils:
29974 @if utils
29975 maybe-mostlyclean-utils: mostlyclean-utils
29977 mostlyclean-utils:
29978 @: $(MAKE); $(unstage)
29979 @[ -f ./utils/Makefile ] || exit 0; \
29980 r=`${PWD_COMMAND}`; export r; \
29981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29982 $(HOST_EXPORTS) \
29983 for flag in $(EXTRA_HOST_FLAGS) ; do \
29984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29985 done; \
29986 echo "Doing mostlyclean in utils" ; \
29987 (cd $(HOST_SUBDIR)/utils && \
29988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29990 "RANLIB=$${RANLIB}" \
29991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29992 mostlyclean) \
29993 || exit 1
29995 @endif utils
29997 .PHONY: maybe-clean-utils clean-utils
29998 maybe-clean-utils:
29999 @if utils
30000 maybe-clean-utils: clean-utils
30002 clean-utils:
30003 @: $(MAKE); $(unstage)
30004 @[ -f ./utils/Makefile ] || exit 0; \
30005 r=`${PWD_COMMAND}`; export r; \
30006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30007 $(HOST_EXPORTS) \
30008 for flag in $(EXTRA_HOST_FLAGS) ; do \
30009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30010 done; \
30011 echo "Doing clean in utils" ; \
30012 (cd $(HOST_SUBDIR)/utils && \
30013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30015 "RANLIB=$${RANLIB}" \
30016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30017 clean) \
30018 || exit 1
30020 @endif utils
30022 .PHONY: maybe-distclean-utils distclean-utils
30023 maybe-distclean-utils:
30024 @if utils
30025 maybe-distclean-utils: distclean-utils
30027 distclean-utils:
30028 @: $(MAKE); $(unstage)
30029 @[ -f ./utils/Makefile ] || exit 0; \
30030 r=`${PWD_COMMAND}`; export r; \
30031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30032 $(HOST_EXPORTS) \
30033 for flag in $(EXTRA_HOST_FLAGS) ; do \
30034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30035 done; \
30036 echo "Doing distclean in utils" ; \
30037 (cd $(HOST_SUBDIR)/utils && \
30038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30040 "RANLIB=$${RANLIB}" \
30041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30042 distclean) \
30043 || exit 1
30045 @endif utils
30047 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
30048 maybe-maintainer-clean-utils:
30049 @if utils
30050 maybe-maintainer-clean-utils: maintainer-clean-utils
30052 maintainer-clean-utils:
30053 @: $(MAKE); $(unstage)
30054 @[ -f ./utils/Makefile ] || exit 0; \
30055 r=`${PWD_COMMAND}`; export r; \
30056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30057 $(HOST_EXPORTS) \
30058 for flag in $(EXTRA_HOST_FLAGS) ; do \
30059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30060 done; \
30061 echo "Doing maintainer-clean in utils" ; \
30062 (cd $(HOST_SUBDIR)/utils && \
30063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30065 "RANLIB=$${RANLIB}" \
30066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30067 maintainer-clean) \
30068 || exit 1
30070 @endif utils
30074 .PHONY: configure-gnattools maybe-configure-gnattools
30075 maybe-configure-gnattools:
30076 @if gcc-bootstrap
30077 configure-gnattools: stage_current
30078 @endif gcc-bootstrap
30079 @if gnattools
30080 maybe-configure-gnattools: configure-gnattools
30081 configure-gnattools:
30082 @: $(MAKE); $(unstage)
30083 @r=`${PWD_COMMAND}`; export r; \
30084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30085 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
30086 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
30087 $(HOST_EXPORTS) \
30088 echo Configuring in $(HOST_SUBDIR)/gnattools; \
30089 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
30090 case $(srcdir) in \
30091 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30092 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
30093 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30094 esac; \
30095 module_srcdir=gnattools; \
30096 $(SHELL) \
30097 $$s/$$module_srcdir/configure \
30098 --srcdir=$${topdir}/$$module_srcdir \
30099 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30100 --target=${target_alias} \
30101 || exit 1
30102 @endif gnattools
30108 .PHONY: all-gnattools maybe-all-gnattools
30109 maybe-all-gnattools:
30110 @if gcc-bootstrap
30111 all-gnattools: stage_current
30112 @endif gcc-bootstrap
30113 @if gnattools
30114 TARGET-gnattools=all
30115 maybe-all-gnattools: all-gnattools
30116 all-gnattools: configure-gnattools
30117 @: $(MAKE); $(unstage)
30118 @r=`${PWD_COMMAND}`; export r; \
30119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30120 $(HOST_EXPORTS) \
30121 (cd $(HOST_SUBDIR)/gnattools && \
30122 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30123 $(TARGET-gnattools))
30124 @endif gnattools
30129 .PHONY: check-gnattools maybe-check-gnattools
30130 maybe-check-gnattools:
30131 @if gnattools
30132 maybe-check-gnattools: check-gnattools
30134 check-gnattools:
30135 @: $(MAKE); $(unstage)
30136 @r=`${PWD_COMMAND}`; export r; \
30137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30138 $(HOST_EXPORTS) \
30139 (cd $(HOST_SUBDIR)/gnattools && \
30140 $(MAKE) $(FLAGS_TO_PASS) check)
30142 @endif gnattools
30144 .PHONY: install-gnattools maybe-install-gnattools
30145 maybe-install-gnattools:
30146 @if gnattools
30147 maybe-install-gnattools: install-gnattools
30149 install-gnattools: installdirs
30150 @: $(MAKE); $(unstage)
30151 @r=`${PWD_COMMAND}`; export r; \
30152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30153 $(HOST_EXPORTS) \
30154 (cd $(HOST_SUBDIR)/gnattools && \
30155 $(MAKE) $(FLAGS_TO_PASS) install)
30157 @endif gnattools
30159 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
30160 maybe-install-strip-gnattools:
30161 @if gnattools
30162 maybe-install-strip-gnattools: install-strip-gnattools
30164 install-strip-gnattools: installdirs
30165 @: $(MAKE); $(unstage)
30166 @r=`${PWD_COMMAND}`; export r; \
30167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30168 $(HOST_EXPORTS) \
30169 (cd $(HOST_SUBDIR)/gnattools && \
30170 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30172 @endif gnattools
30174 # Other targets (info, dvi, pdf, etc.)
30176 .PHONY: maybe-info-gnattools info-gnattools
30177 maybe-info-gnattools:
30178 @if gnattools
30179 maybe-info-gnattools: info-gnattools
30181 info-gnattools: \
30182 configure-gnattools
30183 @: $(MAKE); $(unstage)
30184 @[ -f ./gnattools/Makefile ] || exit 0; \
30185 r=`${PWD_COMMAND}`; export r; \
30186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30187 $(HOST_EXPORTS) \
30188 for flag in $(EXTRA_HOST_FLAGS) ; do \
30189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30190 done; \
30191 echo "Doing info in gnattools" ; \
30192 (cd $(HOST_SUBDIR)/gnattools && \
30193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30195 "RANLIB=$${RANLIB}" \
30196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30197 info) \
30198 || exit 1
30200 @endif gnattools
30202 .PHONY: maybe-dvi-gnattools dvi-gnattools
30203 maybe-dvi-gnattools:
30204 @if gnattools
30205 maybe-dvi-gnattools: dvi-gnattools
30207 dvi-gnattools: \
30208 configure-gnattools
30209 @: $(MAKE); $(unstage)
30210 @[ -f ./gnattools/Makefile ] || exit 0; \
30211 r=`${PWD_COMMAND}`; export r; \
30212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30213 $(HOST_EXPORTS) \
30214 for flag in $(EXTRA_HOST_FLAGS) ; do \
30215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30216 done; \
30217 echo "Doing dvi in gnattools" ; \
30218 (cd $(HOST_SUBDIR)/gnattools && \
30219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30221 "RANLIB=$${RANLIB}" \
30222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30223 dvi) \
30224 || exit 1
30226 @endif gnattools
30228 .PHONY: maybe-pdf-gnattools pdf-gnattools
30229 maybe-pdf-gnattools:
30230 @if gnattools
30231 maybe-pdf-gnattools: pdf-gnattools
30233 pdf-gnattools: \
30234 configure-gnattools
30235 @: $(MAKE); $(unstage)
30236 @[ -f ./gnattools/Makefile ] || exit 0; \
30237 r=`${PWD_COMMAND}`; export r; \
30238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30239 $(HOST_EXPORTS) \
30240 for flag in $(EXTRA_HOST_FLAGS) ; do \
30241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30242 done; \
30243 echo "Doing pdf in gnattools" ; \
30244 (cd $(HOST_SUBDIR)/gnattools && \
30245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30247 "RANLIB=$${RANLIB}" \
30248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30249 pdf) \
30250 || exit 1
30252 @endif gnattools
30254 .PHONY: maybe-html-gnattools html-gnattools
30255 maybe-html-gnattools:
30256 @if gnattools
30257 maybe-html-gnattools: html-gnattools
30259 html-gnattools: \
30260 configure-gnattools
30261 @: $(MAKE); $(unstage)
30262 @[ -f ./gnattools/Makefile ] || exit 0; \
30263 r=`${PWD_COMMAND}`; export r; \
30264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30265 $(HOST_EXPORTS) \
30266 for flag in $(EXTRA_HOST_FLAGS) ; do \
30267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30268 done; \
30269 echo "Doing html in gnattools" ; \
30270 (cd $(HOST_SUBDIR)/gnattools && \
30271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30273 "RANLIB=$${RANLIB}" \
30274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30275 html) \
30276 || exit 1
30278 @endif gnattools
30280 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
30281 maybe-TAGS-gnattools:
30282 @if gnattools
30283 maybe-TAGS-gnattools: TAGS-gnattools
30285 TAGS-gnattools: \
30286 configure-gnattools
30287 @: $(MAKE); $(unstage)
30288 @[ -f ./gnattools/Makefile ] || exit 0; \
30289 r=`${PWD_COMMAND}`; export r; \
30290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30291 $(HOST_EXPORTS) \
30292 for flag in $(EXTRA_HOST_FLAGS) ; do \
30293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30294 done; \
30295 echo "Doing TAGS in gnattools" ; \
30296 (cd $(HOST_SUBDIR)/gnattools && \
30297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30299 "RANLIB=$${RANLIB}" \
30300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30301 TAGS) \
30302 || exit 1
30304 @endif gnattools
30306 .PHONY: maybe-install-info-gnattools install-info-gnattools
30307 maybe-install-info-gnattools:
30308 @if gnattools
30309 maybe-install-info-gnattools: install-info-gnattools
30311 install-info-gnattools: \
30312 configure-gnattools \
30313 info-gnattools
30314 @: $(MAKE); $(unstage)
30315 @[ -f ./gnattools/Makefile ] || exit 0; \
30316 r=`${PWD_COMMAND}`; export r; \
30317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30318 $(HOST_EXPORTS) \
30319 for flag in $(EXTRA_HOST_FLAGS) ; do \
30320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30321 done; \
30322 echo "Doing install-info in gnattools" ; \
30323 (cd $(HOST_SUBDIR)/gnattools && \
30324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30326 "RANLIB=$${RANLIB}" \
30327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30328 install-info) \
30329 || exit 1
30331 @endif gnattools
30333 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
30334 maybe-install-pdf-gnattools:
30335 @if gnattools
30336 maybe-install-pdf-gnattools: install-pdf-gnattools
30338 install-pdf-gnattools: \
30339 configure-gnattools \
30340 pdf-gnattools
30341 @: $(MAKE); $(unstage)
30342 @[ -f ./gnattools/Makefile ] || exit 0; \
30343 r=`${PWD_COMMAND}`; export r; \
30344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30345 $(HOST_EXPORTS) \
30346 for flag in $(EXTRA_HOST_FLAGS) ; do \
30347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30348 done; \
30349 echo "Doing install-pdf in gnattools" ; \
30350 (cd $(HOST_SUBDIR)/gnattools && \
30351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30353 "RANLIB=$${RANLIB}" \
30354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30355 install-pdf) \
30356 || exit 1
30358 @endif gnattools
30360 .PHONY: maybe-install-html-gnattools install-html-gnattools
30361 maybe-install-html-gnattools:
30362 @if gnattools
30363 maybe-install-html-gnattools: install-html-gnattools
30365 install-html-gnattools: \
30366 configure-gnattools \
30367 html-gnattools
30368 @: $(MAKE); $(unstage)
30369 @[ -f ./gnattools/Makefile ] || exit 0; \
30370 r=`${PWD_COMMAND}`; export r; \
30371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30372 $(HOST_EXPORTS) \
30373 for flag in $(EXTRA_HOST_FLAGS) ; do \
30374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30375 done; \
30376 echo "Doing install-html in gnattools" ; \
30377 (cd $(HOST_SUBDIR)/gnattools && \
30378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30380 "RANLIB=$${RANLIB}" \
30381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30382 install-html) \
30383 || exit 1
30385 @endif gnattools
30387 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
30388 maybe-installcheck-gnattools:
30389 @if gnattools
30390 maybe-installcheck-gnattools: installcheck-gnattools
30392 installcheck-gnattools: \
30393 configure-gnattools
30394 @: $(MAKE); $(unstage)
30395 @[ -f ./gnattools/Makefile ] || exit 0; \
30396 r=`${PWD_COMMAND}`; export r; \
30397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30398 $(HOST_EXPORTS) \
30399 for flag in $(EXTRA_HOST_FLAGS) ; do \
30400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30401 done; \
30402 echo "Doing installcheck in gnattools" ; \
30403 (cd $(HOST_SUBDIR)/gnattools && \
30404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30406 "RANLIB=$${RANLIB}" \
30407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30408 installcheck) \
30409 || exit 1
30411 @endif gnattools
30413 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
30414 maybe-mostlyclean-gnattools:
30415 @if gnattools
30416 maybe-mostlyclean-gnattools: mostlyclean-gnattools
30418 mostlyclean-gnattools:
30419 @: $(MAKE); $(unstage)
30420 @[ -f ./gnattools/Makefile ] || exit 0; \
30421 r=`${PWD_COMMAND}`; export r; \
30422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30423 $(HOST_EXPORTS) \
30424 for flag in $(EXTRA_HOST_FLAGS) ; do \
30425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30426 done; \
30427 echo "Doing mostlyclean in gnattools" ; \
30428 (cd $(HOST_SUBDIR)/gnattools && \
30429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30431 "RANLIB=$${RANLIB}" \
30432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30433 mostlyclean) \
30434 || exit 1
30436 @endif gnattools
30438 .PHONY: maybe-clean-gnattools clean-gnattools
30439 maybe-clean-gnattools:
30440 @if gnattools
30441 maybe-clean-gnattools: clean-gnattools
30443 clean-gnattools:
30444 @: $(MAKE); $(unstage)
30445 @[ -f ./gnattools/Makefile ] || exit 0; \
30446 r=`${PWD_COMMAND}`; export r; \
30447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30448 $(HOST_EXPORTS) \
30449 for flag in $(EXTRA_HOST_FLAGS) ; do \
30450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30451 done; \
30452 echo "Doing clean in gnattools" ; \
30453 (cd $(HOST_SUBDIR)/gnattools && \
30454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30456 "RANLIB=$${RANLIB}" \
30457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30458 clean) \
30459 || exit 1
30461 @endif gnattools
30463 .PHONY: maybe-distclean-gnattools distclean-gnattools
30464 maybe-distclean-gnattools:
30465 @if gnattools
30466 maybe-distclean-gnattools: distclean-gnattools
30468 distclean-gnattools:
30469 @: $(MAKE); $(unstage)
30470 @[ -f ./gnattools/Makefile ] || exit 0; \
30471 r=`${PWD_COMMAND}`; export r; \
30472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30473 $(HOST_EXPORTS) \
30474 for flag in $(EXTRA_HOST_FLAGS) ; do \
30475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30476 done; \
30477 echo "Doing distclean in gnattools" ; \
30478 (cd $(HOST_SUBDIR)/gnattools && \
30479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30481 "RANLIB=$${RANLIB}" \
30482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30483 distclean) \
30484 || exit 1
30486 @endif gnattools
30488 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
30489 maybe-maintainer-clean-gnattools:
30490 @if gnattools
30491 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
30493 maintainer-clean-gnattools:
30494 @: $(MAKE); $(unstage)
30495 @[ -f ./gnattools/Makefile ] || exit 0; \
30496 r=`${PWD_COMMAND}`; export r; \
30497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30498 $(HOST_EXPORTS) \
30499 for flag in $(EXTRA_HOST_FLAGS) ; do \
30500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30501 done; \
30502 echo "Doing maintainer-clean in gnattools" ; \
30503 (cd $(HOST_SUBDIR)/gnattools && \
30504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30506 "RANLIB=$${RANLIB}" \
30507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30508 maintainer-clean) \
30509 || exit 1
30511 @endif gnattools
30515 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
30516 maybe-configure-lto-plugin:
30517 @if gcc-bootstrap
30518 configure-lto-plugin: stage_current
30519 @endif gcc-bootstrap
30520 @if lto-plugin
30521 maybe-configure-lto-plugin: configure-lto-plugin
30522 configure-lto-plugin:
30523 @r=`${PWD_COMMAND}`; export r; \
30524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30525 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30526 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30527 $(HOST_EXPORTS) \
30528 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
30529 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
30530 case $(srcdir) in \
30531 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30532 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30533 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30534 esac; \
30535 module_srcdir=lto-plugin; \
30536 $(SHELL) \
30537 $$s/$$module_srcdir/configure \
30538 --srcdir=$${topdir}/$$module_srcdir \
30539 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30540 --target=${target_alias} --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
30541 || exit 1
30542 @endif lto-plugin
30546 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
30547 maybe-configure-stage1-lto-plugin:
30548 @if lto-plugin-bootstrap
30549 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
30550 configure-stage1-lto-plugin:
30551 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30552 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30553 @r=`${PWD_COMMAND}`; export r; \
30554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30555 TFLAGS="$(STAGE1_TFLAGS)"; \
30556 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30557 $(HOST_EXPORTS) \
30558 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
30559 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
30560 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
30561 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin ; \
30562 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30563 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30564 case $(srcdir) in \
30565 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30566 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30567 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30568 esac; \
30569 module_srcdir=lto-plugin; \
30570 $(SHELL) $$s/$$module_srcdir/configure \
30571 --srcdir=$${topdir}/$$module_srcdir \
30572 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30573 --target=${target_alias} \
30575 $(STAGE1_CONFIGURE_FLAGS) \
30576 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
30577 @endif lto-plugin-bootstrap
30579 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
30580 maybe-configure-stage2-lto-plugin:
30581 @if lto-plugin-bootstrap
30582 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
30583 configure-stage2-lto-plugin:
30584 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30585 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30586 @r=`${PWD_COMMAND}`; export r; \
30587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30588 TFLAGS="$(STAGE2_TFLAGS)"; \
30589 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30590 $(HOST_EXPORTS) \
30591 $(POSTSTAGE1_HOST_EXPORTS) \
30592 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
30593 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
30594 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
30595 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin ; \
30596 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30597 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30598 case $(srcdir) in \
30599 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30600 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30601 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30602 esac; \
30603 module_srcdir=lto-plugin; \
30604 $(SHELL) $$s/$$module_srcdir/configure \
30605 --srcdir=$${topdir}/$$module_srcdir \
30606 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30607 --target=${target_alias} \
30608 --with-build-libsubdir=$(HOST_SUBDIR) \
30609 $(STAGE2_CONFIGURE_FLAGS) \
30610 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
30611 @endif lto-plugin-bootstrap
30613 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
30614 maybe-configure-stage3-lto-plugin:
30615 @if lto-plugin-bootstrap
30616 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
30617 configure-stage3-lto-plugin:
30618 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30619 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30620 @r=`${PWD_COMMAND}`; export r; \
30621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30622 TFLAGS="$(STAGE3_TFLAGS)"; \
30623 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30624 $(HOST_EXPORTS) \
30625 $(POSTSTAGE1_HOST_EXPORTS) \
30626 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
30627 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
30628 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
30629 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin ; \
30630 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30631 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30632 case $(srcdir) in \
30633 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30634 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30635 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30636 esac; \
30637 module_srcdir=lto-plugin; \
30638 $(SHELL) $$s/$$module_srcdir/configure \
30639 --srcdir=$${topdir}/$$module_srcdir \
30640 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30641 --target=${target_alias} \
30642 --with-build-libsubdir=$(HOST_SUBDIR) \
30643 $(STAGE3_CONFIGURE_FLAGS) \
30644 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
30645 @endif lto-plugin-bootstrap
30647 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
30648 maybe-configure-stage4-lto-plugin:
30649 @if lto-plugin-bootstrap
30650 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
30651 configure-stage4-lto-plugin:
30652 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30653 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30654 @r=`${PWD_COMMAND}`; export r; \
30655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30656 TFLAGS="$(STAGE4_TFLAGS)"; \
30657 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30658 $(HOST_EXPORTS) \
30659 $(POSTSTAGE1_HOST_EXPORTS) \
30660 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
30661 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
30662 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
30663 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin ; \
30664 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30665 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30666 case $(srcdir) in \
30667 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30668 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30669 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30670 esac; \
30671 module_srcdir=lto-plugin; \
30672 $(SHELL) $$s/$$module_srcdir/configure \
30673 --srcdir=$${topdir}/$$module_srcdir \
30674 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30675 --target=${target_alias} \
30676 --with-build-libsubdir=$(HOST_SUBDIR) \
30677 $(STAGE4_CONFIGURE_FLAGS) \
30678 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
30679 @endif lto-plugin-bootstrap
30681 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
30682 maybe-configure-stageprofile-lto-plugin:
30683 @if lto-plugin-bootstrap
30684 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
30685 configure-stageprofile-lto-plugin:
30686 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30687 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30688 @r=`${PWD_COMMAND}`; export r; \
30689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30690 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30691 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30692 $(HOST_EXPORTS) \
30693 $(POSTSTAGE1_HOST_EXPORTS) \
30694 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
30695 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
30696 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
30697 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin ; \
30698 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30699 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30700 case $(srcdir) in \
30701 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30702 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30703 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30704 esac; \
30705 module_srcdir=lto-plugin; \
30706 $(SHELL) $$s/$$module_srcdir/configure \
30707 --srcdir=$${topdir}/$$module_srcdir \
30708 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30709 --target=${target_alias} \
30710 --with-build-libsubdir=$(HOST_SUBDIR) \
30711 $(STAGEprofile_CONFIGURE_FLAGS) \
30712 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
30713 @endif lto-plugin-bootstrap
30715 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
30716 maybe-configure-stagefeedback-lto-plugin:
30717 @if lto-plugin-bootstrap
30718 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
30719 configure-stagefeedback-lto-plugin:
30720 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30721 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30722 @r=`${PWD_COMMAND}`; export r; \
30723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30724 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30725 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30726 $(HOST_EXPORTS) \
30727 $(POSTSTAGE1_HOST_EXPORTS) \
30728 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
30729 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
30730 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
30731 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin ; \
30732 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30733 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30734 case $(srcdir) in \
30735 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30736 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30737 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30738 esac; \
30739 module_srcdir=lto-plugin; \
30740 $(SHELL) $$s/$$module_srcdir/configure \
30741 --srcdir=$${topdir}/$$module_srcdir \
30742 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30743 --target=${target_alias} \
30744 --with-build-libsubdir=$(HOST_SUBDIR) \
30745 $(STAGEfeedback_CONFIGURE_FLAGS) \
30746 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
30747 @endif lto-plugin-bootstrap
30753 .PHONY: all-lto-plugin maybe-all-lto-plugin
30754 maybe-all-lto-plugin:
30755 @if gcc-bootstrap
30756 all-lto-plugin: stage_current
30757 @endif gcc-bootstrap
30758 @if lto-plugin
30759 TARGET-lto-plugin=all
30760 maybe-all-lto-plugin: all-lto-plugin
30761 all-lto-plugin: configure-lto-plugin
30762 @r=`${PWD_COMMAND}`; export r; \
30763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30764 $(HOST_EXPORTS) \
30765 (cd $(HOST_SUBDIR)/lto-plugin && \
30766 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30767 $(TARGET-lto-plugin))
30768 @endif lto-plugin
30772 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
30773 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
30774 maybe-all-stage1-lto-plugin:
30775 maybe-clean-stage1-lto-plugin:
30776 @if lto-plugin-bootstrap
30777 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
30778 all-stage1: all-stage1-lto-plugin
30779 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
30780 all-stage1-lto-plugin: configure-stage1-lto-plugin
30781 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30782 @r=`${PWD_COMMAND}`; export r; \
30783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30784 TFLAGS="$(STAGE1_TFLAGS)"; \
30785 $(HOST_EXPORTS) \
30786 cd $(HOST_SUBDIR)/lto-plugin && \
30787 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30788 CFLAGS="$(STAGE1_CFLAGS)" \
30789 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
30790 LIBCFLAGS="$(LIBCFLAGS)" \
30791 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30792 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30793 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30794 $(EXTRA_HOST_FLAGS) \
30795 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30796 TFLAGS="$(STAGE1_TFLAGS)" \
30797 $(TARGET-stage1-lto-plugin)
30799 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
30800 clean-stage1: clean-stage1-lto-plugin
30801 clean-stage1-lto-plugin:
30802 @if [ $(current_stage) = stage1 ]; then \
30803 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30804 else \
30805 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
30806 $(MAKE) stage1-start; \
30807 fi; \
30808 cd $(HOST_SUBDIR)/lto-plugin && \
30809 $(MAKE) $(EXTRA_HOST_FLAGS) \
30810 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30811 @endif lto-plugin-bootstrap
30814 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
30815 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
30816 maybe-all-stage2-lto-plugin:
30817 maybe-clean-stage2-lto-plugin:
30818 @if lto-plugin-bootstrap
30819 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
30820 all-stage2: all-stage2-lto-plugin
30821 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
30822 all-stage2-lto-plugin: configure-stage2-lto-plugin
30823 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30824 @r=`${PWD_COMMAND}`; export r; \
30825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30826 TFLAGS="$(STAGE2_TFLAGS)"; \
30827 $(HOST_EXPORTS) \
30828 $(POSTSTAGE1_HOST_EXPORTS) \
30829 cd $(HOST_SUBDIR)/lto-plugin && \
30830 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30831 CFLAGS="$(STAGE2_CFLAGS)" \
30832 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
30833 LIBCFLAGS="$(STAGE2_CFLAGS)" \
30834 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30835 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30836 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30837 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30838 TFLAGS="$(STAGE2_TFLAGS)" \
30839 $(TARGET-stage2-lto-plugin)
30841 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
30842 clean-stage2: clean-stage2-lto-plugin
30843 clean-stage2-lto-plugin:
30844 @if [ $(current_stage) = stage2 ]; then \
30845 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30846 else \
30847 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
30848 $(MAKE) stage2-start; \
30849 fi; \
30850 cd $(HOST_SUBDIR)/lto-plugin && \
30851 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30852 @endif lto-plugin-bootstrap
30855 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
30856 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
30857 maybe-all-stage3-lto-plugin:
30858 maybe-clean-stage3-lto-plugin:
30859 @if lto-plugin-bootstrap
30860 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
30861 all-stage3: all-stage3-lto-plugin
30862 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
30863 all-stage3-lto-plugin: configure-stage3-lto-plugin
30864 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30865 @r=`${PWD_COMMAND}`; export r; \
30866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30867 TFLAGS="$(STAGE3_TFLAGS)"; \
30868 $(HOST_EXPORTS) \
30869 $(POSTSTAGE1_HOST_EXPORTS) \
30870 cd $(HOST_SUBDIR)/lto-plugin && \
30871 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30872 CFLAGS="$(STAGE3_CFLAGS)" \
30873 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
30874 LIBCFLAGS="$(STAGE3_CFLAGS)" \
30875 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30876 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30877 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30878 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30879 TFLAGS="$(STAGE3_TFLAGS)" \
30880 $(TARGET-stage3-lto-plugin)
30882 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
30883 clean-stage3: clean-stage3-lto-plugin
30884 clean-stage3-lto-plugin:
30885 @if [ $(current_stage) = stage3 ]; then \
30886 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30887 else \
30888 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
30889 $(MAKE) stage3-start; \
30890 fi; \
30891 cd $(HOST_SUBDIR)/lto-plugin && \
30892 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30893 @endif lto-plugin-bootstrap
30896 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
30897 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
30898 maybe-all-stage4-lto-plugin:
30899 maybe-clean-stage4-lto-plugin:
30900 @if lto-plugin-bootstrap
30901 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
30902 all-stage4: all-stage4-lto-plugin
30903 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
30904 all-stage4-lto-plugin: configure-stage4-lto-plugin
30905 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30906 @r=`${PWD_COMMAND}`; export r; \
30907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30908 TFLAGS="$(STAGE4_TFLAGS)"; \
30909 $(HOST_EXPORTS) \
30910 $(POSTSTAGE1_HOST_EXPORTS) \
30911 cd $(HOST_SUBDIR)/lto-plugin && \
30912 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30913 CFLAGS="$(STAGE4_CFLAGS)" \
30914 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
30915 LIBCFLAGS="$(STAGE4_CFLAGS)" \
30916 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30917 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30918 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30919 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30920 TFLAGS="$(STAGE4_TFLAGS)" \
30921 $(TARGET-stage4-lto-plugin)
30923 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
30924 clean-stage4: clean-stage4-lto-plugin
30925 clean-stage4-lto-plugin:
30926 @if [ $(current_stage) = stage4 ]; then \
30927 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30928 else \
30929 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
30930 $(MAKE) stage4-start; \
30931 fi; \
30932 cd $(HOST_SUBDIR)/lto-plugin && \
30933 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30934 @endif lto-plugin-bootstrap
30937 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
30938 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
30939 maybe-all-stageprofile-lto-plugin:
30940 maybe-clean-stageprofile-lto-plugin:
30941 @if lto-plugin-bootstrap
30942 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
30943 all-stageprofile: all-stageprofile-lto-plugin
30944 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
30945 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
30946 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30947 @r=`${PWD_COMMAND}`; export r; \
30948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30949 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30950 $(HOST_EXPORTS) \
30951 $(POSTSTAGE1_HOST_EXPORTS) \
30952 cd $(HOST_SUBDIR)/lto-plugin && \
30953 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30954 CFLAGS="$(STAGEprofile_CFLAGS)" \
30955 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
30956 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
30957 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30958 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30959 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30960 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30961 TFLAGS="$(STAGEprofile_TFLAGS)" \
30962 $(TARGET-stageprofile-lto-plugin)
30964 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
30965 clean-stageprofile: clean-stageprofile-lto-plugin
30966 clean-stageprofile-lto-plugin:
30967 @if [ $(current_stage) = stageprofile ]; then \
30968 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30969 else \
30970 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
30971 $(MAKE) stageprofile-start; \
30972 fi; \
30973 cd $(HOST_SUBDIR)/lto-plugin && \
30974 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30975 @endif lto-plugin-bootstrap
30978 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
30979 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
30980 maybe-all-stagefeedback-lto-plugin:
30981 maybe-clean-stagefeedback-lto-plugin:
30982 @if lto-plugin-bootstrap
30983 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
30984 all-stagefeedback: all-stagefeedback-lto-plugin
30985 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
30986 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
30987 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30988 @r=`${PWD_COMMAND}`; export r; \
30989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30990 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30991 $(HOST_EXPORTS) \
30992 $(POSTSTAGE1_HOST_EXPORTS) \
30993 cd $(HOST_SUBDIR)/lto-plugin && \
30994 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30995 CFLAGS="$(STAGEfeedback_CFLAGS)" \
30996 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
30997 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
30998 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30999 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31000 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31001 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31002 TFLAGS="$(STAGEfeedback_TFLAGS)" \
31003 $(TARGET-stagefeedback-lto-plugin)
31005 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
31006 clean-stagefeedback: clean-stagefeedback-lto-plugin
31007 clean-stagefeedback-lto-plugin:
31008 @if [ $(current_stage) = stagefeedback ]; then \
31009 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
31010 else \
31011 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
31012 $(MAKE) stagefeedback-start; \
31013 fi; \
31014 cd $(HOST_SUBDIR)/lto-plugin && \
31015 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31016 @endif lto-plugin-bootstrap
31022 .PHONY: check-lto-plugin maybe-check-lto-plugin
31023 maybe-check-lto-plugin:
31024 @if lto-plugin
31025 maybe-check-lto-plugin: check-lto-plugin
31027 check-lto-plugin:
31028 @: $(MAKE); $(unstage)
31029 @r=`${PWD_COMMAND}`; export r; \
31030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31031 $(HOST_EXPORTS) \
31032 (cd $(HOST_SUBDIR)/lto-plugin && \
31033 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ check)
31035 @endif lto-plugin
31037 .PHONY: install-lto-plugin maybe-install-lto-plugin
31038 maybe-install-lto-plugin:
31039 @if lto-plugin
31040 maybe-install-lto-plugin: install-lto-plugin
31042 install-lto-plugin: installdirs
31043 @: $(MAKE); $(unstage)
31044 @r=`${PWD_COMMAND}`; export r; \
31045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31046 $(HOST_EXPORTS) \
31047 (cd $(HOST_SUBDIR)/lto-plugin && \
31048 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
31050 @endif lto-plugin
31052 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
31053 maybe-install-strip-lto-plugin:
31054 @if lto-plugin
31055 maybe-install-strip-lto-plugin: install-strip-lto-plugin
31057 install-strip-lto-plugin: installdirs
31058 @: $(MAKE); $(unstage)
31059 @r=`${PWD_COMMAND}`; export r; \
31060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31061 $(HOST_EXPORTS) \
31062 (cd $(HOST_SUBDIR)/lto-plugin && \
31063 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
31065 @endif lto-plugin
31067 # Other targets (info, dvi, pdf, etc.)
31069 .PHONY: maybe-info-lto-plugin info-lto-plugin
31070 maybe-info-lto-plugin:
31071 @if lto-plugin
31072 maybe-info-lto-plugin: info-lto-plugin
31074 info-lto-plugin: \
31075 configure-lto-plugin
31076 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31077 r=`${PWD_COMMAND}`; export r; \
31078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31079 $(HOST_EXPORTS) \
31080 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31082 done; \
31083 echo "Doing info in lto-plugin" ; \
31084 (cd $(HOST_SUBDIR)/lto-plugin && \
31085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31087 "RANLIB=$${RANLIB}" \
31088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31089 info) \
31090 || exit 1
31092 @endif lto-plugin
31094 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
31095 maybe-dvi-lto-plugin:
31096 @if lto-plugin
31097 maybe-dvi-lto-plugin: dvi-lto-plugin
31099 dvi-lto-plugin: \
31100 configure-lto-plugin
31101 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31102 r=`${PWD_COMMAND}`; export r; \
31103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31104 $(HOST_EXPORTS) \
31105 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31107 done; \
31108 echo "Doing dvi in lto-plugin" ; \
31109 (cd $(HOST_SUBDIR)/lto-plugin && \
31110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31112 "RANLIB=$${RANLIB}" \
31113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31114 dvi) \
31115 || exit 1
31117 @endif lto-plugin
31119 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
31120 maybe-pdf-lto-plugin:
31121 @if lto-plugin
31122 maybe-pdf-lto-plugin: pdf-lto-plugin
31124 pdf-lto-plugin: \
31125 configure-lto-plugin
31126 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31127 r=`${PWD_COMMAND}`; export r; \
31128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31129 $(HOST_EXPORTS) \
31130 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31132 done; \
31133 echo "Doing pdf in lto-plugin" ; \
31134 (cd $(HOST_SUBDIR)/lto-plugin && \
31135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31137 "RANLIB=$${RANLIB}" \
31138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31139 pdf) \
31140 || exit 1
31142 @endif lto-plugin
31144 .PHONY: maybe-html-lto-plugin html-lto-plugin
31145 maybe-html-lto-plugin:
31146 @if lto-plugin
31147 maybe-html-lto-plugin: html-lto-plugin
31149 html-lto-plugin: \
31150 configure-lto-plugin
31151 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31152 r=`${PWD_COMMAND}`; export r; \
31153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31154 $(HOST_EXPORTS) \
31155 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31157 done; \
31158 echo "Doing html in lto-plugin" ; \
31159 (cd $(HOST_SUBDIR)/lto-plugin && \
31160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31162 "RANLIB=$${RANLIB}" \
31163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31164 html) \
31165 || exit 1
31167 @endif lto-plugin
31169 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
31170 maybe-TAGS-lto-plugin:
31171 @if lto-plugin
31172 maybe-TAGS-lto-plugin: TAGS-lto-plugin
31174 TAGS-lto-plugin: \
31175 configure-lto-plugin
31176 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31177 r=`${PWD_COMMAND}`; export r; \
31178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31179 $(HOST_EXPORTS) \
31180 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31182 done; \
31183 echo "Doing TAGS in lto-plugin" ; \
31184 (cd $(HOST_SUBDIR)/lto-plugin && \
31185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31187 "RANLIB=$${RANLIB}" \
31188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31189 TAGS) \
31190 || exit 1
31192 @endif lto-plugin
31194 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
31195 maybe-install-info-lto-plugin:
31196 @if lto-plugin
31197 maybe-install-info-lto-plugin: install-info-lto-plugin
31199 install-info-lto-plugin: \
31200 configure-lto-plugin \
31201 info-lto-plugin
31202 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31203 r=`${PWD_COMMAND}`; export r; \
31204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31205 $(HOST_EXPORTS) \
31206 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31208 done; \
31209 echo "Doing install-info in lto-plugin" ; \
31210 (cd $(HOST_SUBDIR)/lto-plugin && \
31211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31213 "RANLIB=$${RANLIB}" \
31214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31215 install-info) \
31216 || exit 1
31218 @endif lto-plugin
31220 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
31221 maybe-install-pdf-lto-plugin:
31222 @if lto-plugin
31223 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
31225 install-pdf-lto-plugin: \
31226 configure-lto-plugin \
31227 pdf-lto-plugin
31228 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31229 r=`${PWD_COMMAND}`; export r; \
31230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31231 $(HOST_EXPORTS) \
31232 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31234 done; \
31235 echo "Doing install-pdf in lto-plugin" ; \
31236 (cd $(HOST_SUBDIR)/lto-plugin && \
31237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31239 "RANLIB=$${RANLIB}" \
31240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31241 install-pdf) \
31242 || exit 1
31244 @endif lto-plugin
31246 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
31247 maybe-install-html-lto-plugin:
31248 @if lto-plugin
31249 maybe-install-html-lto-plugin: install-html-lto-plugin
31251 install-html-lto-plugin: \
31252 configure-lto-plugin \
31253 html-lto-plugin
31254 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31255 r=`${PWD_COMMAND}`; export r; \
31256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31257 $(HOST_EXPORTS) \
31258 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31260 done; \
31261 echo "Doing install-html in lto-plugin" ; \
31262 (cd $(HOST_SUBDIR)/lto-plugin && \
31263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31265 "RANLIB=$${RANLIB}" \
31266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31267 install-html) \
31268 || exit 1
31270 @endif lto-plugin
31272 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
31273 maybe-installcheck-lto-plugin:
31274 @if lto-plugin
31275 maybe-installcheck-lto-plugin: installcheck-lto-plugin
31277 installcheck-lto-plugin: \
31278 configure-lto-plugin
31279 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31280 r=`${PWD_COMMAND}`; export r; \
31281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31282 $(HOST_EXPORTS) \
31283 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31285 done; \
31286 echo "Doing installcheck in lto-plugin" ; \
31287 (cd $(HOST_SUBDIR)/lto-plugin && \
31288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31290 "RANLIB=$${RANLIB}" \
31291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31292 installcheck) \
31293 || exit 1
31295 @endif lto-plugin
31297 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
31298 maybe-mostlyclean-lto-plugin:
31299 @if lto-plugin
31300 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
31302 mostlyclean-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 mostlyclean 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 mostlyclean) \
31317 || exit 1
31319 @endif lto-plugin
31321 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
31322 maybe-clean-lto-plugin:
31323 @if lto-plugin
31324 maybe-clean-lto-plugin: clean-lto-plugin
31326 clean-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 clean 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 clean) \
31341 || exit 1
31343 @endif lto-plugin
31345 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
31346 maybe-distclean-lto-plugin:
31347 @if lto-plugin
31348 maybe-distclean-lto-plugin: distclean-lto-plugin
31350 distclean-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 distclean 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 distclean) \
31365 || exit 1
31367 @endif lto-plugin
31369 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
31370 maybe-maintainer-clean-lto-plugin:
31371 @if lto-plugin
31372 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
31374 maintainer-clean-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 maintainer-clean 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 maintainer-clean) \
31389 || exit 1
31391 @endif lto-plugin
31395 .PHONY: configure-libcc1 maybe-configure-libcc1
31396 maybe-configure-libcc1:
31397 @if gcc-bootstrap
31398 configure-libcc1: stage_current
31399 @endif gcc-bootstrap
31400 @if libcc1
31401 maybe-configure-libcc1: configure-libcc1
31402 configure-libcc1:
31403 @: $(MAKE); $(unstage)
31404 @r=`${PWD_COMMAND}`; export r; \
31405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31406 test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \
31407 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1 ; \
31408 $(HOST_EXPORTS) \
31409 echo Configuring in $(HOST_SUBDIR)/libcc1; \
31410 cd "$(HOST_SUBDIR)/libcc1" || exit 1; \
31411 case $(srcdir) in \
31412 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31413 *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \
31414 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31415 esac; \
31416 module_srcdir=libcc1; \
31417 $(SHELL) \
31418 $$s/$$module_srcdir/configure \
31419 --srcdir=$${topdir}/$$module_srcdir \
31420 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31421 --target=${target_alias} --enable-shared \
31422 || exit 1
31423 @endif libcc1
31429 .PHONY: all-libcc1 maybe-all-libcc1
31430 maybe-all-libcc1:
31431 @if gcc-bootstrap
31432 all-libcc1: stage_current
31433 @endif gcc-bootstrap
31434 @if libcc1
31435 TARGET-libcc1=all
31436 maybe-all-libcc1: all-libcc1
31437 all-libcc1: configure-libcc1
31438 @: $(MAKE); $(unstage)
31439 @r=`${PWD_COMMAND}`; export r; \
31440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31441 $(HOST_EXPORTS) \
31442 (cd $(HOST_SUBDIR)/libcc1 && \
31443 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
31444 $(TARGET-libcc1))
31445 @endif libcc1
31450 .PHONY: check-libcc1 maybe-check-libcc1
31451 maybe-check-libcc1:
31452 @if libcc1
31453 maybe-check-libcc1: check-libcc1
31455 check-libcc1:
31456 @: $(MAKE); $(unstage)
31457 @r=`${PWD_COMMAND}`; export r; \
31458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31459 $(HOST_EXPORTS) \
31460 (cd $(HOST_SUBDIR)/libcc1 && \
31461 $(MAKE) $(FLAGS_TO_PASS) check)
31463 @endif libcc1
31465 .PHONY: install-libcc1 maybe-install-libcc1
31466 maybe-install-libcc1:
31467 @if libcc1
31468 maybe-install-libcc1: install-libcc1
31470 install-libcc1: installdirs
31471 @: $(MAKE); $(unstage)
31472 @r=`${PWD_COMMAND}`; export r; \
31473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31474 $(HOST_EXPORTS) \
31475 (cd $(HOST_SUBDIR)/libcc1 && \
31476 $(MAKE) $(FLAGS_TO_PASS) install)
31478 @endif libcc1
31480 .PHONY: install-strip-libcc1 maybe-install-strip-libcc1
31481 maybe-install-strip-libcc1:
31482 @if libcc1
31483 maybe-install-strip-libcc1: install-strip-libcc1
31485 install-strip-libcc1: installdirs
31486 @: $(MAKE); $(unstage)
31487 @r=`${PWD_COMMAND}`; export r; \
31488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31489 $(HOST_EXPORTS) \
31490 (cd $(HOST_SUBDIR)/libcc1 && \
31491 $(MAKE) $(FLAGS_TO_PASS) install-strip)
31493 @endif libcc1
31495 # Other targets (info, dvi, pdf, etc.)
31497 .PHONY: maybe-info-libcc1 info-libcc1
31498 maybe-info-libcc1:
31499 @if libcc1
31500 maybe-info-libcc1: info-libcc1
31502 info-libcc1: \
31503 configure-libcc1
31504 @: $(MAKE); $(unstage)
31505 @[ -f ./libcc1/Makefile ] || exit 0; \
31506 r=`${PWD_COMMAND}`; export r; \
31507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31508 $(HOST_EXPORTS) \
31509 for flag in $(EXTRA_HOST_FLAGS) ; do \
31510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31511 done; \
31512 echo "Doing info in libcc1" ; \
31513 (cd $(HOST_SUBDIR)/libcc1 && \
31514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31516 "RANLIB=$${RANLIB}" \
31517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31518 info) \
31519 || exit 1
31521 @endif libcc1
31523 .PHONY: maybe-dvi-libcc1 dvi-libcc1
31524 maybe-dvi-libcc1:
31525 @if libcc1
31526 maybe-dvi-libcc1: dvi-libcc1
31528 dvi-libcc1: \
31529 configure-libcc1
31530 @: $(MAKE); $(unstage)
31531 @[ -f ./libcc1/Makefile ] || exit 0; \
31532 r=`${PWD_COMMAND}`; export r; \
31533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31534 $(HOST_EXPORTS) \
31535 for flag in $(EXTRA_HOST_FLAGS) ; do \
31536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31537 done; \
31538 echo "Doing dvi in libcc1" ; \
31539 (cd $(HOST_SUBDIR)/libcc1 && \
31540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31542 "RANLIB=$${RANLIB}" \
31543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31544 dvi) \
31545 || exit 1
31547 @endif libcc1
31549 .PHONY: maybe-pdf-libcc1 pdf-libcc1
31550 maybe-pdf-libcc1:
31551 @if libcc1
31552 maybe-pdf-libcc1: pdf-libcc1
31554 pdf-libcc1: \
31555 configure-libcc1
31556 @: $(MAKE); $(unstage)
31557 @[ -f ./libcc1/Makefile ] || exit 0; \
31558 r=`${PWD_COMMAND}`; export r; \
31559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31560 $(HOST_EXPORTS) \
31561 for flag in $(EXTRA_HOST_FLAGS) ; do \
31562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31563 done; \
31564 echo "Doing pdf in libcc1" ; \
31565 (cd $(HOST_SUBDIR)/libcc1 && \
31566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31568 "RANLIB=$${RANLIB}" \
31569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31570 pdf) \
31571 || exit 1
31573 @endif libcc1
31575 .PHONY: maybe-html-libcc1 html-libcc1
31576 maybe-html-libcc1:
31577 @if libcc1
31578 maybe-html-libcc1: html-libcc1
31580 html-libcc1: \
31581 configure-libcc1
31582 @: $(MAKE); $(unstage)
31583 @[ -f ./libcc1/Makefile ] || exit 0; \
31584 r=`${PWD_COMMAND}`; export r; \
31585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31586 $(HOST_EXPORTS) \
31587 for flag in $(EXTRA_HOST_FLAGS) ; do \
31588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31589 done; \
31590 echo "Doing html in libcc1" ; \
31591 (cd $(HOST_SUBDIR)/libcc1 && \
31592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31594 "RANLIB=$${RANLIB}" \
31595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31596 html) \
31597 || exit 1
31599 @endif libcc1
31601 .PHONY: maybe-TAGS-libcc1 TAGS-libcc1
31602 maybe-TAGS-libcc1:
31603 @if libcc1
31604 maybe-TAGS-libcc1: TAGS-libcc1
31606 TAGS-libcc1: \
31607 configure-libcc1
31608 @: $(MAKE); $(unstage)
31609 @[ -f ./libcc1/Makefile ] || exit 0; \
31610 r=`${PWD_COMMAND}`; export r; \
31611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31612 $(HOST_EXPORTS) \
31613 for flag in $(EXTRA_HOST_FLAGS) ; do \
31614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31615 done; \
31616 echo "Doing TAGS in libcc1" ; \
31617 (cd $(HOST_SUBDIR)/libcc1 && \
31618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31620 "RANLIB=$${RANLIB}" \
31621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31622 TAGS) \
31623 || exit 1
31625 @endif libcc1
31627 .PHONY: maybe-install-info-libcc1 install-info-libcc1
31628 maybe-install-info-libcc1:
31629 @if libcc1
31630 maybe-install-info-libcc1: install-info-libcc1
31632 install-info-libcc1: \
31633 configure-libcc1 \
31634 info-libcc1
31635 @: $(MAKE); $(unstage)
31636 @[ -f ./libcc1/Makefile ] || exit 0; \
31637 r=`${PWD_COMMAND}`; export r; \
31638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31639 $(HOST_EXPORTS) \
31640 for flag in $(EXTRA_HOST_FLAGS) ; do \
31641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31642 done; \
31643 echo "Doing install-info in libcc1" ; \
31644 (cd $(HOST_SUBDIR)/libcc1 && \
31645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31647 "RANLIB=$${RANLIB}" \
31648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31649 install-info) \
31650 || exit 1
31652 @endif libcc1
31654 .PHONY: maybe-install-pdf-libcc1 install-pdf-libcc1
31655 maybe-install-pdf-libcc1:
31656 @if libcc1
31657 maybe-install-pdf-libcc1: install-pdf-libcc1
31659 install-pdf-libcc1: \
31660 configure-libcc1 \
31661 pdf-libcc1
31662 @: $(MAKE); $(unstage)
31663 @[ -f ./libcc1/Makefile ] || exit 0; \
31664 r=`${PWD_COMMAND}`; export r; \
31665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31666 $(HOST_EXPORTS) \
31667 for flag in $(EXTRA_HOST_FLAGS) ; do \
31668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31669 done; \
31670 echo "Doing install-pdf in libcc1" ; \
31671 (cd $(HOST_SUBDIR)/libcc1 && \
31672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31674 "RANLIB=$${RANLIB}" \
31675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31676 install-pdf) \
31677 || exit 1
31679 @endif libcc1
31681 .PHONY: maybe-install-html-libcc1 install-html-libcc1
31682 maybe-install-html-libcc1:
31683 @if libcc1
31684 maybe-install-html-libcc1: install-html-libcc1
31686 install-html-libcc1: \
31687 configure-libcc1 \
31688 html-libcc1
31689 @: $(MAKE); $(unstage)
31690 @[ -f ./libcc1/Makefile ] || exit 0; \
31691 r=`${PWD_COMMAND}`; export r; \
31692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31693 $(HOST_EXPORTS) \
31694 for flag in $(EXTRA_HOST_FLAGS) ; do \
31695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31696 done; \
31697 echo "Doing install-html in libcc1" ; \
31698 (cd $(HOST_SUBDIR)/libcc1 && \
31699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31701 "RANLIB=$${RANLIB}" \
31702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31703 install-html) \
31704 || exit 1
31706 @endif libcc1
31708 .PHONY: maybe-installcheck-libcc1 installcheck-libcc1
31709 maybe-installcheck-libcc1:
31710 @if libcc1
31711 maybe-installcheck-libcc1: installcheck-libcc1
31713 installcheck-libcc1: \
31714 configure-libcc1
31715 @: $(MAKE); $(unstage)
31716 @[ -f ./libcc1/Makefile ] || exit 0; \
31717 r=`${PWD_COMMAND}`; export r; \
31718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31719 $(HOST_EXPORTS) \
31720 for flag in $(EXTRA_HOST_FLAGS) ; do \
31721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31722 done; \
31723 echo "Doing installcheck in libcc1" ; \
31724 (cd $(HOST_SUBDIR)/libcc1 && \
31725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31727 "RANLIB=$${RANLIB}" \
31728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31729 installcheck) \
31730 || exit 1
31732 @endif libcc1
31734 .PHONY: maybe-mostlyclean-libcc1 mostlyclean-libcc1
31735 maybe-mostlyclean-libcc1:
31736 @if libcc1
31737 maybe-mostlyclean-libcc1: mostlyclean-libcc1
31739 mostlyclean-libcc1:
31740 @: $(MAKE); $(unstage)
31741 @[ -f ./libcc1/Makefile ] || exit 0; \
31742 r=`${PWD_COMMAND}`; export r; \
31743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31744 $(HOST_EXPORTS) \
31745 for flag in $(EXTRA_HOST_FLAGS) ; do \
31746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31747 done; \
31748 echo "Doing mostlyclean in libcc1" ; \
31749 (cd $(HOST_SUBDIR)/libcc1 && \
31750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31752 "RANLIB=$${RANLIB}" \
31753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31754 mostlyclean) \
31755 || exit 1
31757 @endif libcc1
31759 .PHONY: maybe-clean-libcc1 clean-libcc1
31760 maybe-clean-libcc1:
31761 @if libcc1
31762 maybe-clean-libcc1: clean-libcc1
31764 clean-libcc1:
31765 @: $(MAKE); $(unstage)
31766 @[ -f ./libcc1/Makefile ] || exit 0; \
31767 r=`${PWD_COMMAND}`; export r; \
31768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31769 $(HOST_EXPORTS) \
31770 for flag in $(EXTRA_HOST_FLAGS) ; do \
31771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31772 done; \
31773 echo "Doing clean in libcc1" ; \
31774 (cd $(HOST_SUBDIR)/libcc1 && \
31775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31777 "RANLIB=$${RANLIB}" \
31778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31779 clean) \
31780 || exit 1
31782 @endif libcc1
31784 .PHONY: maybe-distclean-libcc1 distclean-libcc1
31785 maybe-distclean-libcc1:
31786 @if libcc1
31787 maybe-distclean-libcc1: distclean-libcc1
31789 distclean-libcc1:
31790 @: $(MAKE); $(unstage)
31791 @[ -f ./libcc1/Makefile ] || exit 0; \
31792 r=`${PWD_COMMAND}`; export r; \
31793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31794 $(HOST_EXPORTS) \
31795 for flag in $(EXTRA_HOST_FLAGS) ; do \
31796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31797 done; \
31798 echo "Doing distclean in libcc1" ; \
31799 (cd $(HOST_SUBDIR)/libcc1 && \
31800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31802 "RANLIB=$${RANLIB}" \
31803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31804 distclean) \
31805 || exit 1
31807 @endif libcc1
31809 .PHONY: maybe-maintainer-clean-libcc1 maintainer-clean-libcc1
31810 maybe-maintainer-clean-libcc1:
31811 @if libcc1
31812 maybe-maintainer-clean-libcc1: maintainer-clean-libcc1
31814 maintainer-clean-libcc1:
31815 @: $(MAKE); $(unstage)
31816 @[ -f ./libcc1/Makefile ] || exit 0; \
31817 r=`${PWD_COMMAND}`; export r; \
31818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31819 $(HOST_EXPORTS) \
31820 for flag in $(EXTRA_HOST_FLAGS) ; do \
31821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31822 done; \
31823 echo "Doing maintainer-clean in libcc1" ; \
31824 (cd $(HOST_SUBDIR)/libcc1 && \
31825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31827 "RANLIB=$${RANLIB}" \
31828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31829 maintainer-clean) \
31830 || exit 1
31832 @endif libcc1
31836 # ---------------------------------------
31837 # Modules which run on the target machine
31838 # ---------------------------------------
31843 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
31844 maybe-configure-target-libstdc++-v3:
31845 @if gcc-bootstrap
31846 configure-target-libstdc++-v3: stage_current
31847 @endif gcc-bootstrap
31848 @if target-libstdc++-v3
31849 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
31850 configure-target-libstdc++-v3:
31851 @r=`${PWD_COMMAND}`; export r; \
31852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31853 echo "Checking multilib configuration for libstdc++-v3..."; \
31854 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31855 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31856 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31857 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31858 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31859 else \
31860 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31861 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31862 fi; \
31863 else \
31864 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31865 fi; \
31866 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31867 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31868 $(RAW_CXX_TARGET_EXPORTS) \
31869 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
31870 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
31871 case $(srcdir) in \
31872 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31873 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31874 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31875 esac; \
31876 module_srcdir=libstdc++-v3; \
31877 rm -f no-such-file || : ; \
31878 CONFIG_SITE=no-such-file $(SHELL) \
31879 $$s/$$module_srcdir/configure \
31880 --srcdir=$${topdir}/$$module_srcdir \
31881 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31882 --target=${target_alias} \
31883 || exit 1
31884 @endif target-libstdc++-v3
31888 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
31889 maybe-configure-stage1-target-libstdc++-v3:
31890 @if target-libstdc++-v3-bootstrap
31891 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
31892 configure-stage1-target-libstdc++-v3:
31893 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31894 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
31895 @r=`${PWD_COMMAND}`; export r; \
31896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31897 TFLAGS="$(STAGE1_TFLAGS)"; \
31898 echo "Checking multilib configuration for libstdc++-v3..."; \
31899 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31900 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31901 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31902 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31903 else \
31904 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31905 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31906 fi; \
31907 else \
31908 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31909 fi; \
31910 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31911 $(RAW_CXX_TARGET_EXPORTS) \
31912 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31913 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31914 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31915 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
31916 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31917 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
31918 case $(srcdir) in \
31919 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31920 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31921 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31922 esac; \
31923 module_srcdir=libstdc++-v3; \
31924 $(SHELL) $$s/$$module_srcdir/configure \
31925 --srcdir=$${topdir}/$$module_srcdir \
31926 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31927 --target=${target_alias} \
31929 $(STAGE1_CONFIGURE_FLAGS)
31930 @endif target-libstdc++-v3-bootstrap
31932 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
31933 maybe-configure-stage2-target-libstdc++-v3:
31934 @if target-libstdc++-v3-bootstrap
31935 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
31936 configure-stage2-target-libstdc++-v3:
31937 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31938 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
31939 @r=`${PWD_COMMAND}`; export r; \
31940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31941 TFLAGS="$(STAGE2_TFLAGS)"; \
31942 echo "Checking multilib configuration for libstdc++-v3..."; \
31943 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31944 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31945 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31946 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31947 else \
31948 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31949 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31950 fi; \
31951 else \
31952 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31953 fi; \
31954 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31955 $(RAW_CXX_TARGET_EXPORTS) \
31957 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31958 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31959 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31960 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
31961 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31962 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
31963 case $(srcdir) in \
31964 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31965 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31966 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31967 esac; \
31968 module_srcdir=libstdc++-v3; \
31969 $(SHELL) $$s/$$module_srcdir/configure \
31970 --srcdir=$${topdir}/$$module_srcdir \
31971 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31972 --target=${target_alias} \
31973 --with-build-libsubdir=$(HOST_SUBDIR) \
31974 $(STAGE2_CONFIGURE_FLAGS)
31975 @endif target-libstdc++-v3-bootstrap
31977 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
31978 maybe-configure-stage3-target-libstdc++-v3:
31979 @if target-libstdc++-v3-bootstrap
31980 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
31981 configure-stage3-target-libstdc++-v3:
31982 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31983 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
31984 @r=`${PWD_COMMAND}`; export r; \
31985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31986 TFLAGS="$(STAGE3_TFLAGS)"; \
31987 echo "Checking multilib configuration for libstdc++-v3..."; \
31988 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31989 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31990 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31991 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31992 else \
31993 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31994 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31995 fi; \
31996 else \
31997 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31998 fi; \
31999 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32000 $(RAW_CXX_TARGET_EXPORTS) \
32002 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32003 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32004 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32005 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32006 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32007 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32008 case $(srcdir) in \
32009 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32010 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32011 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32012 esac; \
32013 module_srcdir=libstdc++-v3; \
32014 $(SHELL) $$s/$$module_srcdir/configure \
32015 --srcdir=$${topdir}/$$module_srcdir \
32016 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32017 --target=${target_alias} \
32018 --with-build-libsubdir=$(HOST_SUBDIR) \
32019 $(STAGE3_CONFIGURE_FLAGS)
32020 @endif target-libstdc++-v3-bootstrap
32022 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
32023 maybe-configure-stage4-target-libstdc++-v3:
32024 @if target-libstdc++-v3-bootstrap
32025 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
32026 configure-stage4-target-libstdc++-v3:
32027 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32028 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32029 @r=`${PWD_COMMAND}`; export r; \
32030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32031 TFLAGS="$(STAGE4_TFLAGS)"; \
32032 echo "Checking multilib configuration for libstdc++-v3..."; \
32033 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32034 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32035 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32036 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32037 else \
32038 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32039 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32040 fi; \
32041 else \
32042 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32043 fi; \
32044 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32045 $(RAW_CXX_TARGET_EXPORTS) \
32047 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32048 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32049 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32050 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32051 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32052 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32053 case $(srcdir) in \
32054 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32055 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32056 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32057 esac; \
32058 module_srcdir=libstdc++-v3; \
32059 $(SHELL) $$s/$$module_srcdir/configure \
32060 --srcdir=$${topdir}/$$module_srcdir \
32061 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32062 --target=${target_alias} \
32063 --with-build-libsubdir=$(HOST_SUBDIR) \
32064 $(STAGE4_CONFIGURE_FLAGS)
32065 @endif target-libstdc++-v3-bootstrap
32067 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
32068 maybe-configure-stageprofile-target-libstdc++-v3:
32069 @if target-libstdc++-v3-bootstrap
32070 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
32071 configure-stageprofile-target-libstdc++-v3:
32072 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32073 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32074 @r=`${PWD_COMMAND}`; export r; \
32075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32076 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32077 echo "Checking multilib configuration for libstdc++-v3..."; \
32078 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32079 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32080 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32081 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32082 else \
32083 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32084 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32085 fi; \
32086 else \
32087 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32088 fi; \
32089 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32090 $(RAW_CXX_TARGET_EXPORTS) \
32092 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32093 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32094 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32095 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32096 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32097 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32098 case $(srcdir) in \
32099 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32100 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32101 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32102 esac; \
32103 module_srcdir=libstdc++-v3; \
32104 $(SHELL) $$s/$$module_srcdir/configure \
32105 --srcdir=$${topdir}/$$module_srcdir \
32106 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32107 --target=${target_alias} \
32108 --with-build-libsubdir=$(HOST_SUBDIR) \
32109 $(STAGEprofile_CONFIGURE_FLAGS)
32110 @endif target-libstdc++-v3-bootstrap
32112 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
32113 maybe-configure-stagefeedback-target-libstdc++-v3:
32114 @if target-libstdc++-v3-bootstrap
32115 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
32116 configure-stagefeedback-target-libstdc++-v3:
32117 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32118 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32119 @r=`${PWD_COMMAND}`; export r; \
32120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32121 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32122 echo "Checking multilib configuration for libstdc++-v3..."; \
32123 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32124 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32125 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32126 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32127 else \
32128 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32129 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32130 fi; \
32131 else \
32132 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32133 fi; \
32134 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32135 $(RAW_CXX_TARGET_EXPORTS) \
32137 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32138 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32139 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32140 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32141 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32142 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32143 case $(srcdir) in \
32144 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32145 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32146 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32147 esac; \
32148 module_srcdir=libstdc++-v3; \
32149 $(SHELL) $$s/$$module_srcdir/configure \
32150 --srcdir=$${topdir}/$$module_srcdir \
32151 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32152 --target=${target_alias} \
32153 --with-build-libsubdir=$(HOST_SUBDIR) \
32154 $(STAGEfeedback_CONFIGURE_FLAGS)
32155 @endif target-libstdc++-v3-bootstrap
32161 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
32162 maybe-all-target-libstdc++-v3:
32163 @if gcc-bootstrap
32164 all-target-libstdc++-v3: stage_current
32165 @endif gcc-bootstrap
32166 @if target-libstdc++-v3
32167 TARGET-target-libstdc++-v3=all
32168 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
32169 all-target-libstdc++-v3: configure-target-libstdc++-v3
32170 @r=`${PWD_COMMAND}`; export r; \
32171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32172 $(RAW_CXX_TARGET_EXPORTS) \
32173 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32174 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32175 $(TARGET-target-libstdc++-v3))
32176 @endif target-libstdc++-v3
32180 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
32181 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
32182 maybe-all-stage1-target-libstdc++-v3:
32183 maybe-clean-stage1-target-libstdc++-v3:
32184 @if target-libstdc++-v3-bootstrap
32185 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
32186 all-stage1: all-stage1-target-libstdc++-v3
32187 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32188 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
32189 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32190 @r=`${PWD_COMMAND}`; export r; \
32191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32192 TFLAGS="$(STAGE1_TFLAGS)"; \
32193 $(RAW_CXX_TARGET_EXPORTS) \
32194 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32195 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32196 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32197 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32198 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32199 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32200 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32201 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32202 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32204 TFLAGS="$(STAGE1_TFLAGS)" \
32205 $(TARGET-stage1-target-libstdc++-v3)
32207 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
32208 clean-stage1: clean-stage1-target-libstdc++-v3
32209 clean-stage1-target-libstdc++-v3:
32210 @if [ $(current_stage) = stage1 ]; then \
32211 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32212 else \
32213 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
32214 $(MAKE) stage1-start; \
32215 fi; \
32216 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32217 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32218 clean
32219 @endif target-libstdc++-v3-bootstrap
32222 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
32223 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
32224 maybe-all-stage2-target-libstdc++-v3:
32225 maybe-clean-stage2-target-libstdc++-v3:
32226 @if target-libstdc++-v3-bootstrap
32227 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
32228 all-stage2: all-stage2-target-libstdc++-v3
32229 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32230 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
32231 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32232 @r=`${PWD_COMMAND}`; export r; \
32233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32234 TFLAGS="$(STAGE2_TFLAGS)"; \
32235 $(RAW_CXX_TARGET_EXPORTS) \
32237 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32238 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32239 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32240 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32241 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32242 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32243 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32244 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32245 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32246 TFLAGS="$(STAGE2_TFLAGS)" \
32247 $(TARGET-stage2-target-libstdc++-v3)
32249 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
32250 clean-stage2: clean-stage2-target-libstdc++-v3
32251 clean-stage2-target-libstdc++-v3:
32252 @if [ $(current_stage) = stage2 ]; then \
32253 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32254 else \
32255 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
32256 $(MAKE) stage2-start; \
32257 fi; \
32258 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32259 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32260 @endif target-libstdc++-v3-bootstrap
32263 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
32264 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
32265 maybe-all-stage3-target-libstdc++-v3:
32266 maybe-clean-stage3-target-libstdc++-v3:
32267 @if target-libstdc++-v3-bootstrap
32268 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
32269 all-stage3: all-stage3-target-libstdc++-v3
32270 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32271 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
32272 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32273 @r=`${PWD_COMMAND}`; export r; \
32274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32275 TFLAGS="$(STAGE3_TFLAGS)"; \
32276 $(RAW_CXX_TARGET_EXPORTS) \
32278 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32279 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32280 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32281 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32282 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32283 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32284 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32285 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32286 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32287 TFLAGS="$(STAGE3_TFLAGS)" \
32288 $(TARGET-stage3-target-libstdc++-v3)
32290 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
32291 clean-stage3: clean-stage3-target-libstdc++-v3
32292 clean-stage3-target-libstdc++-v3:
32293 @if [ $(current_stage) = stage3 ]; then \
32294 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32295 else \
32296 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
32297 $(MAKE) stage3-start; \
32298 fi; \
32299 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32300 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32301 @endif target-libstdc++-v3-bootstrap
32304 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
32305 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
32306 maybe-all-stage4-target-libstdc++-v3:
32307 maybe-clean-stage4-target-libstdc++-v3:
32308 @if target-libstdc++-v3-bootstrap
32309 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
32310 all-stage4: all-stage4-target-libstdc++-v3
32311 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32312 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
32313 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32314 @r=`${PWD_COMMAND}`; export r; \
32315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32316 TFLAGS="$(STAGE4_TFLAGS)"; \
32317 $(RAW_CXX_TARGET_EXPORTS) \
32319 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32320 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32321 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32322 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32323 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32324 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32325 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32326 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32327 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32328 TFLAGS="$(STAGE4_TFLAGS)" \
32329 $(TARGET-stage4-target-libstdc++-v3)
32331 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
32332 clean-stage4: clean-stage4-target-libstdc++-v3
32333 clean-stage4-target-libstdc++-v3:
32334 @if [ $(current_stage) = stage4 ]; then \
32335 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32336 else \
32337 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
32338 $(MAKE) stage4-start; \
32339 fi; \
32340 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32341 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32342 @endif target-libstdc++-v3-bootstrap
32345 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
32346 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
32347 maybe-all-stageprofile-target-libstdc++-v3:
32348 maybe-clean-stageprofile-target-libstdc++-v3:
32349 @if target-libstdc++-v3-bootstrap
32350 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
32351 all-stageprofile: all-stageprofile-target-libstdc++-v3
32352 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32353 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
32354 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32355 @r=`${PWD_COMMAND}`; export r; \
32356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32357 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32358 $(RAW_CXX_TARGET_EXPORTS) \
32360 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32361 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32362 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32363 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32364 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32365 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32366 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32367 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32368 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32369 TFLAGS="$(STAGEprofile_TFLAGS)" \
32370 $(TARGET-stageprofile-target-libstdc++-v3)
32372 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
32373 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
32374 clean-stageprofile-target-libstdc++-v3:
32375 @if [ $(current_stage) = stageprofile ]; then \
32376 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32377 else \
32378 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
32379 $(MAKE) stageprofile-start; \
32380 fi; \
32381 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32382 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32383 @endif target-libstdc++-v3-bootstrap
32386 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
32387 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
32388 maybe-all-stagefeedback-target-libstdc++-v3:
32389 maybe-clean-stagefeedback-target-libstdc++-v3:
32390 @if target-libstdc++-v3-bootstrap
32391 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
32392 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
32393 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32394 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
32395 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32396 @r=`${PWD_COMMAND}`; export r; \
32397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32398 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32399 $(RAW_CXX_TARGET_EXPORTS) \
32401 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32402 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32403 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32404 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32405 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32406 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32407 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32408 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32409 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32410 TFLAGS="$(STAGEfeedback_TFLAGS)" \
32411 $(TARGET-stagefeedback-target-libstdc++-v3)
32413 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
32414 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
32415 clean-stagefeedback-target-libstdc++-v3:
32416 @if [ $(current_stage) = stagefeedback ]; then \
32417 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32418 else \
32419 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
32420 $(MAKE) stagefeedback-start; \
32421 fi; \
32422 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32423 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32424 @endif target-libstdc++-v3-bootstrap
32431 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
32432 maybe-check-target-libstdc++-v3:
32433 @if target-libstdc++-v3
32434 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
32436 check-target-libstdc++-v3:
32437 @: $(MAKE); $(unstage)
32438 @r=`${PWD_COMMAND}`; export r; \
32439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32440 $(RAW_CXX_TARGET_EXPORTS) \
32441 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32442 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
32444 @endif target-libstdc++-v3
32446 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
32447 maybe-install-target-libstdc++-v3:
32448 @if target-libstdc++-v3
32449 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
32451 install-target-libstdc++-v3: installdirs
32452 @: $(MAKE); $(unstage)
32453 @r=`${PWD_COMMAND}`; export r; \
32454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32455 $(RAW_CXX_TARGET_EXPORTS) \
32456 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32457 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32459 @endif target-libstdc++-v3
32461 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
32462 maybe-install-strip-target-libstdc++-v3:
32463 @if target-libstdc++-v3
32464 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
32466 install-strip-target-libstdc++-v3: installdirs
32467 @: $(MAKE); $(unstage)
32468 @r=`${PWD_COMMAND}`; export r; \
32469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32470 $(RAW_CXX_TARGET_EXPORTS) \
32471 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32472 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
32474 @endif target-libstdc++-v3
32476 # Other targets (info, dvi, pdf, etc.)
32478 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
32479 maybe-info-target-libstdc++-v3:
32480 @if target-libstdc++-v3
32481 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
32483 info-target-libstdc++-v3: \
32484 configure-target-libstdc++-v3
32485 @: $(MAKE); $(unstage)
32486 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32487 r=`${PWD_COMMAND}`; export r; \
32488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32489 $(RAW_CXX_TARGET_EXPORTS) \
32490 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32491 for flag in $(EXTRA_TARGET_FLAGS); do \
32492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32493 done; \
32494 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32497 "RANLIB=$${RANLIB}" \
32498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32499 info) \
32500 || exit 1
32502 @endif target-libstdc++-v3
32504 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
32505 maybe-dvi-target-libstdc++-v3:
32506 @if target-libstdc++-v3
32507 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
32509 dvi-target-libstdc++-v3: \
32510 configure-target-libstdc++-v3
32511 @: $(MAKE); $(unstage)
32512 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32513 r=`${PWD_COMMAND}`; export r; \
32514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32515 $(RAW_CXX_TARGET_EXPORTS) \
32516 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32517 for flag in $(EXTRA_TARGET_FLAGS); do \
32518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32519 done; \
32520 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32523 "RANLIB=$${RANLIB}" \
32524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32525 dvi) \
32526 || exit 1
32528 @endif target-libstdc++-v3
32530 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
32531 maybe-pdf-target-libstdc++-v3:
32532 @if target-libstdc++-v3
32533 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
32535 pdf-target-libstdc++-v3: \
32536 configure-target-libstdc++-v3
32537 @: $(MAKE); $(unstage)
32538 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32539 r=`${PWD_COMMAND}`; export r; \
32540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32541 $(RAW_CXX_TARGET_EXPORTS) \
32542 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32543 for flag in $(EXTRA_TARGET_FLAGS); do \
32544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32545 done; \
32546 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32549 "RANLIB=$${RANLIB}" \
32550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32551 pdf) \
32552 || exit 1
32554 @endif target-libstdc++-v3
32556 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
32557 maybe-html-target-libstdc++-v3:
32558 @if target-libstdc++-v3
32559 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
32561 html-target-libstdc++-v3: \
32562 configure-target-libstdc++-v3
32563 @: $(MAKE); $(unstage)
32564 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32565 r=`${PWD_COMMAND}`; export r; \
32566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32567 $(RAW_CXX_TARGET_EXPORTS) \
32568 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32569 for flag in $(EXTRA_TARGET_FLAGS); do \
32570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32571 done; \
32572 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32575 "RANLIB=$${RANLIB}" \
32576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32577 html) \
32578 || exit 1
32580 @endif target-libstdc++-v3
32582 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
32583 maybe-TAGS-target-libstdc++-v3:
32584 @if target-libstdc++-v3
32585 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
32587 TAGS-target-libstdc++-v3: \
32588 configure-target-libstdc++-v3
32589 @: $(MAKE); $(unstage)
32590 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32591 r=`${PWD_COMMAND}`; export r; \
32592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32593 $(RAW_CXX_TARGET_EXPORTS) \
32594 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32595 for flag in $(EXTRA_TARGET_FLAGS); do \
32596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32597 done; \
32598 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32601 "RANLIB=$${RANLIB}" \
32602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32603 TAGS) \
32604 || exit 1
32606 @endif target-libstdc++-v3
32608 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
32609 maybe-install-info-target-libstdc++-v3:
32610 @if target-libstdc++-v3
32611 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
32613 install-info-target-libstdc++-v3: \
32614 configure-target-libstdc++-v3 \
32615 info-target-libstdc++-v3
32616 @: $(MAKE); $(unstage)
32617 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32618 r=`${PWD_COMMAND}`; export r; \
32619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32620 $(RAW_CXX_TARGET_EXPORTS) \
32621 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32622 for flag in $(EXTRA_TARGET_FLAGS); do \
32623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32624 done; \
32625 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32628 "RANLIB=$${RANLIB}" \
32629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32630 install-info) \
32631 || exit 1
32633 @endif target-libstdc++-v3
32635 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
32636 maybe-install-pdf-target-libstdc++-v3:
32637 @if target-libstdc++-v3
32638 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
32640 install-pdf-target-libstdc++-v3: \
32641 configure-target-libstdc++-v3 \
32642 pdf-target-libstdc++-v3
32643 @: $(MAKE); $(unstage)
32644 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32645 r=`${PWD_COMMAND}`; export r; \
32646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32647 $(RAW_CXX_TARGET_EXPORTS) \
32648 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32649 for flag in $(EXTRA_TARGET_FLAGS); do \
32650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32651 done; \
32652 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32655 "RANLIB=$${RANLIB}" \
32656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32657 install-pdf) \
32658 || exit 1
32660 @endif target-libstdc++-v3
32662 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
32663 maybe-install-html-target-libstdc++-v3:
32664 @if target-libstdc++-v3
32665 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
32667 install-html-target-libstdc++-v3: \
32668 configure-target-libstdc++-v3 \
32669 html-target-libstdc++-v3
32670 @: $(MAKE); $(unstage)
32671 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32672 r=`${PWD_COMMAND}`; export r; \
32673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32674 $(RAW_CXX_TARGET_EXPORTS) \
32675 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32676 for flag in $(EXTRA_TARGET_FLAGS); do \
32677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32678 done; \
32679 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32682 "RANLIB=$${RANLIB}" \
32683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32684 install-html) \
32685 || exit 1
32687 @endif target-libstdc++-v3
32689 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
32690 maybe-installcheck-target-libstdc++-v3:
32691 @if target-libstdc++-v3
32692 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
32694 installcheck-target-libstdc++-v3: \
32695 configure-target-libstdc++-v3
32696 @: $(MAKE); $(unstage)
32697 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32698 r=`${PWD_COMMAND}`; export r; \
32699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32700 $(RAW_CXX_TARGET_EXPORTS) \
32701 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32702 for flag in $(EXTRA_TARGET_FLAGS); do \
32703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32704 done; \
32705 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32708 "RANLIB=$${RANLIB}" \
32709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32710 installcheck) \
32711 || exit 1
32713 @endif target-libstdc++-v3
32715 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
32716 maybe-mostlyclean-target-libstdc++-v3:
32717 @if target-libstdc++-v3
32718 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
32720 mostlyclean-target-libstdc++-v3:
32721 @: $(MAKE); $(unstage)
32722 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32723 r=`${PWD_COMMAND}`; export r; \
32724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32725 $(RAW_CXX_TARGET_EXPORTS) \
32726 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32727 for flag in $(EXTRA_TARGET_FLAGS); do \
32728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32729 done; \
32730 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32733 "RANLIB=$${RANLIB}" \
32734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32735 mostlyclean) \
32736 || exit 1
32738 @endif target-libstdc++-v3
32740 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
32741 maybe-clean-target-libstdc++-v3:
32742 @if target-libstdc++-v3
32743 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
32745 clean-target-libstdc++-v3:
32746 @: $(MAKE); $(unstage)
32747 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32748 r=`${PWD_COMMAND}`; export r; \
32749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32750 $(RAW_CXX_TARGET_EXPORTS) \
32751 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32752 for flag in $(EXTRA_TARGET_FLAGS); do \
32753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32754 done; \
32755 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32758 "RANLIB=$${RANLIB}" \
32759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32760 clean) \
32761 || exit 1
32763 @endif target-libstdc++-v3
32765 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
32766 maybe-distclean-target-libstdc++-v3:
32767 @if target-libstdc++-v3
32768 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
32770 distclean-target-libstdc++-v3:
32771 @: $(MAKE); $(unstage)
32772 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32773 r=`${PWD_COMMAND}`; export r; \
32774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32775 $(RAW_CXX_TARGET_EXPORTS) \
32776 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32777 for flag in $(EXTRA_TARGET_FLAGS); do \
32778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32779 done; \
32780 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32783 "RANLIB=$${RANLIB}" \
32784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32785 distclean) \
32786 || exit 1
32788 @endif target-libstdc++-v3
32790 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
32791 maybe-maintainer-clean-target-libstdc++-v3:
32792 @if target-libstdc++-v3
32793 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
32795 maintainer-clean-target-libstdc++-v3:
32796 @: $(MAKE); $(unstage)
32797 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32798 r=`${PWD_COMMAND}`; export r; \
32799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32800 $(RAW_CXX_TARGET_EXPORTS) \
32801 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32802 for flag in $(EXTRA_TARGET_FLAGS); do \
32803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32804 done; \
32805 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32808 "RANLIB=$${RANLIB}" \
32809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32810 maintainer-clean) \
32811 || exit 1
32813 @endif target-libstdc++-v3
32819 .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer
32820 maybe-configure-target-libsanitizer:
32821 @if gcc-bootstrap
32822 configure-target-libsanitizer: stage_current
32823 @endif gcc-bootstrap
32824 @if target-libsanitizer
32825 maybe-configure-target-libsanitizer: configure-target-libsanitizer
32826 configure-target-libsanitizer:
32827 @r=`${PWD_COMMAND}`; export r; \
32828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32829 echo "Checking multilib configuration for libsanitizer..."; \
32830 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32831 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32832 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32833 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32834 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32835 else \
32836 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32837 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32838 fi; \
32839 else \
32840 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32841 fi; \
32842 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32843 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32844 $(RAW_CXX_TARGET_EXPORTS) \
32845 echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \
32846 cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \
32847 case $(srcdir) in \
32848 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32849 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32850 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32851 esac; \
32852 module_srcdir=libsanitizer; \
32853 rm -f no-such-file || : ; \
32854 CONFIG_SITE=no-such-file $(SHELL) \
32855 $$s/$$module_srcdir/configure \
32856 --srcdir=$${topdir}/$$module_srcdir \
32857 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32858 --target=${target_alias} \
32859 || exit 1
32860 @endif target-libsanitizer
32864 .PHONY: configure-stage1-target-libsanitizer maybe-configure-stage1-target-libsanitizer
32865 maybe-configure-stage1-target-libsanitizer:
32866 @if target-libsanitizer-bootstrap
32867 maybe-configure-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
32868 configure-stage1-target-libsanitizer:
32869 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32870 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
32871 @r=`${PWD_COMMAND}`; export r; \
32872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32873 TFLAGS="$(STAGE1_TFLAGS)"; \
32874 echo "Checking multilib configuration for libsanitizer..."; \
32875 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32876 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32877 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32878 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32879 else \
32880 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32881 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32882 fi; \
32883 else \
32884 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32885 fi; \
32886 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32887 $(RAW_CXX_TARGET_EXPORTS) \
32888 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32889 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32890 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32891 echo Configuring stage 1 in $(TARGET_SUBDIR)/libsanitizer ; \
32892 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32893 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
32894 case $(srcdir) in \
32895 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32896 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32897 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32898 esac; \
32899 module_srcdir=libsanitizer; \
32900 $(SHELL) $$s/$$module_srcdir/configure \
32901 --srcdir=$${topdir}/$$module_srcdir \
32902 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32903 --target=${target_alias} \
32905 $(STAGE1_CONFIGURE_FLAGS)
32906 @endif target-libsanitizer-bootstrap
32908 .PHONY: configure-stage2-target-libsanitizer maybe-configure-stage2-target-libsanitizer
32909 maybe-configure-stage2-target-libsanitizer:
32910 @if target-libsanitizer-bootstrap
32911 maybe-configure-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
32912 configure-stage2-target-libsanitizer:
32913 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32914 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
32915 @r=`${PWD_COMMAND}`; export r; \
32916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32917 TFLAGS="$(STAGE2_TFLAGS)"; \
32918 echo "Checking multilib configuration for libsanitizer..."; \
32919 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32920 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32921 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32922 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32923 else \
32924 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32925 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32926 fi; \
32927 else \
32928 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32929 fi; \
32930 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32931 $(RAW_CXX_TARGET_EXPORTS) \
32933 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32934 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32935 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32936 echo Configuring stage 2 in $(TARGET_SUBDIR)/libsanitizer ; \
32937 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32938 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
32939 case $(srcdir) in \
32940 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32941 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32942 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32943 esac; \
32944 module_srcdir=libsanitizer; \
32945 $(SHELL) $$s/$$module_srcdir/configure \
32946 --srcdir=$${topdir}/$$module_srcdir \
32947 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32948 --target=${target_alias} \
32949 --with-build-libsubdir=$(HOST_SUBDIR) \
32950 $(STAGE2_CONFIGURE_FLAGS)
32951 @endif target-libsanitizer-bootstrap
32953 .PHONY: configure-stage3-target-libsanitizer maybe-configure-stage3-target-libsanitizer
32954 maybe-configure-stage3-target-libsanitizer:
32955 @if target-libsanitizer-bootstrap
32956 maybe-configure-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
32957 configure-stage3-target-libsanitizer:
32958 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32959 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
32960 @r=`${PWD_COMMAND}`; export r; \
32961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32962 TFLAGS="$(STAGE3_TFLAGS)"; \
32963 echo "Checking multilib configuration for libsanitizer..."; \
32964 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32965 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32966 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32967 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32968 else \
32969 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32970 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32971 fi; \
32972 else \
32973 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32974 fi; \
32975 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32976 $(RAW_CXX_TARGET_EXPORTS) \
32978 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32979 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32980 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32981 echo Configuring stage 3 in $(TARGET_SUBDIR)/libsanitizer ; \
32982 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32983 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
32984 case $(srcdir) in \
32985 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32986 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32987 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32988 esac; \
32989 module_srcdir=libsanitizer; \
32990 $(SHELL) $$s/$$module_srcdir/configure \
32991 --srcdir=$${topdir}/$$module_srcdir \
32992 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32993 --target=${target_alias} \
32994 --with-build-libsubdir=$(HOST_SUBDIR) \
32995 $(STAGE3_CONFIGURE_FLAGS)
32996 @endif target-libsanitizer-bootstrap
32998 .PHONY: configure-stage4-target-libsanitizer maybe-configure-stage4-target-libsanitizer
32999 maybe-configure-stage4-target-libsanitizer:
33000 @if target-libsanitizer-bootstrap
33001 maybe-configure-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
33002 configure-stage4-target-libsanitizer:
33003 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33004 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33005 @r=`${PWD_COMMAND}`; export r; \
33006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33007 TFLAGS="$(STAGE4_TFLAGS)"; \
33008 echo "Checking multilib configuration for libsanitizer..."; \
33009 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33010 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33011 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33012 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33013 else \
33014 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33015 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33016 fi; \
33017 else \
33018 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33019 fi; \
33020 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33021 $(RAW_CXX_TARGET_EXPORTS) \
33023 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33024 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33025 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33026 echo Configuring stage 4 in $(TARGET_SUBDIR)/libsanitizer ; \
33027 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33028 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33029 case $(srcdir) in \
33030 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33031 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33032 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33033 esac; \
33034 module_srcdir=libsanitizer; \
33035 $(SHELL) $$s/$$module_srcdir/configure \
33036 --srcdir=$${topdir}/$$module_srcdir \
33037 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33038 --target=${target_alias} \
33039 --with-build-libsubdir=$(HOST_SUBDIR) \
33040 $(STAGE4_CONFIGURE_FLAGS)
33041 @endif target-libsanitizer-bootstrap
33043 .PHONY: configure-stageprofile-target-libsanitizer maybe-configure-stageprofile-target-libsanitizer
33044 maybe-configure-stageprofile-target-libsanitizer:
33045 @if target-libsanitizer-bootstrap
33046 maybe-configure-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
33047 configure-stageprofile-target-libsanitizer:
33048 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33049 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33050 @r=`${PWD_COMMAND}`; export r; \
33051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33052 TFLAGS="$(STAGEprofile_TFLAGS)"; \
33053 echo "Checking multilib configuration for libsanitizer..."; \
33054 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33055 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33056 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33057 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33058 else \
33059 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33060 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33061 fi; \
33062 else \
33063 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33064 fi; \
33065 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33066 $(RAW_CXX_TARGET_EXPORTS) \
33068 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33069 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33070 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33071 echo Configuring stage profile in $(TARGET_SUBDIR)/libsanitizer ; \
33072 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33073 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33074 case $(srcdir) in \
33075 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33076 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33077 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33078 esac; \
33079 module_srcdir=libsanitizer; \
33080 $(SHELL) $$s/$$module_srcdir/configure \
33081 --srcdir=$${topdir}/$$module_srcdir \
33082 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33083 --target=${target_alias} \
33084 --with-build-libsubdir=$(HOST_SUBDIR) \
33085 $(STAGEprofile_CONFIGURE_FLAGS)
33086 @endif target-libsanitizer-bootstrap
33088 .PHONY: configure-stagefeedback-target-libsanitizer maybe-configure-stagefeedback-target-libsanitizer
33089 maybe-configure-stagefeedback-target-libsanitizer:
33090 @if target-libsanitizer-bootstrap
33091 maybe-configure-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
33092 configure-stagefeedback-target-libsanitizer:
33093 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33094 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33095 @r=`${PWD_COMMAND}`; export r; \
33096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33097 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
33098 echo "Checking multilib configuration for libsanitizer..."; \
33099 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33100 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33101 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33102 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33103 else \
33104 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33105 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33106 fi; \
33107 else \
33108 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33109 fi; \
33110 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33111 $(RAW_CXX_TARGET_EXPORTS) \
33113 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33114 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33115 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33116 echo Configuring stage feedback in $(TARGET_SUBDIR)/libsanitizer ; \
33117 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33118 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33119 case $(srcdir) in \
33120 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33121 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33122 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33123 esac; \
33124 module_srcdir=libsanitizer; \
33125 $(SHELL) $$s/$$module_srcdir/configure \
33126 --srcdir=$${topdir}/$$module_srcdir \
33127 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33128 --target=${target_alias} \
33129 --with-build-libsubdir=$(HOST_SUBDIR) \
33130 $(STAGEfeedback_CONFIGURE_FLAGS)
33131 @endif target-libsanitizer-bootstrap
33137 .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer
33138 maybe-all-target-libsanitizer:
33139 @if gcc-bootstrap
33140 all-target-libsanitizer: stage_current
33141 @endif gcc-bootstrap
33142 @if target-libsanitizer
33143 TARGET-target-libsanitizer=all
33144 maybe-all-target-libsanitizer: all-target-libsanitizer
33145 all-target-libsanitizer: configure-target-libsanitizer
33146 @r=`${PWD_COMMAND}`; export r; \
33147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33148 $(RAW_CXX_TARGET_EXPORTS) \
33149 (cd $(TARGET_SUBDIR)/libsanitizer && \
33150 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33151 $(TARGET-target-libsanitizer))
33152 @endif target-libsanitizer
33156 .PHONY: all-stage1-target-libsanitizer maybe-all-stage1-target-libsanitizer
33157 .PHONY: clean-stage1-target-libsanitizer maybe-clean-stage1-target-libsanitizer
33158 maybe-all-stage1-target-libsanitizer:
33159 maybe-clean-stage1-target-libsanitizer:
33160 @if target-libsanitizer-bootstrap
33161 maybe-all-stage1-target-libsanitizer: all-stage1-target-libsanitizer
33162 all-stage1: all-stage1-target-libsanitizer
33163 TARGET-stage1-target-libsanitizer = $(TARGET-target-libsanitizer)
33164 all-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
33165 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33166 @r=`${PWD_COMMAND}`; export r; \
33167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33168 TFLAGS="$(STAGE1_TFLAGS)"; \
33169 $(RAW_CXX_TARGET_EXPORTS) \
33170 cd $(TARGET_SUBDIR)/libsanitizer && \
33171 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33172 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33173 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33174 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33175 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33176 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33177 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33178 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33180 TFLAGS="$(STAGE1_TFLAGS)" \
33181 $(TARGET-stage1-target-libsanitizer)
33183 maybe-clean-stage1-target-libsanitizer: clean-stage1-target-libsanitizer
33184 clean-stage1: clean-stage1-target-libsanitizer
33185 clean-stage1-target-libsanitizer:
33186 @if [ $(current_stage) = stage1 ]; then \
33187 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33188 else \
33189 [ -f $(TARGET_SUBDIR)/stage1-libsanitizer/Makefile ] || exit 0; \
33190 $(MAKE) stage1-start; \
33191 fi; \
33192 cd $(TARGET_SUBDIR)/libsanitizer && \
33193 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33194 clean
33195 @endif target-libsanitizer-bootstrap
33198 .PHONY: all-stage2-target-libsanitizer maybe-all-stage2-target-libsanitizer
33199 .PHONY: clean-stage2-target-libsanitizer maybe-clean-stage2-target-libsanitizer
33200 maybe-all-stage2-target-libsanitizer:
33201 maybe-clean-stage2-target-libsanitizer:
33202 @if target-libsanitizer-bootstrap
33203 maybe-all-stage2-target-libsanitizer: all-stage2-target-libsanitizer
33204 all-stage2: all-stage2-target-libsanitizer
33205 TARGET-stage2-target-libsanitizer = $(TARGET-target-libsanitizer)
33206 all-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
33207 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33208 @r=`${PWD_COMMAND}`; export r; \
33209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33210 TFLAGS="$(STAGE2_TFLAGS)"; \
33211 $(RAW_CXX_TARGET_EXPORTS) \
33213 cd $(TARGET_SUBDIR)/libsanitizer && \
33214 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33215 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33216 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33217 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33218 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33219 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33220 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33221 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33222 TFLAGS="$(STAGE2_TFLAGS)" \
33223 $(TARGET-stage2-target-libsanitizer)
33225 maybe-clean-stage2-target-libsanitizer: clean-stage2-target-libsanitizer
33226 clean-stage2: clean-stage2-target-libsanitizer
33227 clean-stage2-target-libsanitizer:
33228 @if [ $(current_stage) = stage2 ]; then \
33229 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33230 else \
33231 [ -f $(TARGET_SUBDIR)/stage2-libsanitizer/Makefile ] || exit 0; \
33232 $(MAKE) stage2-start; \
33233 fi; \
33234 cd $(TARGET_SUBDIR)/libsanitizer && \
33235 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33236 @endif target-libsanitizer-bootstrap
33239 .PHONY: all-stage3-target-libsanitizer maybe-all-stage3-target-libsanitizer
33240 .PHONY: clean-stage3-target-libsanitizer maybe-clean-stage3-target-libsanitizer
33241 maybe-all-stage3-target-libsanitizer:
33242 maybe-clean-stage3-target-libsanitizer:
33243 @if target-libsanitizer-bootstrap
33244 maybe-all-stage3-target-libsanitizer: all-stage3-target-libsanitizer
33245 all-stage3: all-stage3-target-libsanitizer
33246 TARGET-stage3-target-libsanitizer = $(TARGET-target-libsanitizer)
33247 all-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
33248 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33249 @r=`${PWD_COMMAND}`; export r; \
33250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33251 TFLAGS="$(STAGE3_TFLAGS)"; \
33252 $(RAW_CXX_TARGET_EXPORTS) \
33254 cd $(TARGET_SUBDIR)/libsanitizer && \
33255 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33256 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33257 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33258 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33259 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33260 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33261 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33262 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33263 TFLAGS="$(STAGE3_TFLAGS)" \
33264 $(TARGET-stage3-target-libsanitizer)
33266 maybe-clean-stage3-target-libsanitizer: clean-stage3-target-libsanitizer
33267 clean-stage3: clean-stage3-target-libsanitizer
33268 clean-stage3-target-libsanitizer:
33269 @if [ $(current_stage) = stage3 ]; then \
33270 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33271 else \
33272 [ -f $(TARGET_SUBDIR)/stage3-libsanitizer/Makefile ] || exit 0; \
33273 $(MAKE) stage3-start; \
33274 fi; \
33275 cd $(TARGET_SUBDIR)/libsanitizer && \
33276 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33277 @endif target-libsanitizer-bootstrap
33280 .PHONY: all-stage4-target-libsanitizer maybe-all-stage4-target-libsanitizer
33281 .PHONY: clean-stage4-target-libsanitizer maybe-clean-stage4-target-libsanitizer
33282 maybe-all-stage4-target-libsanitizer:
33283 maybe-clean-stage4-target-libsanitizer:
33284 @if target-libsanitizer-bootstrap
33285 maybe-all-stage4-target-libsanitizer: all-stage4-target-libsanitizer
33286 all-stage4: all-stage4-target-libsanitizer
33287 TARGET-stage4-target-libsanitizer = $(TARGET-target-libsanitizer)
33288 all-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
33289 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33290 @r=`${PWD_COMMAND}`; export r; \
33291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33292 TFLAGS="$(STAGE4_TFLAGS)"; \
33293 $(RAW_CXX_TARGET_EXPORTS) \
33295 cd $(TARGET_SUBDIR)/libsanitizer && \
33296 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33297 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33298 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33299 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33300 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33301 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33302 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33303 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33304 TFLAGS="$(STAGE4_TFLAGS)" \
33305 $(TARGET-stage4-target-libsanitizer)
33307 maybe-clean-stage4-target-libsanitizer: clean-stage4-target-libsanitizer
33308 clean-stage4: clean-stage4-target-libsanitizer
33309 clean-stage4-target-libsanitizer:
33310 @if [ $(current_stage) = stage4 ]; then \
33311 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33312 else \
33313 [ -f $(TARGET_SUBDIR)/stage4-libsanitizer/Makefile ] || exit 0; \
33314 $(MAKE) stage4-start; \
33315 fi; \
33316 cd $(TARGET_SUBDIR)/libsanitizer && \
33317 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33318 @endif target-libsanitizer-bootstrap
33321 .PHONY: all-stageprofile-target-libsanitizer maybe-all-stageprofile-target-libsanitizer
33322 .PHONY: clean-stageprofile-target-libsanitizer maybe-clean-stageprofile-target-libsanitizer
33323 maybe-all-stageprofile-target-libsanitizer:
33324 maybe-clean-stageprofile-target-libsanitizer:
33325 @if target-libsanitizer-bootstrap
33326 maybe-all-stageprofile-target-libsanitizer: all-stageprofile-target-libsanitizer
33327 all-stageprofile: all-stageprofile-target-libsanitizer
33328 TARGET-stageprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
33329 all-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
33330 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33331 @r=`${PWD_COMMAND}`; export r; \
33332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33333 TFLAGS="$(STAGEprofile_TFLAGS)"; \
33334 $(RAW_CXX_TARGET_EXPORTS) \
33336 cd $(TARGET_SUBDIR)/libsanitizer && \
33337 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33338 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33339 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33340 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33341 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33342 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33343 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33344 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33345 TFLAGS="$(STAGEprofile_TFLAGS)" \
33346 $(TARGET-stageprofile-target-libsanitizer)
33348 maybe-clean-stageprofile-target-libsanitizer: clean-stageprofile-target-libsanitizer
33349 clean-stageprofile: clean-stageprofile-target-libsanitizer
33350 clean-stageprofile-target-libsanitizer:
33351 @if [ $(current_stage) = stageprofile ]; then \
33352 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33353 else \
33354 [ -f $(TARGET_SUBDIR)/stageprofile-libsanitizer/Makefile ] || exit 0; \
33355 $(MAKE) stageprofile-start; \
33356 fi; \
33357 cd $(TARGET_SUBDIR)/libsanitizer && \
33358 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33359 @endif target-libsanitizer-bootstrap
33362 .PHONY: all-stagefeedback-target-libsanitizer maybe-all-stagefeedback-target-libsanitizer
33363 .PHONY: clean-stagefeedback-target-libsanitizer maybe-clean-stagefeedback-target-libsanitizer
33364 maybe-all-stagefeedback-target-libsanitizer:
33365 maybe-clean-stagefeedback-target-libsanitizer:
33366 @if target-libsanitizer-bootstrap
33367 maybe-all-stagefeedback-target-libsanitizer: all-stagefeedback-target-libsanitizer
33368 all-stagefeedback: all-stagefeedback-target-libsanitizer
33369 TARGET-stagefeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
33370 all-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
33371 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33372 @r=`${PWD_COMMAND}`; export r; \
33373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33374 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
33375 $(RAW_CXX_TARGET_EXPORTS) \
33377 cd $(TARGET_SUBDIR)/libsanitizer && \
33378 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33379 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33380 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33381 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33382 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33383 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33384 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33385 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33386 TFLAGS="$(STAGEfeedback_TFLAGS)" \
33387 $(TARGET-stagefeedback-target-libsanitizer)
33389 maybe-clean-stagefeedback-target-libsanitizer: clean-stagefeedback-target-libsanitizer
33390 clean-stagefeedback: clean-stagefeedback-target-libsanitizer
33391 clean-stagefeedback-target-libsanitizer:
33392 @if [ $(current_stage) = stagefeedback ]; then \
33393 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33394 else \
33395 [ -f $(TARGET_SUBDIR)/stagefeedback-libsanitizer/Makefile ] || exit 0; \
33396 $(MAKE) stagefeedback-start; \
33397 fi; \
33398 cd $(TARGET_SUBDIR)/libsanitizer && \
33399 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33400 @endif target-libsanitizer-bootstrap
33407 .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer
33408 maybe-check-target-libsanitizer:
33409 @if target-libsanitizer
33410 maybe-check-target-libsanitizer: check-target-libsanitizer
33412 check-target-libsanitizer:
33413 @: $(MAKE); $(unstage)
33414 @r=`${PWD_COMMAND}`; export r; \
33415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33416 $(RAW_CXX_TARGET_EXPORTS) \
33417 (cd $(TARGET_SUBDIR)/libsanitizer && \
33418 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
33420 @endif target-libsanitizer
33422 .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer
33423 maybe-install-target-libsanitizer:
33424 @if target-libsanitizer
33425 maybe-install-target-libsanitizer: install-target-libsanitizer
33427 install-target-libsanitizer: installdirs
33428 @: $(MAKE); $(unstage)
33429 @r=`${PWD_COMMAND}`; export r; \
33430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33431 $(RAW_CXX_TARGET_EXPORTS) \
33432 (cd $(TARGET_SUBDIR)/libsanitizer && \
33433 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33435 @endif target-libsanitizer
33437 .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer
33438 maybe-install-strip-target-libsanitizer:
33439 @if target-libsanitizer
33440 maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer
33442 install-strip-target-libsanitizer: installdirs
33443 @: $(MAKE); $(unstage)
33444 @r=`${PWD_COMMAND}`; export r; \
33445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33446 $(RAW_CXX_TARGET_EXPORTS) \
33447 (cd $(TARGET_SUBDIR)/libsanitizer && \
33448 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33450 @endif target-libsanitizer
33452 # Other targets (info, dvi, pdf, etc.)
33454 .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer
33455 maybe-info-target-libsanitizer:
33456 @if target-libsanitizer
33457 maybe-info-target-libsanitizer: info-target-libsanitizer
33459 info-target-libsanitizer: \
33460 configure-target-libsanitizer
33461 @: $(MAKE); $(unstage)
33462 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33463 r=`${PWD_COMMAND}`; export r; \
33464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33465 $(RAW_CXX_TARGET_EXPORTS) \
33466 echo "Doing info in $(TARGET_SUBDIR)/libsanitizer" ; \
33467 for flag in $(EXTRA_TARGET_FLAGS); do \
33468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33469 done; \
33470 (cd $(TARGET_SUBDIR)/libsanitizer && \
33471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33473 "RANLIB=$${RANLIB}" \
33474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33475 info) \
33476 || exit 1
33478 @endif target-libsanitizer
33480 .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer
33481 maybe-dvi-target-libsanitizer:
33482 @if target-libsanitizer
33483 maybe-dvi-target-libsanitizer: dvi-target-libsanitizer
33485 dvi-target-libsanitizer: \
33486 configure-target-libsanitizer
33487 @: $(MAKE); $(unstage)
33488 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33489 r=`${PWD_COMMAND}`; export r; \
33490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33491 $(RAW_CXX_TARGET_EXPORTS) \
33492 echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer" ; \
33493 for flag in $(EXTRA_TARGET_FLAGS); do \
33494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33495 done; \
33496 (cd $(TARGET_SUBDIR)/libsanitizer && \
33497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33499 "RANLIB=$${RANLIB}" \
33500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33501 dvi) \
33502 || exit 1
33504 @endif target-libsanitizer
33506 .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer
33507 maybe-pdf-target-libsanitizer:
33508 @if target-libsanitizer
33509 maybe-pdf-target-libsanitizer: pdf-target-libsanitizer
33511 pdf-target-libsanitizer: \
33512 configure-target-libsanitizer
33513 @: $(MAKE); $(unstage)
33514 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33515 r=`${PWD_COMMAND}`; export r; \
33516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33517 $(RAW_CXX_TARGET_EXPORTS) \
33518 echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer" ; \
33519 for flag in $(EXTRA_TARGET_FLAGS); do \
33520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33521 done; \
33522 (cd $(TARGET_SUBDIR)/libsanitizer && \
33523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33525 "RANLIB=$${RANLIB}" \
33526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33527 pdf) \
33528 || exit 1
33530 @endif target-libsanitizer
33532 .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer
33533 maybe-html-target-libsanitizer:
33534 @if target-libsanitizer
33535 maybe-html-target-libsanitizer: html-target-libsanitizer
33537 html-target-libsanitizer: \
33538 configure-target-libsanitizer
33539 @: $(MAKE); $(unstage)
33540 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33541 r=`${PWD_COMMAND}`; export r; \
33542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33543 $(RAW_CXX_TARGET_EXPORTS) \
33544 echo "Doing html in $(TARGET_SUBDIR)/libsanitizer" ; \
33545 for flag in $(EXTRA_TARGET_FLAGS); do \
33546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33547 done; \
33548 (cd $(TARGET_SUBDIR)/libsanitizer && \
33549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33551 "RANLIB=$${RANLIB}" \
33552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33553 html) \
33554 || exit 1
33556 @endif target-libsanitizer
33558 .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer
33559 maybe-TAGS-target-libsanitizer:
33560 @if target-libsanitizer
33561 maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer
33563 TAGS-target-libsanitizer: \
33564 configure-target-libsanitizer
33565 @: $(MAKE); $(unstage)
33566 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33567 r=`${PWD_COMMAND}`; export r; \
33568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33569 $(RAW_CXX_TARGET_EXPORTS) \
33570 echo "Doing TAGS in $(TARGET_SUBDIR)/libsanitizer" ; \
33571 for flag in $(EXTRA_TARGET_FLAGS); do \
33572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33573 done; \
33574 (cd $(TARGET_SUBDIR)/libsanitizer && \
33575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33577 "RANLIB=$${RANLIB}" \
33578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33579 TAGS) \
33580 || exit 1
33582 @endif target-libsanitizer
33584 .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer
33585 maybe-install-info-target-libsanitizer:
33586 @if target-libsanitizer
33587 maybe-install-info-target-libsanitizer: install-info-target-libsanitizer
33589 install-info-target-libsanitizer: \
33590 configure-target-libsanitizer \
33591 info-target-libsanitizer
33592 @: $(MAKE); $(unstage)
33593 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33594 r=`${PWD_COMMAND}`; export r; \
33595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33596 $(RAW_CXX_TARGET_EXPORTS) \
33597 echo "Doing install-info in $(TARGET_SUBDIR)/libsanitizer" ; \
33598 for flag in $(EXTRA_TARGET_FLAGS); do \
33599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33600 done; \
33601 (cd $(TARGET_SUBDIR)/libsanitizer && \
33602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33604 "RANLIB=$${RANLIB}" \
33605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33606 install-info) \
33607 || exit 1
33609 @endif target-libsanitizer
33611 .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer
33612 maybe-install-pdf-target-libsanitizer:
33613 @if target-libsanitizer
33614 maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer
33616 install-pdf-target-libsanitizer: \
33617 configure-target-libsanitizer \
33618 pdf-target-libsanitizer
33619 @: $(MAKE); $(unstage)
33620 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33621 r=`${PWD_COMMAND}`; export r; \
33622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33623 $(RAW_CXX_TARGET_EXPORTS) \
33624 echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer" ; \
33625 for flag in $(EXTRA_TARGET_FLAGS); do \
33626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33627 done; \
33628 (cd $(TARGET_SUBDIR)/libsanitizer && \
33629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33631 "RANLIB=$${RANLIB}" \
33632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33633 install-pdf) \
33634 || exit 1
33636 @endif target-libsanitizer
33638 .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer
33639 maybe-install-html-target-libsanitizer:
33640 @if target-libsanitizer
33641 maybe-install-html-target-libsanitizer: install-html-target-libsanitizer
33643 install-html-target-libsanitizer: \
33644 configure-target-libsanitizer \
33645 html-target-libsanitizer
33646 @: $(MAKE); $(unstage)
33647 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33648 r=`${PWD_COMMAND}`; export r; \
33649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33650 $(RAW_CXX_TARGET_EXPORTS) \
33651 echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer" ; \
33652 for flag in $(EXTRA_TARGET_FLAGS); do \
33653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33654 done; \
33655 (cd $(TARGET_SUBDIR)/libsanitizer && \
33656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33658 "RANLIB=$${RANLIB}" \
33659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33660 install-html) \
33661 || exit 1
33663 @endif target-libsanitizer
33665 .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer
33666 maybe-installcheck-target-libsanitizer:
33667 @if target-libsanitizer
33668 maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer
33670 installcheck-target-libsanitizer: \
33671 configure-target-libsanitizer
33672 @: $(MAKE); $(unstage)
33673 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33674 r=`${PWD_COMMAND}`; export r; \
33675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33676 $(RAW_CXX_TARGET_EXPORTS) \
33677 echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer" ; \
33678 for flag in $(EXTRA_TARGET_FLAGS); do \
33679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33680 done; \
33681 (cd $(TARGET_SUBDIR)/libsanitizer && \
33682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33684 "RANLIB=$${RANLIB}" \
33685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33686 installcheck) \
33687 || exit 1
33689 @endif target-libsanitizer
33691 .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer
33692 maybe-mostlyclean-target-libsanitizer:
33693 @if target-libsanitizer
33694 maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer
33696 mostlyclean-target-libsanitizer:
33697 @: $(MAKE); $(unstage)
33698 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33699 r=`${PWD_COMMAND}`; export r; \
33700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33701 $(RAW_CXX_TARGET_EXPORTS) \
33702 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libsanitizer" ; \
33703 for flag in $(EXTRA_TARGET_FLAGS); do \
33704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33705 done; \
33706 (cd $(TARGET_SUBDIR)/libsanitizer && \
33707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33709 "RANLIB=$${RANLIB}" \
33710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33711 mostlyclean) \
33712 || exit 1
33714 @endif target-libsanitizer
33716 .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer
33717 maybe-clean-target-libsanitizer:
33718 @if target-libsanitizer
33719 maybe-clean-target-libsanitizer: clean-target-libsanitizer
33721 clean-target-libsanitizer:
33722 @: $(MAKE); $(unstage)
33723 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33724 r=`${PWD_COMMAND}`; export r; \
33725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33726 $(RAW_CXX_TARGET_EXPORTS) \
33727 echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer" ; \
33728 for flag in $(EXTRA_TARGET_FLAGS); do \
33729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33730 done; \
33731 (cd $(TARGET_SUBDIR)/libsanitizer && \
33732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33734 "RANLIB=$${RANLIB}" \
33735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33736 clean) \
33737 || exit 1
33739 @endif target-libsanitizer
33741 .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer
33742 maybe-distclean-target-libsanitizer:
33743 @if target-libsanitizer
33744 maybe-distclean-target-libsanitizer: distclean-target-libsanitizer
33746 distclean-target-libsanitizer:
33747 @: $(MAKE); $(unstage)
33748 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33749 r=`${PWD_COMMAND}`; export r; \
33750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33751 $(RAW_CXX_TARGET_EXPORTS) \
33752 echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer" ; \
33753 for flag in $(EXTRA_TARGET_FLAGS); do \
33754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33755 done; \
33756 (cd $(TARGET_SUBDIR)/libsanitizer && \
33757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33759 "RANLIB=$${RANLIB}" \
33760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33761 distclean) \
33762 || exit 1
33764 @endif target-libsanitizer
33766 .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer
33767 maybe-maintainer-clean-target-libsanitizer:
33768 @if target-libsanitizer
33769 maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer
33771 maintainer-clean-target-libsanitizer:
33772 @: $(MAKE); $(unstage)
33773 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33774 r=`${PWD_COMMAND}`; export r; \
33775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33776 $(RAW_CXX_TARGET_EXPORTS) \
33777 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer" ; \
33778 for flag in $(EXTRA_TARGET_FLAGS); do \
33779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33780 done; \
33781 (cd $(TARGET_SUBDIR)/libsanitizer && \
33782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33784 "RANLIB=$${RANLIB}" \
33785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33786 maintainer-clean) \
33787 || exit 1
33789 @endif target-libsanitizer
33795 .PHONY: configure-target-libvtv maybe-configure-target-libvtv
33796 maybe-configure-target-libvtv:
33797 @if gcc-bootstrap
33798 configure-target-libvtv: stage_current
33799 @endif gcc-bootstrap
33800 @if target-libvtv
33801 maybe-configure-target-libvtv: configure-target-libvtv
33802 configure-target-libvtv:
33803 @r=`${PWD_COMMAND}`; export r; \
33804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33805 echo "Checking multilib configuration for libvtv..."; \
33806 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
33807 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
33808 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33809 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33810 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
33811 else \
33812 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
33813 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33814 fi; \
33815 else \
33816 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33817 fi; \
33818 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
33819 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
33820 $(RAW_CXX_TARGET_EXPORTS) \
33821 echo Configuring in $(TARGET_SUBDIR)/libvtv; \
33822 cd "$(TARGET_SUBDIR)/libvtv" || exit 1; \
33823 case $(srcdir) in \
33824 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33825 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
33826 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33827 esac; \
33828 module_srcdir=libvtv; \
33829 rm -f no-such-file || : ; \
33830 CONFIG_SITE=no-such-file $(SHELL) \
33831 $$s/$$module_srcdir/configure \
33832 --srcdir=$${topdir}/$$module_srcdir \
33833 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33834 --target=${target_alias} \
33835 || exit 1
33836 @endif target-libvtv
33840 .PHONY: configure-stage1-target-libvtv maybe-configure-stage1-target-libvtv
33841 maybe-configure-stage1-target-libvtv:
33842 @if target-libvtv-bootstrap
33843 maybe-configure-stage1-target-libvtv: configure-stage1-target-libvtv
33844 configure-stage1-target-libvtv:
33845 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33846 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
33847 @r=`${PWD_COMMAND}`; export r; \
33848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33849 TFLAGS="$(STAGE1_TFLAGS)"; \
33850 echo "Checking multilib configuration for libvtv..."; \
33851 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
33852 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33853 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33854 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
33855 else \
33856 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
33857 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33858 fi; \
33859 else \
33860 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33861 fi; \
33862 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
33863 $(RAW_CXX_TARGET_EXPORTS) \
33864 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33865 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33866 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33867 echo Configuring stage 1 in $(TARGET_SUBDIR)/libvtv ; \
33868 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
33869 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
33870 case $(srcdir) in \
33871 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33872 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
33873 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33874 esac; \
33875 module_srcdir=libvtv; \
33876 $(SHELL) $$s/$$module_srcdir/configure \
33877 --srcdir=$${topdir}/$$module_srcdir \
33878 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33879 --target=${target_alias} \
33881 $(STAGE1_CONFIGURE_FLAGS)
33882 @endif target-libvtv-bootstrap
33884 .PHONY: configure-stage2-target-libvtv maybe-configure-stage2-target-libvtv
33885 maybe-configure-stage2-target-libvtv:
33886 @if target-libvtv-bootstrap
33887 maybe-configure-stage2-target-libvtv: configure-stage2-target-libvtv
33888 configure-stage2-target-libvtv:
33889 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33890 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
33891 @r=`${PWD_COMMAND}`; export r; \
33892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33893 TFLAGS="$(STAGE2_TFLAGS)"; \
33894 echo "Checking multilib configuration for libvtv..."; \
33895 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
33896 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33897 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33898 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
33899 else \
33900 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
33901 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33902 fi; \
33903 else \
33904 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33905 fi; \
33906 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
33907 $(RAW_CXX_TARGET_EXPORTS) \
33909 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33910 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33911 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33912 echo Configuring stage 2 in $(TARGET_SUBDIR)/libvtv ; \
33913 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
33914 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
33915 case $(srcdir) in \
33916 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33917 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
33918 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33919 esac; \
33920 module_srcdir=libvtv; \
33921 $(SHELL) $$s/$$module_srcdir/configure \
33922 --srcdir=$${topdir}/$$module_srcdir \
33923 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33924 --target=${target_alias} \
33925 --with-build-libsubdir=$(HOST_SUBDIR) \
33926 $(STAGE2_CONFIGURE_FLAGS)
33927 @endif target-libvtv-bootstrap
33929 .PHONY: configure-stage3-target-libvtv maybe-configure-stage3-target-libvtv
33930 maybe-configure-stage3-target-libvtv:
33931 @if target-libvtv-bootstrap
33932 maybe-configure-stage3-target-libvtv: configure-stage3-target-libvtv
33933 configure-stage3-target-libvtv:
33934 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33935 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
33936 @r=`${PWD_COMMAND}`; export r; \
33937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33938 TFLAGS="$(STAGE3_TFLAGS)"; \
33939 echo "Checking multilib configuration for libvtv..."; \
33940 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
33941 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33942 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33943 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
33944 else \
33945 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
33946 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33947 fi; \
33948 else \
33949 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33950 fi; \
33951 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
33952 $(RAW_CXX_TARGET_EXPORTS) \
33954 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33955 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33956 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33957 echo Configuring stage 3 in $(TARGET_SUBDIR)/libvtv ; \
33958 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
33959 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
33960 case $(srcdir) in \
33961 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33962 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
33963 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33964 esac; \
33965 module_srcdir=libvtv; \
33966 $(SHELL) $$s/$$module_srcdir/configure \
33967 --srcdir=$${topdir}/$$module_srcdir \
33968 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33969 --target=${target_alias} \
33970 --with-build-libsubdir=$(HOST_SUBDIR) \
33971 $(STAGE3_CONFIGURE_FLAGS)
33972 @endif target-libvtv-bootstrap
33974 .PHONY: configure-stage4-target-libvtv maybe-configure-stage4-target-libvtv
33975 maybe-configure-stage4-target-libvtv:
33976 @if target-libvtv-bootstrap
33977 maybe-configure-stage4-target-libvtv: configure-stage4-target-libvtv
33978 configure-stage4-target-libvtv:
33979 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33980 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
33981 @r=`${PWD_COMMAND}`; export r; \
33982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33983 TFLAGS="$(STAGE4_TFLAGS)"; \
33984 echo "Checking multilib configuration for libvtv..."; \
33985 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
33986 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33987 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33988 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
33989 else \
33990 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
33991 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33992 fi; \
33993 else \
33994 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33995 fi; \
33996 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
33997 $(RAW_CXX_TARGET_EXPORTS) \
33999 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34000 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34001 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34002 echo Configuring stage 4 in $(TARGET_SUBDIR)/libvtv ; \
34003 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34004 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34005 case $(srcdir) in \
34006 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34007 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34008 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34009 esac; \
34010 module_srcdir=libvtv; \
34011 $(SHELL) $$s/$$module_srcdir/configure \
34012 --srcdir=$${topdir}/$$module_srcdir \
34013 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34014 --target=${target_alias} \
34015 --with-build-libsubdir=$(HOST_SUBDIR) \
34016 $(STAGE4_CONFIGURE_FLAGS)
34017 @endif target-libvtv-bootstrap
34019 .PHONY: configure-stageprofile-target-libvtv maybe-configure-stageprofile-target-libvtv
34020 maybe-configure-stageprofile-target-libvtv:
34021 @if target-libvtv-bootstrap
34022 maybe-configure-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
34023 configure-stageprofile-target-libvtv:
34024 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34025 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34026 @r=`${PWD_COMMAND}`; export r; \
34027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34028 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34029 echo "Checking multilib configuration for libvtv..."; \
34030 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34031 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34032 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34033 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34034 else \
34035 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34036 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34037 fi; \
34038 else \
34039 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34040 fi; \
34041 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34042 $(RAW_CXX_TARGET_EXPORTS) \
34044 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34045 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34046 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34047 echo Configuring stage profile in $(TARGET_SUBDIR)/libvtv ; \
34048 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34049 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34050 case $(srcdir) in \
34051 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34052 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34053 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34054 esac; \
34055 module_srcdir=libvtv; \
34056 $(SHELL) $$s/$$module_srcdir/configure \
34057 --srcdir=$${topdir}/$$module_srcdir \
34058 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34059 --target=${target_alias} \
34060 --with-build-libsubdir=$(HOST_SUBDIR) \
34061 $(STAGEprofile_CONFIGURE_FLAGS)
34062 @endif target-libvtv-bootstrap
34064 .PHONY: configure-stagefeedback-target-libvtv maybe-configure-stagefeedback-target-libvtv
34065 maybe-configure-stagefeedback-target-libvtv:
34066 @if target-libvtv-bootstrap
34067 maybe-configure-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
34068 configure-stagefeedback-target-libvtv:
34069 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34070 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34071 @r=`${PWD_COMMAND}`; export r; \
34072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34073 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34074 echo "Checking multilib configuration for libvtv..."; \
34075 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34076 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34077 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34078 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34079 else \
34080 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34081 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34082 fi; \
34083 else \
34084 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34085 fi; \
34086 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34087 $(RAW_CXX_TARGET_EXPORTS) \
34089 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34090 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34091 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34092 echo Configuring stage feedback in $(TARGET_SUBDIR)/libvtv ; \
34093 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34094 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34095 case $(srcdir) in \
34096 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34097 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34098 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34099 esac; \
34100 module_srcdir=libvtv; \
34101 $(SHELL) $$s/$$module_srcdir/configure \
34102 --srcdir=$${topdir}/$$module_srcdir \
34103 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34104 --target=${target_alias} \
34105 --with-build-libsubdir=$(HOST_SUBDIR) \
34106 $(STAGEfeedback_CONFIGURE_FLAGS)
34107 @endif target-libvtv-bootstrap
34113 .PHONY: all-target-libvtv maybe-all-target-libvtv
34114 maybe-all-target-libvtv:
34115 @if gcc-bootstrap
34116 all-target-libvtv: stage_current
34117 @endif gcc-bootstrap
34118 @if target-libvtv
34119 TARGET-target-libvtv=all
34120 maybe-all-target-libvtv: all-target-libvtv
34121 all-target-libvtv: configure-target-libvtv
34122 @r=`${PWD_COMMAND}`; export r; \
34123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34124 $(RAW_CXX_TARGET_EXPORTS) \
34125 (cd $(TARGET_SUBDIR)/libvtv && \
34126 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34127 $(TARGET-target-libvtv))
34128 @endif target-libvtv
34132 .PHONY: all-stage1-target-libvtv maybe-all-stage1-target-libvtv
34133 .PHONY: clean-stage1-target-libvtv maybe-clean-stage1-target-libvtv
34134 maybe-all-stage1-target-libvtv:
34135 maybe-clean-stage1-target-libvtv:
34136 @if target-libvtv-bootstrap
34137 maybe-all-stage1-target-libvtv: all-stage1-target-libvtv
34138 all-stage1: all-stage1-target-libvtv
34139 TARGET-stage1-target-libvtv = $(TARGET-target-libvtv)
34140 all-stage1-target-libvtv: configure-stage1-target-libvtv
34141 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
34142 @r=`${PWD_COMMAND}`; export r; \
34143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34144 TFLAGS="$(STAGE1_TFLAGS)"; \
34145 $(RAW_CXX_TARGET_EXPORTS) \
34146 cd $(TARGET_SUBDIR)/libvtv && \
34147 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34148 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34149 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34150 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34151 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34152 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34153 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34154 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34156 TFLAGS="$(STAGE1_TFLAGS)" \
34157 $(TARGET-stage1-target-libvtv)
34159 maybe-clean-stage1-target-libvtv: clean-stage1-target-libvtv
34160 clean-stage1: clean-stage1-target-libvtv
34161 clean-stage1-target-libvtv:
34162 @if [ $(current_stage) = stage1 ]; then \
34163 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34164 else \
34165 [ -f $(TARGET_SUBDIR)/stage1-libvtv/Makefile ] || exit 0; \
34166 $(MAKE) stage1-start; \
34167 fi; \
34168 cd $(TARGET_SUBDIR)/libvtv && \
34169 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34170 clean
34171 @endif target-libvtv-bootstrap
34174 .PHONY: all-stage2-target-libvtv maybe-all-stage2-target-libvtv
34175 .PHONY: clean-stage2-target-libvtv maybe-clean-stage2-target-libvtv
34176 maybe-all-stage2-target-libvtv:
34177 maybe-clean-stage2-target-libvtv:
34178 @if target-libvtv-bootstrap
34179 maybe-all-stage2-target-libvtv: all-stage2-target-libvtv
34180 all-stage2: all-stage2-target-libvtv
34181 TARGET-stage2-target-libvtv = $(TARGET-target-libvtv)
34182 all-stage2-target-libvtv: configure-stage2-target-libvtv
34183 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
34184 @r=`${PWD_COMMAND}`; export r; \
34185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34186 TFLAGS="$(STAGE2_TFLAGS)"; \
34187 $(RAW_CXX_TARGET_EXPORTS) \
34189 cd $(TARGET_SUBDIR)/libvtv && \
34190 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34191 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34192 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34193 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34194 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34195 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34196 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34197 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34198 TFLAGS="$(STAGE2_TFLAGS)" \
34199 $(TARGET-stage2-target-libvtv)
34201 maybe-clean-stage2-target-libvtv: clean-stage2-target-libvtv
34202 clean-stage2: clean-stage2-target-libvtv
34203 clean-stage2-target-libvtv:
34204 @if [ $(current_stage) = stage2 ]; then \
34205 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34206 else \
34207 [ -f $(TARGET_SUBDIR)/stage2-libvtv/Makefile ] || exit 0; \
34208 $(MAKE) stage2-start; \
34209 fi; \
34210 cd $(TARGET_SUBDIR)/libvtv && \
34211 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34212 @endif target-libvtv-bootstrap
34215 .PHONY: all-stage3-target-libvtv maybe-all-stage3-target-libvtv
34216 .PHONY: clean-stage3-target-libvtv maybe-clean-stage3-target-libvtv
34217 maybe-all-stage3-target-libvtv:
34218 maybe-clean-stage3-target-libvtv:
34219 @if target-libvtv-bootstrap
34220 maybe-all-stage3-target-libvtv: all-stage3-target-libvtv
34221 all-stage3: all-stage3-target-libvtv
34222 TARGET-stage3-target-libvtv = $(TARGET-target-libvtv)
34223 all-stage3-target-libvtv: configure-stage3-target-libvtv
34224 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
34225 @r=`${PWD_COMMAND}`; export r; \
34226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34227 TFLAGS="$(STAGE3_TFLAGS)"; \
34228 $(RAW_CXX_TARGET_EXPORTS) \
34230 cd $(TARGET_SUBDIR)/libvtv && \
34231 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34232 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34233 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34234 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34235 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34236 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34237 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34238 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34239 TFLAGS="$(STAGE3_TFLAGS)" \
34240 $(TARGET-stage3-target-libvtv)
34242 maybe-clean-stage3-target-libvtv: clean-stage3-target-libvtv
34243 clean-stage3: clean-stage3-target-libvtv
34244 clean-stage3-target-libvtv:
34245 @if [ $(current_stage) = stage3 ]; then \
34246 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34247 else \
34248 [ -f $(TARGET_SUBDIR)/stage3-libvtv/Makefile ] || exit 0; \
34249 $(MAKE) stage3-start; \
34250 fi; \
34251 cd $(TARGET_SUBDIR)/libvtv && \
34252 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34253 @endif target-libvtv-bootstrap
34256 .PHONY: all-stage4-target-libvtv maybe-all-stage4-target-libvtv
34257 .PHONY: clean-stage4-target-libvtv maybe-clean-stage4-target-libvtv
34258 maybe-all-stage4-target-libvtv:
34259 maybe-clean-stage4-target-libvtv:
34260 @if target-libvtv-bootstrap
34261 maybe-all-stage4-target-libvtv: all-stage4-target-libvtv
34262 all-stage4: all-stage4-target-libvtv
34263 TARGET-stage4-target-libvtv = $(TARGET-target-libvtv)
34264 all-stage4-target-libvtv: configure-stage4-target-libvtv
34265 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
34266 @r=`${PWD_COMMAND}`; export r; \
34267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34268 TFLAGS="$(STAGE4_TFLAGS)"; \
34269 $(RAW_CXX_TARGET_EXPORTS) \
34271 cd $(TARGET_SUBDIR)/libvtv && \
34272 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34273 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34274 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34275 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34276 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34277 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34278 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34279 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34280 TFLAGS="$(STAGE4_TFLAGS)" \
34281 $(TARGET-stage4-target-libvtv)
34283 maybe-clean-stage4-target-libvtv: clean-stage4-target-libvtv
34284 clean-stage4: clean-stage4-target-libvtv
34285 clean-stage4-target-libvtv:
34286 @if [ $(current_stage) = stage4 ]; then \
34287 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34288 else \
34289 [ -f $(TARGET_SUBDIR)/stage4-libvtv/Makefile ] || exit 0; \
34290 $(MAKE) stage4-start; \
34291 fi; \
34292 cd $(TARGET_SUBDIR)/libvtv && \
34293 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34294 @endif target-libvtv-bootstrap
34297 .PHONY: all-stageprofile-target-libvtv maybe-all-stageprofile-target-libvtv
34298 .PHONY: clean-stageprofile-target-libvtv maybe-clean-stageprofile-target-libvtv
34299 maybe-all-stageprofile-target-libvtv:
34300 maybe-clean-stageprofile-target-libvtv:
34301 @if target-libvtv-bootstrap
34302 maybe-all-stageprofile-target-libvtv: all-stageprofile-target-libvtv
34303 all-stageprofile: all-stageprofile-target-libvtv
34304 TARGET-stageprofile-target-libvtv = $(TARGET-target-libvtv)
34305 all-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
34306 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34307 @r=`${PWD_COMMAND}`; export r; \
34308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34309 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34310 $(RAW_CXX_TARGET_EXPORTS) \
34312 cd $(TARGET_SUBDIR)/libvtv && \
34313 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34314 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34315 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34316 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34317 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34318 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34319 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34320 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34321 TFLAGS="$(STAGEprofile_TFLAGS)" \
34322 $(TARGET-stageprofile-target-libvtv)
34324 maybe-clean-stageprofile-target-libvtv: clean-stageprofile-target-libvtv
34325 clean-stageprofile: clean-stageprofile-target-libvtv
34326 clean-stageprofile-target-libvtv:
34327 @if [ $(current_stage) = stageprofile ]; then \
34328 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34329 else \
34330 [ -f $(TARGET_SUBDIR)/stageprofile-libvtv/Makefile ] || exit 0; \
34331 $(MAKE) stageprofile-start; \
34332 fi; \
34333 cd $(TARGET_SUBDIR)/libvtv && \
34334 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34335 @endif target-libvtv-bootstrap
34338 .PHONY: all-stagefeedback-target-libvtv maybe-all-stagefeedback-target-libvtv
34339 .PHONY: clean-stagefeedback-target-libvtv maybe-clean-stagefeedback-target-libvtv
34340 maybe-all-stagefeedback-target-libvtv:
34341 maybe-clean-stagefeedback-target-libvtv:
34342 @if target-libvtv-bootstrap
34343 maybe-all-stagefeedback-target-libvtv: all-stagefeedback-target-libvtv
34344 all-stagefeedback: all-stagefeedback-target-libvtv
34345 TARGET-stagefeedback-target-libvtv = $(TARGET-target-libvtv)
34346 all-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
34347 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34348 @r=`${PWD_COMMAND}`; export r; \
34349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34350 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34351 $(RAW_CXX_TARGET_EXPORTS) \
34353 cd $(TARGET_SUBDIR)/libvtv && \
34354 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34355 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34356 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34357 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34358 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34359 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34360 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34361 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34362 TFLAGS="$(STAGEfeedback_TFLAGS)" \
34363 $(TARGET-stagefeedback-target-libvtv)
34365 maybe-clean-stagefeedback-target-libvtv: clean-stagefeedback-target-libvtv
34366 clean-stagefeedback: clean-stagefeedback-target-libvtv
34367 clean-stagefeedback-target-libvtv:
34368 @if [ $(current_stage) = stagefeedback ]; then \
34369 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34370 else \
34371 [ -f $(TARGET_SUBDIR)/stagefeedback-libvtv/Makefile ] || exit 0; \
34372 $(MAKE) stagefeedback-start; \
34373 fi; \
34374 cd $(TARGET_SUBDIR)/libvtv && \
34375 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34376 @endif target-libvtv-bootstrap
34383 .PHONY: check-target-libvtv maybe-check-target-libvtv
34384 maybe-check-target-libvtv:
34385 @if target-libvtv
34386 maybe-check-target-libvtv: check-target-libvtv
34388 check-target-libvtv:
34389 @: $(MAKE); $(unstage)
34390 @r=`${PWD_COMMAND}`; export r; \
34391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34392 $(RAW_CXX_TARGET_EXPORTS) \
34393 (cd $(TARGET_SUBDIR)/libvtv && \
34394 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
34396 @endif target-libvtv
34398 .PHONY: install-target-libvtv maybe-install-target-libvtv
34399 maybe-install-target-libvtv:
34400 @if target-libvtv
34401 maybe-install-target-libvtv: install-target-libvtv
34403 install-target-libvtv: installdirs
34404 @: $(MAKE); $(unstage)
34405 @r=`${PWD_COMMAND}`; export r; \
34406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34407 $(RAW_CXX_TARGET_EXPORTS) \
34408 (cd $(TARGET_SUBDIR)/libvtv && \
34409 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34411 @endif target-libvtv
34413 .PHONY: install-strip-target-libvtv maybe-install-strip-target-libvtv
34414 maybe-install-strip-target-libvtv:
34415 @if target-libvtv
34416 maybe-install-strip-target-libvtv: install-strip-target-libvtv
34418 install-strip-target-libvtv: installdirs
34419 @: $(MAKE); $(unstage)
34420 @r=`${PWD_COMMAND}`; export r; \
34421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34422 $(RAW_CXX_TARGET_EXPORTS) \
34423 (cd $(TARGET_SUBDIR)/libvtv && \
34424 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34426 @endif target-libvtv
34428 # Other targets (info, dvi, pdf, etc.)
34430 .PHONY: maybe-info-target-libvtv info-target-libvtv
34431 maybe-info-target-libvtv:
34432 @if target-libvtv
34433 maybe-info-target-libvtv: info-target-libvtv
34435 info-target-libvtv: \
34436 configure-target-libvtv
34437 @: $(MAKE); $(unstage)
34438 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34439 r=`${PWD_COMMAND}`; export r; \
34440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34441 $(RAW_CXX_TARGET_EXPORTS) \
34442 echo "Doing info in $(TARGET_SUBDIR)/libvtv" ; \
34443 for flag in $(EXTRA_TARGET_FLAGS); do \
34444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34445 done; \
34446 (cd $(TARGET_SUBDIR)/libvtv && \
34447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34449 "RANLIB=$${RANLIB}" \
34450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34451 info) \
34452 || exit 1
34454 @endif target-libvtv
34456 .PHONY: maybe-dvi-target-libvtv dvi-target-libvtv
34457 maybe-dvi-target-libvtv:
34458 @if target-libvtv
34459 maybe-dvi-target-libvtv: dvi-target-libvtv
34461 dvi-target-libvtv: \
34462 configure-target-libvtv
34463 @: $(MAKE); $(unstage)
34464 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34465 r=`${PWD_COMMAND}`; export r; \
34466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34467 $(RAW_CXX_TARGET_EXPORTS) \
34468 echo "Doing dvi in $(TARGET_SUBDIR)/libvtv" ; \
34469 for flag in $(EXTRA_TARGET_FLAGS); do \
34470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34471 done; \
34472 (cd $(TARGET_SUBDIR)/libvtv && \
34473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34475 "RANLIB=$${RANLIB}" \
34476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34477 dvi) \
34478 || exit 1
34480 @endif target-libvtv
34482 .PHONY: maybe-pdf-target-libvtv pdf-target-libvtv
34483 maybe-pdf-target-libvtv:
34484 @if target-libvtv
34485 maybe-pdf-target-libvtv: pdf-target-libvtv
34487 pdf-target-libvtv: \
34488 configure-target-libvtv
34489 @: $(MAKE); $(unstage)
34490 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34491 r=`${PWD_COMMAND}`; export r; \
34492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34493 $(RAW_CXX_TARGET_EXPORTS) \
34494 echo "Doing pdf in $(TARGET_SUBDIR)/libvtv" ; \
34495 for flag in $(EXTRA_TARGET_FLAGS); do \
34496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34497 done; \
34498 (cd $(TARGET_SUBDIR)/libvtv && \
34499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34501 "RANLIB=$${RANLIB}" \
34502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34503 pdf) \
34504 || exit 1
34506 @endif target-libvtv
34508 .PHONY: maybe-html-target-libvtv html-target-libvtv
34509 maybe-html-target-libvtv:
34510 @if target-libvtv
34511 maybe-html-target-libvtv: html-target-libvtv
34513 html-target-libvtv: \
34514 configure-target-libvtv
34515 @: $(MAKE); $(unstage)
34516 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34517 r=`${PWD_COMMAND}`; export r; \
34518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34519 $(RAW_CXX_TARGET_EXPORTS) \
34520 echo "Doing html in $(TARGET_SUBDIR)/libvtv" ; \
34521 for flag in $(EXTRA_TARGET_FLAGS); do \
34522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34523 done; \
34524 (cd $(TARGET_SUBDIR)/libvtv && \
34525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34527 "RANLIB=$${RANLIB}" \
34528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34529 html) \
34530 || exit 1
34532 @endif target-libvtv
34534 .PHONY: maybe-TAGS-target-libvtv TAGS-target-libvtv
34535 maybe-TAGS-target-libvtv:
34536 @if target-libvtv
34537 maybe-TAGS-target-libvtv: TAGS-target-libvtv
34539 TAGS-target-libvtv: \
34540 configure-target-libvtv
34541 @: $(MAKE); $(unstage)
34542 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34543 r=`${PWD_COMMAND}`; export r; \
34544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34545 $(RAW_CXX_TARGET_EXPORTS) \
34546 echo "Doing TAGS in $(TARGET_SUBDIR)/libvtv" ; \
34547 for flag in $(EXTRA_TARGET_FLAGS); do \
34548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34549 done; \
34550 (cd $(TARGET_SUBDIR)/libvtv && \
34551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34553 "RANLIB=$${RANLIB}" \
34554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34555 TAGS) \
34556 || exit 1
34558 @endif target-libvtv
34560 .PHONY: maybe-install-info-target-libvtv install-info-target-libvtv
34561 maybe-install-info-target-libvtv:
34562 @if target-libvtv
34563 maybe-install-info-target-libvtv: install-info-target-libvtv
34565 install-info-target-libvtv: \
34566 configure-target-libvtv \
34567 info-target-libvtv
34568 @: $(MAKE); $(unstage)
34569 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34570 r=`${PWD_COMMAND}`; export r; \
34571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34572 $(RAW_CXX_TARGET_EXPORTS) \
34573 echo "Doing install-info in $(TARGET_SUBDIR)/libvtv" ; \
34574 for flag in $(EXTRA_TARGET_FLAGS); do \
34575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34576 done; \
34577 (cd $(TARGET_SUBDIR)/libvtv && \
34578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34580 "RANLIB=$${RANLIB}" \
34581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34582 install-info) \
34583 || exit 1
34585 @endif target-libvtv
34587 .PHONY: maybe-install-pdf-target-libvtv install-pdf-target-libvtv
34588 maybe-install-pdf-target-libvtv:
34589 @if target-libvtv
34590 maybe-install-pdf-target-libvtv: install-pdf-target-libvtv
34592 install-pdf-target-libvtv: \
34593 configure-target-libvtv \
34594 pdf-target-libvtv
34595 @: $(MAKE); $(unstage)
34596 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34597 r=`${PWD_COMMAND}`; export r; \
34598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34599 $(RAW_CXX_TARGET_EXPORTS) \
34600 echo "Doing install-pdf in $(TARGET_SUBDIR)/libvtv" ; \
34601 for flag in $(EXTRA_TARGET_FLAGS); do \
34602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34603 done; \
34604 (cd $(TARGET_SUBDIR)/libvtv && \
34605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34607 "RANLIB=$${RANLIB}" \
34608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34609 install-pdf) \
34610 || exit 1
34612 @endif target-libvtv
34614 .PHONY: maybe-install-html-target-libvtv install-html-target-libvtv
34615 maybe-install-html-target-libvtv:
34616 @if target-libvtv
34617 maybe-install-html-target-libvtv: install-html-target-libvtv
34619 install-html-target-libvtv: \
34620 configure-target-libvtv \
34621 html-target-libvtv
34622 @: $(MAKE); $(unstage)
34623 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34624 r=`${PWD_COMMAND}`; export r; \
34625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34626 $(RAW_CXX_TARGET_EXPORTS) \
34627 echo "Doing install-html in $(TARGET_SUBDIR)/libvtv" ; \
34628 for flag in $(EXTRA_TARGET_FLAGS); do \
34629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34630 done; \
34631 (cd $(TARGET_SUBDIR)/libvtv && \
34632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34634 "RANLIB=$${RANLIB}" \
34635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34636 install-html) \
34637 || exit 1
34639 @endif target-libvtv
34641 .PHONY: maybe-installcheck-target-libvtv installcheck-target-libvtv
34642 maybe-installcheck-target-libvtv:
34643 @if target-libvtv
34644 maybe-installcheck-target-libvtv: installcheck-target-libvtv
34646 installcheck-target-libvtv: \
34647 configure-target-libvtv
34648 @: $(MAKE); $(unstage)
34649 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34650 r=`${PWD_COMMAND}`; export r; \
34651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34652 $(RAW_CXX_TARGET_EXPORTS) \
34653 echo "Doing installcheck in $(TARGET_SUBDIR)/libvtv" ; \
34654 for flag in $(EXTRA_TARGET_FLAGS); do \
34655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34656 done; \
34657 (cd $(TARGET_SUBDIR)/libvtv && \
34658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34660 "RANLIB=$${RANLIB}" \
34661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34662 installcheck) \
34663 || exit 1
34665 @endif target-libvtv
34667 .PHONY: maybe-mostlyclean-target-libvtv mostlyclean-target-libvtv
34668 maybe-mostlyclean-target-libvtv:
34669 @if target-libvtv
34670 maybe-mostlyclean-target-libvtv: mostlyclean-target-libvtv
34672 mostlyclean-target-libvtv:
34673 @: $(MAKE); $(unstage)
34674 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34675 r=`${PWD_COMMAND}`; export r; \
34676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34677 $(RAW_CXX_TARGET_EXPORTS) \
34678 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libvtv" ; \
34679 for flag in $(EXTRA_TARGET_FLAGS); do \
34680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34681 done; \
34682 (cd $(TARGET_SUBDIR)/libvtv && \
34683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34685 "RANLIB=$${RANLIB}" \
34686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34687 mostlyclean) \
34688 || exit 1
34690 @endif target-libvtv
34692 .PHONY: maybe-clean-target-libvtv clean-target-libvtv
34693 maybe-clean-target-libvtv:
34694 @if target-libvtv
34695 maybe-clean-target-libvtv: clean-target-libvtv
34697 clean-target-libvtv:
34698 @: $(MAKE); $(unstage)
34699 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34700 r=`${PWD_COMMAND}`; export r; \
34701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34702 $(RAW_CXX_TARGET_EXPORTS) \
34703 echo "Doing clean in $(TARGET_SUBDIR)/libvtv" ; \
34704 for flag in $(EXTRA_TARGET_FLAGS); do \
34705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34706 done; \
34707 (cd $(TARGET_SUBDIR)/libvtv && \
34708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34710 "RANLIB=$${RANLIB}" \
34711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34712 clean) \
34713 || exit 1
34715 @endif target-libvtv
34717 .PHONY: maybe-distclean-target-libvtv distclean-target-libvtv
34718 maybe-distclean-target-libvtv:
34719 @if target-libvtv
34720 maybe-distclean-target-libvtv: distclean-target-libvtv
34722 distclean-target-libvtv:
34723 @: $(MAKE); $(unstage)
34724 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34725 r=`${PWD_COMMAND}`; export r; \
34726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34727 $(RAW_CXX_TARGET_EXPORTS) \
34728 echo "Doing distclean in $(TARGET_SUBDIR)/libvtv" ; \
34729 for flag in $(EXTRA_TARGET_FLAGS); do \
34730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34731 done; \
34732 (cd $(TARGET_SUBDIR)/libvtv && \
34733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34735 "RANLIB=$${RANLIB}" \
34736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34737 distclean) \
34738 || exit 1
34740 @endif target-libvtv
34742 .PHONY: maybe-maintainer-clean-target-libvtv maintainer-clean-target-libvtv
34743 maybe-maintainer-clean-target-libvtv:
34744 @if target-libvtv
34745 maybe-maintainer-clean-target-libvtv: maintainer-clean-target-libvtv
34747 maintainer-clean-target-libvtv:
34748 @: $(MAKE); $(unstage)
34749 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34750 r=`${PWD_COMMAND}`; export r; \
34751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34752 $(RAW_CXX_TARGET_EXPORTS) \
34753 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libvtv" ; \
34754 for flag in $(EXTRA_TARGET_FLAGS); do \
34755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34756 done; \
34757 (cd $(TARGET_SUBDIR)/libvtv && \
34758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34760 "RANLIB=$${RANLIB}" \
34761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34762 maintainer-clean) \
34763 || exit 1
34765 @endif target-libvtv
34771 .PHONY: configure-target-libcilkrts maybe-configure-target-libcilkrts
34772 maybe-configure-target-libcilkrts:
34773 @if gcc-bootstrap
34774 configure-target-libcilkrts: stage_current
34775 @endif gcc-bootstrap
34776 @if target-libcilkrts
34777 maybe-configure-target-libcilkrts: configure-target-libcilkrts
34778 configure-target-libcilkrts:
34779 @: $(MAKE); $(unstage)
34780 @r=`${PWD_COMMAND}`; export r; \
34781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34782 echo "Checking multilib configuration for libcilkrts..."; \
34783 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
34784 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \
34785 if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
34786 if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
34787 rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
34788 else \
34789 rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
34790 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
34791 fi; \
34792 else \
34793 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
34794 fi; \
34795 test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
34796 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
34797 $(NORMAL_TARGET_EXPORTS) \
34798 echo Configuring in $(TARGET_SUBDIR)/libcilkrts; \
34799 cd "$(TARGET_SUBDIR)/libcilkrts" || exit 1; \
34800 case $(srcdir) in \
34801 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34802 *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
34803 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34804 esac; \
34805 module_srcdir=libcilkrts; \
34806 rm -f no-such-file || : ; \
34807 CONFIG_SITE=no-such-file $(SHELL) \
34808 $$s/$$module_srcdir/configure \
34809 --srcdir=$${topdir}/$$module_srcdir \
34810 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34811 --target=${target_alias} \
34812 || exit 1
34813 @endif target-libcilkrts
34819 .PHONY: all-target-libcilkrts maybe-all-target-libcilkrts
34820 maybe-all-target-libcilkrts:
34821 @if gcc-bootstrap
34822 all-target-libcilkrts: stage_current
34823 @endif gcc-bootstrap
34824 @if target-libcilkrts
34825 TARGET-target-libcilkrts=all
34826 maybe-all-target-libcilkrts: all-target-libcilkrts
34827 all-target-libcilkrts: configure-target-libcilkrts
34828 @: $(MAKE); $(unstage)
34829 @r=`${PWD_COMMAND}`; export r; \
34830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34831 $(NORMAL_TARGET_EXPORTS) \
34832 (cd $(TARGET_SUBDIR)/libcilkrts && \
34833 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34834 $(TARGET-target-libcilkrts))
34835 @endif target-libcilkrts
34841 .PHONY: check-target-libcilkrts maybe-check-target-libcilkrts
34842 maybe-check-target-libcilkrts:
34843 @if target-libcilkrts
34844 maybe-check-target-libcilkrts: check-target-libcilkrts
34846 check-target-libcilkrts:
34847 @: $(MAKE); $(unstage)
34848 @r=`${PWD_COMMAND}`; export r; \
34849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34850 $(NORMAL_TARGET_EXPORTS) \
34851 (cd $(TARGET_SUBDIR)/libcilkrts && \
34852 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34854 @endif target-libcilkrts
34856 .PHONY: install-target-libcilkrts maybe-install-target-libcilkrts
34857 maybe-install-target-libcilkrts:
34858 @if target-libcilkrts
34859 maybe-install-target-libcilkrts: install-target-libcilkrts
34861 install-target-libcilkrts: installdirs
34862 @: $(MAKE); $(unstage)
34863 @r=`${PWD_COMMAND}`; export r; \
34864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34865 $(NORMAL_TARGET_EXPORTS) \
34866 (cd $(TARGET_SUBDIR)/libcilkrts && \
34867 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34869 @endif target-libcilkrts
34871 .PHONY: install-strip-target-libcilkrts maybe-install-strip-target-libcilkrts
34872 maybe-install-strip-target-libcilkrts:
34873 @if target-libcilkrts
34874 maybe-install-strip-target-libcilkrts: install-strip-target-libcilkrts
34876 install-strip-target-libcilkrts: installdirs
34877 @: $(MAKE); $(unstage)
34878 @r=`${PWD_COMMAND}`; export r; \
34879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34880 $(NORMAL_TARGET_EXPORTS) \
34881 (cd $(TARGET_SUBDIR)/libcilkrts && \
34882 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34884 @endif target-libcilkrts
34886 # Other targets (info, dvi, pdf, etc.)
34888 .PHONY: maybe-info-target-libcilkrts info-target-libcilkrts
34889 maybe-info-target-libcilkrts:
34890 @if target-libcilkrts
34891 maybe-info-target-libcilkrts: info-target-libcilkrts
34893 info-target-libcilkrts: \
34894 configure-target-libcilkrts
34895 @: $(MAKE); $(unstage)
34896 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
34897 r=`${PWD_COMMAND}`; export r; \
34898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34899 $(NORMAL_TARGET_EXPORTS) \
34900 echo "Doing info in $(TARGET_SUBDIR)/libcilkrts" ; \
34901 for flag in $(EXTRA_TARGET_FLAGS); do \
34902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34903 done; \
34904 (cd $(TARGET_SUBDIR)/libcilkrts && \
34905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34907 "RANLIB=$${RANLIB}" \
34908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34909 info) \
34910 || exit 1
34912 @endif target-libcilkrts
34914 .PHONY: maybe-dvi-target-libcilkrts dvi-target-libcilkrts
34915 maybe-dvi-target-libcilkrts:
34916 @if target-libcilkrts
34917 maybe-dvi-target-libcilkrts: dvi-target-libcilkrts
34919 dvi-target-libcilkrts: \
34920 configure-target-libcilkrts
34921 @: $(MAKE); $(unstage)
34922 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
34923 r=`${PWD_COMMAND}`; export r; \
34924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34925 $(NORMAL_TARGET_EXPORTS) \
34926 echo "Doing dvi in $(TARGET_SUBDIR)/libcilkrts" ; \
34927 for flag in $(EXTRA_TARGET_FLAGS); do \
34928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34929 done; \
34930 (cd $(TARGET_SUBDIR)/libcilkrts && \
34931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34933 "RANLIB=$${RANLIB}" \
34934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34935 dvi) \
34936 || exit 1
34938 @endif target-libcilkrts
34940 .PHONY: maybe-pdf-target-libcilkrts pdf-target-libcilkrts
34941 maybe-pdf-target-libcilkrts:
34942 @if target-libcilkrts
34943 maybe-pdf-target-libcilkrts: pdf-target-libcilkrts
34945 pdf-target-libcilkrts: \
34946 configure-target-libcilkrts
34947 @: $(MAKE); $(unstage)
34948 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
34949 r=`${PWD_COMMAND}`; export r; \
34950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34951 $(NORMAL_TARGET_EXPORTS) \
34952 echo "Doing pdf in $(TARGET_SUBDIR)/libcilkrts" ; \
34953 for flag in $(EXTRA_TARGET_FLAGS); do \
34954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34955 done; \
34956 (cd $(TARGET_SUBDIR)/libcilkrts && \
34957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34959 "RANLIB=$${RANLIB}" \
34960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34961 pdf) \
34962 || exit 1
34964 @endif target-libcilkrts
34966 .PHONY: maybe-html-target-libcilkrts html-target-libcilkrts
34967 maybe-html-target-libcilkrts:
34968 @if target-libcilkrts
34969 maybe-html-target-libcilkrts: html-target-libcilkrts
34971 html-target-libcilkrts: \
34972 configure-target-libcilkrts
34973 @: $(MAKE); $(unstage)
34974 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
34975 r=`${PWD_COMMAND}`; export r; \
34976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34977 $(NORMAL_TARGET_EXPORTS) \
34978 echo "Doing html in $(TARGET_SUBDIR)/libcilkrts" ; \
34979 for flag in $(EXTRA_TARGET_FLAGS); do \
34980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34981 done; \
34982 (cd $(TARGET_SUBDIR)/libcilkrts && \
34983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34985 "RANLIB=$${RANLIB}" \
34986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34987 html) \
34988 || exit 1
34990 @endif target-libcilkrts
34992 .PHONY: maybe-TAGS-target-libcilkrts TAGS-target-libcilkrts
34993 maybe-TAGS-target-libcilkrts:
34994 @if target-libcilkrts
34995 maybe-TAGS-target-libcilkrts: TAGS-target-libcilkrts
34997 TAGS-target-libcilkrts: \
34998 configure-target-libcilkrts
34999 @: $(MAKE); $(unstage)
35000 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35001 r=`${PWD_COMMAND}`; export r; \
35002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35003 $(NORMAL_TARGET_EXPORTS) \
35004 echo "Doing TAGS in $(TARGET_SUBDIR)/libcilkrts" ; \
35005 for flag in $(EXTRA_TARGET_FLAGS); do \
35006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35007 done; \
35008 (cd $(TARGET_SUBDIR)/libcilkrts && \
35009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35011 "RANLIB=$${RANLIB}" \
35012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35013 TAGS) \
35014 || exit 1
35016 @endif target-libcilkrts
35018 .PHONY: maybe-install-info-target-libcilkrts install-info-target-libcilkrts
35019 maybe-install-info-target-libcilkrts:
35020 @if target-libcilkrts
35021 maybe-install-info-target-libcilkrts: install-info-target-libcilkrts
35023 install-info-target-libcilkrts: \
35024 configure-target-libcilkrts \
35025 info-target-libcilkrts
35026 @: $(MAKE); $(unstage)
35027 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35028 r=`${PWD_COMMAND}`; export r; \
35029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35030 $(NORMAL_TARGET_EXPORTS) \
35031 echo "Doing install-info in $(TARGET_SUBDIR)/libcilkrts" ; \
35032 for flag in $(EXTRA_TARGET_FLAGS); do \
35033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35034 done; \
35035 (cd $(TARGET_SUBDIR)/libcilkrts && \
35036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35038 "RANLIB=$${RANLIB}" \
35039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35040 install-info) \
35041 || exit 1
35043 @endif target-libcilkrts
35045 .PHONY: maybe-install-pdf-target-libcilkrts install-pdf-target-libcilkrts
35046 maybe-install-pdf-target-libcilkrts:
35047 @if target-libcilkrts
35048 maybe-install-pdf-target-libcilkrts: install-pdf-target-libcilkrts
35050 install-pdf-target-libcilkrts: \
35051 configure-target-libcilkrts \
35052 pdf-target-libcilkrts
35053 @: $(MAKE); $(unstage)
35054 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35055 r=`${PWD_COMMAND}`; export r; \
35056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35057 $(NORMAL_TARGET_EXPORTS) \
35058 echo "Doing install-pdf in $(TARGET_SUBDIR)/libcilkrts" ; \
35059 for flag in $(EXTRA_TARGET_FLAGS); do \
35060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35061 done; \
35062 (cd $(TARGET_SUBDIR)/libcilkrts && \
35063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35065 "RANLIB=$${RANLIB}" \
35066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35067 install-pdf) \
35068 || exit 1
35070 @endif target-libcilkrts
35072 .PHONY: maybe-install-html-target-libcilkrts install-html-target-libcilkrts
35073 maybe-install-html-target-libcilkrts:
35074 @if target-libcilkrts
35075 maybe-install-html-target-libcilkrts: install-html-target-libcilkrts
35077 install-html-target-libcilkrts: \
35078 configure-target-libcilkrts \
35079 html-target-libcilkrts
35080 @: $(MAKE); $(unstage)
35081 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35082 r=`${PWD_COMMAND}`; export r; \
35083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35084 $(NORMAL_TARGET_EXPORTS) \
35085 echo "Doing install-html in $(TARGET_SUBDIR)/libcilkrts" ; \
35086 for flag in $(EXTRA_TARGET_FLAGS); do \
35087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35088 done; \
35089 (cd $(TARGET_SUBDIR)/libcilkrts && \
35090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35092 "RANLIB=$${RANLIB}" \
35093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35094 install-html) \
35095 || exit 1
35097 @endif target-libcilkrts
35099 .PHONY: maybe-installcheck-target-libcilkrts installcheck-target-libcilkrts
35100 maybe-installcheck-target-libcilkrts:
35101 @if target-libcilkrts
35102 maybe-installcheck-target-libcilkrts: installcheck-target-libcilkrts
35104 installcheck-target-libcilkrts: \
35105 configure-target-libcilkrts
35106 @: $(MAKE); $(unstage)
35107 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35108 r=`${PWD_COMMAND}`; export r; \
35109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35110 $(NORMAL_TARGET_EXPORTS) \
35111 echo "Doing installcheck in $(TARGET_SUBDIR)/libcilkrts" ; \
35112 for flag in $(EXTRA_TARGET_FLAGS); do \
35113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35114 done; \
35115 (cd $(TARGET_SUBDIR)/libcilkrts && \
35116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35118 "RANLIB=$${RANLIB}" \
35119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35120 installcheck) \
35121 || exit 1
35123 @endif target-libcilkrts
35125 .PHONY: maybe-mostlyclean-target-libcilkrts mostlyclean-target-libcilkrts
35126 maybe-mostlyclean-target-libcilkrts:
35127 @if target-libcilkrts
35128 maybe-mostlyclean-target-libcilkrts: mostlyclean-target-libcilkrts
35130 mostlyclean-target-libcilkrts:
35131 @: $(MAKE); $(unstage)
35132 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35133 r=`${PWD_COMMAND}`; export r; \
35134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35135 $(NORMAL_TARGET_EXPORTS) \
35136 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libcilkrts" ; \
35137 for flag in $(EXTRA_TARGET_FLAGS); do \
35138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35139 done; \
35140 (cd $(TARGET_SUBDIR)/libcilkrts && \
35141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35143 "RANLIB=$${RANLIB}" \
35144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35145 mostlyclean) \
35146 || exit 1
35148 @endif target-libcilkrts
35150 .PHONY: maybe-clean-target-libcilkrts clean-target-libcilkrts
35151 maybe-clean-target-libcilkrts:
35152 @if target-libcilkrts
35153 maybe-clean-target-libcilkrts: clean-target-libcilkrts
35155 clean-target-libcilkrts:
35156 @: $(MAKE); $(unstage)
35157 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35158 r=`${PWD_COMMAND}`; export r; \
35159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35160 $(NORMAL_TARGET_EXPORTS) \
35161 echo "Doing clean in $(TARGET_SUBDIR)/libcilkrts" ; \
35162 for flag in $(EXTRA_TARGET_FLAGS); do \
35163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35164 done; \
35165 (cd $(TARGET_SUBDIR)/libcilkrts && \
35166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35168 "RANLIB=$${RANLIB}" \
35169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35170 clean) \
35171 || exit 1
35173 @endif target-libcilkrts
35175 .PHONY: maybe-distclean-target-libcilkrts distclean-target-libcilkrts
35176 maybe-distclean-target-libcilkrts:
35177 @if target-libcilkrts
35178 maybe-distclean-target-libcilkrts: distclean-target-libcilkrts
35180 distclean-target-libcilkrts:
35181 @: $(MAKE); $(unstage)
35182 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35183 r=`${PWD_COMMAND}`; export r; \
35184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35185 $(NORMAL_TARGET_EXPORTS) \
35186 echo "Doing distclean in $(TARGET_SUBDIR)/libcilkrts" ; \
35187 for flag in $(EXTRA_TARGET_FLAGS); do \
35188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35189 done; \
35190 (cd $(TARGET_SUBDIR)/libcilkrts && \
35191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35193 "RANLIB=$${RANLIB}" \
35194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35195 distclean) \
35196 || exit 1
35198 @endif target-libcilkrts
35200 .PHONY: maybe-maintainer-clean-target-libcilkrts maintainer-clean-target-libcilkrts
35201 maybe-maintainer-clean-target-libcilkrts:
35202 @if target-libcilkrts
35203 maybe-maintainer-clean-target-libcilkrts: maintainer-clean-target-libcilkrts
35205 maintainer-clean-target-libcilkrts:
35206 @: $(MAKE); $(unstage)
35207 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35208 r=`${PWD_COMMAND}`; export r; \
35209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35210 $(NORMAL_TARGET_EXPORTS) \
35211 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libcilkrts" ; \
35212 for flag in $(EXTRA_TARGET_FLAGS); do \
35213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35214 done; \
35215 (cd $(TARGET_SUBDIR)/libcilkrts && \
35216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35218 "RANLIB=$${RANLIB}" \
35219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35220 maintainer-clean) \
35221 || exit 1
35223 @endif target-libcilkrts
35229 .PHONY: configure-target-liboffloadmic maybe-configure-target-liboffloadmic
35230 maybe-configure-target-liboffloadmic:
35231 @if gcc-bootstrap
35232 configure-target-liboffloadmic: stage_current
35233 @endif gcc-bootstrap
35234 @if target-liboffloadmic
35235 maybe-configure-target-liboffloadmic: configure-target-liboffloadmic
35236 configure-target-liboffloadmic:
35237 @: $(MAKE); $(unstage)
35238 @r=`${PWD_COMMAND}`; export r; \
35239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35240 echo "Checking multilib configuration for liboffloadmic..."; \
35241 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic ; \
35242 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp 2> /dev/null ; \
35243 if test -r $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
35244 if cmp -s $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
35245 rm -f $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp; \
35246 else \
35247 rm -f $(TARGET_SUBDIR)/liboffloadmic/Makefile; \
35248 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
35249 fi; \
35250 else \
35251 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
35252 fi; \
35253 test ! -f $(TARGET_SUBDIR)/liboffloadmic/Makefile || exit 0; \
35254 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic ; \
35255 $(NORMAL_TARGET_EXPORTS) \
35256 echo Configuring in $(TARGET_SUBDIR)/liboffloadmic; \
35257 cd "$(TARGET_SUBDIR)/liboffloadmic" || exit 1; \
35258 case $(srcdir) in \
35259 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35260 *) topdir=`echo $(TARGET_SUBDIR)/liboffloadmic/ | \
35261 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35262 esac; \
35263 module_srcdir=liboffloadmic; \
35264 rm -f no-such-file || : ; \
35265 CONFIG_SITE=no-such-file $(SHELL) \
35266 $$s/$$module_srcdir/configure \
35267 --srcdir=$${topdir}/$$module_srcdir \
35268 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35269 --target=${target_alias} @extra_liboffloadmic_configure_flags@ \
35270 || exit 1
35271 @endif target-liboffloadmic
35277 .PHONY: all-target-liboffloadmic maybe-all-target-liboffloadmic
35278 maybe-all-target-liboffloadmic:
35279 @if gcc-bootstrap
35280 all-target-liboffloadmic: stage_current
35281 @endif gcc-bootstrap
35282 @if target-liboffloadmic
35283 TARGET-target-liboffloadmic=all
35284 maybe-all-target-liboffloadmic: all-target-liboffloadmic
35285 all-target-liboffloadmic: configure-target-liboffloadmic
35286 @: $(MAKE); $(unstage)
35287 @r=`${PWD_COMMAND}`; export r; \
35288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35289 $(NORMAL_TARGET_EXPORTS) \
35290 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35291 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35292 $(TARGET-target-liboffloadmic))
35293 @endif target-liboffloadmic
35299 .PHONY: check-target-liboffloadmic maybe-check-target-liboffloadmic
35300 maybe-check-target-liboffloadmic:
35301 @if target-liboffloadmic
35302 maybe-check-target-liboffloadmic: check-target-liboffloadmic
35304 check-target-liboffloadmic:
35305 @: $(MAKE); $(unstage)
35306 @r=`${PWD_COMMAND}`; export r; \
35307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35308 $(NORMAL_TARGET_EXPORTS) \
35309 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35310 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35312 @endif target-liboffloadmic
35314 .PHONY: install-target-liboffloadmic maybe-install-target-liboffloadmic
35315 maybe-install-target-liboffloadmic:
35316 @if target-liboffloadmic
35317 maybe-install-target-liboffloadmic: install-target-liboffloadmic
35319 install-target-liboffloadmic: installdirs
35320 @: $(MAKE); $(unstage)
35321 @r=`${PWD_COMMAND}`; export r; \
35322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35323 $(NORMAL_TARGET_EXPORTS) \
35324 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35325 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35327 @endif target-liboffloadmic
35329 .PHONY: install-strip-target-liboffloadmic maybe-install-strip-target-liboffloadmic
35330 maybe-install-strip-target-liboffloadmic:
35331 @if target-liboffloadmic
35332 maybe-install-strip-target-liboffloadmic: install-strip-target-liboffloadmic
35334 install-strip-target-liboffloadmic: installdirs
35335 @: $(MAKE); $(unstage)
35336 @r=`${PWD_COMMAND}`; export r; \
35337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35338 $(NORMAL_TARGET_EXPORTS) \
35339 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35340 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35342 @endif target-liboffloadmic
35344 # Other targets (info, dvi, pdf, etc.)
35346 .PHONY: maybe-info-target-liboffloadmic info-target-liboffloadmic
35347 maybe-info-target-liboffloadmic:
35348 @if target-liboffloadmic
35349 maybe-info-target-liboffloadmic: info-target-liboffloadmic
35351 info-target-liboffloadmic: \
35352 configure-target-liboffloadmic
35353 @: $(MAKE); $(unstage)
35354 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35355 r=`${PWD_COMMAND}`; export r; \
35356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35357 $(NORMAL_TARGET_EXPORTS) \
35358 echo "Doing info in $(TARGET_SUBDIR)/liboffloadmic" ; \
35359 for flag in $(EXTRA_TARGET_FLAGS); do \
35360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35361 done; \
35362 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35365 "RANLIB=$${RANLIB}" \
35366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35367 info) \
35368 || exit 1
35370 @endif target-liboffloadmic
35372 .PHONY: maybe-dvi-target-liboffloadmic dvi-target-liboffloadmic
35373 maybe-dvi-target-liboffloadmic:
35374 @if target-liboffloadmic
35375 maybe-dvi-target-liboffloadmic: dvi-target-liboffloadmic
35377 dvi-target-liboffloadmic: \
35378 configure-target-liboffloadmic
35379 @: $(MAKE); $(unstage)
35380 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35381 r=`${PWD_COMMAND}`; export r; \
35382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35383 $(NORMAL_TARGET_EXPORTS) \
35384 echo "Doing dvi in $(TARGET_SUBDIR)/liboffloadmic" ; \
35385 for flag in $(EXTRA_TARGET_FLAGS); do \
35386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35387 done; \
35388 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35391 "RANLIB=$${RANLIB}" \
35392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35393 dvi) \
35394 || exit 1
35396 @endif target-liboffloadmic
35398 .PHONY: maybe-pdf-target-liboffloadmic pdf-target-liboffloadmic
35399 maybe-pdf-target-liboffloadmic:
35400 @if target-liboffloadmic
35401 maybe-pdf-target-liboffloadmic: pdf-target-liboffloadmic
35403 pdf-target-liboffloadmic: \
35404 configure-target-liboffloadmic
35405 @: $(MAKE); $(unstage)
35406 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35407 r=`${PWD_COMMAND}`; export r; \
35408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35409 $(NORMAL_TARGET_EXPORTS) \
35410 echo "Doing pdf in $(TARGET_SUBDIR)/liboffloadmic" ; \
35411 for flag in $(EXTRA_TARGET_FLAGS); do \
35412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35413 done; \
35414 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35417 "RANLIB=$${RANLIB}" \
35418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35419 pdf) \
35420 || exit 1
35422 @endif target-liboffloadmic
35424 .PHONY: maybe-html-target-liboffloadmic html-target-liboffloadmic
35425 maybe-html-target-liboffloadmic:
35426 @if target-liboffloadmic
35427 maybe-html-target-liboffloadmic: html-target-liboffloadmic
35429 html-target-liboffloadmic: \
35430 configure-target-liboffloadmic
35431 @: $(MAKE); $(unstage)
35432 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35433 r=`${PWD_COMMAND}`; export r; \
35434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35435 $(NORMAL_TARGET_EXPORTS) \
35436 echo "Doing html in $(TARGET_SUBDIR)/liboffloadmic" ; \
35437 for flag in $(EXTRA_TARGET_FLAGS); do \
35438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35439 done; \
35440 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35443 "RANLIB=$${RANLIB}" \
35444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35445 html) \
35446 || exit 1
35448 @endif target-liboffloadmic
35450 .PHONY: maybe-TAGS-target-liboffloadmic TAGS-target-liboffloadmic
35451 maybe-TAGS-target-liboffloadmic:
35452 @if target-liboffloadmic
35453 maybe-TAGS-target-liboffloadmic: TAGS-target-liboffloadmic
35455 TAGS-target-liboffloadmic: \
35456 configure-target-liboffloadmic
35457 @: $(MAKE); $(unstage)
35458 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35459 r=`${PWD_COMMAND}`; export r; \
35460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35461 $(NORMAL_TARGET_EXPORTS) \
35462 echo "Doing TAGS in $(TARGET_SUBDIR)/liboffloadmic" ; \
35463 for flag in $(EXTRA_TARGET_FLAGS); do \
35464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35465 done; \
35466 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35469 "RANLIB=$${RANLIB}" \
35470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35471 TAGS) \
35472 || exit 1
35474 @endif target-liboffloadmic
35476 .PHONY: maybe-install-info-target-liboffloadmic install-info-target-liboffloadmic
35477 maybe-install-info-target-liboffloadmic:
35478 @if target-liboffloadmic
35479 maybe-install-info-target-liboffloadmic: install-info-target-liboffloadmic
35481 install-info-target-liboffloadmic: \
35482 configure-target-liboffloadmic \
35483 info-target-liboffloadmic
35484 @: $(MAKE); $(unstage)
35485 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35486 r=`${PWD_COMMAND}`; export r; \
35487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35488 $(NORMAL_TARGET_EXPORTS) \
35489 echo "Doing install-info in $(TARGET_SUBDIR)/liboffloadmic" ; \
35490 for flag in $(EXTRA_TARGET_FLAGS); do \
35491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35492 done; \
35493 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35496 "RANLIB=$${RANLIB}" \
35497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35498 install-info) \
35499 || exit 1
35501 @endif target-liboffloadmic
35503 .PHONY: maybe-install-pdf-target-liboffloadmic install-pdf-target-liboffloadmic
35504 maybe-install-pdf-target-liboffloadmic:
35505 @if target-liboffloadmic
35506 maybe-install-pdf-target-liboffloadmic: install-pdf-target-liboffloadmic
35508 install-pdf-target-liboffloadmic: \
35509 configure-target-liboffloadmic \
35510 pdf-target-liboffloadmic
35511 @: $(MAKE); $(unstage)
35512 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35513 r=`${PWD_COMMAND}`; export r; \
35514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35515 $(NORMAL_TARGET_EXPORTS) \
35516 echo "Doing install-pdf in $(TARGET_SUBDIR)/liboffloadmic" ; \
35517 for flag in $(EXTRA_TARGET_FLAGS); do \
35518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35519 done; \
35520 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35523 "RANLIB=$${RANLIB}" \
35524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35525 install-pdf) \
35526 || exit 1
35528 @endif target-liboffloadmic
35530 .PHONY: maybe-install-html-target-liboffloadmic install-html-target-liboffloadmic
35531 maybe-install-html-target-liboffloadmic:
35532 @if target-liboffloadmic
35533 maybe-install-html-target-liboffloadmic: install-html-target-liboffloadmic
35535 install-html-target-liboffloadmic: \
35536 configure-target-liboffloadmic \
35537 html-target-liboffloadmic
35538 @: $(MAKE); $(unstage)
35539 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35540 r=`${PWD_COMMAND}`; export r; \
35541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35542 $(NORMAL_TARGET_EXPORTS) \
35543 echo "Doing install-html in $(TARGET_SUBDIR)/liboffloadmic" ; \
35544 for flag in $(EXTRA_TARGET_FLAGS); do \
35545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35546 done; \
35547 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35550 "RANLIB=$${RANLIB}" \
35551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35552 install-html) \
35553 || exit 1
35555 @endif target-liboffloadmic
35557 .PHONY: maybe-installcheck-target-liboffloadmic installcheck-target-liboffloadmic
35558 maybe-installcheck-target-liboffloadmic:
35559 @if target-liboffloadmic
35560 maybe-installcheck-target-liboffloadmic: installcheck-target-liboffloadmic
35562 installcheck-target-liboffloadmic: \
35563 configure-target-liboffloadmic
35564 @: $(MAKE); $(unstage)
35565 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35566 r=`${PWD_COMMAND}`; export r; \
35567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35568 $(NORMAL_TARGET_EXPORTS) \
35569 echo "Doing installcheck in $(TARGET_SUBDIR)/liboffloadmic" ; \
35570 for flag in $(EXTRA_TARGET_FLAGS); do \
35571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35572 done; \
35573 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35576 "RANLIB=$${RANLIB}" \
35577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35578 installcheck) \
35579 || exit 1
35581 @endif target-liboffloadmic
35583 .PHONY: maybe-mostlyclean-target-liboffloadmic mostlyclean-target-liboffloadmic
35584 maybe-mostlyclean-target-liboffloadmic:
35585 @if target-liboffloadmic
35586 maybe-mostlyclean-target-liboffloadmic: mostlyclean-target-liboffloadmic
35588 mostlyclean-target-liboffloadmic:
35589 @: $(MAKE); $(unstage)
35590 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35591 r=`${PWD_COMMAND}`; export r; \
35592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35593 $(NORMAL_TARGET_EXPORTS) \
35594 echo "Doing mostlyclean in $(TARGET_SUBDIR)/liboffloadmic" ; \
35595 for flag in $(EXTRA_TARGET_FLAGS); do \
35596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35597 done; \
35598 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35601 "RANLIB=$${RANLIB}" \
35602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35603 mostlyclean) \
35604 || exit 1
35606 @endif target-liboffloadmic
35608 .PHONY: maybe-clean-target-liboffloadmic clean-target-liboffloadmic
35609 maybe-clean-target-liboffloadmic:
35610 @if target-liboffloadmic
35611 maybe-clean-target-liboffloadmic: clean-target-liboffloadmic
35613 clean-target-liboffloadmic:
35614 @: $(MAKE); $(unstage)
35615 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35616 r=`${PWD_COMMAND}`; export r; \
35617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35618 $(NORMAL_TARGET_EXPORTS) \
35619 echo "Doing clean in $(TARGET_SUBDIR)/liboffloadmic" ; \
35620 for flag in $(EXTRA_TARGET_FLAGS); do \
35621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35622 done; \
35623 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35626 "RANLIB=$${RANLIB}" \
35627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35628 clean) \
35629 || exit 1
35631 @endif target-liboffloadmic
35633 .PHONY: maybe-distclean-target-liboffloadmic distclean-target-liboffloadmic
35634 maybe-distclean-target-liboffloadmic:
35635 @if target-liboffloadmic
35636 maybe-distclean-target-liboffloadmic: distclean-target-liboffloadmic
35638 distclean-target-liboffloadmic:
35639 @: $(MAKE); $(unstage)
35640 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35641 r=`${PWD_COMMAND}`; export r; \
35642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35643 $(NORMAL_TARGET_EXPORTS) \
35644 echo "Doing distclean in $(TARGET_SUBDIR)/liboffloadmic" ; \
35645 for flag in $(EXTRA_TARGET_FLAGS); do \
35646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35647 done; \
35648 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35651 "RANLIB=$${RANLIB}" \
35652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35653 distclean) \
35654 || exit 1
35656 @endif target-liboffloadmic
35658 .PHONY: maybe-maintainer-clean-target-liboffloadmic maintainer-clean-target-liboffloadmic
35659 maybe-maintainer-clean-target-liboffloadmic:
35660 @if target-liboffloadmic
35661 maybe-maintainer-clean-target-liboffloadmic: maintainer-clean-target-liboffloadmic
35663 maintainer-clean-target-liboffloadmic:
35664 @: $(MAKE); $(unstage)
35665 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35666 r=`${PWD_COMMAND}`; export r; \
35667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35668 $(NORMAL_TARGET_EXPORTS) \
35669 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/liboffloadmic" ; \
35670 for flag in $(EXTRA_TARGET_FLAGS); do \
35671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35672 done; \
35673 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35676 "RANLIB=$${RANLIB}" \
35677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35678 maintainer-clean) \
35679 || exit 1
35681 @endif target-liboffloadmic
35687 .PHONY: configure-target-libssp maybe-configure-target-libssp
35688 maybe-configure-target-libssp:
35689 @if gcc-bootstrap
35690 configure-target-libssp: stage_current
35691 @endif gcc-bootstrap
35692 @if target-libssp
35693 maybe-configure-target-libssp: configure-target-libssp
35694 configure-target-libssp:
35695 @: $(MAKE); $(unstage)
35696 @r=`${PWD_COMMAND}`; export r; \
35697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35698 echo "Checking multilib configuration for libssp..."; \
35699 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
35700 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
35701 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
35702 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
35703 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
35704 else \
35705 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
35706 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
35707 fi; \
35708 else \
35709 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
35710 fi; \
35711 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
35712 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
35713 $(NORMAL_TARGET_EXPORTS) \
35714 echo Configuring in $(TARGET_SUBDIR)/libssp; \
35715 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
35716 case $(srcdir) in \
35717 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35718 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
35719 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35720 esac; \
35721 module_srcdir=libssp; \
35722 rm -f no-such-file || : ; \
35723 CONFIG_SITE=no-such-file $(SHELL) \
35724 $$s/$$module_srcdir/configure \
35725 --srcdir=$${topdir}/$$module_srcdir \
35726 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35727 --target=${target_alias} \
35728 || exit 1
35729 @endif target-libssp
35735 .PHONY: all-target-libssp maybe-all-target-libssp
35736 maybe-all-target-libssp:
35737 @if gcc-bootstrap
35738 all-target-libssp: stage_current
35739 @endif gcc-bootstrap
35740 @if target-libssp
35741 TARGET-target-libssp=all
35742 maybe-all-target-libssp: all-target-libssp
35743 all-target-libssp: configure-target-libssp
35744 @: $(MAKE); $(unstage)
35745 @r=`${PWD_COMMAND}`; export r; \
35746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35747 $(NORMAL_TARGET_EXPORTS) \
35748 (cd $(TARGET_SUBDIR)/libssp && \
35749 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35750 $(TARGET-target-libssp))
35751 @endif target-libssp
35757 .PHONY: check-target-libssp maybe-check-target-libssp
35758 maybe-check-target-libssp:
35759 @if target-libssp
35760 maybe-check-target-libssp: check-target-libssp
35762 check-target-libssp:
35763 @: $(MAKE); $(unstage)
35764 @r=`${PWD_COMMAND}`; export r; \
35765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35766 $(NORMAL_TARGET_EXPORTS) \
35767 (cd $(TARGET_SUBDIR)/libssp && \
35768 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35770 @endif target-libssp
35772 .PHONY: install-target-libssp maybe-install-target-libssp
35773 maybe-install-target-libssp:
35774 @if target-libssp
35775 maybe-install-target-libssp: install-target-libssp
35777 install-target-libssp: installdirs
35778 @: $(MAKE); $(unstage)
35779 @r=`${PWD_COMMAND}`; export r; \
35780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35781 $(NORMAL_TARGET_EXPORTS) \
35782 (cd $(TARGET_SUBDIR)/libssp && \
35783 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35785 @endif target-libssp
35787 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
35788 maybe-install-strip-target-libssp:
35789 @if target-libssp
35790 maybe-install-strip-target-libssp: install-strip-target-libssp
35792 install-strip-target-libssp: installdirs
35793 @: $(MAKE); $(unstage)
35794 @r=`${PWD_COMMAND}`; export r; \
35795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35796 $(NORMAL_TARGET_EXPORTS) \
35797 (cd $(TARGET_SUBDIR)/libssp && \
35798 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35800 @endif target-libssp
35802 # Other targets (info, dvi, pdf, etc.)
35804 .PHONY: maybe-info-target-libssp info-target-libssp
35805 maybe-info-target-libssp:
35806 @if target-libssp
35807 maybe-info-target-libssp: info-target-libssp
35809 info-target-libssp: \
35810 configure-target-libssp
35811 @: $(MAKE); $(unstage)
35812 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35813 r=`${PWD_COMMAND}`; export r; \
35814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35815 $(NORMAL_TARGET_EXPORTS) \
35816 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
35817 for flag in $(EXTRA_TARGET_FLAGS); do \
35818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35819 done; \
35820 (cd $(TARGET_SUBDIR)/libssp && \
35821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35823 "RANLIB=$${RANLIB}" \
35824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35825 info) \
35826 || exit 1
35828 @endif target-libssp
35830 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
35831 maybe-dvi-target-libssp:
35832 @if target-libssp
35833 maybe-dvi-target-libssp: dvi-target-libssp
35835 dvi-target-libssp: \
35836 configure-target-libssp
35837 @: $(MAKE); $(unstage)
35838 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35839 r=`${PWD_COMMAND}`; export r; \
35840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35841 $(NORMAL_TARGET_EXPORTS) \
35842 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
35843 for flag in $(EXTRA_TARGET_FLAGS); do \
35844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35845 done; \
35846 (cd $(TARGET_SUBDIR)/libssp && \
35847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35849 "RANLIB=$${RANLIB}" \
35850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35851 dvi) \
35852 || exit 1
35854 @endif target-libssp
35856 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
35857 maybe-pdf-target-libssp:
35858 @if target-libssp
35859 maybe-pdf-target-libssp: pdf-target-libssp
35861 pdf-target-libssp: \
35862 configure-target-libssp
35863 @: $(MAKE); $(unstage)
35864 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35865 r=`${PWD_COMMAND}`; export r; \
35866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35867 $(NORMAL_TARGET_EXPORTS) \
35868 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
35869 for flag in $(EXTRA_TARGET_FLAGS); do \
35870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35871 done; \
35872 (cd $(TARGET_SUBDIR)/libssp && \
35873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35875 "RANLIB=$${RANLIB}" \
35876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35877 pdf) \
35878 || exit 1
35880 @endif target-libssp
35882 .PHONY: maybe-html-target-libssp html-target-libssp
35883 maybe-html-target-libssp:
35884 @if target-libssp
35885 maybe-html-target-libssp: html-target-libssp
35887 html-target-libssp: \
35888 configure-target-libssp
35889 @: $(MAKE); $(unstage)
35890 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35891 r=`${PWD_COMMAND}`; export r; \
35892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35893 $(NORMAL_TARGET_EXPORTS) \
35894 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
35895 for flag in $(EXTRA_TARGET_FLAGS); do \
35896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35897 done; \
35898 (cd $(TARGET_SUBDIR)/libssp && \
35899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35901 "RANLIB=$${RANLIB}" \
35902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35903 html) \
35904 || exit 1
35906 @endif target-libssp
35908 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
35909 maybe-TAGS-target-libssp:
35910 @if target-libssp
35911 maybe-TAGS-target-libssp: TAGS-target-libssp
35913 TAGS-target-libssp: \
35914 configure-target-libssp
35915 @: $(MAKE); $(unstage)
35916 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35917 r=`${PWD_COMMAND}`; export r; \
35918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35919 $(NORMAL_TARGET_EXPORTS) \
35920 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
35921 for flag in $(EXTRA_TARGET_FLAGS); do \
35922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35923 done; \
35924 (cd $(TARGET_SUBDIR)/libssp && \
35925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35927 "RANLIB=$${RANLIB}" \
35928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35929 TAGS) \
35930 || exit 1
35932 @endif target-libssp
35934 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
35935 maybe-install-info-target-libssp:
35936 @if target-libssp
35937 maybe-install-info-target-libssp: install-info-target-libssp
35939 install-info-target-libssp: \
35940 configure-target-libssp \
35941 info-target-libssp
35942 @: $(MAKE); $(unstage)
35943 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35944 r=`${PWD_COMMAND}`; export r; \
35945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35946 $(NORMAL_TARGET_EXPORTS) \
35947 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
35948 for flag in $(EXTRA_TARGET_FLAGS); do \
35949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35950 done; \
35951 (cd $(TARGET_SUBDIR)/libssp && \
35952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35954 "RANLIB=$${RANLIB}" \
35955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35956 install-info) \
35957 || exit 1
35959 @endif target-libssp
35961 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
35962 maybe-install-pdf-target-libssp:
35963 @if target-libssp
35964 maybe-install-pdf-target-libssp: install-pdf-target-libssp
35966 install-pdf-target-libssp: \
35967 configure-target-libssp \
35968 pdf-target-libssp
35969 @: $(MAKE); $(unstage)
35970 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35971 r=`${PWD_COMMAND}`; export r; \
35972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35973 $(NORMAL_TARGET_EXPORTS) \
35974 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \
35975 for flag in $(EXTRA_TARGET_FLAGS); do \
35976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35977 done; \
35978 (cd $(TARGET_SUBDIR)/libssp && \
35979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35981 "RANLIB=$${RANLIB}" \
35982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35983 install-pdf) \
35984 || exit 1
35986 @endif target-libssp
35988 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
35989 maybe-install-html-target-libssp:
35990 @if target-libssp
35991 maybe-install-html-target-libssp: install-html-target-libssp
35993 install-html-target-libssp: \
35994 configure-target-libssp \
35995 html-target-libssp
35996 @: $(MAKE); $(unstage)
35997 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35998 r=`${PWD_COMMAND}`; export r; \
35999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36000 $(NORMAL_TARGET_EXPORTS) \
36001 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
36002 for flag in $(EXTRA_TARGET_FLAGS); do \
36003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36004 done; \
36005 (cd $(TARGET_SUBDIR)/libssp && \
36006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36008 "RANLIB=$${RANLIB}" \
36009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36010 install-html) \
36011 || exit 1
36013 @endif target-libssp
36015 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
36016 maybe-installcheck-target-libssp:
36017 @if target-libssp
36018 maybe-installcheck-target-libssp: installcheck-target-libssp
36020 installcheck-target-libssp: \
36021 configure-target-libssp
36022 @: $(MAKE); $(unstage)
36023 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36024 r=`${PWD_COMMAND}`; export r; \
36025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36026 $(NORMAL_TARGET_EXPORTS) \
36027 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
36028 for flag in $(EXTRA_TARGET_FLAGS); do \
36029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36030 done; \
36031 (cd $(TARGET_SUBDIR)/libssp && \
36032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36034 "RANLIB=$${RANLIB}" \
36035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36036 installcheck) \
36037 || exit 1
36039 @endif target-libssp
36041 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
36042 maybe-mostlyclean-target-libssp:
36043 @if target-libssp
36044 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
36046 mostlyclean-target-libssp:
36047 @: $(MAKE); $(unstage)
36048 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36049 r=`${PWD_COMMAND}`; export r; \
36050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36051 $(NORMAL_TARGET_EXPORTS) \
36052 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
36053 for flag in $(EXTRA_TARGET_FLAGS); do \
36054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36055 done; \
36056 (cd $(TARGET_SUBDIR)/libssp && \
36057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36059 "RANLIB=$${RANLIB}" \
36060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36061 mostlyclean) \
36062 || exit 1
36064 @endif target-libssp
36066 .PHONY: maybe-clean-target-libssp clean-target-libssp
36067 maybe-clean-target-libssp:
36068 @if target-libssp
36069 maybe-clean-target-libssp: clean-target-libssp
36071 clean-target-libssp:
36072 @: $(MAKE); $(unstage)
36073 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36074 r=`${PWD_COMMAND}`; export r; \
36075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36076 $(NORMAL_TARGET_EXPORTS) \
36077 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
36078 for flag in $(EXTRA_TARGET_FLAGS); do \
36079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36080 done; \
36081 (cd $(TARGET_SUBDIR)/libssp && \
36082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36084 "RANLIB=$${RANLIB}" \
36085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36086 clean) \
36087 || exit 1
36089 @endif target-libssp
36091 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
36092 maybe-distclean-target-libssp:
36093 @if target-libssp
36094 maybe-distclean-target-libssp: distclean-target-libssp
36096 distclean-target-libssp:
36097 @: $(MAKE); $(unstage)
36098 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36099 r=`${PWD_COMMAND}`; export r; \
36100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36101 $(NORMAL_TARGET_EXPORTS) \
36102 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
36103 for flag in $(EXTRA_TARGET_FLAGS); do \
36104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36105 done; \
36106 (cd $(TARGET_SUBDIR)/libssp && \
36107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36109 "RANLIB=$${RANLIB}" \
36110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36111 distclean) \
36112 || exit 1
36114 @endif target-libssp
36116 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
36117 maybe-maintainer-clean-target-libssp:
36118 @if target-libssp
36119 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
36121 maintainer-clean-target-libssp:
36122 @: $(MAKE); $(unstage)
36123 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36124 r=`${PWD_COMMAND}`; export r; \
36125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36126 $(NORMAL_TARGET_EXPORTS) \
36127 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
36128 for flag in $(EXTRA_TARGET_FLAGS); do \
36129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36130 done; \
36131 (cd $(TARGET_SUBDIR)/libssp && \
36132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36134 "RANLIB=$${RANLIB}" \
36135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36136 maintainer-clean) \
36137 || exit 1
36139 @endif target-libssp
36145 .PHONY: configure-target-newlib maybe-configure-target-newlib
36146 maybe-configure-target-newlib:
36147 @if gcc-bootstrap
36148 configure-target-newlib: stage_current
36149 @endif gcc-bootstrap
36150 @if target-newlib
36151 maybe-configure-target-newlib: configure-target-newlib
36152 configure-target-newlib:
36153 @: $(MAKE); $(unstage)
36154 @r=`${PWD_COMMAND}`; export r; \
36155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36156 echo "Checking multilib configuration for newlib..."; \
36157 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
36158 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
36159 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
36160 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
36161 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
36162 else \
36163 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
36164 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
36165 fi; \
36166 else \
36167 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
36168 fi; \
36169 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
36170 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
36171 $(NORMAL_TARGET_EXPORTS) \
36172 echo Configuring in $(TARGET_SUBDIR)/newlib; \
36173 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
36174 case $(srcdir) in \
36175 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36176 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
36177 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36178 esac; \
36179 module_srcdir=newlib; \
36180 rm -f no-such-file || : ; \
36181 CONFIG_SITE=no-such-file $(SHELL) \
36182 $$s/$$module_srcdir/configure \
36183 --srcdir=$${topdir}/$$module_srcdir \
36184 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36185 --target=${target_alias} \
36186 || exit 1
36187 @endif target-newlib
36193 .PHONY: all-target-newlib maybe-all-target-newlib
36194 maybe-all-target-newlib:
36195 @if gcc-bootstrap
36196 all-target-newlib: stage_current
36197 @endif gcc-bootstrap
36198 @if target-newlib
36199 TARGET-target-newlib=all
36200 maybe-all-target-newlib: all-target-newlib
36201 all-target-newlib: configure-target-newlib
36202 @: $(MAKE); $(unstage)
36203 @r=`${PWD_COMMAND}`; export r; \
36204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36205 $(NORMAL_TARGET_EXPORTS) \
36206 (cd $(TARGET_SUBDIR)/newlib && \
36207 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36208 $(TARGET-target-newlib))
36209 @endif target-newlib
36215 .PHONY: check-target-newlib maybe-check-target-newlib
36216 maybe-check-target-newlib:
36217 @if target-newlib
36218 maybe-check-target-newlib: check-target-newlib
36220 check-target-newlib:
36221 @: $(MAKE); $(unstage)
36222 @r=`${PWD_COMMAND}`; export r; \
36223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36224 $(NORMAL_TARGET_EXPORTS) \
36225 (cd $(TARGET_SUBDIR)/newlib && \
36226 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36228 @endif target-newlib
36230 .PHONY: install-target-newlib maybe-install-target-newlib
36231 maybe-install-target-newlib:
36232 @if target-newlib
36233 maybe-install-target-newlib: install-target-newlib
36235 install-target-newlib: installdirs
36236 @: $(MAKE); $(unstage)
36237 @r=`${PWD_COMMAND}`; export r; \
36238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36239 $(NORMAL_TARGET_EXPORTS) \
36240 (cd $(TARGET_SUBDIR)/newlib && \
36241 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36243 @endif target-newlib
36245 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
36246 maybe-install-strip-target-newlib:
36247 @if target-newlib
36248 maybe-install-strip-target-newlib: install-strip-target-newlib
36250 install-strip-target-newlib: installdirs
36251 @: $(MAKE); $(unstage)
36252 @r=`${PWD_COMMAND}`; export r; \
36253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36254 $(NORMAL_TARGET_EXPORTS) \
36255 (cd $(TARGET_SUBDIR)/newlib && \
36256 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36258 @endif target-newlib
36260 # Other targets (info, dvi, pdf, etc.)
36262 .PHONY: maybe-info-target-newlib info-target-newlib
36263 maybe-info-target-newlib:
36264 @if target-newlib
36265 maybe-info-target-newlib: info-target-newlib
36267 info-target-newlib: \
36268 configure-target-newlib
36269 @: $(MAKE); $(unstage)
36270 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36271 r=`${PWD_COMMAND}`; export r; \
36272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36273 $(NORMAL_TARGET_EXPORTS) \
36274 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
36275 for flag in $(EXTRA_TARGET_FLAGS); do \
36276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36277 done; \
36278 (cd $(TARGET_SUBDIR)/newlib && \
36279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36281 "RANLIB=$${RANLIB}" \
36282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36283 info) \
36284 || exit 1
36286 @endif target-newlib
36288 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
36289 maybe-dvi-target-newlib:
36290 @if target-newlib
36291 maybe-dvi-target-newlib: dvi-target-newlib
36293 dvi-target-newlib: \
36294 configure-target-newlib
36295 @: $(MAKE); $(unstage)
36296 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36297 r=`${PWD_COMMAND}`; export r; \
36298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36299 $(NORMAL_TARGET_EXPORTS) \
36300 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
36301 for flag in $(EXTRA_TARGET_FLAGS); do \
36302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36303 done; \
36304 (cd $(TARGET_SUBDIR)/newlib && \
36305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36307 "RANLIB=$${RANLIB}" \
36308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36309 dvi) \
36310 || exit 1
36312 @endif target-newlib
36314 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
36315 maybe-pdf-target-newlib:
36316 @if target-newlib
36317 maybe-pdf-target-newlib: pdf-target-newlib
36319 pdf-target-newlib: \
36320 configure-target-newlib
36321 @: $(MAKE); $(unstage)
36322 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36323 r=`${PWD_COMMAND}`; export r; \
36324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36325 $(NORMAL_TARGET_EXPORTS) \
36326 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
36327 for flag in $(EXTRA_TARGET_FLAGS); do \
36328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36329 done; \
36330 (cd $(TARGET_SUBDIR)/newlib && \
36331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36333 "RANLIB=$${RANLIB}" \
36334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36335 pdf) \
36336 || exit 1
36338 @endif target-newlib
36340 .PHONY: maybe-html-target-newlib html-target-newlib
36341 maybe-html-target-newlib:
36342 @if target-newlib
36343 maybe-html-target-newlib: html-target-newlib
36345 html-target-newlib: \
36346 configure-target-newlib
36347 @: $(MAKE); $(unstage)
36348 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36349 r=`${PWD_COMMAND}`; export r; \
36350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36351 $(NORMAL_TARGET_EXPORTS) \
36352 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
36353 for flag in $(EXTRA_TARGET_FLAGS); do \
36354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36355 done; \
36356 (cd $(TARGET_SUBDIR)/newlib && \
36357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36359 "RANLIB=$${RANLIB}" \
36360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36361 html) \
36362 || exit 1
36364 @endif target-newlib
36366 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
36367 maybe-TAGS-target-newlib:
36368 @if target-newlib
36369 maybe-TAGS-target-newlib: TAGS-target-newlib
36371 TAGS-target-newlib: \
36372 configure-target-newlib
36373 @: $(MAKE); $(unstage)
36374 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36375 r=`${PWD_COMMAND}`; export r; \
36376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36377 $(NORMAL_TARGET_EXPORTS) \
36378 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
36379 for flag in $(EXTRA_TARGET_FLAGS); do \
36380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36381 done; \
36382 (cd $(TARGET_SUBDIR)/newlib && \
36383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36385 "RANLIB=$${RANLIB}" \
36386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36387 TAGS) \
36388 || exit 1
36390 @endif target-newlib
36392 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
36393 maybe-install-info-target-newlib:
36394 @if target-newlib
36395 maybe-install-info-target-newlib: install-info-target-newlib
36397 install-info-target-newlib: \
36398 configure-target-newlib \
36399 info-target-newlib
36400 @: $(MAKE); $(unstage)
36401 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36402 r=`${PWD_COMMAND}`; export r; \
36403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36404 $(NORMAL_TARGET_EXPORTS) \
36405 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
36406 for flag in $(EXTRA_TARGET_FLAGS); do \
36407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36408 done; \
36409 (cd $(TARGET_SUBDIR)/newlib && \
36410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36412 "RANLIB=$${RANLIB}" \
36413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36414 install-info) \
36415 || exit 1
36417 @endif target-newlib
36419 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
36420 maybe-install-pdf-target-newlib:
36421 @if target-newlib
36422 maybe-install-pdf-target-newlib: install-pdf-target-newlib
36424 install-pdf-target-newlib: \
36425 configure-target-newlib \
36426 pdf-target-newlib
36427 @: $(MAKE); $(unstage)
36428 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36429 r=`${PWD_COMMAND}`; export r; \
36430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36431 $(NORMAL_TARGET_EXPORTS) \
36432 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \
36433 for flag in $(EXTRA_TARGET_FLAGS); do \
36434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36435 done; \
36436 (cd $(TARGET_SUBDIR)/newlib && \
36437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36439 "RANLIB=$${RANLIB}" \
36440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36441 install-pdf) \
36442 || exit 1
36444 @endif target-newlib
36446 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
36447 maybe-install-html-target-newlib:
36448 @if target-newlib
36449 maybe-install-html-target-newlib: install-html-target-newlib
36451 install-html-target-newlib: \
36452 configure-target-newlib \
36453 html-target-newlib
36454 @: $(MAKE); $(unstage)
36455 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36456 r=`${PWD_COMMAND}`; export r; \
36457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36458 $(NORMAL_TARGET_EXPORTS) \
36459 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
36460 for flag in $(EXTRA_TARGET_FLAGS); do \
36461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36462 done; \
36463 (cd $(TARGET_SUBDIR)/newlib && \
36464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36466 "RANLIB=$${RANLIB}" \
36467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36468 install-html) \
36469 || exit 1
36471 @endif target-newlib
36473 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
36474 maybe-installcheck-target-newlib:
36475 @if target-newlib
36476 maybe-installcheck-target-newlib: installcheck-target-newlib
36478 installcheck-target-newlib: \
36479 configure-target-newlib
36480 @: $(MAKE); $(unstage)
36481 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36482 r=`${PWD_COMMAND}`; export r; \
36483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36484 $(NORMAL_TARGET_EXPORTS) \
36485 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
36486 for flag in $(EXTRA_TARGET_FLAGS); do \
36487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36488 done; \
36489 (cd $(TARGET_SUBDIR)/newlib && \
36490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36492 "RANLIB=$${RANLIB}" \
36493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36494 installcheck) \
36495 || exit 1
36497 @endif target-newlib
36499 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
36500 maybe-mostlyclean-target-newlib:
36501 @if target-newlib
36502 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
36504 mostlyclean-target-newlib:
36505 @: $(MAKE); $(unstage)
36506 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36507 r=`${PWD_COMMAND}`; export r; \
36508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36509 $(NORMAL_TARGET_EXPORTS) \
36510 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
36511 for flag in $(EXTRA_TARGET_FLAGS); do \
36512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36513 done; \
36514 (cd $(TARGET_SUBDIR)/newlib && \
36515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36517 "RANLIB=$${RANLIB}" \
36518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36519 mostlyclean) \
36520 || exit 1
36522 @endif target-newlib
36524 .PHONY: maybe-clean-target-newlib clean-target-newlib
36525 maybe-clean-target-newlib:
36526 @if target-newlib
36527 maybe-clean-target-newlib: clean-target-newlib
36529 clean-target-newlib:
36530 @: $(MAKE); $(unstage)
36531 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36532 r=`${PWD_COMMAND}`; export r; \
36533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36534 $(NORMAL_TARGET_EXPORTS) \
36535 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
36536 for flag in $(EXTRA_TARGET_FLAGS); do \
36537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36538 done; \
36539 (cd $(TARGET_SUBDIR)/newlib && \
36540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36542 "RANLIB=$${RANLIB}" \
36543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36544 clean) \
36545 || exit 1
36547 @endif target-newlib
36549 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
36550 maybe-distclean-target-newlib:
36551 @if target-newlib
36552 maybe-distclean-target-newlib: distclean-target-newlib
36554 distclean-target-newlib:
36555 @: $(MAKE); $(unstage)
36556 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36557 r=`${PWD_COMMAND}`; export r; \
36558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36559 $(NORMAL_TARGET_EXPORTS) \
36560 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
36561 for flag in $(EXTRA_TARGET_FLAGS); do \
36562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36563 done; \
36564 (cd $(TARGET_SUBDIR)/newlib && \
36565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36567 "RANLIB=$${RANLIB}" \
36568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36569 distclean) \
36570 || exit 1
36572 @endif target-newlib
36574 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
36575 maybe-maintainer-clean-target-newlib:
36576 @if target-newlib
36577 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
36579 maintainer-clean-target-newlib:
36580 @: $(MAKE); $(unstage)
36581 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36582 r=`${PWD_COMMAND}`; export r; \
36583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36584 $(NORMAL_TARGET_EXPORTS) \
36585 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
36586 for flag in $(EXTRA_TARGET_FLAGS); do \
36587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36588 done; \
36589 (cd $(TARGET_SUBDIR)/newlib && \
36590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36592 "RANLIB=$${RANLIB}" \
36593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36594 maintainer-clean) \
36595 || exit 1
36597 @endif target-newlib
36603 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
36604 maybe-configure-target-libgcc:
36605 @if gcc-bootstrap
36606 configure-target-libgcc: stage_current
36607 @endif gcc-bootstrap
36608 @if target-libgcc
36609 maybe-configure-target-libgcc: configure-target-libgcc
36610 configure-target-libgcc:
36611 @r=`${PWD_COMMAND}`; export r; \
36612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36613 echo "Checking multilib configuration for libgcc..."; \
36614 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36615 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36616 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36617 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36618 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36619 else \
36620 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36621 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36622 fi; \
36623 else \
36624 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36625 fi; \
36626 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36627 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36628 $(NORMAL_TARGET_EXPORTS) \
36629 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
36630 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
36631 case $(srcdir) in \
36632 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36633 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36634 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36635 esac; \
36636 module_srcdir=libgcc; \
36637 rm -f no-such-file || : ; \
36638 CONFIG_SITE=no-such-file $(SHELL) \
36639 $$s/$$module_srcdir/configure \
36640 --srcdir=$${topdir}/$$module_srcdir \
36641 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36642 --target=${target_alias} \
36643 || exit 1
36644 @endif target-libgcc
36648 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
36649 maybe-configure-stage1-target-libgcc:
36650 @if target-libgcc-bootstrap
36651 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
36652 configure-stage1-target-libgcc:
36653 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36654 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36655 @r=`${PWD_COMMAND}`; export r; \
36656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36657 TFLAGS="$(STAGE1_TFLAGS)"; \
36658 echo "Checking multilib configuration for libgcc..."; \
36659 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36660 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36661 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36662 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36663 else \
36664 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36665 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36666 fi; \
36667 else \
36668 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36669 fi; \
36670 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36671 $(NORMAL_TARGET_EXPORTS) \
36672 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36673 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36674 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36675 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
36676 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36677 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36678 case $(srcdir) in \
36679 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36680 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36681 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36682 esac; \
36683 module_srcdir=libgcc; \
36684 $(SHELL) $$s/$$module_srcdir/configure \
36685 --srcdir=$${topdir}/$$module_srcdir \
36686 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36687 --target=${target_alias} \
36689 $(STAGE1_CONFIGURE_FLAGS)
36690 @endif target-libgcc-bootstrap
36692 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
36693 maybe-configure-stage2-target-libgcc:
36694 @if target-libgcc-bootstrap
36695 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
36696 configure-stage2-target-libgcc:
36697 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
36698 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36699 @r=`${PWD_COMMAND}`; export r; \
36700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36701 TFLAGS="$(STAGE2_TFLAGS)"; \
36702 echo "Checking multilib configuration for libgcc..."; \
36703 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36704 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36705 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36706 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36707 else \
36708 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36709 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36710 fi; \
36711 else \
36712 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36713 fi; \
36714 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36715 $(NORMAL_TARGET_EXPORTS) \
36717 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36718 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36719 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36720 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
36721 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36722 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36723 case $(srcdir) in \
36724 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36725 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36726 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36727 esac; \
36728 module_srcdir=libgcc; \
36729 $(SHELL) $$s/$$module_srcdir/configure \
36730 --srcdir=$${topdir}/$$module_srcdir \
36731 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36732 --target=${target_alias} \
36733 --with-build-libsubdir=$(HOST_SUBDIR) \
36734 $(STAGE2_CONFIGURE_FLAGS)
36735 @endif target-libgcc-bootstrap
36737 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
36738 maybe-configure-stage3-target-libgcc:
36739 @if target-libgcc-bootstrap
36740 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
36741 configure-stage3-target-libgcc:
36742 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
36743 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36744 @r=`${PWD_COMMAND}`; export r; \
36745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36746 TFLAGS="$(STAGE3_TFLAGS)"; \
36747 echo "Checking multilib configuration for libgcc..."; \
36748 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36749 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36750 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36751 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36752 else \
36753 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36754 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36755 fi; \
36756 else \
36757 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36758 fi; \
36759 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36760 $(NORMAL_TARGET_EXPORTS) \
36762 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36763 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36764 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36765 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
36766 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36767 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36768 case $(srcdir) in \
36769 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36770 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36771 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36772 esac; \
36773 module_srcdir=libgcc; \
36774 $(SHELL) $$s/$$module_srcdir/configure \
36775 --srcdir=$${topdir}/$$module_srcdir \
36776 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36777 --target=${target_alias} \
36778 --with-build-libsubdir=$(HOST_SUBDIR) \
36779 $(STAGE3_CONFIGURE_FLAGS)
36780 @endif target-libgcc-bootstrap
36782 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
36783 maybe-configure-stage4-target-libgcc:
36784 @if target-libgcc-bootstrap
36785 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
36786 configure-stage4-target-libgcc:
36787 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
36788 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36789 @r=`${PWD_COMMAND}`; export r; \
36790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36791 TFLAGS="$(STAGE4_TFLAGS)"; \
36792 echo "Checking multilib configuration for libgcc..."; \
36793 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36794 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36795 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36796 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36797 else \
36798 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36799 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36800 fi; \
36801 else \
36802 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36803 fi; \
36804 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36805 $(NORMAL_TARGET_EXPORTS) \
36807 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36808 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36809 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36810 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
36811 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36812 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36813 case $(srcdir) in \
36814 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36815 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36816 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36817 esac; \
36818 module_srcdir=libgcc; \
36819 $(SHELL) $$s/$$module_srcdir/configure \
36820 --srcdir=$${topdir}/$$module_srcdir \
36821 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36822 --target=${target_alias} \
36823 --with-build-libsubdir=$(HOST_SUBDIR) \
36824 $(STAGE4_CONFIGURE_FLAGS)
36825 @endif target-libgcc-bootstrap
36827 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
36828 maybe-configure-stageprofile-target-libgcc:
36829 @if target-libgcc-bootstrap
36830 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
36831 configure-stageprofile-target-libgcc:
36832 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
36833 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36834 @r=`${PWD_COMMAND}`; export r; \
36835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36836 TFLAGS="$(STAGEprofile_TFLAGS)"; \
36837 echo "Checking multilib configuration for libgcc..."; \
36838 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36839 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36840 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36841 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36842 else \
36843 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36844 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36845 fi; \
36846 else \
36847 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36848 fi; \
36849 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36850 $(NORMAL_TARGET_EXPORTS) \
36852 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36853 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36854 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36855 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
36856 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36857 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36858 case $(srcdir) in \
36859 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36860 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36861 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36862 esac; \
36863 module_srcdir=libgcc; \
36864 $(SHELL) $$s/$$module_srcdir/configure \
36865 --srcdir=$${topdir}/$$module_srcdir \
36866 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36867 --target=${target_alias} \
36868 --with-build-libsubdir=$(HOST_SUBDIR) \
36869 $(STAGEprofile_CONFIGURE_FLAGS)
36870 @endif target-libgcc-bootstrap
36872 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
36873 maybe-configure-stagefeedback-target-libgcc:
36874 @if target-libgcc-bootstrap
36875 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
36876 configure-stagefeedback-target-libgcc:
36877 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
36878 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36879 @r=`${PWD_COMMAND}`; export r; \
36880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36881 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
36882 echo "Checking multilib configuration for libgcc..."; \
36883 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36884 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36885 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36886 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36887 else \
36888 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36889 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36890 fi; \
36891 else \
36892 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36893 fi; \
36894 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36895 $(NORMAL_TARGET_EXPORTS) \
36897 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36898 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36899 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36900 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
36901 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36902 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36903 case $(srcdir) in \
36904 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36905 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36906 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36907 esac; \
36908 module_srcdir=libgcc; \
36909 $(SHELL) $$s/$$module_srcdir/configure \
36910 --srcdir=$${topdir}/$$module_srcdir \
36911 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36912 --target=${target_alias} \
36913 --with-build-libsubdir=$(HOST_SUBDIR) \
36914 $(STAGEfeedback_CONFIGURE_FLAGS)
36915 @endif target-libgcc-bootstrap
36921 .PHONY: all-target-libgcc maybe-all-target-libgcc
36922 maybe-all-target-libgcc:
36923 @if gcc-bootstrap
36924 all-target-libgcc: stage_current
36925 @endif gcc-bootstrap
36926 @if target-libgcc
36927 TARGET-target-libgcc=all
36928 maybe-all-target-libgcc: all-target-libgcc
36929 all-target-libgcc: configure-target-libgcc
36930 @r=`${PWD_COMMAND}`; export r; \
36931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36932 $(NORMAL_TARGET_EXPORTS) \
36933 (cd $(TARGET_SUBDIR)/libgcc && \
36934 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36935 $(TARGET-target-libgcc))
36936 @endif target-libgcc
36940 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
36941 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
36942 maybe-all-stage1-target-libgcc:
36943 maybe-clean-stage1-target-libgcc:
36944 @if target-libgcc-bootstrap
36945 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
36946 all-stage1: all-stage1-target-libgcc
36947 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
36948 all-stage1-target-libgcc: configure-stage1-target-libgcc
36949 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36950 @r=`${PWD_COMMAND}`; export r; \
36951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36952 TFLAGS="$(STAGE1_TFLAGS)"; \
36953 $(NORMAL_TARGET_EXPORTS) \
36954 cd $(TARGET_SUBDIR)/libgcc && \
36955 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36956 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36957 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36958 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36959 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36960 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36961 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36962 $(EXTRA_TARGET_FLAGS) \
36964 TFLAGS="$(STAGE1_TFLAGS)" \
36965 $(TARGET-stage1-target-libgcc)
36967 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
36968 clean-stage1: clean-stage1-target-libgcc
36969 clean-stage1-target-libgcc:
36970 @if [ $(current_stage) = stage1 ]; then \
36971 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
36972 else \
36973 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
36974 $(MAKE) stage1-start; \
36975 fi; \
36976 cd $(TARGET_SUBDIR)/libgcc && \
36977 $(MAKE) $(EXTRA_TARGET_FLAGS) \
36978 clean
36979 @endif target-libgcc-bootstrap
36982 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
36983 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
36984 maybe-all-stage2-target-libgcc:
36985 maybe-clean-stage2-target-libgcc:
36986 @if target-libgcc-bootstrap
36987 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
36988 all-stage2: all-stage2-target-libgcc
36989 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
36990 all-stage2-target-libgcc: configure-stage2-target-libgcc
36991 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
36992 @r=`${PWD_COMMAND}`; export r; \
36993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36994 TFLAGS="$(STAGE2_TFLAGS)"; \
36995 $(NORMAL_TARGET_EXPORTS) \
36997 cd $(TARGET_SUBDIR)/libgcc && \
36998 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36999 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37000 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37001 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37002 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37003 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37004 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37005 $(EXTRA_TARGET_FLAGS) \
37006 TFLAGS="$(STAGE2_TFLAGS)" \
37007 $(TARGET-stage2-target-libgcc)
37009 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
37010 clean-stage2: clean-stage2-target-libgcc
37011 clean-stage2-target-libgcc:
37012 @if [ $(current_stage) = stage2 ]; then \
37013 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37014 else \
37015 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
37016 $(MAKE) stage2-start; \
37017 fi; \
37018 cd $(TARGET_SUBDIR)/libgcc && \
37019 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
37020 @endif target-libgcc-bootstrap
37023 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
37024 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
37025 maybe-all-stage3-target-libgcc:
37026 maybe-clean-stage3-target-libgcc:
37027 @if target-libgcc-bootstrap
37028 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
37029 all-stage3: all-stage3-target-libgcc
37030 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
37031 all-stage3-target-libgcc: configure-stage3-target-libgcc
37032 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
37033 @r=`${PWD_COMMAND}`; export r; \
37034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37035 TFLAGS="$(STAGE3_TFLAGS)"; \
37036 $(NORMAL_TARGET_EXPORTS) \
37038 cd $(TARGET_SUBDIR)/libgcc && \
37039 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37040 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37041 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37042 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37043 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37044 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37045 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37046 $(EXTRA_TARGET_FLAGS) \
37047 TFLAGS="$(STAGE3_TFLAGS)" \
37048 $(TARGET-stage3-target-libgcc)
37050 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
37051 clean-stage3: clean-stage3-target-libgcc
37052 clean-stage3-target-libgcc:
37053 @if [ $(current_stage) = stage3 ]; then \
37054 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37055 else \
37056 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
37057 $(MAKE) stage3-start; \
37058 fi; \
37059 cd $(TARGET_SUBDIR)/libgcc && \
37060 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
37061 @endif target-libgcc-bootstrap
37064 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
37065 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
37066 maybe-all-stage4-target-libgcc:
37067 maybe-clean-stage4-target-libgcc:
37068 @if target-libgcc-bootstrap
37069 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
37070 all-stage4: all-stage4-target-libgcc
37071 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
37072 all-stage4-target-libgcc: configure-stage4-target-libgcc
37073 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
37074 @r=`${PWD_COMMAND}`; export r; \
37075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37076 TFLAGS="$(STAGE4_TFLAGS)"; \
37077 $(NORMAL_TARGET_EXPORTS) \
37079 cd $(TARGET_SUBDIR)/libgcc && \
37080 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37081 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37082 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37083 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37084 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37085 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37086 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37087 $(EXTRA_TARGET_FLAGS) \
37088 TFLAGS="$(STAGE4_TFLAGS)" \
37089 $(TARGET-stage4-target-libgcc)
37091 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
37092 clean-stage4: clean-stage4-target-libgcc
37093 clean-stage4-target-libgcc:
37094 @if [ $(current_stage) = stage4 ]; then \
37095 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37096 else \
37097 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
37098 $(MAKE) stage4-start; \
37099 fi; \
37100 cd $(TARGET_SUBDIR)/libgcc && \
37101 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
37102 @endif target-libgcc-bootstrap
37105 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
37106 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
37107 maybe-all-stageprofile-target-libgcc:
37108 maybe-clean-stageprofile-target-libgcc:
37109 @if target-libgcc-bootstrap
37110 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
37111 all-stageprofile: all-stageprofile-target-libgcc
37112 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
37113 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
37114 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
37115 @r=`${PWD_COMMAND}`; export r; \
37116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37117 TFLAGS="$(STAGEprofile_TFLAGS)"; \
37118 $(NORMAL_TARGET_EXPORTS) \
37120 cd $(TARGET_SUBDIR)/libgcc && \
37121 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37122 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37123 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37124 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37125 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37126 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37127 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37128 $(EXTRA_TARGET_FLAGS) \
37129 TFLAGS="$(STAGEprofile_TFLAGS)" \
37130 $(TARGET-stageprofile-target-libgcc)
37132 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
37133 clean-stageprofile: clean-stageprofile-target-libgcc
37134 clean-stageprofile-target-libgcc:
37135 @if [ $(current_stage) = stageprofile ]; then \
37136 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37137 else \
37138 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
37139 $(MAKE) stageprofile-start; \
37140 fi; \
37141 cd $(TARGET_SUBDIR)/libgcc && \
37142 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
37143 @endif target-libgcc-bootstrap
37146 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
37147 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
37148 maybe-all-stagefeedback-target-libgcc:
37149 maybe-clean-stagefeedback-target-libgcc:
37150 @if target-libgcc-bootstrap
37151 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
37152 all-stagefeedback: all-stagefeedback-target-libgcc
37153 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
37154 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
37155 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
37156 @r=`${PWD_COMMAND}`; export r; \
37157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37158 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
37159 $(NORMAL_TARGET_EXPORTS) \
37161 cd $(TARGET_SUBDIR)/libgcc && \
37162 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37163 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37164 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37165 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37166 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37167 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37168 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37169 $(EXTRA_TARGET_FLAGS) \
37170 TFLAGS="$(STAGEfeedback_TFLAGS)" \
37171 $(TARGET-stagefeedback-target-libgcc)
37173 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
37174 clean-stagefeedback: clean-stagefeedback-target-libgcc
37175 clean-stagefeedback-target-libgcc:
37176 @if [ $(current_stage) = stagefeedback ]; then \
37177 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37178 else \
37179 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
37180 $(MAKE) stagefeedback-start; \
37181 fi; \
37182 cd $(TARGET_SUBDIR)/libgcc && \
37183 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
37184 @endif target-libgcc-bootstrap
37191 .PHONY: check-target-libgcc maybe-check-target-libgcc
37192 maybe-check-target-libgcc:
37193 @if target-libgcc
37194 maybe-check-target-libgcc: check-target-libgcc
37196 # Dummy target for uncheckable module.
37197 check-target-libgcc:
37199 @endif target-libgcc
37201 .PHONY: install-target-libgcc maybe-install-target-libgcc
37202 maybe-install-target-libgcc:
37203 @if target-libgcc
37204 maybe-install-target-libgcc: install-target-libgcc
37206 install-target-libgcc: installdirs
37207 @: $(MAKE); $(unstage)
37208 @r=`${PWD_COMMAND}`; export r; \
37209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37210 $(NORMAL_TARGET_EXPORTS) \
37211 (cd $(TARGET_SUBDIR)/libgcc && \
37212 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37214 @endif target-libgcc
37216 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
37217 maybe-install-strip-target-libgcc:
37218 @if target-libgcc
37219 maybe-install-strip-target-libgcc: install-strip-target-libgcc
37221 install-strip-target-libgcc: installdirs
37222 @: $(MAKE); $(unstage)
37223 @r=`${PWD_COMMAND}`; export r; \
37224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37225 $(NORMAL_TARGET_EXPORTS) \
37226 (cd $(TARGET_SUBDIR)/libgcc && \
37227 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37229 @endif target-libgcc
37231 # Other targets (info, dvi, pdf, etc.)
37233 .PHONY: maybe-info-target-libgcc info-target-libgcc
37234 maybe-info-target-libgcc:
37235 @if target-libgcc
37236 maybe-info-target-libgcc: info-target-libgcc
37238 info-target-libgcc: \
37239 configure-target-libgcc
37240 @: $(MAKE); $(unstage)
37241 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37242 r=`${PWD_COMMAND}`; export r; \
37243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37244 $(NORMAL_TARGET_EXPORTS) \
37245 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
37246 for flag in $(EXTRA_TARGET_FLAGS); do \
37247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37248 done; \
37249 (cd $(TARGET_SUBDIR)/libgcc && \
37250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37252 "RANLIB=$${RANLIB}" \
37253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37254 info) \
37255 || exit 1
37257 @endif target-libgcc
37259 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
37260 maybe-dvi-target-libgcc:
37261 @if target-libgcc
37262 maybe-dvi-target-libgcc: dvi-target-libgcc
37264 dvi-target-libgcc: \
37265 configure-target-libgcc
37266 @: $(MAKE); $(unstage)
37267 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37268 r=`${PWD_COMMAND}`; export r; \
37269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37270 $(NORMAL_TARGET_EXPORTS) \
37271 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
37272 for flag in $(EXTRA_TARGET_FLAGS); do \
37273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37274 done; \
37275 (cd $(TARGET_SUBDIR)/libgcc && \
37276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37278 "RANLIB=$${RANLIB}" \
37279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37280 dvi) \
37281 || exit 1
37283 @endif target-libgcc
37285 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
37286 maybe-pdf-target-libgcc:
37287 @if target-libgcc
37288 maybe-pdf-target-libgcc: pdf-target-libgcc
37290 pdf-target-libgcc: \
37291 configure-target-libgcc
37292 @: $(MAKE); $(unstage)
37293 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37294 r=`${PWD_COMMAND}`; export r; \
37295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37296 $(NORMAL_TARGET_EXPORTS) \
37297 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
37298 for flag in $(EXTRA_TARGET_FLAGS); do \
37299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37300 done; \
37301 (cd $(TARGET_SUBDIR)/libgcc && \
37302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37304 "RANLIB=$${RANLIB}" \
37305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37306 pdf) \
37307 || exit 1
37309 @endif target-libgcc
37311 .PHONY: maybe-html-target-libgcc html-target-libgcc
37312 maybe-html-target-libgcc:
37313 @if target-libgcc
37314 maybe-html-target-libgcc: html-target-libgcc
37316 html-target-libgcc: \
37317 configure-target-libgcc
37318 @: $(MAKE); $(unstage)
37319 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37320 r=`${PWD_COMMAND}`; export r; \
37321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37322 $(NORMAL_TARGET_EXPORTS) \
37323 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
37324 for flag in $(EXTRA_TARGET_FLAGS); do \
37325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37326 done; \
37327 (cd $(TARGET_SUBDIR)/libgcc && \
37328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37330 "RANLIB=$${RANLIB}" \
37331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37332 html) \
37333 || exit 1
37335 @endif target-libgcc
37337 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
37338 maybe-TAGS-target-libgcc:
37339 @if target-libgcc
37340 maybe-TAGS-target-libgcc: TAGS-target-libgcc
37342 TAGS-target-libgcc: \
37343 configure-target-libgcc
37344 @: $(MAKE); $(unstage)
37345 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37346 r=`${PWD_COMMAND}`; export r; \
37347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37348 $(NORMAL_TARGET_EXPORTS) \
37349 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
37350 for flag in $(EXTRA_TARGET_FLAGS); do \
37351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37352 done; \
37353 (cd $(TARGET_SUBDIR)/libgcc && \
37354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37356 "RANLIB=$${RANLIB}" \
37357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37358 TAGS) \
37359 || exit 1
37361 @endif target-libgcc
37363 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
37364 maybe-install-info-target-libgcc:
37365 @if target-libgcc
37366 maybe-install-info-target-libgcc: install-info-target-libgcc
37368 install-info-target-libgcc: \
37369 configure-target-libgcc \
37370 info-target-libgcc
37371 @: $(MAKE); $(unstage)
37372 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37373 r=`${PWD_COMMAND}`; export r; \
37374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37375 $(NORMAL_TARGET_EXPORTS) \
37376 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
37377 for flag in $(EXTRA_TARGET_FLAGS); do \
37378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37379 done; \
37380 (cd $(TARGET_SUBDIR)/libgcc && \
37381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37383 "RANLIB=$${RANLIB}" \
37384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37385 install-info) \
37386 || exit 1
37388 @endif target-libgcc
37390 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
37391 maybe-install-pdf-target-libgcc:
37392 @if target-libgcc
37393 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
37395 install-pdf-target-libgcc: \
37396 configure-target-libgcc \
37397 pdf-target-libgcc
37398 @: $(MAKE); $(unstage)
37399 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37400 r=`${PWD_COMMAND}`; export r; \
37401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37402 $(NORMAL_TARGET_EXPORTS) \
37403 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
37404 for flag in $(EXTRA_TARGET_FLAGS); do \
37405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37406 done; \
37407 (cd $(TARGET_SUBDIR)/libgcc && \
37408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37410 "RANLIB=$${RANLIB}" \
37411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37412 install-pdf) \
37413 || exit 1
37415 @endif target-libgcc
37417 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
37418 maybe-install-html-target-libgcc:
37419 @if target-libgcc
37420 maybe-install-html-target-libgcc: install-html-target-libgcc
37422 install-html-target-libgcc: \
37423 configure-target-libgcc \
37424 html-target-libgcc
37425 @: $(MAKE); $(unstage)
37426 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37427 r=`${PWD_COMMAND}`; export r; \
37428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37429 $(NORMAL_TARGET_EXPORTS) \
37430 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
37431 for flag in $(EXTRA_TARGET_FLAGS); do \
37432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37433 done; \
37434 (cd $(TARGET_SUBDIR)/libgcc && \
37435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37437 "RANLIB=$${RANLIB}" \
37438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37439 install-html) \
37440 || exit 1
37442 @endif target-libgcc
37444 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
37445 maybe-installcheck-target-libgcc:
37446 @if target-libgcc
37447 maybe-installcheck-target-libgcc: installcheck-target-libgcc
37449 installcheck-target-libgcc: \
37450 configure-target-libgcc
37451 @: $(MAKE); $(unstage)
37452 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37453 r=`${PWD_COMMAND}`; export r; \
37454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37455 $(NORMAL_TARGET_EXPORTS) \
37456 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
37457 for flag in $(EXTRA_TARGET_FLAGS); do \
37458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37459 done; \
37460 (cd $(TARGET_SUBDIR)/libgcc && \
37461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37463 "RANLIB=$${RANLIB}" \
37464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37465 installcheck) \
37466 || exit 1
37468 @endif target-libgcc
37470 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
37471 maybe-mostlyclean-target-libgcc:
37472 @if target-libgcc
37473 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
37475 mostlyclean-target-libgcc:
37476 @: $(MAKE); $(unstage)
37477 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37478 r=`${PWD_COMMAND}`; export r; \
37479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37480 $(NORMAL_TARGET_EXPORTS) \
37481 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
37482 for flag in $(EXTRA_TARGET_FLAGS); do \
37483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37484 done; \
37485 (cd $(TARGET_SUBDIR)/libgcc && \
37486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37488 "RANLIB=$${RANLIB}" \
37489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37490 mostlyclean) \
37491 || exit 1
37493 @endif target-libgcc
37495 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
37496 maybe-clean-target-libgcc:
37497 @if target-libgcc
37498 maybe-clean-target-libgcc: clean-target-libgcc
37500 clean-target-libgcc:
37501 @: $(MAKE); $(unstage)
37502 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37503 r=`${PWD_COMMAND}`; export r; \
37504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37505 $(NORMAL_TARGET_EXPORTS) \
37506 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
37507 for flag in $(EXTRA_TARGET_FLAGS); do \
37508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37509 done; \
37510 (cd $(TARGET_SUBDIR)/libgcc && \
37511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37513 "RANLIB=$${RANLIB}" \
37514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37515 clean) \
37516 || exit 1
37518 @endif target-libgcc
37520 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
37521 maybe-distclean-target-libgcc:
37522 @if target-libgcc
37523 maybe-distclean-target-libgcc: distclean-target-libgcc
37525 distclean-target-libgcc:
37526 @: $(MAKE); $(unstage)
37527 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37528 r=`${PWD_COMMAND}`; export r; \
37529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37530 $(NORMAL_TARGET_EXPORTS) \
37531 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
37532 for flag in $(EXTRA_TARGET_FLAGS); do \
37533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37534 done; \
37535 (cd $(TARGET_SUBDIR)/libgcc && \
37536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37538 "RANLIB=$${RANLIB}" \
37539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37540 distclean) \
37541 || exit 1
37543 @endif target-libgcc
37545 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
37546 maybe-maintainer-clean-target-libgcc:
37547 @if target-libgcc
37548 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
37550 maintainer-clean-target-libgcc:
37551 @: $(MAKE); $(unstage)
37552 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37553 r=`${PWD_COMMAND}`; export r; \
37554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37555 $(NORMAL_TARGET_EXPORTS) \
37556 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
37557 for flag in $(EXTRA_TARGET_FLAGS); do \
37558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37559 done; \
37560 (cd $(TARGET_SUBDIR)/libgcc && \
37561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37563 "RANLIB=$${RANLIB}" \
37564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37565 maintainer-clean) \
37566 || exit 1
37568 @endif target-libgcc
37574 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
37575 maybe-configure-target-libbacktrace:
37576 @if gcc-bootstrap
37577 configure-target-libbacktrace: stage_current
37578 @endif gcc-bootstrap
37579 @if target-libbacktrace
37580 maybe-configure-target-libbacktrace: configure-target-libbacktrace
37581 configure-target-libbacktrace:
37582 @: $(MAKE); $(unstage)
37583 @r=`${PWD_COMMAND}`; export r; \
37584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37585 echo "Checking multilib configuration for libbacktrace..."; \
37586 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
37587 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null ; \
37588 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
37589 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
37590 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
37591 else \
37592 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
37593 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
37594 fi; \
37595 else \
37596 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
37597 fi; \
37598 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
37599 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
37600 $(NORMAL_TARGET_EXPORTS) \
37601 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
37602 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
37603 case $(srcdir) in \
37604 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37605 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
37606 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37607 esac; \
37608 module_srcdir=libbacktrace; \
37609 rm -f no-such-file || : ; \
37610 CONFIG_SITE=no-such-file $(SHELL) \
37611 $$s/$$module_srcdir/configure \
37612 --srcdir=$${topdir}/$$module_srcdir \
37613 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37614 --target=${target_alias} \
37615 || exit 1
37616 @endif target-libbacktrace
37622 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
37623 maybe-all-target-libbacktrace:
37624 @if gcc-bootstrap
37625 all-target-libbacktrace: stage_current
37626 @endif gcc-bootstrap
37627 @if target-libbacktrace
37628 TARGET-target-libbacktrace=all
37629 maybe-all-target-libbacktrace: all-target-libbacktrace
37630 all-target-libbacktrace: configure-target-libbacktrace
37631 @: $(MAKE); $(unstage)
37632 @r=`${PWD_COMMAND}`; export r; \
37633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37634 $(NORMAL_TARGET_EXPORTS) \
37635 (cd $(TARGET_SUBDIR)/libbacktrace && \
37636 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37637 $(TARGET-target-libbacktrace))
37638 @endif target-libbacktrace
37644 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
37645 maybe-check-target-libbacktrace:
37646 @if target-libbacktrace
37647 maybe-check-target-libbacktrace: check-target-libbacktrace
37649 check-target-libbacktrace:
37650 @: $(MAKE); $(unstage)
37651 @r=`${PWD_COMMAND}`; export r; \
37652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37653 $(NORMAL_TARGET_EXPORTS) \
37654 (cd $(TARGET_SUBDIR)/libbacktrace && \
37655 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37657 @endif target-libbacktrace
37659 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
37660 maybe-install-target-libbacktrace:
37661 @if target-libbacktrace
37662 maybe-install-target-libbacktrace: install-target-libbacktrace
37664 install-target-libbacktrace: installdirs
37665 @: $(MAKE); $(unstage)
37666 @r=`${PWD_COMMAND}`; export r; \
37667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37668 $(NORMAL_TARGET_EXPORTS) \
37669 (cd $(TARGET_SUBDIR)/libbacktrace && \
37670 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37672 @endif target-libbacktrace
37674 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
37675 maybe-install-strip-target-libbacktrace:
37676 @if target-libbacktrace
37677 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
37679 install-strip-target-libbacktrace: installdirs
37680 @: $(MAKE); $(unstage)
37681 @r=`${PWD_COMMAND}`; export r; \
37682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37683 $(NORMAL_TARGET_EXPORTS) \
37684 (cd $(TARGET_SUBDIR)/libbacktrace && \
37685 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37687 @endif target-libbacktrace
37689 # Other targets (info, dvi, pdf, etc.)
37691 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
37692 maybe-info-target-libbacktrace:
37693 @if target-libbacktrace
37694 maybe-info-target-libbacktrace: info-target-libbacktrace
37696 info-target-libbacktrace: \
37697 configure-target-libbacktrace
37698 @: $(MAKE); $(unstage)
37699 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37700 r=`${PWD_COMMAND}`; export r; \
37701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37702 $(NORMAL_TARGET_EXPORTS) \
37703 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace" ; \
37704 for flag in $(EXTRA_TARGET_FLAGS); do \
37705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37706 done; \
37707 (cd $(TARGET_SUBDIR)/libbacktrace && \
37708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37710 "RANLIB=$${RANLIB}" \
37711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37712 info) \
37713 || exit 1
37715 @endif target-libbacktrace
37717 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
37718 maybe-dvi-target-libbacktrace:
37719 @if target-libbacktrace
37720 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
37722 dvi-target-libbacktrace: \
37723 configure-target-libbacktrace
37724 @: $(MAKE); $(unstage)
37725 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37726 r=`${PWD_COMMAND}`; export r; \
37727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37728 $(NORMAL_TARGET_EXPORTS) \
37729 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace" ; \
37730 for flag in $(EXTRA_TARGET_FLAGS); do \
37731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37732 done; \
37733 (cd $(TARGET_SUBDIR)/libbacktrace && \
37734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37736 "RANLIB=$${RANLIB}" \
37737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37738 dvi) \
37739 || exit 1
37741 @endif target-libbacktrace
37743 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
37744 maybe-pdf-target-libbacktrace:
37745 @if target-libbacktrace
37746 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
37748 pdf-target-libbacktrace: \
37749 configure-target-libbacktrace
37750 @: $(MAKE); $(unstage)
37751 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37752 r=`${PWD_COMMAND}`; export r; \
37753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37754 $(NORMAL_TARGET_EXPORTS) \
37755 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
37756 for flag in $(EXTRA_TARGET_FLAGS); do \
37757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37758 done; \
37759 (cd $(TARGET_SUBDIR)/libbacktrace && \
37760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37762 "RANLIB=$${RANLIB}" \
37763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37764 pdf) \
37765 || exit 1
37767 @endif target-libbacktrace
37769 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
37770 maybe-html-target-libbacktrace:
37771 @if target-libbacktrace
37772 maybe-html-target-libbacktrace: html-target-libbacktrace
37774 html-target-libbacktrace: \
37775 configure-target-libbacktrace
37776 @: $(MAKE); $(unstage)
37777 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37778 r=`${PWD_COMMAND}`; export r; \
37779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37780 $(NORMAL_TARGET_EXPORTS) \
37781 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace" ; \
37782 for flag in $(EXTRA_TARGET_FLAGS); do \
37783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37784 done; \
37785 (cd $(TARGET_SUBDIR)/libbacktrace && \
37786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37788 "RANLIB=$${RANLIB}" \
37789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37790 html) \
37791 || exit 1
37793 @endif target-libbacktrace
37795 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
37796 maybe-TAGS-target-libbacktrace:
37797 @if target-libbacktrace
37798 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
37800 TAGS-target-libbacktrace: \
37801 configure-target-libbacktrace
37802 @: $(MAKE); $(unstage)
37803 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37804 r=`${PWD_COMMAND}`; export r; \
37805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37806 $(NORMAL_TARGET_EXPORTS) \
37807 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace" ; \
37808 for flag in $(EXTRA_TARGET_FLAGS); do \
37809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37810 done; \
37811 (cd $(TARGET_SUBDIR)/libbacktrace && \
37812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37814 "RANLIB=$${RANLIB}" \
37815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37816 TAGS) \
37817 || exit 1
37819 @endif target-libbacktrace
37821 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
37822 maybe-install-info-target-libbacktrace:
37823 @if target-libbacktrace
37824 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
37826 install-info-target-libbacktrace: \
37827 configure-target-libbacktrace \
37828 info-target-libbacktrace
37829 @: $(MAKE); $(unstage)
37830 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37831 r=`${PWD_COMMAND}`; export r; \
37832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37833 $(NORMAL_TARGET_EXPORTS) \
37834 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace" ; \
37835 for flag in $(EXTRA_TARGET_FLAGS); do \
37836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37837 done; \
37838 (cd $(TARGET_SUBDIR)/libbacktrace && \
37839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37841 "RANLIB=$${RANLIB}" \
37842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37843 install-info) \
37844 || exit 1
37846 @endif target-libbacktrace
37848 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
37849 maybe-install-pdf-target-libbacktrace:
37850 @if target-libbacktrace
37851 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
37853 install-pdf-target-libbacktrace: \
37854 configure-target-libbacktrace \
37855 pdf-target-libbacktrace
37856 @: $(MAKE); $(unstage)
37857 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37858 r=`${PWD_COMMAND}`; export r; \
37859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37860 $(NORMAL_TARGET_EXPORTS) \
37861 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
37862 for flag in $(EXTRA_TARGET_FLAGS); do \
37863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37864 done; \
37865 (cd $(TARGET_SUBDIR)/libbacktrace && \
37866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37868 "RANLIB=$${RANLIB}" \
37869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37870 install-pdf) \
37871 || exit 1
37873 @endif target-libbacktrace
37875 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
37876 maybe-install-html-target-libbacktrace:
37877 @if target-libbacktrace
37878 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
37880 install-html-target-libbacktrace: \
37881 configure-target-libbacktrace \
37882 html-target-libbacktrace
37883 @: $(MAKE); $(unstage)
37884 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37885 r=`${PWD_COMMAND}`; export r; \
37886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37887 $(NORMAL_TARGET_EXPORTS) \
37888 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace" ; \
37889 for flag in $(EXTRA_TARGET_FLAGS); do \
37890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37891 done; \
37892 (cd $(TARGET_SUBDIR)/libbacktrace && \
37893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37895 "RANLIB=$${RANLIB}" \
37896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37897 install-html) \
37898 || exit 1
37900 @endif target-libbacktrace
37902 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
37903 maybe-installcheck-target-libbacktrace:
37904 @if target-libbacktrace
37905 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
37907 installcheck-target-libbacktrace: \
37908 configure-target-libbacktrace
37909 @: $(MAKE); $(unstage)
37910 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37911 r=`${PWD_COMMAND}`; export r; \
37912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37913 $(NORMAL_TARGET_EXPORTS) \
37914 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace" ; \
37915 for flag in $(EXTRA_TARGET_FLAGS); do \
37916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37917 done; \
37918 (cd $(TARGET_SUBDIR)/libbacktrace && \
37919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37921 "RANLIB=$${RANLIB}" \
37922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37923 installcheck) \
37924 || exit 1
37926 @endif target-libbacktrace
37928 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
37929 maybe-mostlyclean-target-libbacktrace:
37930 @if target-libbacktrace
37931 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
37933 mostlyclean-target-libbacktrace:
37934 @: $(MAKE); $(unstage)
37935 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37936 r=`${PWD_COMMAND}`; export r; \
37937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37938 $(NORMAL_TARGET_EXPORTS) \
37939 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace" ; \
37940 for flag in $(EXTRA_TARGET_FLAGS); do \
37941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37942 done; \
37943 (cd $(TARGET_SUBDIR)/libbacktrace && \
37944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37946 "RANLIB=$${RANLIB}" \
37947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37948 mostlyclean) \
37949 || exit 1
37951 @endif target-libbacktrace
37953 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
37954 maybe-clean-target-libbacktrace:
37955 @if target-libbacktrace
37956 maybe-clean-target-libbacktrace: clean-target-libbacktrace
37958 clean-target-libbacktrace:
37959 @: $(MAKE); $(unstage)
37960 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37961 r=`${PWD_COMMAND}`; export r; \
37962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37963 $(NORMAL_TARGET_EXPORTS) \
37964 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace" ; \
37965 for flag in $(EXTRA_TARGET_FLAGS); do \
37966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37967 done; \
37968 (cd $(TARGET_SUBDIR)/libbacktrace && \
37969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37971 "RANLIB=$${RANLIB}" \
37972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37973 clean) \
37974 || exit 1
37976 @endif target-libbacktrace
37978 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
37979 maybe-distclean-target-libbacktrace:
37980 @if target-libbacktrace
37981 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
37983 distclean-target-libbacktrace:
37984 @: $(MAKE); $(unstage)
37985 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37986 r=`${PWD_COMMAND}`; export r; \
37987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37988 $(NORMAL_TARGET_EXPORTS) \
37989 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace" ; \
37990 for flag in $(EXTRA_TARGET_FLAGS); do \
37991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37992 done; \
37993 (cd $(TARGET_SUBDIR)/libbacktrace && \
37994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37996 "RANLIB=$${RANLIB}" \
37997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37998 distclean) \
37999 || exit 1
38001 @endif target-libbacktrace
38003 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
38004 maybe-maintainer-clean-target-libbacktrace:
38005 @if target-libbacktrace
38006 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
38008 maintainer-clean-target-libbacktrace:
38009 @: $(MAKE); $(unstage)
38010 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
38011 r=`${PWD_COMMAND}`; export r; \
38012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38013 $(NORMAL_TARGET_EXPORTS) \
38014 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace" ; \
38015 for flag in $(EXTRA_TARGET_FLAGS); do \
38016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38017 done; \
38018 (cd $(TARGET_SUBDIR)/libbacktrace && \
38019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38021 "RANLIB=$${RANLIB}" \
38022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38023 maintainer-clean) \
38024 || exit 1
38026 @endif target-libbacktrace
38032 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
38033 maybe-configure-target-libquadmath:
38034 @if gcc-bootstrap
38035 configure-target-libquadmath: stage_current
38036 @endif gcc-bootstrap
38037 @if target-libquadmath
38038 maybe-configure-target-libquadmath: configure-target-libquadmath
38039 configure-target-libquadmath:
38040 @: $(MAKE); $(unstage)
38041 @r=`${PWD_COMMAND}`; export r; \
38042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38043 echo "Checking multilib configuration for libquadmath..."; \
38044 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
38045 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null ; \
38046 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
38047 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
38048 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
38049 else \
38050 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
38051 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
38052 fi; \
38053 else \
38054 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
38055 fi; \
38056 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
38057 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
38058 $(NORMAL_TARGET_EXPORTS) \
38059 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
38060 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
38061 case $(srcdir) in \
38062 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38063 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
38064 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38065 esac; \
38066 module_srcdir=libquadmath; \
38067 rm -f no-such-file || : ; \
38068 CONFIG_SITE=no-such-file $(SHELL) \
38069 $$s/$$module_srcdir/configure \
38070 --srcdir=$${topdir}/$$module_srcdir \
38071 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38072 --target=${target_alias} \
38073 || exit 1
38074 @endif target-libquadmath
38080 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
38081 maybe-all-target-libquadmath:
38082 @if gcc-bootstrap
38083 all-target-libquadmath: stage_current
38084 @endif gcc-bootstrap
38085 @if target-libquadmath
38086 TARGET-target-libquadmath=all
38087 maybe-all-target-libquadmath: all-target-libquadmath
38088 all-target-libquadmath: configure-target-libquadmath
38089 @: $(MAKE); $(unstage)
38090 @r=`${PWD_COMMAND}`; export r; \
38091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38092 $(NORMAL_TARGET_EXPORTS) \
38093 (cd $(TARGET_SUBDIR)/libquadmath && \
38094 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38095 $(TARGET-target-libquadmath))
38096 @endif target-libquadmath
38102 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
38103 maybe-check-target-libquadmath:
38104 @if target-libquadmath
38105 maybe-check-target-libquadmath: check-target-libquadmath
38107 check-target-libquadmath:
38108 @: $(MAKE); $(unstage)
38109 @r=`${PWD_COMMAND}`; export r; \
38110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38111 $(NORMAL_TARGET_EXPORTS) \
38112 (cd $(TARGET_SUBDIR)/libquadmath && \
38113 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38115 @endif target-libquadmath
38117 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
38118 maybe-install-target-libquadmath:
38119 @if target-libquadmath
38120 maybe-install-target-libquadmath: install-target-libquadmath
38122 install-target-libquadmath: installdirs
38123 @: $(MAKE); $(unstage)
38124 @r=`${PWD_COMMAND}`; export r; \
38125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38126 $(NORMAL_TARGET_EXPORTS) \
38127 (cd $(TARGET_SUBDIR)/libquadmath && \
38128 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38130 @endif target-libquadmath
38132 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
38133 maybe-install-strip-target-libquadmath:
38134 @if target-libquadmath
38135 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
38137 install-strip-target-libquadmath: installdirs
38138 @: $(MAKE); $(unstage)
38139 @r=`${PWD_COMMAND}`; export r; \
38140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38141 $(NORMAL_TARGET_EXPORTS) \
38142 (cd $(TARGET_SUBDIR)/libquadmath && \
38143 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38145 @endif target-libquadmath
38147 # Other targets (info, dvi, pdf, etc.)
38149 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
38150 maybe-info-target-libquadmath:
38151 @if target-libquadmath
38152 maybe-info-target-libquadmath: info-target-libquadmath
38154 info-target-libquadmath: \
38155 configure-target-libquadmath
38156 @: $(MAKE); $(unstage)
38157 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38158 r=`${PWD_COMMAND}`; export r; \
38159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38160 $(NORMAL_TARGET_EXPORTS) \
38161 echo "Doing info in $(TARGET_SUBDIR)/libquadmath" ; \
38162 for flag in $(EXTRA_TARGET_FLAGS); do \
38163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38164 done; \
38165 (cd $(TARGET_SUBDIR)/libquadmath && \
38166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38168 "RANLIB=$${RANLIB}" \
38169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38170 info) \
38171 || exit 1
38173 @endif target-libquadmath
38175 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
38176 maybe-dvi-target-libquadmath:
38177 @if target-libquadmath
38178 maybe-dvi-target-libquadmath: dvi-target-libquadmath
38180 dvi-target-libquadmath: \
38181 configure-target-libquadmath
38182 @: $(MAKE); $(unstage)
38183 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38184 r=`${PWD_COMMAND}`; export r; \
38185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38186 $(NORMAL_TARGET_EXPORTS) \
38187 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath" ; \
38188 for flag in $(EXTRA_TARGET_FLAGS); do \
38189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38190 done; \
38191 (cd $(TARGET_SUBDIR)/libquadmath && \
38192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38194 "RANLIB=$${RANLIB}" \
38195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38196 dvi) \
38197 || exit 1
38199 @endif target-libquadmath
38201 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
38202 maybe-pdf-target-libquadmath:
38203 @if target-libquadmath
38204 maybe-pdf-target-libquadmath: pdf-target-libquadmath
38206 pdf-target-libquadmath: \
38207 configure-target-libquadmath
38208 @: $(MAKE); $(unstage)
38209 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38210 r=`${PWD_COMMAND}`; export r; \
38211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38212 $(NORMAL_TARGET_EXPORTS) \
38213 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath" ; \
38214 for flag in $(EXTRA_TARGET_FLAGS); do \
38215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38216 done; \
38217 (cd $(TARGET_SUBDIR)/libquadmath && \
38218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38220 "RANLIB=$${RANLIB}" \
38221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38222 pdf) \
38223 || exit 1
38225 @endif target-libquadmath
38227 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
38228 maybe-html-target-libquadmath:
38229 @if target-libquadmath
38230 maybe-html-target-libquadmath: html-target-libquadmath
38232 html-target-libquadmath: \
38233 configure-target-libquadmath
38234 @: $(MAKE); $(unstage)
38235 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38236 r=`${PWD_COMMAND}`; export r; \
38237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38238 $(NORMAL_TARGET_EXPORTS) \
38239 echo "Doing html in $(TARGET_SUBDIR)/libquadmath" ; \
38240 for flag in $(EXTRA_TARGET_FLAGS); do \
38241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38242 done; \
38243 (cd $(TARGET_SUBDIR)/libquadmath && \
38244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38246 "RANLIB=$${RANLIB}" \
38247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38248 html) \
38249 || exit 1
38251 @endif target-libquadmath
38253 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
38254 maybe-TAGS-target-libquadmath:
38255 @if target-libquadmath
38256 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
38258 TAGS-target-libquadmath: \
38259 configure-target-libquadmath
38260 @: $(MAKE); $(unstage)
38261 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38262 r=`${PWD_COMMAND}`; export r; \
38263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38264 $(NORMAL_TARGET_EXPORTS) \
38265 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath" ; \
38266 for flag in $(EXTRA_TARGET_FLAGS); do \
38267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38268 done; \
38269 (cd $(TARGET_SUBDIR)/libquadmath && \
38270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38272 "RANLIB=$${RANLIB}" \
38273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38274 TAGS) \
38275 || exit 1
38277 @endif target-libquadmath
38279 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
38280 maybe-install-info-target-libquadmath:
38281 @if target-libquadmath
38282 maybe-install-info-target-libquadmath: install-info-target-libquadmath
38284 install-info-target-libquadmath: \
38285 configure-target-libquadmath \
38286 info-target-libquadmath
38287 @: $(MAKE); $(unstage)
38288 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38289 r=`${PWD_COMMAND}`; export r; \
38290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38291 $(NORMAL_TARGET_EXPORTS) \
38292 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath" ; \
38293 for flag in $(EXTRA_TARGET_FLAGS); do \
38294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38295 done; \
38296 (cd $(TARGET_SUBDIR)/libquadmath && \
38297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38299 "RANLIB=$${RANLIB}" \
38300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38301 install-info) \
38302 || exit 1
38304 @endif target-libquadmath
38306 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
38307 maybe-install-pdf-target-libquadmath:
38308 @if target-libquadmath
38309 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
38311 install-pdf-target-libquadmath: \
38312 configure-target-libquadmath \
38313 pdf-target-libquadmath
38314 @: $(MAKE); $(unstage)
38315 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38316 r=`${PWD_COMMAND}`; export r; \
38317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38318 $(NORMAL_TARGET_EXPORTS) \
38319 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath" ; \
38320 for flag in $(EXTRA_TARGET_FLAGS); do \
38321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38322 done; \
38323 (cd $(TARGET_SUBDIR)/libquadmath && \
38324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38326 "RANLIB=$${RANLIB}" \
38327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38328 install-pdf) \
38329 || exit 1
38331 @endif target-libquadmath
38333 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
38334 maybe-install-html-target-libquadmath:
38335 @if target-libquadmath
38336 maybe-install-html-target-libquadmath: install-html-target-libquadmath
38338 install-html-target-libquadmath: \
38339 configure-target-libquadmath \
38340 html-target-libquadmath
38341 @: $(MAKE); $(unstage)
38342 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38343 r=`${PWD_COMMAND}`; export r; \
38344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38345 $(NORMAL_TARGET_EXPORTS) \
38346 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath" ; \
38347 for flag in $(EXTRA_TARGET_FLAGS); do \
38348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38349 done; \
38350 (cd $(TARGET_SUBDIR)/libquadmath && \
38351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38353 "RANLIB=$${RANLIB}" \
38354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38355 install-html) \
38356 || exit 1
38358 @endif target-libquadmath
38360 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
38361 maybe-installcheck-target-libquadmath:
38362 @if target-libquadmath
38363 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
38365 installcheck-target-libquadmath: \
38366 configure-target-libquadmath
38367 @: $(MAKE); $(unstage)
38368 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38369 r=`${PWD_COMMAND}`; export r; \
38370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38371 $(NORMAL_TARGET_EXPORTS) \
38372 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath" ; \
38373 for flag in $(EXTRA_TARGET_FLAGS); do \
38374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38375 done; \
38376 (cd $(TARGET_SUBDIR)/libquadmath && \
38377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38379 "RANLIB=$${RANLIB}" \
38380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38381 installcheck) \
38382 || exit 1
38384 @endif target-libquadmath
38386 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
38387 maybe-mostlyclean-target-libquadmath:
38388 @if target-libquadmath
38389 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
38391 mostlyclean-target-libquadmath:
38392 @: $(MAKE); $(unstage)
38393 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38394 r=`${PWD_COMMAND}`; export r; \
38395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38396 $(NORMAL_TARGET_EXPORTS) \
38397 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath" ; \
38398 for flag in $(EXTRA_TARGET_FLAGS); do \
38399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38400 done; \
38401 (cd $(TARGET_SUBDIR)/libquadmath && \
38402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38404 "RANLIB=$${RANLIB}" \
38405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38406 mostlyclean) \
38407 || exit 1
38409 @endif target-libquadmath
38411 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
38412 maybe-clean-target-libquadmath:
38413 @if target-libquadmath
38414 maybe-clean-target-libquadmath: clean-target-libquadmath
38416 clean-target-libquadmath:
38417 @: $(MAKE); $(unstage)
38418 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38419 r=`${PWD_COMMAND}`; export r; \
38420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38421 $(NORMAL_TARGET_EXPORTS) \
38422 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath" ; \
38423 for flag in $(EXTRA_TARGET_FLAGS); do \
38424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38425 done; \
38426 (cd $(TARGET_SUBDIR)/libquadmath && \
38427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38429 "RANLIB=$${RANLIB}" \
38430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38431 clean) \
38432 || exit 1
38434 @endif target-libquadmath
38436 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
38437 maybe-distclean-target-libquadmath:
38438 @if target-libquadmath
38439 maybe-distclean-target-libquadmath: distclean-target-libquadmath
38441 distclean-target-libquadmath:
38442 @: $(MAKE); $(unstage)
38443 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38444 r=`${PWD_COMMAND}`; export r; \
38445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38446 $(NORMAL_TARGET_EXPORTS) \
38447 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath" ; \
38448 for flag in $(EXTRA_TARGET_FLAGS); do \
38449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38450 done; \
38451 (cd $(TARGET_SUBDIR)/libquadmath && \
38452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38454 "RANLIB=$${RANLIB}" \
38455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38456 distclean) \
38457 || exit 1
38459 @endif target-libquadmath
38461 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
38462 maybe-maintainer-clean-target-libquadmath:
38463 @if target-libquadmath
38464 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
38466 maintainer-clean-target-libquadmath:
38467 @: $(MAKE); $(unstage)
38468 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38469 r=`${PWD_COMMAND}`; export r; \
38470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38471 $(NORMAL_TARGET_EXPORTS) \
38472 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath" ; \
38473 for flag in $(EXTRA_TARGET_FLAGS); do \
38474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38475 done; \
38476 (cd $(TARGET_SUBDIR)/libquadmath && \
38477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38479 "RANLIB=$${RANLIB}" \
38480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38481 maintainer-clean) \
38482 || exit 1
38484 @endif target-libquadmath
38490 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
38491 maybe-configure-target-libgfortran:
38492 @if gcc-bootstrap
38493 configure-target-libgfortran: stage_current
38494 @endif gcc-bootstrap
38495 @if target-libgfortran
38496 maybe-configure-target-libgfortran: configure-target-libgfortran
38497 configure-target-libgfortran:
38498 @: $(MAKE); $(unstage)
38499 @r=`${PWD_COMMAND}`; export r; \
38500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38501 echo "Checking multilib configuration for libgfortran..."; \
38502 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
38503 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
38504 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
38505 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
38506 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
38507 else \
38508 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
38509 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
38510 fi; \
38511 else \
38512 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
38513 fi; \
38514 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
38515 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
38516 $(NORMAL_TARGET_EXPORTS) \
38517 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
38518 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
38519 case $(srcdir) in \
38520 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38521 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
38522 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38523 esac; \
38524 module_srcdir=libgfortran; \
38525 rm -f no-such-file || : ; \
38526 CONFIG_SITE=no-such-file $(SHELL) \
38527 $$s/$$module_srcdir/configure \
38528 --srcdir=$${topdir}/$$module_srcdir \
38529 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38530 --target=${target_alias} \
38531 || exit 1
38532 @endif target-libgfortran
38538 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
38539 maybe-all-target-libgfortran:
38540 @if gcc-bootstrap
38541 all-target-libgfortran: stage_current
38542 @endif gcc-bootstrap
38543 @if target-libgfortran
38544 TARGET-target-libgfortran=all
38545 maybe-all-target-libgfortran: all-target-libgfortran
38546 all-target-libgfortran: configure-target-libgfortran
38547 @: $(MAKE); $(unstage)
38548 @r=`${PWD_COMMAND}`; export r; \
38549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38550 $(NORMAL_TARGET_EXPORTS) \
38551 (cd $(TARGET_SUBDIR)/libgfortran && \
38552 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38553 $(TARGET-target-libgfortran))
38554 @endif target-libgfortran
38560 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
38561 maybe-check-target-libgfortran:
38562 @if target-libgfortran
38563 maybe-check-target-libgfortran: check-target-libgfortran
38565 check-target-libgfortran:
38566 @: $(MAKE); $(unstage)
38567 @r=`${PWD_COMMAND}`; export r; \
38568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38569 $(NORMAL_TARGET_EXPORTS) \
38570 (cd $(TARGET_SUBDIR)/libgfortran && \
38571 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38573 @endif target-libgfortran
38575 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
38576 maybe-install-target-libgfortran:
38577 @if target-libgfortran
38578 maybe-install-target-libgfortran: install-target-libgfortran
38580 install-target-libgfortran: installdirs
38581 @: $(MAKE); $(unstage)
38582 @r=`${PWD_COMMAND}`; export r; \
38583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38584 $(NORMAL_TARGET_EXPORTS) \
38585 (cd $(TARGET_SUBDIR)/libgfortran && \
38586 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38588 @endif target-libgfortran
38590 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
38591 maybe-install-strip-target-libgfortran:
38592 @if target-libgfortran
38593 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
38595 install-strip-target-libgfortran: installdirs
38596 @: $(MAKE); $(unstage)
38597 @r=`${PWD_COMMAND}`; export r; \
38598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38599 $(NORMAL_TARGET_EXPORTS) \
38600 (cd $(TARGET_SUBDIR)/libgfortran && \
38601 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38603 @endif target-libgfortran
38605 # Other targets (info, dvi, pdf, etc.)
38607 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
38608 maybe-info-target-libgfortran:
38609 @if target-libgfortran
38610 maybe-info-target-libgfortran: info-target-libgfortran
38612 info-target-libgfortran: \
38613 configure-target-libgfortran
38614 @: $(MAKE); $(unstage)
38615 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38616 r=`${PWD_COMMAND}`; export r; \
38617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38618 $(NORMAL_TARGET_EXPORTS) \
38619 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
38620 for flag in $(EXTRA_TARGET_FLAGS); do \
38621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38622 done; \
38623 (cd $(TARGET_SUBDIR)/libgfortran && \
38624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38626 "RANLIB=$${RANLIB}" \
38627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38628 info) \
38629 || exit 1
38631 @endif target-libgfortran
38633 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
38634 maybe-dvi-target-libgfortran:
38635 @if target-libgfortran
38636 maybe-dvi-target-libgfortran: dvi-target-libgfortran
38638 dvi-target-libgfortran: \
38639 configure-target-libgfortran
38640 @: $(MAKE); $(unstage)
38641 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38642 r=`${PWD_COMMAND}`; export r; \
38643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38644 $(NORMAL_TARGET_EXPORTS) \
38645 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
38646 for flag in $(EXTRA_TARGET_FLAGS); do \
38647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38648 done; \
38649 (cd $(TARGET_SUBDIR)/libgfortran && \
38650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38652 "RANLIB=$${RANLIB}" \
38653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38654 dvi) \
38655 || exit 1
38657 @endif target-libgfortran
38659 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
38660 maybe-pdf-target-libgfortran:
38661 @if target-libgfortran
38662 maybe-pdf-target-libgfortran: pdf-target-libgfortran
38664 pdf-target-libgfortran: \
38665 configure-target-libgfortran
38666 @: $(MAKE); $(unstage)
38667 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38668 r=`${PWD_COMMAND}`; export r; \
38669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38670 $(NORMAL_TARGET_EXPORTS) \
38671 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
38672 for flag in $(EXTRA_TARGET_FLAGS); do \
38673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38674 done; \
38675 (cd $(TARGET_SUBDIR)/libgfortran && \
38676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38678 "RANLIB=$${RANLIB}" \
38679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38680 pdf) \
38681 || exit 1
38683 @endif target-libgfortran
38685 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
38686 maybe-html-target-libgfortran:
38687 @if target-libgfortran
38688 maybe-html-target-libgfortran: html-target-libgfortran
38690 html-target-libgfortran: \
38691 configure-target-libgfortran
38692 @: $(MAKE); $(unstage)
38693 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38694 r=`${PWD_COMMAND}`; export r; \
38695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38696 $(NORMAL_TARGET_EXPORTS) \
38697 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
38698 for flag in $(EXTRA_TARGET_FLAGS); do \
38699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38700 done; \
38701 (cd $(TARGET_SUBDIR)/libgfortran && \
38702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38704 "RANLIB=$${RANLIB}" \
38705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38706 html) \
38707 || exit 1
38709 @endif target-libgfortran
38711 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
38712 maybe-TAGS-target-libgfortran:
38713 @if target-libgfortran
38714 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
38716 TAGS-target-libgfortran: \
38717 configure-target-libgfortran
38718 @: $(MAKE); $(unstage)
38719 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38720 r=`${PWD_COMMAND}`; export r; \
38721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38722 $(NORMAL_TARGET_EXPORTS) \
38723 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
38724 for flag in $(EXTRA_TARGET_FLAGS); do \
38725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38726 done; \
38727 (cd $(TARGET_SUBDIR)/libgfortran && \
38728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38730 "RANLIB=$${RANLIB}" \
38731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38732 TAGS) \
38733 || exit 1
38735 @endif target-libgfortran
38737 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
38738 maybe-install-info-target-libgfortran:
38739 @if target-libgfortran
38740 maybe-install-info-target-libgfortran: install-info-target-libgfortran
38742 install-info-target-libgfortran: \
38743 configure-target-libgfortran \
38744 info-target-libgfortran
38745 @: $(MAKE); $(unstage)
38746 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38747 r=`${PWD_COMMAND}`; export r; \
38748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38749 $(NORMAL_TARGET_EXPORTS) \
38750 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
38751 for flag in $(EXTRA_TARGET_FLAGS); do \
38752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38753 done; \
38754 (cd $(TARGET_SUBDIR)/libgfortran && \
38755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38757 "RANLIB=$${RANLIB}" \
38758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38759 install-info) \
38760 || exit 1
38762 @endif target-libgfortran
38764 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
38765 maybe-install-pdf-target-libgfortran:
38766 @if target-libgfortran
38767 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
38769 install-pdf-target-libgfortran: \
38770 configure-target-libgfortran \
38771 pdf-target-libgfortran
38772 @: $(MAKE); $(unstage)
38773 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38774 r=`${PWD_COMMAND}`; export r; \
38775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38776 $(NORMAL_TARGET_EXPORTS) \
38777 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
38778 for flag in $(EXTRA_TARGET_FLAGS); do \
38779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38780 done; \
38781 (cd $(TARGET_SUBDIR)/libgfortran && \
38782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38784 "RANLIB=$${RANLIB}" \
38785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38786 install-pdf) \
38787 || exit 1
38789 @endif target-libgfortran
38791 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
38792 maybe-install-html-target-libgfortran:
38793 @if target-libgfortran
38794 maybe-install-html-target-libgfortran: install-html-target-libgfortran
38796 install-html-target-libgfortran: \
38797 configure-target-libgfortran \
38798 html-target-libgfortran
38799 @: $(MAKE); $(unstage)
38800 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38801 r=`${PWD_COMMAND}`; export r; \
38802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38803 $(NORMAL_TARGET_EXPORTS) \
38804 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
38805 for flag in $(EXTRA_TARGET_FLAGS); do \
38806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38807 done; \
38808 (cd $(TARGET_SUBDIR)/libgfortran && \
38809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38811 "RANLIB=$${RANLIB}" \
38812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38813 install-html) \
38814 || exit 1
38816 @endif target-libgfortran
38818 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
38819 maybe-installcheck-target-libgfortran:
38820 @if target-libgfortran
38821 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
38823 installcheck-target-libgfortran: \
38824 configure-target-libgfortran
38825 @: $(MAKE); $(unstage)
38826 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38827 r=`${PWD_COMMAND}`; export r; \
38828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38829 $(NORMAL_TARGET_EXPORTS) \
38830 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
38831 for flag in $(EXTRA_TARGET_FLAGS); do \
38832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38833 done; \
38834 (cd $(TARGET_SUBDIR)/libgfortran && \
38835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38837 "RANLIB=$${RANLIB}" \
38838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38839 installcheck) \
38840 || exit 1
38842 @endif target-libgfortran
38844 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
38845 maybe-mostlyclean-target-libgfortran:
38846 @if target-libgfortran
38847 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
38849 mostlyclean-target-libgfortran:
38850 @: $(MAKE); $(unstage)
38851 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38852 r=`${PWD_COMMAND}`; export r; \
38853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38854 $(NORMAL_TARGET_EXPORTS) \
38855 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
38856 for flag in $(EXTRA_TARGET_FLAGS); do \
38857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38858 done; \
38859 (cd $(TARGET_SUBDIR)/libgfortran && \
38860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38862 "RANLIB=$${RANLIB}" \
38863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38864 mostlyclean) \
38865 || exit 1
38867 @endif target-libgfortran
38869 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
38870 maybe-clean-target-libgfortran:
38871 @if target-libgfortran
38872 maybe-clean-target-libgfortran: clean-target-libgfortran
38874 clean-target-libgfortran:
38875 @: $(MAKE); $(unstage)
38876 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38877 r=`${PWD_COMMAND}`; export r; \
38878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38879 $(NORMAL_TARGET_EXPORTS) \
38880 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
38881 for flag in $(EXTRA_TARGET_FLAGS); do \
38882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38883 done; \
38884 (cd $(TARGET_SUBDIR)/libgfortran && \
38885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38887 "RANLIB=$${RANLIB}" \
38888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38889 clean) \
38890 || exit 1
38892 @endif target-libgfortran
38894 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
38895 maybe-distclean-target-libgfortran:
38896 @if target-libgfortran
38897 maybe-distclean-target-libgfortran: distclean-target-libgfortran
38899 distclean-target-libgfortran:
38900 @: $(MAKE); $(unstage)
38901 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38902 r=`${PWD_COMMAND}`; export r; \
38903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38904 $(NORMAL_TARGET_EXPORTS) \
38905 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
38906 for flag in $(EXTRA_TARGET_FLAGS); do \
38907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38908 done; \
38909 (cd $(TARGET_SUBDIR)/libgfortran && \
38910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38912 "RANLIB=$${RANLIB}" \
38913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38914 distclean) \
38915 || exit 1
38917 @endif target-libgfortran
38919 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
38920 maybe-maintainer-clean-target-libgfortran:
38921 @if target-libgfortran
38922 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
38924 maintainer-clean-target-libgfortran:
38925 @: $(MAKE); $(unstage)
38926 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38927 r=`${PWD_COMMAND}`; export r; \
38928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38929 $(NORMAL_TARGET_EXPORTS) \
38930 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
38931 for flag in $(EXTRA_TARGET_FLAGS); do \
38932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38933 done; \
38934 (cd $(TARGET_SUBDIR)/libgfortran && \
38935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38937 "RANLIB=$${RANLIB}" \
38938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38939 maintainer-clean) \
38940 || exit 1
38942 @endif target-libgfortran
38948 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
38949 maybe-configure-target-libobjc:
38950 @if gcc-bootstrap
38951 configure-target-libobjc: stage_current
38952 @endif gcc-bootstrap
38953 @if target-libobjc
38954 maybe-configure-target-libobjc: configure-target-libobjc
38955 configure-target-libobjc:
38956 @: $(MAKE); $(unstage)
38957 @r=`${PWD_COMMAND}`; export r; \
38958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38959 echo "Checking multilib configuration for libobjc..."; \
38960 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
38961 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
38962 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
38963 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
38964 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
38965 else \
38966 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
38967 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
38968 fi; \
38969 else \
38970 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
38971 fi; \
38972 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
38973 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
38974 $(NORMAL_TARGET_EXPORTS) \
38975 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
38976 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
38977 case $(srcdir) in \
38978 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38979 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
38980 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38981 esac; \
38982 module_srcdir=libobjc; \
38983 rm -f no-such-file || : ; \
38984 CONFIG_SITE=no-such-file $(SHELL) \
38985 $$s/$$module_srcdir/configure \
38986 --srcdir=$${topdir}/$$module_srcdir \
38987 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38988 --target=${target_alias} \
38989 || exit 1
38990 @endif target-libobjc
38996 .PHONY: all-target-libobjc maybe-all-target-libobjc
38997 maybe-all-target-libobjc:
38998 @if gcc-bootstrap
38999 all-target-libobjc: stage_current
39000 @endif gcc-bootstrap
39001 @if target-libobjc
39002 TARGET-target-libobjc=all
39003 maybe-all-target-libobjc: all-target-libobjc
39004 all-target-libobjc: configure-target-libobjc
39005 @: $(MAKE); $(unstage)
39006 @r=`${PWD_COMMAND}`; export r; \
39007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39008 $(NORMAL_TARGET_EXPORTS) \
39009 (cd $(TARGET_SUBDIR)/libobjc && \
39010 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39011 $(TARGET-target-libobjc))
39012 @endif target-libobjc
39018 .PHONY: check-target-libobjc maybe-check-target-libobjc
39019 maybe-check-target-libobjc:
39020 @if target-libobjc
39021 maybe-check-target-libobjc: check-target-libobjc
39023 check-target-libobjc:
39024 @: $(MAKE); $(unstage)
39025 @r=`${PWD_COMMAND}`; export r; \
39026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39027 $(NORMAL_TARGET_EXPORTS) \
39028 (cd $(TARGET_SUBDIR)/libobjc && \
39029 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39031 @endif target-libobjc
39033 .PHONY: install-target-libobjc maybe-install-target-libobjc
39034 maybe-install-target-libobjc:
39035 @if target-libobjc
39036 maybe-install-target-libobjc: install-target-libobjc
39038 install-target-libobjc: installdirs
39039 @: $(MAKE); $(unstage)
39040 @r=`${PWD_COMMAND}`; export r; \
39041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39042 $(NORMAL_TARGET_EXPORTS) \
39043 (cd $(TARGET_SUBDIR)/libobjc && \
39044 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39046 @endif target-libobjc
39048 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
39049 maybe-install-strip-target-libobjc:
39050 @if target-libobjc
39051 maybe-install-strip-target-libobjc: install-strip-target-libobjc
39053 install-strip-target-libobjc: installdirs
39054 @: $(MAKE); $(unstage)
39055 @r=`${PWD_COMMAND}`; export r; \
39056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39057 $(NORMAL_TARGET_EXPORTS) \
39058 (cd $(TARGET_SUBDIR)/libobjc && \
39059 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39061 @endif target-libobjc
39063 # Other targets (info, dvi, pdf, etc.)
39065 .PHONY: maybe-info-target-libobjc info-target-libobjc
39066 maybe-info-target-libobjc:
39067 @if target-libobjc
39068 maybe-info-target-libobjc: info-target-libobjc
39070 info-target-libobjc: \
39071 configure-target-libobjc
39072 @: $(MAKE); $(unstage)
39073 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39074 r=`${PWD_COMMAND}`; export r; \
39075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39076 $(NORMAL_TARGET_EXPORTS) \
39077 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
39078 for flag in $(EXTRA_TARGET_FLAGS); do \
39079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39080 done; \
39081 (cd $(TARGET_SUBDIR)/libobjc && \
39082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39084 "RANLIB=$${RANLIB}" \
39085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39086 info) \
39087 || exit 1
39089 @endif target-libobjc
39091 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
39092 maybe-dvi-target-libobjc:
39093 @if target-libobjc
39094 maybe-dvi-target-libobjc: dvi-target-libobjc
39096 dvi-target-libobjc: \
39097 configure-target-libobjc
39098 @: $(MAKE); $(unstage)
39099 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39100 r=`${PWD_COMMAND}`; export r; \
39101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39102 $(NORMAL_TARGET_EXPORTS) \
39103 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
39104 for flag in $(EXTRA_TARGET_FLAGS); do \
39105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39106 done; \
39107 (cd $(TARGET_SUBDIR)/libobjc && \
39108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39110 "RANLIB=$${RANLIB}" \
39111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39112 dvi) \
39113 || exit 1
39115 @endif target-libobjc
39117 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
39118 maybe-pdf-target-libobjc:
39119 @if target-libobjc
39120 maybe-pdf-target-libobjc: pdf-target-libobjc
39122 pdf-target-libobjc: \
39123 configure-target-libobjc
39124 @: $(MAKE); $(unstage)
39125 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39126 r=`${PWD_COMMAND}`; export r; \
39127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39128 $(NORMAL_TARGET_EXPORTS) \
39129 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
39130 for flag in $(EXTRA_TARGET_FLAGS); do \
39131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39132 done; \
39133 (cd $(TARGET_SUBDIR)/libobjc && \
39134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39136 "RANLIB=$${RANLIB}" \
39137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39138 pdf) \
39139 || exit 1
39141 @endif target-libobjc
39143 .PHONY: maybe-html-target-libobjc html-target-libobjc
39144 maybe-html-target-libobjc:
39145 @if target-libobjc
39146 maybe-html-target-libobjc: html-target-libobjc
39148 html-target-libobjc: \
39149 configure-target-libobjc
39150 @: $(MAKE); $(unstage)
39151 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39152 r=`${PWD_COMMAND}`; export r; \
39153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39154 $(NORMAL_TARGET_EXPORTS) \
39155 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
39156 for flag in $(EXTRA_TARGET_FLAGS); do \
39157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39158 done; \
39159 (cd $(TARGET_SUBDIR)/libobjc && \
39160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39162 "RANLIB=$${RANLIB}" \
39163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39164 html) \
39165 || exit 1
39167 @endif target-libobjc
39169 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
39170 maybe-TAGS-target-libobjc:
39171 @if target-libobjc
39172 maybe-TAGS-target-libobjc: TAGS-target-libobjc
39174 TAGS-target-libobjc: \
39175 configure-target-libobjc
39176 @: $(MAKE); $(unstage)
39177 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39178 r=`${PWD_COMMAND}`; export r; \
39179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39180 $(NORMAL_TARGET_EXPORTS) \
39181 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
39182 for flag in $(EXTRA_TARGET_FLAGS); do \
39183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39184 done; \
39185 (cd $(TARGET_SUBDIR)/libobjc && \
39186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39188 "RANLIB=$${RANLIB}" \
39189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39190 TAGS) \
39191 || exit 1
39193 @endif target-libobjc
39195 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
39196 maybe-install-info-target-libobjc:
39197 @if target-libobjc
39198 maybe-install-info-target-libobjc: install-info-target-libobjc
39200 install-info-target-libobjc: \
39201 configure-target-libobjc \
39202 info-target-libobjc
39203 @: $(MAKE); $(unstage)
39204 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39205 r=`${PWD_COMMAND}`; export r; \
39206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39207 $(NORMAL_TARGET_EXPORTS) \
39208 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
39209 for flag in $(EXTRA_TARGET_FLAGS); do \
39210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39211 done; \
39212 (cd $(TARGET_SUBDIR)/libobjc && \
39213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39215 "RANLIB=$${RANLIB}" \
39216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39217 install-info) \
39218 || exit 1
39220 @endif target-libobjc
39222 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
39223 maybe-install-pdf-target-libobjc:
39224 @if target-libobjc
39225 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
39227 install-pdf-target-libobjc: \
39228 configure-target-libobjc \
39229 pdf-target-libobjc
39230 @: $(MAKE); $(unstage)
39231 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39232 r=`${PWD_COMMAND}`; export r; \
39233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39234 $(NORMAL_TARGET_EXPORTS) \
39235 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
39236 for flag in $(EXTRA_TARGET_FLAGS); do \
39237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39238 done; \
39239 (cd $(TARGET_SUBDIR)/libobjc && \
39240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39242 "RANLIB=$${RANLIB}" \
39243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39244 install-pdf) \
39245 || exit 1
39247 @endif target-libobjc
39249 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
39250 maybe-install-html-target-libobjc:
39251 @if target-libobjc
39252 maybe-install-html-target-libobjc: install-html-target-libobjc
39254 install-html-target-libobjc: \
39255 configure-target-libobjc \
39256 html-target-libobjc
39257 @: $(MAKE); $(unstage)
39258 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39259 r=`${PWD_COMMAND}`; export r; \
39260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39261 $(NORMAL_TARGET_EXPORTS) \
39262 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
39263 for flag in $(EXTRA_TARGET_FLAGS); do \
39264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39265 done; \
39266 (cd $(TARGET_SUBDIR)/libobjc && \
39267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39269 "RANLIB=$${RANLIB}" \
39270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39271 install-html) \
39272 || exit 1
39274 @endif target-libobjc
39276 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
39277 maybe-installcheck-target-libobjc:
39278 @if target-libobjc
39279 maybe-installcheck-target-libobjc: installcheck-target-libobjc
39281 installcheck-target-libobjc: \
39282 configure-target-libobjc
39283 @: $(MAKE); $(unstage)
39284 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39285 r=`${PWD_COMMAND}`; export r; \
39286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39287 $(NORMAL_TARGET_EXPORTS) \
39288 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
39289 for flag in $(EXTRA_TARGET_FLAGS); do \
39290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39291 done; \
39292 (cd $(TARGET_SUBDIR)/libobjc && \
39293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39295 "RANLIB=$${RANLIB}" \
39296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39297 installcheck) \
39298 || exit 1
39300 @endif target-libobjc
39302 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
39303 maybe-mostlyclean-target-libobjc:
39304 @if target-libobjc
39305 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
39307 mostlyclean-target-libobjc:
39308 @: $(MAKE); $(unstage)
39309 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39310 r=`${PWD_COMMAND}`; export r; \
39311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39312 $(NORMAL_TARGET_EXPORTS) \
39313 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
39314 for flag in $(EXTRA_TARGET_FLAGS); do \
39315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39316 done; \
39317 (cd $(TARGET_SUBDIR)/libobjc && \
39318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39320 "RANLIB=$${RANLIB}" \
39321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39322 mostlyclean) \
39323 || exit 1
39325 @endif target-libobjc
39327 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
39328 maybe-clean-target-libobjc:
39329 @if target-libobjc
39330 maybe-clean-target-libobjc: clean-target-libobjc
39332 clean-target-libobjc:
39333 @: $(MAKE); $(unstage)
39334 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39335 r=`${PWD_COMMAND}`; export r; \
39336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39337 $(NORMAL_TARGET_EXPORTS) \
39338 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
39339 for flag in $(EXTRA_TARGET_FLAGS); do \
39340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39341 done; \
39342 (cd $(TARGET_SUBDIR)/libobjc && \
39343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39345 "RANLIB=$${RANLIB}" \
39346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39347 clean) \
39348 || exit 1
39350 @endif target-libobjc
39352 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
39353 maybe-distclean-target-libobjc:
39354 @if target-libobjc
39355 maybe-distclean-target-libobjc: distclean-target-libobjc
39357 distclean-target-libobjc:
39358 @: $(MAKE); $(unstage)
39359 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39360 r=`${PWD_COMMAND}`; export r; \
39361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39362 $(NORMAL_TARGET_EXPORTS) \
39363 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
39364 for flag in $(EXTRA_TARGET_FLAGS); do \
39365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39366 done; \
39367 (cd $(TARGET_SUBDIR)/libobjc && \
39368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39370 "RANLIB=$${RANLIB}" \
39371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39372 distclean) \
39373 || exit 1
39375 @endif target-libobjc
39377 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
39378 maybe-maintainer-clean-target-libobjc:
39379 @if target-libobjc
39380 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
39382 maintainer-clean-target-libobjc:
39383 @: $(MAKE); $(unstage)
39384 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39385 r=`${PWD_COMMAND}`; export r; \
39386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39387 $(NORMAL_TARGET_EXPORTS) \
39388 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
39389 for flag in $(EXTRA_TARGET_FLAGS); do \
39390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39391 done; \
39392 (cd $(TARGET_SUBDIR)/libobjc && \
39393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39395 "RANLIB=$${RANLIB}" \
39396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39397 maintainer-clean) \
39398 || exit 1
39400 @endif target-libobjc
39406 .PHONY: configure-target-libgo maybe-configure-target-libgo
39407 maybe-configure-target-libgo:
39408 @if gcc-bootstrap
39409 configure-target-libgo: stage_current
39410 @endif gcc-bootstrap
39411 @if target-libgo
39412 maybe-configure-target-libgo: configure-target-libgo
39413 configure-target-libgo:
39414 @: $(MAKE); $(unstage)
39415 @r=`${PWD_COMMAND}`; export r; \
39416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39417 echo "Checking multilib configuration for libgo..."; \
39418 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
39419 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null ; \
39420 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
39421 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
39422 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
39423 else \
39424 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
39425 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
39426 fi; \
39427 else \
39428 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
39429 fi; \
39430 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
39431 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
39432 $(NORMAL_TARGET_EXPORTS) \
39433 echo Configuring in $(TARGET_SUBDIR)/libgo; \
39434 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
39435 case $(srcdir) in \
39436 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39437 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
39438 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39439 esac; \
39440 module_srcdir=libgo; \
39441 rm -f no-such-file || : ; \
39442 CONFIG_SITE=no-such-file $(SHELL) \
39443 $$s/$$module_srcdir/configure \
39444 --srcdir=$${topdir}/$$module_srcdir \
39445 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39446 --target=${target_alias} \
39447 || exit 1
39448 @endif target-libgo
39454 .PHONY: all-target-libgo maybe-all-target-libgo
39455 maybe-all-target-libgo:
39456 @if gcc-bootstrap
39457 all-target-libgo: stage_current
39458 @endif gcc-bootstrap
39459 @if target-libgo
39460 TARGET-target-libgo=all
39461 maybe-all-target-libgo: all-target-libgo
39462 all-target-libgo: configure-target-libgo
39463 @: $(MAKE); $(unstage)
39464 @r=`${PWD_COMMAND}`; export r; \
39465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39466 $(NORMAL_TARGET_EXPORTS) \
39467 (cd $(TARGET_SUBDIR)/libgo && \
39468 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39469 $(TARGET-target-libgo))
39470 @endif target-libgo
39476 .PHONY: check-target-libgo maybe-check-target-libgo
39477 maybe-check-target-libgo:
39478 @if target-libgo
39479 maybe-check-target-libgo: check-target-libgo
39481 check-target-libgo:
39482 @: $(MAKE); $(unstage)
39483 @r=`${PWD_COMMAND}`; export r; \
39484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39485 $(NORMAL_TARGET_EXPORTS) \
39486 (cd $(TARGET_SUBDIR)/libgo && \
39487 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39489 @endif target-libgo
39491 .PHONY: install-target-libgo maybe-install-target-libgo
39492 maybe-install-target-libgo:
39493 @if target-libgo
39494 maybe-install-target-libgo: install-target-libgo
39496 install-target-libgo: installdirs
39497 @: $(MAKE); $(unstage)
39498 @r=`${PWD_COMMAND}`; export r; \
39499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39500 $(NORMAL_TARGET_EXPORTS) \
39501 (cd $(TARGET_SUBDIR)/libgo && \
39502 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39504 @endif target-libgo
39506 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
39507 maybe-install-strip-target-libgo:
39508 @if target-libgo
39509 maybe-install-strip-target-libgo: install-strip-target-libgo
39511 install-strip-target-libgo: installdirs
39512 @: $(MAKE); $(unstage)
39513 @r=`${PWD_COMMAND}`; export r; \
39514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39515 $(NORMAL_TARGET_EXPORTS) \
39516 (cd $(TARGET_SUBDIR)/libgo && \
39517 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39519 @endif target-libgo
39521 # Other targets (info, dvi, pdf, etc.)
39523 .PHONY: maybe-info-target-libgo info-target-libgo
39524 maybe-info-target-libgo:
39525 @if target-libgo
39526 maybe-info-target-libgo: info-target-libgo
39528 info-target-libgo: \
39529 configure-target-libgo
39530 @: $(MAKE); $(unstage)
39531 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39532 r=`${PWD_COMMAND}`; export r; \
39533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39534 $(NORMAL_TARGET_EXPORTS) \
39535 echo "Doing info in $(TARGET_SUBDIR)/libgo" ; \
39536 for flag in $(EXTRA_TARGET_FLAGS); do \
39537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39538 done; \
39539 (cd $(TARGET_SUBDIR)/libgo && \
39540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39542 "RANLIB=$${RANLIB}" \
39543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39544 info) \
39545 || exit 1
39547 @endif target-libgo
39549 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
39550 maybe-dvi-target-libgo:
39551 @if target-libgo
39552 maybe-dvi-target-libgo: dvi-target-libgo
39554 dvi-target-libgo: \
39555 configure-target-libgo
39556 @: $(MAKE); $(unstage)
39557 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39558 r=`${PWD_COMMAND}`; export r; \
39559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39560 $(NORMAL_TARGET_EXPORTS) \
39561 echo "Doing dvi in $(TARGET_SUBDIR)/libgo" ; \
39562 for flag in $(EXTRA_TARGET_FLAGS); do \
39563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39564 done; \
39565 (cd $(TARGET_SUBDIR)/libgo && \
39566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39568 "RANLIB=$${RANLIB}" \
39569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39570 dvi) \
39571 || exit 1
39573 @endif target-libgo
39575 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
39576 maybe-pdf-target-libgo:
39577 @if target-libgo
39578 maybe-pdf-target-libgo: pdf-target-libgo
39580 pdf-target-libgo: \
39581 configure-target-libgo
39582 @: $(MAKE); $(unstage)
39583 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39584 r=`${PWD_COMMAND}`; export r; \
39585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39586 $(NORMAL_TARGET_EXPORTS) \
39587 echo "Doing pdf in $(TARGET_SUBDIR)/libgo" ; \
39588 for flag in $(EXTRA_TARGET_FLAGS); do \
39589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39590 done; \
39591 (cd $(TARGET_SUBDIR)/libgo && \
39592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39594 "RANLIB=$${RANLIB}" \
39595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39596 pdf) \
39597 || exit 1
39599 @endif target-libgo
39601 .PHONY: maybe-html-target-libgo html-target-libgo
39602 maybe-html-target-libgo:
39603 @if target-libgo
39604 maybe-html-target-libgo: html-target-libgo
39606 html-target-libgo: \
39607 configure-target-libgo
39608 @: $(MAKE); $(unstage)
39609 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39610 r=`${PWD_COMMAND}`; export r; \
39611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39612 $(NORMAL_TARGET_EXPORTS) \
39613 echo "Doing html in $(TARGET_SUBDIR)/libgo" ; \
39614 for flag in $(EXTRA_TARGET_FLAGS); do \
39615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39616 done; \
39617 (cd $(TARGET_SUBDIR)/libgo && \
39618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39620 "RANLIB=$${RANLIB}" \
39621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39622 html) \
39623 || exit 1
39625 @endif target-libgo
39627 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
39628 maybe-TAGS-target-libgo:
39629 @if target-libgo
39630 maybe-TAGS-target-libgo: TAGS-target-libgo
39632 TAGS-target-libgo: \
39633 configure-target-libgo
39634 @: $(MAKE); $(unstage)
39635 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39636 r=`${PWD_COMMAND}`; export r; \
39637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39638 $(NORMAL_TARGET_EXPORTS) \
39639 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo" ; \
39640 for flag in $(EXTRA_TARGET_FLAGS); do \
39641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39642 done; \
39643 (cd $(TARGET_SUBDIR)/libgo && \
39644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39646 "RANLIB=$${RANLIB}" \
39647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39648 TAGS) \
39649 || exit 1
39651 @endif target-libgo
39653 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
39654 maybe-install-info-target-libgo:
39655 @if target-libgo
39656 maybe-install-info-target-libgo: install-info-target-libgo
39658 install-info-target-libgo: \
39659 configure-target-libgo \
39660 info-target-libgo
39661 @: $(MAKE); $(unstage)
39662 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39663 r=`${PWD_COMMAND}`; export r; \
39664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39665 $(NORMAL_TARGET_EXPORTS) \
39666 echo "Doing install-info in $(TARGET_SUBDIR)/libgo" ; \
39667 for flag in $(EXTRA_TARGET_FLAGS); do \
39668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39669 done; \
39670 (cd $(TARGET_SUBDIR)/libgo && \
39671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39673 "RANLIB=$${RANLIB}" \
39674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39675 install-info) \
39676 || exit 1
39678 @endif target-libgo
39680 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
39681 maybe-install-pdf-target-libgo:
39682 @if target-libgo
39683 maybe-install-pdf-target-libgo: install-pdf-target-libgo
39685 install-pdf-target-libgo: \
39686 configure-target-libgo \
39687 pdf-target-libgo
39688 @: $(MAKE); $(unstage)
39689 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39690 r=`${PWD_COMMAND}`; export r; \
39691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39692 $(NORMAL_TARGET_EXPORTS) \
39693 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo" ; \
39694 for flag in $(EXTRA_TARGET_FLAGS); do \
39695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39696 done; \
39697 (cd $(TARGET_SUBDIR)/libgo && \
39698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39700 "RANLIB=$${RANLIB}" \
39701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39702 install-pdf) \
39703 || exit 1
39705 @endif target-libgo
39707 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
39708 maybe-install-html-target-libgo:
39709 @if target-libgo
39710 maybe-install-html-target-libgo: install-html-target-libgo
39712 install-html-target-libgo: \
39713 configure-target-libgo \
39714 html-target-libgo
39715 @: $(MAKE); $(unstage)
39716 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39717 r=`${PWD_COMMAND}`; export r; \
39718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39719 $(NORMAL_TARGET_EXPORTS) \
39720 echo "Doing install-html in $(TARGET_SUBDIR)/libgo" ; \
39721 for flag in $(EXTRA_TARGET_FLAGS); do \
39722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39723 done; \
39724 (cd $(TARGET_SUBDIR)/libgo && \
39725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39727 "RANLIB=$${RANLIB}" \
39728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39729 install-html) \
39730 || exit 1
39732 @endif target-libgo
39734 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
39735 maybe-installcheck-target-libgo:
39736 @if target-libgo
39737 maybe-installcheck-target-libgo: installcheck-target-libgo
39739 installcheck-target-libgo: \
39740 configure-target-libgo
39741 @: $(MAKE); $(unstage)
39742 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39743 r=`${PWD_COMMAND}`; export r; \
39744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39745 $(NORMAL_TARGET_EXPORTS) \
39746 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo" ; \
39747 for flag in $(EXTRA_TARGET_FLAGS); do \
39748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39749 done; \
39750 (cd $(TARGET_SUBDIR)/libgo && \
39751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39753 "RANLIB=$${RANLIB}" \
39754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39755 installcheck) \
39756 || exit 1
39758 @endif target-libgo
39760 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
39761 maybe-mostlyclean-target-libgo:
39762 @if target-libgo
39763 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
39765 mostlyclean-target-libgo:
39766 @: $(MAKE); $(unstage)
39767 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39768 r=`${PWD_COMMAND}`; export r; \
39769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39770 $(NORMAL_TARGET_EXPORTS) \
39771 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo" ; \
39772 for flag in $(EXTRA_TARGET_FLAGS); do \
39773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39774 done; \
39775 (cd $(TARGET_SUBDIR)/libgo && \
39776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39778 "RANLIB=$${RANLIB}" \
39779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39780 mostlyclean) \
39781 || exit 1
39783 @endif target-libgo
39785 .PHONY: maybe-clean-target-libgo clean-target-libgo
39786 maybe-clean-target-libgo:
39787 @if target-libgo
39788 maybe-clean-target-libgo: clean-target-libgo
39790 clean-target-libgo:
39791 @: $(MAKE); $(unstage)
39792 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39793 r=`${PWD_COMMAND}`; export r; \
39794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39795 $(NORMAL_TARGET_EXPORTS) \
39796 echo "Doing clean in $(TARGET_SUBDIR)/libgo" ; \
39797 for flag in $(EXTRA_TARGET_FLAGS); do \
39798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39799 done; \
39800 (cd $(TARGET_SUBDIR)/libgo && \
39801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39803 "RANLIB=$${RANLIB}" \
39804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39805 clean) \
39806 || exit 1
39808 @endif target-libgo
39810 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
39811 maybe-distclean-target-libgo:
39812 @if target-libgo
39813 maybe-distclean-target-libgo: distclean-target-libgo
39815 distclean-target-libgo:
39816 @: $(MAKE); $(unstage)
39817 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39818 r=`${PWD_COMMAND}`; export r; \
39819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39820 $(NORMAL_TARGET_EXPORTS) \
39821 echo "Doing distclean in $(TARGET_SUBDIR)/libgo" ; \
39822 for flag in $(EXTRA_TARGET_FLAGS); do \
39823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39824 done; \
39825 (cd $(TARGET_SUBDIR)/libgo && \
39826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39828 "RANLIB=$${RANLIB}" \
39829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39830 distclean) \
39831 || exit 1
39833 @endif target-libgo
39835 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
39836 maybe-maintainer-clean-target-libgo:
39837 @if target-libgo
39838 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
39840 maintainer-clean-target-libgo:
39841 @: $(MAKE); $(unstage)
39842 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39843 r=`${PWD_COMMAND}`; export r; \
39844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39845 $(NORMAL_TARGET_EXPORTS) \
39846 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo" ; \
39847 for flag in $(EXTRA_TARGET_FLAGS); do \
39848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39849 done; \
39850 (cd $(TARGET_SUBDIR)/libgo && \
39851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39853 "RANLIB=$${RANLIB}" \
39854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39855 maintainer-clean) \
39856 || exit 1
39858 @endif target-libgo
39864 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
39865 maybe-configure-target-libtermcap:
39866 @if gcc-bootstrap
39867 configure-target-libtermcap: stage_current
39868 @endif gcc-bootstrap
39869 @if target-libtermcap
39870 maybe-configure-target-libtermcap: configure-target-libtermcap
39871 configure-target-libtermcap:
39872 @: $(MAKE); $(unstage)
39873 @r=`${PWD_COMMAND}`; export r; \
39874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39875 echo "Checking multilib configuration for libtermcap..."; \
39876 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
39877 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
39878 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
39879 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
39880 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
39881 else \
39882 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
39883 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
39884 fi; \
39885 else \
39886 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
39887 fi; \
39888 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
39889 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
39890 $(NORMAL_TARGET_EXPORTS) \
39891 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
39892 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
39893 case $(srcdir) in \
39894 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39895 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
39896 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39897 esac; \
39898 module_srcdir=libtermcap; \
39899 rm -f no-such-file || : ; \
39900 CONFIG_SITE=no-such-file $(SHELL) \
39901 $$s/$$module_srcdir/configure \
39902 --srcdir=$${topdir}/$$module_srcdir \
39903 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39904 --target=${target_alias} \
39905 || exit 1
39906 @endif target-libtermcap
39912 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
39913 maybe-all-target-libtermcap:
39914 @if gcc-bootstrap
39915 all-target-libtermcap: stage_current
39916 @endif gcc-bootstrap
39917 @if target-libtermcap
39918 TARGET-target-libtermcap=all
39919 maybe-all-target-libtermcap: all-target-libtermcap
39920 all-target-libtermcap: configure-target-libtermcap
39921 @: $(MAKE); $(unstage)
39922 @r=`${PWD_COMMAND}`; export r; \
39923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39924 $(NORMAL_TARGET_EXPORTS) \
39925 (cd $(TARGET_SUBDIR)/libtermcap && \
39926 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39927 $(TARGET-target-libtermcap))
39928 @endif target-libtermcap
39934 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
39935 maybe-check-target-libtermcap:
39936 @if target-libtermcap
39937 maybe-check-target-libtermcap: check-target-libtermcap
39939 # Dummy target for uncheckable module.
39940 check-target-libtermcap:
39942 @endif target-libtermcap
39944 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
39945 maybe-install-target-libtermcap:
39946 @if target-libtermcap
39947 maybe-install-target-libtermcap: install-target-libtermcap
39949 install-target-libtermcap: installdirs
39950 @: $(MAKE); $(unstage)
39951 @r=`${PWD_COMMAND}`; export r; \
39952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39953 $(NORMAL_TARGET_EXPORTS) \
39954 (cd $(TARGET_SUBDIR)/libtermcap && \
39955 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39957 @endif target-libtermcap
39959 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
39960 maybe-install-strip-target-libtermcap:
39961 @if target-libtermcap
39962 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
39964 install-strip-target-libtermcap: installdirs
39965 @: $(MAKE); $(unstage)
39966 @r=`${PWD_COMMAND}`; export r; \
39967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39968 $(NORMAL_TARGET_EXPORTS) \
39969 (cd $(TARGET_SUBDIR)/libtermcap && \
39970 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39972 @endif target-libtermcap
39974 # Other targets (info, dvi, pdf, etc.)
39976 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
39977 maybe-info-target-libtermcap:
39978 @if target-libtermcap
39979 maybe-info-target-libtermcap: info-target-libtermcap
39981 info-target-libtermcap: \
39982 configure-target-libtermcap
39983 @: $(MAKE); $(unstage)
39984 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
39985 r=`${PWD_COMMAND}`; export r; \
39986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39987 $(NORMAL_TARGET_EXPORTS) \
39988 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
39989 for flag in $(EXTRA_TARGET_FLAGS); do \
39990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39991 done; \
39992 (cd $(TARGET_SUBDIR)/libtermcap && \
39993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39995 "RANLIB=$${RANLIB}" \
39996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39997 info) \
39998 || exit 1
40000 @endif target-libtermcap
40002 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
40003 maybe-dvi-target-libtermcap:
40004 @if target-libtermcap
40005 maybe-dvi-target-libtermcap: dvi-target-libtermcap
40007 dvi-target-libtermcap: \
40008 configure-target-libtermcap
40009 @: $(MAKE); $(unstage)
40010 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40011 r=`${PWD_COMMAND}`; export r; \
40012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40013 $(NORMAL_TARGET_EXPORTS) \
40014 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
40015 for flag in $(EXTRA_TARGET_FLAGS); do \
40016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40017 done; \
40018 (cd $(TARGET_SUBDIR)/libtermcap && \
40019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40021 "RANLIB=$${RANLIB}" \
40022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40023 dvi) \
40024 || exit 1
40026 @endif target-libtermcap
40028 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
40029 maybe-pdf-target-libtermcap:
40030 @if target-libtermcap
40031 maybe-pdf-target-libtermcap: pdf-target-libtermcap
40033 pdf-target-libtermcap: \
40034 configure-target-libtermcap
40035 @: $(MAKE); $(unstage)
40036 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40037 r=`${PWD_COMMAND}`; export r; \
40038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40039 $(NORMAL_TARGET_EXPORTS) \
40040 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
40041 for flag in $(EXTRA_TARGET_FLAGS); do \
40042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40043 done; \
40044 (cd $(TARGET_SUBDIR)/libtermcap && \
40045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40047 "RANLIB=$${RANLIB}" \
40048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40049 pdf) \
40050 || exit 1
40052 @endif target-libtermcap
40054 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
40055 maybe-html-target-libtermcap:
40056 @if target-libtermcap
40057 maybe-html-target-libtermcap: html-target-libtermcap
40059 html-target-libtermcap: \
40060 configure-target-libtermcap
40061 @: $(MAKE); $(unstage)
40062 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40063 r=`${PWD_COMMAND}`; export r; \
40064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40065 $(NORMAL_TARGET_EXPORTS) \
40066 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
40067 for flag in $(EXTRA_TARGET_FLAGS); do \
40068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40069 done; \
40070 (cd $(TARGET_SUBDIR)/libtermcap && \
40071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40073 "RANLIB=$${RANLIB}" \
40074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40075 html) \
40076 || exit 1
40078 @endif target-libtermcap
40080 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
40081 maybe-TAGS-target-libtermcap:
40082 @if target-libtermcap
40083 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
40085 TAGS-target-libtermcap: \
40086 configure-target-libtermcap
40087 @: $(MAKE); $(unstage)
40088 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40089 r=`${PWD_COMMAND}`; export r; \
40090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40091 $(NORMAL_TARGET_EXPORTS) \
40092 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
40093 for flag in $(EXTRA_TARGET_FLAGS); do \
40094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40095 done; \
40096 (cd $(TARGET_SUBDIR)/libtermcap && \
40097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40099 "RANLIB=$${RANLIB}" \
40100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40101 TAGS) \
40102 || exit 1
40104 @endif target-libtermcap
40106 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
40107 maybe-install-info-target-libtermcap:
40108 @if target-libtermcap
40109 maybe-install-info-target-libtermcap: install-info-target-libtermcap
40111 install-info-target-libtermcap: \
40112 configure-target-libtermcap \
40113 info-target-libtermcap
40114 @: $(MAKE); $(unstage)
40115 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40116 r=`${PWD_COMMAND}`; export r; \
40117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40118 $(NORMAL_TARGET_EXPORTS) \
40119 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
40120 for flag in $(EXTRA_TARGET_FLAGS); do \
40121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40122 done; \
40123 (cd $(TARGET_SUBDIR)/libtermcap && \
40124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40126 "RANLIB=$${RANLIB}" \
40127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40128 install-info) \
40129 || exit 1
40131 @endif target-libtermcap
40133 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
40134 maybe-install-pdf-target-libtermcap:
40135 @if target-libtermcap
40136 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
40138 install-pdf-target-libtermcap: \
40139 configure-target-libtermcap \
40140 pdf-target-libtermcap
40141 @: $(MAKE); $(unstage)
40142 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40143 r=`${PWD_COMMAND}`; export r; \
40144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40145 $(NORMAL_TARGET_EXPORTS) \
40146 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
40147 for flag in $(EXTRA_TARGET_FLAGS); do \
40148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40149 done; \
40150 (cd $(TARGET_SUBDIR)/libtermcap && \
40151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40153 "RANLIB=$${RANLIB}" \
40154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40155 install-pdf) \
40156 || exit 1
40158 @endif target-libtermcap
40160 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
40161 maybe-install-html-target-libtermcap:
40162 @if target-libtermcap
40163 maybe-install-html-target-libtermcap: install-html-target-libtermcap
40165 install-html-target-libtermcap: \
40166 configure-target-libtermcap \
40167 html-target-libtermcap
40168 @: $(MAKE); $(unstage)
40169 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40170 r=`${PWD_COMMAND}`; export r; \
40171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40172 $(NORMAL_TARGET_EXPORTS) \
40173 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
40174 for flag in $(EXTRA_TARGET_FLAGS); do \
40175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40176 done; \
40177 (cd $(TARGET_SUBDIR)/libtermcap && \
40178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40180 "RANLIB=$${RANLIB}" \
40181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40182 install-html) \
40183 || exit 1
40185 @endif target-libtermcap
40187 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
40188 maybe-installcheck-target-libtermcap:
40189 @if target-libtermcap
40190 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
40192 installcheck-target-libtermcap: \
40193 configure-target-libtermcap
40194 @: $(MAKE); $(unstage)
40195 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40196 r=`${PWD_COMMAND}`; export r; \
40197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40198 $(NORMAL_TARGET_EXPORTS) \
40199 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
40200 for flag in $(EXTRA_TARGET_FLAGS); do \
40201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40202 done; \
40203 (cd $(TARGET_SUBDIR)/libtermcap && \
40204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40206 "RANLIB=$${RANLIB}" \
40207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40208 installcheck) \
40209 || exit 1
40211 @endif target-libtermcap
40213 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
40214 maybe-mostlyclean-target-libtermcap:
40215 @if target-libtermcap
40216 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
40218 # libtermcap doesn't support mostlyclean.
40219 mostlyclean-target-libtermcap:
40221 @endif target-libtermcap
40223 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
40224 maybe-clean-target-libtermcap:
40225 @if target-libtermcap
40226 maybe-clean-target-libtermcap: clean-target-libtermcap
40228 # libtermcap doesn't support clean.
40229 clean-target-libtermcap:
40231 @endif target-libtermcap
40233 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
40234 maybe-distclean-target-libtermcap:
40235 @if target-libtermcap
40236 maybe-distclean-target-libtermcap: distclean-target-libtermcap
40238 # libtermcap doesn't support distclean.
40239 distclean-target-libtermcap:
40241 @endif target-libtermcap
40243 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
40244 maybe-maintainer-clean-target-libtermcap:
40245 @if target-libtermcap
40246 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
40248 # libtermcap doesn't support maintainer-clean.
40249 maintainer-clean-target-libtermcap:
40251 @endif target-libtermcap
40257 .PHONY: configure-target-winsup maybe-configure-target-winsup
40258 maybe-configure-target-winsup:
40259 @if gcc-bootstrap
40260 configure-target-winsup: stage_current
40261 @endif gcc-bootstrap
40262 @if target-winsup
40263 maybe-configure-target-winsup: configure-target-winsup
40264 configure-target-winsup:
40265 @: $(MAKE); $(unstage)
40266 @r=`${PWD_COMMAND}`; export r; \
40267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40268 echo "Checking multilib configuration for winsup..."; \
40269 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
40270 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
40271 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
40272 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
40273 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
40274 else \
40275 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
40276 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
40277 fi; \
40278 else \
40279 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
40280 fi; \
40281 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
40282 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
40283 $(NORMAL_TARGET_EXPORTS) \
40284 echo Configuring in $(TARGET_SUBDIR)/winsup; \
40285 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
40286 case $(srcdir) in \
40287 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40288 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
40289 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40290 esac; \
40291 module_srcdir=winsup; \
40292 rm -f no-such-file || : ; \
40293 CONFIG_SITE=no-such-file $(SHELL) \
40294 $$s/$$module_srcdir/configure \
40295 --srcdir=$${topdir}/$$module_srcdir \
40296 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40297 --target=${target_alias} \
40298 || exit 1
40299 @endif target-winsup
40305 .PHONY: all-target-winsup maybe-all-target-winsup
40306 maybe-all-target-winsup:
40307 @if gcc-bootstrap
40308 all-target-winsup: stage_current
40309 @endif gcc-bootstrap
40310 @if target-winsup
40311 TARGET-target-winsup=all
40312 maybe-all-target-winsup: all-target-winsup
40313 all-target-winsup: configure-target-winsup
40314 @: $(MAKE); $(unstage)
40315 @r=`${PWD_COMMAND}`; export r; \
40316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40317 $(NORMAL_TARGET_EXPORTS) \
40318 (cd $(TARGET_SUBDIR)/winsup && \
40319 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40320 $(TARGET-target-winsup))
40321 @endif target-winsup
40327 .PHONY: check-target-winsup maybe-check-target-winsup
40328 maybe-check-target-winsup:
40329 @if target-winsup
40330 maybe-check-target-winsup: check-target-winsup
40332 check-target-winsup:
40333 @: $(MAKE); $(unstage)
40334 @r=`${PWD_COMMAND}`; export r; \
40335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40336 $(NORMAL_TARGET_EXPORTS) \
40337 (cd $(TARGET_SUBDIR)/winsup && \
40338 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40340 @endif target-winsup
40342 .PHONY: install-target-winsup maybe-install-target-winsup
40343 maybe-install-target-winsup:
40344 @if target-winsup
40345 maybe-install-target-winsup: install-target-winsup
40347 install-target-winsup: installdirs
40348 @: $(MAKE); $(unstage)
40349 @r=`${PWD_COMMAND}`; export r; \
40350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40351 $(NORMAL_TARGET_EXPORTS) \
40352 (cd $(TARGET_SUBDIR)/winsup && \
40353 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40355 @endif target-winsup
40357 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
40358 maybe-install-strip-target-winsup:
40359 @if target-winsup
40360 maybe-install-strip-target-winsup: install-strip-target-winsup
40362 install-strip-target-winsup: installdirs
40363 @: $(MAKE); $(unstage)
40364 @r=`${PWD_COMMAND}`; export r; \
40365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40366 $(NORMAL_TARGET_EXPORTS) \
40367 (cd $(TARGET_SUBDIR)/winsup && \
40368 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40370 @endif target-winsup
40372 # Other targets (info, dvi, pdf, etc.)
40374 .PHONY: maybe-info-target-winsup info-target-winsup
40375 maybe-info-target-winsup:
40376 @if target-winsup
40377 maybe-info-target-winsup: info-target-winsup
40379 info-target-winsup: \
40380 configure-target-winsup
40381 @: $(MAKE); $(unstage)
40382 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40383 r=`${PWD_COMMAND}`; export r; \
40384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40385 $(NORMAL_TARGET_EXPORTS) \
40386 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
40387 for flag in $(EXTRA_TARGET_FLAGS); do \
40388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40389 done; \
40390 (cd $(TARGET_SUBDIR)/winsup && \
40391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40393 "RANLIB=$${RANLIB}" \
40394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40395 info) \
40396 || exit 1
40398 @endif target-winsup
40400 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
40401 maybe-dvi-target-winsup:
40402 @if target-winsup
40403 maybe-dvi-target-winsup: dvi-target-winsup
40405 dvi-target-winsup: \
40406 configure-target-winsup
40407 @: $(MAKE); $(unstage)
40408 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40409 r=`${PWD_COMMAND}`; export r; \
40410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40411 $(NORMAL_TARGET_EXPORTS) \
40412 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
40413 for flag in $(EXTRA_TARGET_FLAGS); do \
40414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40415 done; \
40416 (cd $(TARGET_SUBDIR)/winsup && \
40417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40419 "RANLIB=$${RANLIB}" \
40420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40421 dvi) \
40422 || exit 1
40424 @endif target-winsup
40426 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
40427 maybe-pdf-target-winsup:
40428 @if target-winsup
40429 maybe-pdf-target-winsup: pdf-target-winsup
40431 pdf-target-winsup: \
40432 configure-target-winsup
40433 @: $(MAKE); $(unstage)
40434 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40435 r=`${PWD_COMMAND}`; export r; \
40436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40437 $(NORMAL_TARGET_EXPORTS) \
40438 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
40439 for flag in $(EXTRA_TARGET_FLAGS); do \
40440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40441 done; \
40442 (cd $(TARGET_SUBDIR)/winsup && \
40443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40445 "RANLIB=$${RANLIB}" \
40446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40447 pdf) \
40448 || exit 1
40450 @endif target-winsup
40452 .PHONY: maybe-html-target-winsup html-target-winsup
40453 maybe-html-target-winsup:
40454 @if target-winsup
40455 maybe-html-target-winsup: html-target-winsup
40457 html-target-winsup: \
40458 configure-target-winsup
40459 @: $(MAKE); $(unstage)
40460 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40461 r=`${PWD_COMMAND}`; export r; \
40462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40463 $(NORMAL_TARGET_EXPORTS) \
40464 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
40465 for flag in $(EXTRA_TARGET_FLAGS); do \
40466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40467 done; \
40468 (cd $(TARGET_SUBDIR)/winsup && \
40469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40471 "RANLIB=$${RANLIB}" \
40472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40473 html) \
40474 || exit 1
40476 @endif target-winsup
40478 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
40479 maybe-TAGS-target-winsup:
40480 @if target-winsup
40481 maybe-TAGS-target-winsup: TAGS-target-winsup
40483 TAGS-target-winsup: \
40484 configure-target-winsup
40485 @: $(MAKE); $(unstage)
40486 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40487 r=`${PWD_COMMAND}`; export r; \
40488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40489 $(NORMAL_TARGET_EXPORTS) \
40490 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
40491 for flag in $(EXTRA_TARGET_FLAGS); do \
40492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40493 done; \
40494 (cd $(TARGET_SUBDIR)/winsup && \
40495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40497 "RANLIB=$${RANLIB}" \
40498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40499 TAGS) \
40500 || exit 1
40502 @endif target-winsup
40504 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
40505 maybe-install-info-target-winsup:
40506 @if target-winsup
40507 maybe-install-info-target-winsup: install-info-target-winsup
40509 install-info-target-winsup: \
40510 configure-target-winsup \
40511 info-target-winsup
40512 @: $(MAKE); $(unstage)
40513 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40514 r=`${PWD_COMMAND}`; export r; \
40515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40516 $(NORMAL_TARGET_EXPORTS) \
40517 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
40518 for flag in $(EXTRA_TARGET_FLAGS); do \
40519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40520 done; \
40521 (cd $(TARGET_SUBDIR)/winsup && \
40522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40524 "RANLIB=$${RANLIB}" \
40525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40526 install-info) \
40527 || exit 1
40529 @endif target-winsup
40531 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
40532 maybe-install-pdf-target-winsup:
40533 @if target-winsup
40534 maybe-install-pdf-target-winsup: install-pdf-target-winsup
40536 install-pdf-target-winsup: \
40537 configure-target-winsup \
40538 pdf-target-winsup
40539 @: $(MAKE); $(unstage)
40540 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40541 r=`${PWD_COMMAND}`; export r; \
40542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40543 $(NORMAL_TARGET_EXPORTS) \
40544 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
40545 for flag in $(EXTRA_TARGET_FLAGS); do \
40546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40547 done; \
40548 (cd $(TARGET_SUBDIR)/winsup && \
40549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40551 "RANLIB=$${RANLIB}" \
40552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40553 install-pdf) \
40554 || exit 1
40556 @endif target-winsup
40558 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
40559 maybe-install-html-target-winsup:
40560 @if target-winsup
40561 maybe-install-html-target-winsup: install-html-target-winsup
40563 install-html-target-winsup: \
40564 configure-target-winsup \
40565 html-target-winsup
40566 @: $(MAKE); $(unstage)
40567 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40568 r=`${PWD_COMMAND}`; export r; \
40569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40570 $(NORMAL_TARGET_EXPORTS) \
40571 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
40572 for flag in $(EXTRA_TARGET_FLAGS); do \
40573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40574 done; \
40575 (cd $(TARGET_SUBDIR)/winsup && \
40576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40578 "RANLIB=$${RANLIB}" \
40579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40580 install-html) \
40581 || exit 1
40583 @endif target-winsup
40585 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
40586 maybe-installcheck-target-winsup:
40587 @if target-winsup
40588 maybe-installcheck-target-winsup: installcheck-target-winsup
40590 installcheck-target-winsup: \
40591 configure-target-winsup
40592 @: $(MAKE); $(unstage)
40593 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40594 r=`${PWD_COMMAND}`; export r; \
40595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40596 $(NORMAL_TARGET_EXPORTS) \
40597 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
40598 for flag in $(EXTRA_TARGET_FLAGS); do \
40599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40600 done; \
40601 (cd $(TARGET_SUBDIR)/winsup && \
40602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40604 "RANLIB=$${RANLIB}" \
40605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40606 installcheck) \
40607 || exit 1
40609 @endif target-winsup
40611 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
40612 maybe-mostlyclean-target-winsup:
40613 @if target-winsup
40614 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
40616 mostlyclean-target-winsup:
40617 @: $(MAKE); $(unstage)
40618 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40619 r=`${PWD_COMMAND}`; export r; \
40620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40621 $(NORMAL_TARGET_EXPORTS) \
40622 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
40623 for flag in $(EXTRA_TARGET_FLAGS); do \
40624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40625 done; \
40626 (cd $(TARGET_SUBDIR)/winsup && \
40627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40629 "RANLIB=$${RANLIB}" \
40630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40631 mostlyclean) \
40632 || exit 1
40634 @endif target-winsup
40636 .PHONY: maybe-clean-target-winsup clean-target-winsup
40637 maybe-clean-target-winsup:
40638 @if target-winsup
40639 maybe-clean-target-winsup: clean-target-winsup
40641 clean-target-winsup:
40642 @: $(MAKE); $(unstage)
40643 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40644 r=`${PWD_COMMAND}`; export r; \
40645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40646 $(NORMAL_TARGET_EXPORTS) \
40647 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
40648 for flag in $(EXTRA_TARGET_FLAGS); do \
40649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40650 done; \
40651 (cd $(TARGET_SUBDIR)/winsup && \
40652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40654 "RANLIB=$${RANLIB}" \
40655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40656 clean) \
40657 || exit 1
40659 @endif target-winsup
40661 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
40662 maybe-distclean-target-winsup:
40663 @if target-winsup
40664 maybe-distclean-target-winsup: distclean-target-winsup
40666 distclean-target-winsup:
40667 @: $(MAKE); $(unstage)
40668 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40669 r=`${PWD_COMMAND}`; export r; \
40670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40671 $(NORMAL_TARGET_EXPORTS) \
40672 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
40673 for flag in $(EXTRA_TARGET_FLAGS); do \
40674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40675 done; \
40676 (cd $(TARGET_SUBDIR)/winsup && \
40677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40679 "RANLIB=$${RANLIB}" \
40680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40681 distclean) \
40682 || exit 1
40684 @endif target-winsup
40686 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
40687 maybe-maintainer-clean-target-winsup:
40688 @if target-winsup
40689 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
40691 maintainer-clean-target-winsup:
40692 @: $(MAKE); $(unstage)
40693 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40694 r=`${PWD_COMMAND}`; export r; \
40695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40696 $(NORMAL_TARGET_EXPORTS) \
40697 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
40698 for flag in $(EXTRA_TARGET_FLAGS); do \
40699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40700 done; \
40701 (cd $(TARGET_SUBDIR)/winsup && \
40702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40704 "RANLIB=$${RANLIB}" \
40705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40706 maintainer-clean) \
40707 || exit 1
40709 @endif target-winsup
40715 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
40716 maybe-configure-target-libgloss:
40717 @if gcc-bootstrap
40718 configure-target-libgloss: stage_current
40719 @endif gcc-bootstrap
40720 @if target-libgloss
40721 maybe-configure-target-libgloss: configure-target-libgloss
40722 configure-target-libgloss:
40723 @: $(MAKE); $(unstage)
40724 @r=`${PWD_COMMAND}`; export r; \
40725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40726 echo "Checking multilib configuration for libgloss..."; \
40727 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
40728 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
40729 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
40730 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
40731 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
40732 else \
40733 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
40734 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
40735 fi; \
40736 else \
40737 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
40738 fi; \
40739 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
40740 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
40741 $(NORMAL_TARGET_EXPORTS) \
40742 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
40743 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
40744 case $(srcdir) in \
40745 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40746 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
40747 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40748 esac; \
40749 module_srcdir=libgloss; \
40750 rm -f no-such-file || : ; \
40751 CONFIG_SITE=no-such-file $(SHELL) \
40752 $$s/$$module_srcdir/configure \
40753 --srcdir=$${topdir}/$$module_srcdir \
40754 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40755 --target=${target_alias} \
40756 || exit 1
40757 @endif target-libgloss
40763 .PHONY: all-target-libgloss maybe-all-target-libgloss
40764 maybe-all-target-libgloss:
40765 @if gcc-bootstrap
40766 all-target-libgloss: stage_current
40767 @endif gcc-bootstrap
40768 @if target-libgloss
40769 TARGET-target-libgloss=all
40770 maybe-all-target-libgloss: all-target-libgloss
40771 all-target-libgloss: configure-target-libgloss
40772 @: $(MAKE); $(unstage)
40773 @r=`${PWD_COMMAND}`; export r; \
40774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40775 $(NORMAL_TARGET_EXPORTS) \
40776 (cd $(TARGET_SUBDIR)/libgloss && \
40777 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40778 $(TARGET-target-libgloss))
40779 @endif target-libgloss
40785 .PHONY: check-target-libgloss maybe-check-target-libgloss
40786 maybe-check-target-libgloss:
40787 @if target-libgloss
40788 maybe-check-target-libgloss: check-target-libgloss
40790 # Dummy target for uncheckable module.
40791 check-target-libgloss:
40793 @endif target-libgloss
40795 .PHONY: install-target-libgloss maybe-install-target-libgloss
40796 maybe-install-target-libgloss:
40797 @if target-libgloss
40798 maybe-install-target-libgloss: install-target-libgloss
40800 install-target-libgloss: installdirs
40801 @: $(MAKE); $(unstage)
40802 @r=`${PWD_COMMAND}`; export r; \
40803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40804 $(NORMAL_TARGET_EXPORTS) \
40805 (cd $(TARGET_SUBDIR)/libgloss && \
40806 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40808 @endif target-libgloss
40810 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
40811 maybe-install-strip-target-libgloss:
40812 @if target-libgloss
40813 maybe-install-strip-target-libgloss: install-strip-target-libgloss
40815 install-strip-target-libgloss: installdirs
40816 @: $(MAKE); $(unstage)
40817 @r=`${PWD_COMMAND}`; export r; \
40818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40819 $(NORMAL_TARGET_EXPORTS) \
40820 (cd $(TARGET_SUBDIR)/libgloss && \
40821 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40823 @endif target-libgloss
40825 # Other targets (info, dvi, pdf, etc.)
40827 .PHONY: maybe-info-target-libgloss info-target-libgloss
40828 maybe-info-target-libgloss:
40829 @if target-libgloss
40830 maybe-info-target-libgloss: info-target-libgloss
40832 info-target-libgloss: \
40833 configure-target-libgloss
40834 @: $(MAKE); $(unstage)
40835 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40836 r=`${PWD_COMMAND}`; export r; \
40837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40838 $(NORMAL_TARGET_EXPORTS) \
40839 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
40840 for flag in $(EXTRA_TARGET_FLAGS); do \
40841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40842 done; \
40843 (cd $(TARGET_SUBDIR)/libgloss && \
40844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40846 "RANLIB=$${RANLIB}" \
40847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40848 info) \
40849 || exit 1
40851 @endif target-libgloss
40853 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
40854 maybe-dvi-target-libgloss:
40855 @if target-libgloss
40856 maybe-dvi-target-libgloss: dvi-target-libgloss
40858 dvi-target-libgloss: \
40859 configure-target-libgloss
40860 @: $(MAKE); $(unstage)
40861 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40862 r=`${PWD_COMMAND}`; export r; \
40863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40864 $(NORMAL_TARGET_EXPORTS) \
40865 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
40866 for flag in $(EXTRA_TARGET_FLAGS); do \
40867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40868 done; \
40869 (cd $(TARGET_SUBDIR)/libgloss && \
40870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40872 "RANLIB=$${RANLIB}" \
40873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40874 dvi) \
40875 || exit 1
40877 @endif target-libgloss
40879 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
40880 maybe-pdf-target-libgloss:
40881 @if target-libgloss
40882 maybe-pdf-target-libgloss: pdf-target-libgloss
40884 pdf-target-libgloss: \
40885 configure-target-libgloss
40886 @: $(MAKE); $(unstage)
40887 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40888 r=`${PWD_COMMAND}`; export r; \
40889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40890 $(NORMAL_TARGET_EXPORTS) \
40891 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
40892 for flag in $(EXTRA_TARGET_FLAGS); do \
40893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40894 done; \
40895 (cd $(TARGET_SUBDIR)/libgloss && \
40896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40898 "RANLIB=$${RANLIB}" \
40899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40900 pdf) \
40901 || exit 1
40903 @endif target-libgloss
40905 .PHONY: maybe-html-target-libgloss html-target-libgloss
40906 maybe-html-target-libgloss:
40907 @if target-libgloss
40908 maybe-html-target-libgloss: html-target-libgloss
40910 html-target-libgloss: \
40911 configure-target-libgloss
40912 @: $(MAKE); $(unstage)
40913 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40914 r=`${PWD_COMMAND}`; export r; \
40915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40916 $(NORMAL_TARGET_EXPORTS) \
40917 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
40918 for flag in $(EXTRA_TARGET_FLAGS); do \
40919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40920 done; \
40921 (cd $(TARGET_SUBDIR)/libgloss && \
40922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40924 "RANLIB=$${RANLIB}" \
40925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40926 html) \
40927 || exit 1
40929 @endif target-libgloss
40931 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
40932 maybe-TAGS-target-libgloss:
40933 @if target-libgloss
40934 maybe-TAGS-target-libgloss: TAGS-target-libgloss
40936 TAGS-target-libgloss: \
40937 configure-target-libgloss
40938 @: $(MAKE); $(unstage)
40939 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40940 r=`${PWD_COMMAND}`; export r; \
40941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40942 $(NORMAL_TARGET_EXPORTS) \
40943 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
40944 for flag in $(EXTRA_TARGET_FLAGS); do \
40945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40946 done; \
40947 (cd $(TARGET_SUBDIR)/libgloss && \
40948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40950 "RANLIB=$${RANLIB}" \
40951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40952 TAGS) \
40953 || exit 1
40955 @endif target-libgloss
40957 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
40958 maybe-install-info-target-libgloss:
40959 @if target-libgloss
40960 maybe-install-info-target-libgloss: install-info-target-libgloss
40962 install-info-target-libgloss: \
40963 configure-target-libgloss \
40964 info-target-libgloss
40965 @: $(MAKE); $(unstage)
40966 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40967 r=`${PWD_COMMAND}`; export r; \
40968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40969 $(NORMAL_TARGET_EXPORTS) \
40970 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
40971 for flag in $(EXTRA_TARGET_FLAGS); do \
40972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40973 done; \
40974 (cd $(TARGET_SUBDIR)/libgloss && \
40975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40977 "RANLIB=$${RANLIB}" \
40978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40979 install-info) \
40980 || exit 1
40982 @endif target-libgloss
40984 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
40985 maybe-install-pdf-target-libgloss:
40986 @if target-libgloss
40987 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
40989 install-pdf-target-libgloss: \
40990 configure-target-libgloss \
40991 pdf-target-libgloss
40992 @: $(MAKE); $(unstage)
40993 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40994 r=`${PWD_COMMAND}`; export r; \
40995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40996 $(NORMAL_TARGET_EXPORTS) \
40997 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
40998 for flag in $(EXTRA_TARGET_FLAGS); do \
40999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41000 done; \
41001 (cd $(TARGET_SUBDIR)/libgloss && \
41002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41004 "RANLIB=$${RANLIB}" \
41005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41006 install-pdf) \
41007 || exit 1
41009 @endif target-libgloss
41011 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
41012 maybe-install-html-target-libgloss:
41013 @if target-libgloss
41014 maybe-install-html-target-libgloss: install-html-target-libgloss
41016 install-html-target-libgloss: \
41017 configure-target-libgloss \
41018 html-target-libgloss
41019 @: $(MAKE); $(unstage)
41020 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41021 r=`${PWD_COMMAND}`; export r; \
41022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41023 $(NORMAL_TARGET_EXPORTS) \
41024 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
41025 for flag in $(EXTRA_TARGET_FLAGS); do \
41026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41027 done; \
41028 (cd $(TARGET_SUBDIR)/libgloss && \
41029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41031 "RANLIB=$${RANLIB}" \
41032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41033 install-html) \
41034 || exit 1
41036 @endif target-libgloss
41038 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
41039 maybe-installcheck-target-libgloss:
41040 @if target-libgloss
41041 maybe-installcheck-target-libgloss: installcheck-target-libgloss
41043 installcheck-target-libgloss: \
41044 configure-target-libgloss
41045 @: $(MAKE); $(unstage)
41046 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41047 r=`${PWD_COMMAND}`; export r; \
41048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41049 $(NORMAL_TARGET_EXPORTS) \
41050 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
41051 for flag in $(EXTRA_TARGET_FLAGS); do \
41052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41053 done; \
41054 (cd $(TARGET_SUBDIR)/libgloss && \
41055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41057 "RANLIB=$${RANLIB}" \
41058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41059 installcheck) \
41060 || exit 1
41062 @endif target-libgloss
41064 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
41065 maybe-mostlyclean-target-libgloss:
41066 @if target-libgloss
41067 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
41069 mostlyclean-target-libgloss:
41070 @: $(MAKE); $(unstage)
41071 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41072 r=`${PWD_COMMAND}`; export r; \
41073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41074 $(NORMAL_TARGET_EXPORTS) \
41075 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
41076 for flag in $(EXTRA_TARGET_FLAGS); do \
41077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41078 done; \
41079 (cd $(TARGET_SUBDIR)/libgloss && \
41080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41082 "RANLIB=$${RANLIB}" \
41083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41084 mostlyclean) \
41085 || exit 1
41087 @endif target-libgloss
41089 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
41090 maybe-clean-target-libgloss:
41091 @if target-libgloss
41092 maybe-clean-target-libgloss: clean-target-libgloss
41094 clean-target-libgloss:
41095 @: $(MAKE); $(unstage)
41096 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41097 r=`${PWD_COMMAND}`; export r; \
41098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41099 $(NORMAL_TARGET_EXPORTS) \
41100 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
41101 for flag in $(EXTRA_TARGET_FLAGS); do \
41102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41103 done; \
41104 (cd $(TARGET_SUBDIR)/libgloss && \
41105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41107 "RANLIB=$${RANLIB}" \
41108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41109 clean) \
41110 || exit 1
41112 @endif target-libgloss
41114 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
41115 maybe-distclean-target-libgloss:
41116 @if target-libgloss
41117 maybe-distclean-target-libgloss: distclean-target-libgloss
41119 distclean-target-libgloss:
41120 @: $(MAKE); $(unstage)
41121 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41122 r=`${PWD_COMMAND}`; export r; \
41123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41124 $(NORMAL_TARGET_EXPORTS) \
41125 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
41126 for flag in $(EXTRA_TARGET_FLAGS); do \
41127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41128 done; \
41129 (cd $(TARGET_SUBDIR)/libgloss && \
41130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41132 "RANLIB=$${RANLIB}" \
41133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41134 distclean) \
41135 || exit 1
41137 @endif target-libgloss
41139 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
41140 maybe-maintainer-clean-target-libgloss:
41141 @if target-libgloss
41142 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
41144 maintainer-clean-target-libgloss:
41145 @: $(MAKE); $(unstage)
41146 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41147 r=`${PWD_COMMAND}`; export r; \
41148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41149 $(NORMAL_TARGET_EXPORTS) \
41150 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
41151 for flag in $(EXTRA_TARGET_FLAGS); do \
41152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41153 done; \
41154 (cd $(TARGET_SUBDIR)/libgloss && \
41155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41157 "RANLIB=$${RANLIB}" \
41158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41159 maintainer-clean) \
41160 || exit 1
41162 @endif target-libgloss
41168 .PHONY: configure-target-libffi maybe-configure-target-libffi
41169 maybe-configure-target-libffi:
41170 @if gcc-bootstrap
41171 configure-target-libffi: stage_current
41172 @endif gcc-bootstrap
41173 @if target-libffi
41174 maybe-configure-target-libffi: configure-target-libffi
41175 configure-target-libffi:
41176 @: $(MAKE); $(unstage)
41177 @r=`${PWD_COMMAND}`; export r; \
41178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41179 echo "Checking multilib configuration for libffi..."; \
41180 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
41181 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
41182 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
41183 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
41184 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
41185 else \
41186 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
41187 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
41188 fi; \
41189 else \
41190 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
41191 fi; \
41192 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
41193 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
41194 $(NORMAL_TARGET_EXPORTS) \
41195 echo Configuring in $(TARGET_SUBDIR)/libffi; \
41196 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
41197 case $(srcdir) in \
41198 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41199 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
41200 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41201 esac; \
41202 module_srcdir=libffi; \
41203 rm -f no-such-file || : ; \
41204 CONFIG_SITE=no-such-file $(SHELL) \
41205 $$s/$$module_srcdir/configure \
41206 --srcdir=$${topdir}/$$module_srcdir \
41207 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41208 --target=${target_alias} \
41209 || exit 1
41210 @endif target-libffi
41216 .PHONY: all-target-libffi maybe-all-target-libffi
41217 maybe-all-target-libffi:
41218 @if gcc-bootstrap
41219 all-target-libffi: stage_current
41220 @endif gcc-bootstrap
41221 @if target-libffi
41222 TARGET-target-libffi=all
41223 maybe-all-target-libffi: all-target-libffi
41224 all-target-libffi: configure-target-libffi
41225 @: $(MAKE); $(unstage)
41226 @r=`${PWD_COMMAND}`; export r; \
41227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41228 $(NORMAL_TARGET_EXPORTS) \
41229 (cd $(TARGET_SUBDIR)/libffi && \
41230 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41231 $(TARGET-target-libffi))
41232 @endif target-libffi
41238 .PHONY: check-target-libffi maybe-check-target-libffi
41239 maybe-check-target-libffi:
41240 @if target-libffi
41241 maybe-check-target-libffi: check-target-libffi
41243 check-target-libffi:
41244 @: $(MAKE); $(unstage)
41245 @r=`${PWD_COMMAND}`; export r; \
41246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41247 $(NORMAL_TARGET_EXPORTS) \
41248 (cd $(TARGET_SUBDIR)/libffi && \
41249 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41251 @endif target-libffi
41253 .PHONY: install-target-libffi maybe-install-target-libffi
41254 maybe-install-target-libffi:
41255 @if target-libffi
41256 maybe-install-target-libffi: install-target-libffi
41258 # Dummy target for uninstallable.
41259 install-target-libffi:
41261 @endif target-libffi
41263 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
41264 maybe-install-strip-target-libffi:
41265 @if target-libffi
41266 maybe-install-strip-target-libffi: install-strip-target-libffi
41268 # Dummy target for uninstallable.
41269 install-strip-target-libffi:
41271 @endif target-libffi
41273 # Other targets (info, dvi, pdf, etc.)
41275 .PHONY: maybe-info-target-libffi info-target-libffi
41276 maybe-info-target-libffi:
41277 @if target-libffi
41278 maybe-info-target-libffi: info-target-libffi
41280 info-target-libffi: \
41281 configure-target-libffi
41282 @: $(MAKE); $(unstage)
41283 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41284 r=`${PWD_COMMAND}`; export r; \
41285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41286 $(NORMAL_TARGET_EXPORTS) \
41287 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
41288 for flag in $(EXTRA_TARGET_FLAGS); do \
41289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41290 done; \
41291 (cd $(TARGET_SUBDIR)/libffi && \
41292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41294 "RANLIB=$${RANLIB}" \
41295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41296 info) \
41297 || exit 1
41299 @endif target-libffi
41301 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
41302 maybe-dvi-target-libffi:
41303 @if target-libffi
41304 maybe-dvi-target-libffi: dvi-target-libffi
41306 dvi-target-libffi: \
41307 configure-target-libffi
41308 @: $(MAKE); $(unstage)
41309 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41310 r=`${PWD_COMMAND}`; export r; \
41311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41312 $(NORMAL_TARGET_EXPORTS) \
41313 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
41314 for flag in $(EXTRA_TARGET_FLAGS); do \
41315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41316 done; \
41317 (cd $(TARGET_SUBDIR)/libffi && \
41318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41320 "RANLIB=$${RANLIB}" \
41321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41322 dvi) \
41323 || exit 1
41325 @endif target-libffi
41327 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
41328 maybe-pdf-target-libffi:
41329 @if target-libffi
41330 maybe-pdf-target-libffi: pdf-target-libffi
41332 pdf-target-libffi: \
41333 configure-target-libffi
41334 @: $(MAKE); $(unstage)
41335 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41336 r=`${PWD_COMMAND}`; export r; \
41337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41338 $(NORMAL_TARGET_EXPORTS) \
41339 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
41340 for flag in $(EXTRA_TARGET_FLAGS); do \
41341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41342 done; \
41343 (cd $(TARGET_SUBDIR)/libffi && \
41344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41346 "RANLIB=$${RANLIB}" \
41347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41348 pdf) \
41349 || exit 1
41351 @endif target-libffi
41353 .PHONY: maybe-html-target-libffi html-target-libffi
41354 maybe-html-target-libffi:
41355 @if target-libffi
41356 maybe-html-target-libffi: html-target-libffi
41358 html-target-libffi: \
41359 configure-target-libffi
41360 @: $(MAKE); $(unstage)
41361 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41362 r=`${PWD_COMMAND}`; export r; \
41363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41364 $(NORMAL_TARGET_EXPORTS) \
41365 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
41366 for flag in $(EXTRA_TARGET_FLAGS); do \
41367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41368 done; \
41369 (cd $(TARGET_SUBDIR)/libffi && \
41370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41372 "RANLIB=$${RANLIB}" \
41373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41374 html) \
41375 || exit 1
41377 @endif target-libffi
41379 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
41380 maybe-TAGS-target-libffi:
41381 @if target-libffi
41382 maybe-TAGS-target-libffi: TAGS-target-libffi
41384 TAGS-target-libffi: \
41385 configure-target-libffi
41386 @: $(MAKE); $(unstage)
41387 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41388 r=`${PWD_COMMAND}`; export r; \
41389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41390 $(NORMAL_TARGET_EXPORTS) \
41391 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
41392 for flag in $(EXTRA_TARGET_FLAGS); do \
41393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41394 done; \
41395 (cd $(TARGET_SUBDIR)/libffi && \
41396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41398 "RANLIB=$${RANLIB}" \
41399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41400 TAGS) \
41401 || exit 1
41403 @endif target-libffi
41405 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
41406 maybe-install-info-target-libffi:
41407 @if target-libffi
41408 maybe-install-info-target-libffi: install-info-target-libffi
41410 install-info-target-libffi: \
41411 configure-target-libffi \
41412 info-target-libffi
41413 @: $(MAKE); $(unstage)
41414 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41415 r=`${PWD_COMMAND}`; export r; \
41416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41417 $(NORMAL_TARGET_EXPORTS) \
41418 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
41419 for flag in $(EXTRA_TARGET_FLAGS); do \
41420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41421 done; \
41422 (cd $(TARGET_SUBDIR)/libffi && \
41423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41425 "RANLIB=$${RANLIB}" \
41426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41427 install-info) \
41428 || exit 1
41430 @endif target-libffi
41432 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
41433 maybe-install-pdf-target-libffi:
41434 @if target-libffi
41435 maybe-install-pdf-target-libffi: install-pdf-target-libffi
41437 install-pdf-target-libffi: \
41438 configure-target-libffi \
41439 pdf-target-libffi
41440 @: $(MAKE); $(unstage)
41441 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41442 r=`${PWD_COMMAND}`; export r; \
41443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41444 $(NORMAL_TARGET_EXPORTS) \
41445 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
41446 for flag in $(EXTRA_TARGET_FLAGS); do \
41447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41448 done; \
41449 (cd $(TARGET_SUBDIR)/libffi && \
41450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41452 "RANLIB=$${RANLIB}" \
41453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41454 install-pdf) \
41455 || exit 1
41457 @endif target-libffi
41459 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
41460 maybe-install-html-target-libffi:
41461 @if target-libffi
41462 maybe-install-html-target-libffi: install-html-target-libffi
41464 install-html-target-libffi: \
41465 configure-target-libffi \
41466 html-target-libffi
41467 @: $(MAKE); $(unstage)
41468 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41469 r=`${PWD_COMMAND}`; export r; \
41470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41471 $(NORMAL_TARGET_EXPORTS) \
41472 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
41473 for flag in $(EXTRA_TARGET_FLAGS); do \
41474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41475 done; \
41476 (cd $(TARGET_SUBDIR)/libffi && \
41477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41479 "RANLIB=$${RANLIB}" \
41480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41481 install-html) \
41482 || exit 1
41484 @endif target-libffi
41486 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
41487 maybe-installcheck-target-libffi:
41488 @if target-libffi
41489 maybe-installcheck-target-libffi: installcheck-target-libffi
41491 installcheck-target-libffi: \
41492 configure-target-libffi
41493 @: $(MAKE); $(unstage)
41494 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41495 r=`${PWD_COMMAND}`; export r; \
41496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41497 $(NORMAL_TARGET_EXPORTS) \
41498 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
41499 for flag in $(EXTRA_TARGET_FLAGS); do \
41500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41501 done; \
41502 (cd $(TARGET_SUBDIR)/libffi && \
41503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41505 "RANLIB=$${RANLIB}" \
41506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41507 installcheck) \
41508 || exit 1
41510 @endif target-libffi
41512 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
41513 maybe-mostlyclean-target-libffi:
41514 @if target-libffi
41515 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
41517 mostlyclean-target-libffi:
41518 @: $(MAKE); $(unstage)
41519 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41520 r=`${PWD_COMMAND}`; export r; \
41521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41522 $(NORMAL_TARGET_EXPORTS) \
41523 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
41524 for flag in $(EXTRA_TARGET_FLAGS); do \
41525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41526 done; \
41527 (cd $(TARGET_SUBDIR)/libffi && \
41528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41530 "RANLIB=$${RANLIB}" \
41531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41532 mostlyclean) \
41533 || exit 1
41535 @endif target-libffi
41537 .PHONY: maybe-clean-target-libffi clean-target-libffi
41538 maybe-clean-target-libffi:
41539 @if target-libffi
41540 maybe-clean-target-libffi: clean-target-libffi
41542 clean-target-libffi:
41543 @: $(MAKE); $(unstage)
41544 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41545 r=`${PWD_COMMAND}`; export r; \
41546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41547 $(NORMAL_TARGET_EXPORTS) \
41548 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
41549 for flag in $(EXTRA_TARGET_FLAGS); do \
41550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41551 done; \
41552 (cd $(TARGET_SUBDIR)/libffi && \
41553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41555 "RANLIB=$${RANLIB}" \
41556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41557 clean) \
41558 || exit 1
41560 @endif target-libffi
41562 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
41563 maybe-distclean-target-libffi:
41564 @if target-libffi
41565 maybe-distclean-target-libffi: distclean-target-libffi
41567 distclean-target-libffi:
41568 @: $(MAKE); $(unstage)
41569 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41570 r=`${PWD_COMMAND}`; export r; \
41571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41572 $(NORMAL_TARGET_EXPORTS) \
41573 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
41574 for flag in $(EXTRA_TARGET_FLAGS); do \
41575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41576 done; \
41577 (cd $(TARGET_SUBDIR)/libffi && \
41578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41580 "RANLIB=$${RANLIB}" \
41581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41582 distclean) \
41583 || exit 1
41585 @endif target-libffi
41587 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
41588 maybe-maintainer-clean-target-libffi:
41589 @if target-libffi
41590 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
41592 maintainer-clean-target-libffi:
41593 @: $(MAKE); $(unstage)
41594 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41595 r=`${PWD_COMMAND}`; export r; \
41596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41597 $(NORMAL_TARGET_EXPORTS) \
41598 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
41599 for flag in $(EXTRA_TARGET_FLAGS); do \
41600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41601 done; \
41602 (cd $(TARGET_SUBDIR)/libffi && \
41603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41605 "RANLIB=$${RANLIB}" \
41606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41607 maintainer-clean) \
41608 || exit 1
41610 @endif target-libffi
41616 .PHONY: configure-target-libjava maybe-configure-target-libjava
41617 maybe-configure-target-libjava:
41618 @if gcc-bootstrap
41619 configure-target-libjava: stage_current
41620 @endif gcc-bootstrap
41621 @if target-libjava
41622 maybe-configure-target-libjava: configure-target-libjava
41623 configure-target-libjava:
41624 @: $(MAKE); $(unstage)
41625 @r=`${PWD_COMMAND}`; export r; \
41626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41627 echo "Checking multilib configuration for libjava..."; \
41628 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
41629 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
41630 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
41631 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
41632 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
41633 else \
41634 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
41635 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
41636 fi; \
41637 else \
41638 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
41639 fi; \
41640 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
41641 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
41642 $(RAW_CXX_TARGET_EXPORTS) \
41643 echo Configuring in $(TARGET_SUBDIR)/libjava; \
41644 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
41645 case $(srcdir) in \
41646 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41647 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
41648 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41649 esac; \
41650 module_srcdir=libjava; \
41651 rm -f no-such-file || : ; \
41652 CONFIG_SITE=no-such-file $(SHELL) \
41653 $$s/$$module_srcdir/configure \
41654 --srcdir=$${topdir}/$$module_srcdir \
41655 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41656 --target=${target_alias} $(EXTRA_CONFIGARGS_LIBJAVA) \
41657 || exit 1
41658 @endif target-libjava
41664 .PHONY: all-target-libjava maybe-all-target-libjava
41665 maybe-all-target-libjava:
41666 @if gcc-bootstrap
41667 all-target-libjava: stage_current
41668 @endif gcc-bootstrap
41669 @if target-libjava
41670 TARGET-target-libjava=all
41671 maybe-all-target-libjava: all-target-libjava
41672 all-target-libjava: configure-target-libjava
41673 @: $(MAKE); $(unstage)
41674 @r=`${PWD_COMMAND}`; export r; \
41675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41676 $(RAW_CXX_TARGET_EXPORTS) \
41677 (cd $(TARGET_SUBDIR)/libjava && \
41678 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41679 $(TARGET-target-libjava))
41680 @endif target-libjava
41686 .PHONY: check-target-libjava maybe-check-target-libjava
41687 maybe-check-target-libjava:
41688 @if target-libjava
41689 maybe-check-target-libjava: check-target-libjava
41691 check-target-libjava:
41692 @: $(MAKE); $(unstage)
41693 @r=`${PWD_COMMAND}`; export r; \
41694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41695 $(RAW_CXX_TARGET_EXPORTS) \
41696 (cd $(TARGET_SUBDIR)/libjava && \
41697 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
41699 @endif target-libjava
41701 .PHONY: install-target-libjava maybe-install-target-libjava
41702 maybe-install-target-libjava:
41703 @if target-libjava
41704 maybe-install-target-libjava: install-target-libjava
41706 install-target-libjava: installdirs
41707 @: $(MAKE); $(unstage)
41708 @r=`${PWD_COMMAND}`; export r; \
41709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41710 $(RAW_CXX_TARGET_EXPORTS) \
41711 (cd $(TARGET_SUBDIR)/libjava && \
41712 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41714 @endif target-libjava
41716 .PHONY: install-strip-target-libjava maybe-install-strip-target-libjava
41717 maybe-install-strip-target-libjava:
41718 @if target-libjava
41719 maybe-install-strip-target-libjava: install-strip-target-libjava
41721 install-strip-target-libjava: installdirs
41722 @: $(MAKE); $(unstage)
41723 @r=`${PWD_COMMAND}`; export r; \
41724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41725 $(RAW_CXX_TARGET_EXPORTS) \
41726 (cd $(TARGET_SUBDIR)/libjava && \
41727 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41729 @endif target-libjava
41731 # Other targets (info, dvi, pdf, etc.)
41733 .PHONY: maybe-info-target-libjava info-target-libjava
41734 maybe-info-target-libjava:
41735 @if target-libjava
41736 maybe-info-target-libjava: info-target-libjava
41738 info-target-libjava: \
41739 configure-target-libjava
41740 @: $(MAKE); $(unstage)
41741 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41742 r=`${PWD_COMMAND}`; export r; \
41743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41744 $(RAW_CXX_TARGET_EXPORTS) \
41745 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
41746 for flag in $(EXTRA_TARGET_FLAGS); do \
41747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41748 done; \
41749 (cd $(TARGET_SUBDIR)/libjava && \
41750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41752 "RANLIB=$${RANLIB}" \
41753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41754 info) \
41755 || exit 1
41757 @endif target-libjava
41759 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
41760 maybe-dvi-target-libjava:
41761 @if target-libjava
41762 maybe-dvi-target-libjava: dvi-target-libjava
41764 dvi-target-libjava: \
41765 configure-target-libjava
41766 @: $(MAKE); $(unstage)
41767 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41768 r=`${PWD_COMMAND}`; export r; \
41769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41770 $(RAW_CXX_TARGET_EXPORTS) \
41771 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
41772 for flag in $(EXTRA_TARGET_FLAGS); do \
41773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41774 done; \
41775 (cd $(TARGET_SUBDIR)/libjava && \
41776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41778 "RANLIB=$${RANLIB}" \
41779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41780 dvi) \
41781 || exit 1
41783 @endif target-libjava
41785 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
41786 maybe-pdf-target-libjava:
41787 @if target-libjava
41788 maybe-pdf-target-libjava: pdf-target-libjava
41790 pdf-target-libjava: \
41791 configure-target-libjava
41792 @: $(MAKE); $(unstage)
41793 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41794 r=`${PWD_COMMAND}`; export r; \
41795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41796 $(RAW_CXX_TARGET_EXPORTS) \
41797 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
41798 for flag in $(EXTRA_TARGET_FLAGS); do \
41799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41800 done; \
41801 (cd $(TARGET_SUBDIR)/libjava && \
41802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41804 "RANLIB=$${RANLIB}" \
41805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41806 pdf) \
41807 || exit 1
41809 @endif target-libjava
41811 .PHONY: maybe-html-target-libjava html-target-libjava
41812 maybe-html-target-libjava:
41813 @if target-libjava
41814 maybe-html-target-libjava: html-target-libjava
41816 html-target-libjava: \
41817 configure-target-libjava
41818 @: $(MAKE); $(unstage)
41819 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41820 r=`${PWD_COMMAND}`; export r; \
41821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41822 $(RAW_CXX_TARGET_EXPORTS) \
41823 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
41824 for flag in $(EXTRA_TARGET_FLAGS); do \
41825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41826 done; \
41827 (cd $(TARGET_SUBDIR)/libjava && \
41828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41830 "RANLIB=$${RANLIB}" \
41831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41832 html) \
41833 || exit 1
41835 @endif target-libjava
41837 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
41838 maybe-TAGS-target-libjava:
41839 @if target-libjava
41840 maybe-TAGS-target-libjava: TAGS-target-libjava
41842 TAGS-target-libjava: \
41843 configure-target-libjava
41844 @: $(MAKE); $(unstage)
41845 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41846 r=`${PWD_COMMAND}`; export r; \
41847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41848 $(RAW_CXX_TARGET_EXPORTS) \
41849 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
41850 for flag in $(EXTRA_TARGET_FLAGS); do \
41851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41852 done; \
41853 (cd $(TARGET_SUBDIR)/libjava && \
41854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41856 "RANLIB=$${RANLIB}" \
41857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41858 TAGS) \
41859 || exit 1
41861 @endif target-libjava
41863 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
41864 maybe-install-info-target-libjava:
41865 @if target-libjava
41866 maybe-install-info-target-libjava: install-info-target-libjava
41868 install-info-target-libjava: \
41869 configure-target-libjava \
41870 info-target-libjava
41871 @: $(MAKE); $(unstage)
41872 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41873 r=`${PWD_COMMAND}`; export r; \
41874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41875 $(RAW_CXX_TARGET_EXPORTS) \
41876 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
41877 for flag in $(EXTRA_TARGET_FLAGS); do \
41878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41879 done; \
41880 (cd $(TARGET_SUBDIR)/libjava && \
41881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41883 "RANLIB=$${RANLIB}" \
41884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41885 install-info) \
41886 || exit 1
41888 @endif target-libjava
41890 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
41891 maybe-install-pdf-target-libjava:
41892 @if target-libjava
41893 maybe-install-pdf-target-libjava: install-pdf-target-libjava
41895 install-pdf-target-libjava: \
41896 configure-target-libjava \
41897 pdf-target-libjava
41898 @: $(MAKE); $(unstage)
41899 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41900 r=`${PWD_COMMAND}`; export r; \
41901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41902 $(RAW_CXX_TARGET_EXPORTS) \
41903 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
41904 for flag in $(EXTRA_TARGET_FLAGS); do \
41905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41906 done; \
41907 (cd $(TARGET_SUBDIR)/libjava && \
41908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41910 "RANLIB=$${RANLIB}" \
41911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41912 install-pdf) \
41913 || exit 1
41915 @endif target-libjava
41917 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
41918 maybe-install-html-target-libjava:
41919 @if target-libjava
41920 maybe-install-html-target-libjava: install-html-target-libjava
41922 install-html-target-libjava: \
41923 configure-target-libjava \
41924 html-target-libjava
41925 @: $(MAKE); $(unstage)
41926 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41927 r=`${PWD_COMMAND}`; export r; \
41928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41929 $(RAW_CXX_TARGET_EXPORTS) \
41930 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
41931 for flag in $(EXTRA_TARGET_FLAGS); do \
41932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41933 done; \
41934 (cd $(TARGET_SUBDIR)/libjava && \
41935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41937 "RANLIB=$${RANLIB}" \
41938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41939 install-html) \
41940 || exit 1
41942 @endif target-libjava
41944 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
41945 maybe-installcheck-target-libjava:
41946 @if target-libjava
41947 maybe-installcheck-target-libjava: installcheck-target-libjava
41949 installcheck-target-libjava: \
41950 configure-target-libjava
41951 @: $(MAKE); $(unstage)
41952 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41953 r=`${PWD_COMMAND}`; export r; \
41954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41955 $(RAW_CXX_TARGET_EXPORTS) \
41956 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
41957 for flag in $(EXTRA_TARGET_FLAGS); do \
41958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41959 done; \
41960 (cd $(TARGET_SUBDIR)/libjava && \
41961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41963 "RANLIB=$${RANLIB}" \
41964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41965 installcheck) \
41966 || exit 1
41968 @endif target-libjava
41970 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
41971 maybe-mostlyclean-target-libjava:
41972 @if target-libjava
41973 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
41975 mostlyclean-target-libjava:
41976 @: $(MAKE); $(unstage)
41977 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41978 r=`${PWD_COMMAND}`; export r; \
41979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41980 $(RAW_CXX_TARGET_EXPORTS) \
41981 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
41982 for flag in $(EXTRA_TARGET_FLAGS); do \
41983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41984 done; \
41985 (cd $(TARGET_SUBDIR)/libjava && \
41986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41988 "RANLIB=$${RANLIB}" \
41989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41990 mostlyclean) \
41991 || exit 1
41993 @endif target-libjava
41995 .PHONY: maybe-clean-target-libjava clean-target-libjava
41996 maybe-clean-target-libjava:
41997 @if target-libjava
41998 maybe-clean-target-libjava: clean-target-libjava
42000 clean-target-libjava:
42001 @: $(MAKE); $(unstage)
42002 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
42003 r=`${PWD_COMMAND}`; export r; \
42004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42005 $(RAW_CXX_TARGET_EXPORTS) \
42006 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
42007 for flag in $(EXTRA_TARGET_FLAGS); do \
42008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42009 done; \
42010 (cd $(TARGET_SUBDIR)/libjava && \
42011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42013 "RANLIB=$${RANLIB}" \
42014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42015 clean) \
42016 || exit 1
42018 @endif target-libjava
42020 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
42021 maybe-distclean-target-libjava:
42022 @if target-libjava
42023 maybe-distclean-target-libjava: distclean-target-libjava
42025 distclean-target-libjava:
42026 @: $(MAKE); $(unstage)
42027 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
42028 r=`${PWD_COMMAND}`; export r; \
42029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42030 $(RAW_CXX_TARGET_EXPORTS) \
42031 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
42032 for flag in $(EXTRA_TARGET_FLAGS); do \
42033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42034 done; \
42035 (cd $(TARGET_SUBDIR)/libjava && \
42036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42038 "RANLIB=$${RANLIB}" \
42039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42040 distclean) \
42041 || exit 1
42043 @endif target-libjava
42045 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
42046 maybe-maintainer-clean-target-libjava:
42047 @if target-libjava
42048 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
42050 maintainer-clean-target-libjava:
42051 @: $(MAKE); $(unstage)
42052 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
42053 r=`${PWD_COMMAND}`; export r; \
42054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42055 $(RAW_CXX_TARGET_EXPORTS) \
42056 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
42057 for flag in $(EXTRA_TARGET_FLAGS); do \
42058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42059 done; \
42060 (cd $(TARGET_SUBDIR)/libjava && \
42061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42063 "RANLIB=$${RANLIB}" \
42064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42065 maintainer-clean) \
42066 || exit 1
42068 @endif target-libjava
42074 .PHONY: configure-target-zlib maybe-configure-target-zlib
42075 maybe-configure-target-zlib:
42076 @if gcc-bootstrap
42077 configure-target-zlib: stage_current
42078 @endif gcc-bootstrap
42079 @if target-zlib
42080 maybe-configure-target-zlib: configure-target-zlib
42081 configure-target-zlib:
42082 @: $(MAKE); $(unstage)
42083 @r=`${PWD_COMMAND}`; export r; \
42084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42085 echo "Checking multilib configuration for zlib..."; \
42086 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
42087 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
42088 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
42089 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
42090 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
42091 else \
42092 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
42093 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
42094 fi; \
42095 else \
42096 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
42097 fi; \
42098 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
42099 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
42100 $(NORMAL_TARGET_EXPORTS) \
42101 echo Configuring in $(TARGET_SUBDIR)/zlib; \
42102 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
42103 case $(srcdir) in \
42104 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42105 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
42106 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42107 esac; \
42108 module_srcdir=zlib; \
42109 rm -f no-such-file || : ; \
42110 CONFIG_SITE=no-such-file $(SHELL) \
42111 $$s/$$module_srcdir/configure \
42112 --srcdir=$${topdir}/$$module_srcdir \
42113 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42114 --target=${target_alias} \
42115 || exit 1
42116 @endif target-zlib
42122 .PHONY: all-target-zlib maybe-all-target-zlib
42123 maybe-all-target-zlib:
42124 @if gcc-bootstrap
42125 all-target-zlib: stage_current
42126 @endif gcc-bootstrap
42127 @if target-zlib
42128 TARGET-target-zlib=all
42129 maybe-all-target-zlib: all-target-zlib
42130 all-target-zlib: configure-target-zlib
42131 @: $(MAKE); $(unstage)
42132 @r=`${PWD_COMMAND}`; export r; \
42133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42134 $(NORMAL_TARGET_EXPORTS) \
42135 (cd $(TARGET_SUBDIR)/zlib && \
42136 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42137 $(TARGET-target-zlib))
42138 @endif target-zlib
42144 .PHONY: check-target-zlib maybe-check-target-zlib
42145 maybe-check-target-zlib:
42146 @if target-zlib
42147 maybe-check-target-zlib: check-target-zlib
42149 check-target-zlib:
42150 @: $(MAKE); $(unstage)
42151 @r=`${PWD_COMMAND}`; export r; \
42152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42153 $(NORMAL_TARGET_EXPORTS) \
42154 (cd $(TARGET_SUBDIR)/zlib && \
42155 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42157 @endif target-zlib
42159 .PHONY: install-target-zlib maybe-install-target-zlib
42160 maybe-install-target-zlib:
42161 @if target-zlib
42162 maybe-install-target-zlib: install-target-zlib
42164 install-target-zlib: installdirs
42165 @: $(MAKE); $(unstage)
42166 @r=`${PWD_COMMAND}`; export r; \
42167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42168 $(NORMAL_TARGET_EXPORTS) \
42169 (cd $(TARGET_SUBDIR)/zlib && \
42170 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42172 @endif target-zlib
42174 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
42175 maybe-install-strip-target-zlib:
42176 @if target-zlib
42177 maybe-install-strip-target-zlib: install-strip-target-zlib
42179 install-strip-target-zlib: installdirs
42180 @: $(MAKE); $(unstage)
42181 @r=`${PWD_COMMAND}`; export r; \
42182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42183 $(NORMAL_TARGET_EXPORTS) \
42184 (cd $(TARGET_SUBDIR)/zlib && \
42185 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42187 @endif target-zlib
42189 # Other targets (info, dvi, pdf, etc.)
42191 .PHONY: maybe-info-target-zlib info-target-zlib
42192 maybe-info-target-zlib:
42193 @if target-zlib
42194 maybe-info-target-zlib: info-target-zlib
42196 info-target-zlib: \
42197 configure-target-zlib
42198 @: $(MAKE); $(unstage)
42199 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42200 r=`${PWD_COMMAND}`; export r; \
42201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42202 $(NORMAL_TARGET_EXPORTS) \
42203 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
42204 for flag in $(EXTRA_TARGET_FLAGS); do \
42205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42206 done; \
42207 (cd $(TARGET_SUBDIR)/zlib && \
42208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42210 "RANLIB=$${RANLIB}" \
42211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42212 info) \
42213 || exit 1
42215 @endif target-zlib
42217 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
42218 maybe-dvi-target-zlib:
42219 @if target-zlib
42220 maybe-dvi-target-zlib: dvi-target-zlib
42222 dvi-target-zlib: \
42223 configure-target-zlib
42224 @: $(MAKE); $(unstage)
42225 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42226 r=`${PWD_COMMAND}`; export r; \
42227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42228 $(NORMAL_TARGET_EXPORTS) \
42229 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
42230 for flag in $(EXTRA_TARGET_FLAGS); do \
42231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42232 done; \
42233 (cd $(TARGET_SUBDIR)/zlib && \
42234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42236 "RANLIB=$${RANLIB}" \
42237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42238 dvi) \
42239 || exit 1
42241 @endif target-zlib
42243 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
42244 maybe-pdf-target-zlib:
42245 @if target-zlib
42246 maybe-pdf-target-zlib: pdf-target-zlib
42248 pdf-target-zlib: \
42249 configure-target-zlib
42250 @: $(MAKE); $(unstage)
42251 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42252 r=`${PWD_COMMAND}`; export r; \
42253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42254 $(NORMAL_TARGET_EXPORTS) \
42255 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
42256 for flag in $(EXTRA_TARGET_FLAGS); do \
42257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42258 done; \
42259 (cd $(TARGET_SUBDIR)/zlib && \
42260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42262 "RANLIB=$${RANLIB}" \
42263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42264 pdf) \
42265 || exit 1
42267 @endif target-zlib
42269 .PHONY: maybe-html-target-zlib html-target-zlib
42270 maybe-html-target-zlib:
42271 @if target-zlib
42272 maybe-html-target-zlib: html-target-zlib
42274 html-target-zlib: \
42275 configure-target-zlib
42276 @: $(MAKE); $(unstage)
42277 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42278 r=`${PWD_COMMAND}`; export r; \
42279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42280 $(NORMAL_TARGET_EXPORTS) \
42281 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
42282 for flag in $(EXTRA_TARGET_FLAGS); do \
42283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42284 done; \
42285 (cd $(TARGET_SUBDIR)/zlib && \
42286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42288 "RANLIB=$${RANLIB}" \
42289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42290 html) \
42291 || exit 1
42293 @endif target-zlib
42295 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
42296 maybe-TAGS-target-zlib:
42297 @if target-zlib
42298 maybe-TAGS-target-zlib: TAGS-target-zlib
42300 TAGS-target-zlib: \
42301 configure-target-zlib
42302 @: $(MAKE); $(unstage)
42303 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42304 r=`${PWD_COMMAND}`; export r; \
42305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42306 $(NORMAL_TARGET_EXPORTS) \
42307 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
42308 for flag in $(EXTRA_TARGET_FLAGS); do \
42309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42310 done; \
42311 (cd $(TARGET_SUBDIR)/zlib && \
42312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42314 "RANLIB=$${RANLIB}" \
42315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42316 TAGS) \
42317 || exit 1
42319 @endif target-zlib
42321 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
42322 maybe-install-info-target-zlib:
42323 @if target-zlib
42324 maybe-install-info-target-zlib: install-info-target-zlib
42326 install-info-target-zlib: \
42327 configure-target-zlib \
42328 info-target-zlib
42329 @: $(MAKE); $(unstage)
42330 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42331 r=`${PWD_COMMAND}`; export r; \
42332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42333 $(NORMAL_TARGET_EXPORTS) \
42334 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
42335 for flag in $(EXTRA_TARGET_FLAGS); do \
42336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42337 done; \
42338 (cd $(TARGET_SUBDIR)/zlib && \
42339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42341 "RANLIB=$${RANLIB}" \
42342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42343 install-info) \
42344 || exit 1
42346 @endif target-zlib
42348 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
42349 maybe-install-pdf-target-zlib:
42350 @if target-zlib
42351 maybe-install-pdf-target-zlib: install-pdf-target-zlib
42353 install-pdf-target-zlib: \
42354 configure-target-zlib \
42355 pdf-target-zlib
42356 @: $(MAKE); $(unstage)
42357 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42358 r=`${PWD_COMMAND}`; export r; \
42359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42360 $(NORMAL_TARGET_EXPORTS) \
42361 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
42362 for flag in $(EXTRA_TARGET_FLAGS); do \
42363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42364 done; \
42365 (cd $(TARGET_SUBDIR)/zlib && \
42366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42368 "RANLIB=$${RANLIB}" \
42369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42370 install-pdf) \
42371 || exit 1
42373 @endif target-zlib
42375 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
42376 maybe-install-html-target-zlib:
42377 @if target-zlib
42378 maybe-install-html-target-zlib: install-html-target-zlib
42380 install-html-target-zlib: \
42381 configure-target-zlib \
42382 html-target-zlib
42383 @: $(MAKE); $(unstage)
42384 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42385 r=`${PWD_COMMAND}`; export r; \
42386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42387 $(NORMAL_TARGET_EXPORTS) \
42388 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
42389 for flag in $(EXTRA_TARGET_FLAGS); do \
42390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42391 done; \
42392 (cd $(TARGET_SUBDIR)/zlib && \
42393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42395 "RANLIB=$${RANLIB}" \
42396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42397 install-html) \
42398 || exit 1
42400 @endif target-zlib
42402 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
42403 maybe-installcheck-target-zlib:
42404 @if target-zlib
42405 maybe-installcheck-target-zlib: installcheck-target-zlib
42407 installcheck-target-zlib: \
42408 configure-target-zlib
42409 @: $(MAKE); $(unstage)
42410 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42411 r=`${PWD_COMMAND}`; export r; \
42412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42413 $(NORMAL_TARGET_EXPORTS) \
42414 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
42415 for flag in $(EXTRA_TARGET_FLAGS); do \
42416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42417 done; \
42418 (cd $(TARGET_SUBDIR)/zlib && \
42419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42421 "RANLIB=$${RANLIB}" \
42422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42423 installcheck) \
42424 || exit 1
42426 @endif target-zlib
42428 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
42429 maybe-mostlyclean-target-zlib:
42430 @if target-zlib
42431 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
42433 mostlyclean-target-zlib:
42434 @: $(MAKE); $(unstage)
42435 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42436 r=`${PWD_COMMAND}`; export r; \
42437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42438 $(NORMAL_TARGET_EXPORTS) \
42439 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
42440 for flag in $(EXTRA_TARGET_FLAGS); do \
42441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42442 done; \
42443 (cd $(TARGET_SUBDIR)/zlib && \
42444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42446 "RANLIB=$${RANLIB}" \
42447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42448 mostlyclean) \
42449 || exit 1
42451 @endif target-zlib
42453 .PHONY: maybe-clean-target-zlib clean-target-zlib
42454 maybe-clean-target-zlib:
42455 @if target-zlib
42456 maybe-clean-target-zlib: clean-target-zlib
42458 clean-target-zlib:
42459 @: $(MAKE); $(unstage)
42460 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42461 r=`${PWD_COMMAND}`; export r; \
42462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42463 $(NORMAL_TARGET_EXPORTS) \
42464 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
42465 for flag in $(EXTRA_TARGET_FLAGS); do \
42466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42467 done; \
42468 (cd $(TARGET_SUBDIR)/zlib && \
42469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42471 "RANLIB=$${RANLIB}" \
42472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42473 clean) \
42474 || exit 1
42476 @endif target-zlib
42478 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
42479 maybe-distclean-target-zlib:
42480 @if target-zlib
42481 maybe-distclean-target-zlib: distclean-target-zlib
42483 distclean-target-zlib:
42484 @: $(MAKE); $(unstage)
42485 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42486 r=`${PWD_COMMAND}`; export r; \
42487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42488 $(NORMAL_TARGET_EXPORTS) \
42489 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
42490 for flag in $(EXTRA_TARGET_FLAGS); do \
42491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42492 done; \
42493 (cd $(TARGET_SUBDIR)/zlib && \
42494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42496 "RANLIB=$${RANLIB}" \
42497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42498 distclean) \
42499 || exit 1
42501 @endif target-zlib
42503 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
42504 maybe-maintainer-clean-target-zlib:
42505 @if target-zlib
42506 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
42508 maintainer-clean-target-zlib:
42509 @: $(MAKE); $(unstage)
42510 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42511 r=`${PWD_COMMAND}`; export r; \
42512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42513 $(NORMAL_TARGET_EXPORTS) \
42514 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
42515 for flag in $(EXTRA_TARGET_FLAGS); do \
42516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42517 done; \
42518 (cd $(TARGET_SUBDIR)/zlib && \
42519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42521 "RANLIB=$${RANLIB}" \
42522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42523 maintainer-clean) \
42524 || exit 1
42526 @endif target-zlib
42532 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
42533 maybe-configure-target-boehm-gc:
42534 @if gcc-bootstrap
42535 configure-target-boehm-gc: stage_current
42536 @endif gcc-bootstrap
42537 @if target-boehm-gc
42538 maybe-configure-target-boehm-gc: configure-target-boehm-gc
42539 configure-target-boehm-gc:
42540 @: $(MAKE); $(unstage)
42541 @r=`${PWD_COMMAND}`; export r; \
42542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42543 echo "Checking multilib configuration for boehm-gc..."; \
42544 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
42545 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
42546 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
42547 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
42548 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
42549 else \
42550 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
42551 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
42552 fi; \
42553 else \
42554 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
42555 fi; \
42556 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
42557 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
42558 $(NORMAL_TARGET_EXPORTS) \
42559 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
42560 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
42561 case $(srcdir) in \
42562 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42563 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
42564 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42565 esac; \
42566 module_srcdir=boehm-gc; \
42567 rm -f no-such-file || : ; \
42568 CONFIG_SITE=no-such-file $(SHELL) \
42569 $$s/$$module_srcdir/configure \
42570 --srcdir=$${topdir}/$$module_srcdir \
42571 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42572 --target=${target_alias} \
42573 || exit 1
42574 @endif target-boehm-gc
42580 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
42581 maybe-all-target-boehm-gc:
42582 @if gcc-bootstrap
42583 all-target-boehm-gc: stage_current
42584 @endif gcc-bootstrap
42585 @if target-boehm-gc
42586 TARGET-target-boehm-gc=all
42587 maybe-all-target-boehm-gc: all-target-boehm-gc
42588 all-target-boehm-gc: configure-target-boehm-gc
42589 @: $(MAKE); $(unstage)
42590 @r=`${PWD_COMMAND}`; export r; \
42591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42592 $(NORMAL_TARGET_EXPORTS) \
42593 (cd $(TARGET_SUBDIR)/boehm-gc && \
42594 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42595 $(TARGET-target-boehm-gc))
42596 @endif target-boehm-gc
42602 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
42603 maybe-check-target-boehm-gc:
42604 @if target-boehm-gc
42605 maybe-check-target-boehm-gc: check-target-boehm-gc
42607 check-target-boehm-gc:
42608 @: $(MAKE); $(unstage)
42609 @r=`${PWD_COMMAND}`; export r; \
42610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42611 $(NORMAL_TARGET_EXPORTS) \
42612 (cd $(TARGET_SUBDIR)/boehm-gc && \
42613 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42615 @endif target-boehm-gc
42617 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
42618 maybe-install-target-boehm-gc:
42619 @if target-boehm-gc
42620 maybe-install-target-boehm-gc: install-target-boehm-gc
42622 install-target-boehm-gc: installdirs
42623 @: $(MAKE); $(unstage)
42624 @r=`${PWD_COMMAND}`; export r; \
42625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42626 $(NORMAL_TARGET_EXPORTS) \
42627 (cd $(TARGET_SUBDIR)/boehm-gc && \
42628 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42630 @endif target-boehm-gc
42632 .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
42633 maybe-install-strip-target-boehm-gc:
42634 @if target-boehm-gc
42635 maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
42637 install-strip-target-boehm-gc: installdirs
42638 @: $(MAKE); $(unstage)
42639 @r=`${PWD_COMMAND}`; export r; \
42640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42641 $(NORMAL_TARGET_EXPORTS) \
42642 (cd $(TARGET_SUBDIR)/boehm-gc && \
42643 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42645 @endif target-boehm-gc
42647 # Other targets (info, dvi, pdf, etc.)
42649 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
42650 maybe-info-target-boehm-gc:
42651 @if target-boehm-gc
42652 maybe-info-target-boehm-gc: info-target-boehm-gc
42654 info-target-boehm-gc: \
42655 configure-target-boehm-gc
42656 @: $(MAKE); $(unstage)
42657 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42658 r=`${PWD_COMMAND}`; export r; \
42659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42660 $(NORMAL_TARGET_EXPORTS) \
42661 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
42662 for flag in $(EXTRA_TARGET_FLAGS); do \
42663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42664 done; \
42665 (cd $(TARGET_SUBDIR)/boehm-gc && \
42666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42668 "RANLIB=$${RANLIB}" \
42669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42670 info) \
42671 || exit 1
42673 @endif target-boehm-gc
42675 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
42676 maybe-dvi-target-boehm-gc:
42677 @if target-boehm-gc
42678 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
42680 dvi-target-boehm-gc: \
42681 configure-target-boehm-gc
42682 @: $(MAKE); $(unstage)
42683 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42684 r=`${PWD_COMMAND}`; export r; \
42685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42686 $(NORMAL_TARGET_EXPORTS) \
42687 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
42688 for flag in $(EXTRA_TARGET_FLAGS); do \
42689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42690 done; \
42691 (cd $(TARGET_SUBDIR)/boehm-gc && \
42692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42694 "RANLIB=$${RANLIB}" \
42695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42696 dvi) \
42697 || exit 1
42699 @endif target-boehm-gc
42701 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
42702 maybe-pdf-target-boehm-gc:
42703 @if target-boehm-gc
42704 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
42706 pdf-target-boehm-gc: \
42707 configure-target-boehm-gc
42708 @: $(MAKE); $(unstage)
42709 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42710 r=`${PWD_COMMAND}`; export r; \
42711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42712 $(NORMAL_TARGET_EXPORTS) \
42713 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
42714 for flag in $(EXTRA_TARGET_FLAGS); do \
42715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42716 done; \
42717 (cd $(TARGET_SUBDIR)/boehm-gc && \
42718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42720 "RANLIB=$${RANLIB}" \
42721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42722 pdf) \
42723 || exit 1
42725 @endif target-boehm-gc
42727 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
42728 maybe-html-target-boehm-gc:
42729 @if target-boehm-gc
42730 maybe-html-target-boehm-gc: html-target-boehm-gc
42732 html-target-boehm-gc: \
42733 configure-target-boehm-gc
42734 @: $(MAKE); $(unstage)
42735 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42736 r=`${PWD_COMMAND}`; export r; \
42737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42738 $(NORMAL_TARGET_EXPORTS) \
42739 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
42740 for flag in $(EXTRA_TARGET_FLAGS); do \
42741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42742 done; \
42743 (cd $(TARGET_SUBDIR)/boehm-gc && \
42744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42746 "RANLIB=$${RANLIB}" \
42747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42748 html) \
42749 || exit 1
42751 @endif target-boehm-gc
42753 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
42754 maybe-TAGS-target-boehm-gc:
42755 @if target-boehm-gc
42756 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
42758 TAGS-target-boehm-gc: \
42759 configure-target-boehm-gc
42760 @: $(MAKE); $(unstage)
42761 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42762 r=`${PWD_COMMAND}`; export r; \
42763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42764 $(NORMAL_TARGET_EXPORTS) \
42765 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
42766 for flag in $(EXTRA_TARGET_FLAGS); do \
42767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42768 done; \
42769 (cd $(TARGET_SUBDIR)/boehm-gc && \
42770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42772 "RANLIB=$${RANLIB}" \
42773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42774 TAGS) \
42775 || exit 1
42777 @endif target-boehm-gc
42779 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
42780 maybe-install-info-target-boehm-gc:
42781 @if target-boehm-gc
42782 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
42784 install-info-target-boehm-gc: \
42785 configure-target-boehm-gc \
42786 info-target-boehm-gc
42787 @: $(MAKE); $(unstage)
42788 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42789 r=`${PWD_COMMAND}`; export r; \
42790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42791 $(NORMAL_TARGET_EXPORTS) \
42792 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
42793 for flag in $(EXTRA_TARGET_FLAGS); do \
42794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42795 done; \
42796 (cd $(TARGET_SUBDIR)/boehm-gc && \
42797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42799 "RANLIB=$${RANLIB}" \
42800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42801 install-info) \
42802 || exit 1
42804 @endif target-boehm-gc
42806 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
42807 maybe-install-pdf-target-boehm-gc:
42808 @if target-boehm-gc
42809 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
42811 install-pdf-target-boehm-gc: \
42812 configure-target-boehm-gc \
42813 pdf-target-boehm-gc
42814 @: $(MAKE); $(unstage)
42815 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42816 r=`${PWD_COMMAND}`; export r; \
42817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42818 $(NORMAL_TARGET_EXPORTS) \
42819 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
42820 for flag in $(EXTRA_TARGET_FLAGS); do \
42821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42822 done; \
42823 (cd $(TARGET_SUBDIR)/boehm-gc && \
42824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42826 "RANLIB=$${RANLIB}" \
42827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42828 install-pdf) \
42829 || exit 1
42831 @endif target-boehm-gc
42833 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
42834 maybe-install-html-target-boehm-gc:
42835 @if target-boehm-gc
42836 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
42838 install-html-target-boehm-gc: \
42839 configure-target-boehm-gc \
42840 html-target-boehm-gc
42841 @: $(MAKE); $(unstage)
42842 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42843 r=`${PWD_COMMAND}`; export r; \
42844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42845 $(NORMAL_TARGET_EXPORTS) \
42846 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
42847 for flag in $(EXTRA_TARGET_FLAGS); do \
42848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42849 done; \
42850 (cd $(TARGET_SUBDIR)/boehm-gc && \
42851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42853 "RANLIB=$${RANLIB}" \
42854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42855 install-html) \
42856 || exit 1
42858 @endif target-boehm-gc
42860 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
42861 maybe-installcheck-target-boehm-gc:
42862 @if target-boehm-gc
42863 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
42865 installcheck-target-boehm-gc: \
42866 configure-target-boehm-gc
42867 @: $(MAKE); $(unstage)
42868 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42869 r=`${PWD_COMMAND}`; export r; \
42870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42871 $(NORMAL_TARGET_EXPORTS) \
42872 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
42873 for flag in $(EXTRA_TARGET_FLAGS); do \
42874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42875 done; \
42876 (cd $(TARGET_SUBDIR)/boehm-gc && \
42877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42879 "RANLIB=$${RANLIB}" \
42880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42881 installcheck) \
42882 || exit 1
42884 @endif target-boehm-gc
42886 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
42887 maybe-mostlyclean-target-boehm-gc:
42888 @if target-boehm-gc
42889 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
42891 mostlyclean-target-boehm-gc:
42892 @: $(MAKE); $(unstage)
42893 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42894 r=`${PWD_COMMAND}`; export r; \
42895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42896 $(NORMAL_TARGET_EXPORTS) \
42897 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
42898 for flag in $(EXTRA_TARGET_FLAGS); do \
42899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42900 done; \
42901 (cd $(TARGET_SUBDIR)/boehm-gc && \
42902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42904 "RANLIB=$${RANLIB}" \
42905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42906 mostlyclean) \
42907 || exit 1
42909 @endif target-boehm-gc
42911 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
42912 maybe-clean-target-boehm-gc:
42913 @if target-boehm-gc
42914 maybe-clean-target-boehm-gc: clean-target-boehm-gc
42916 clean-target-boehm-gc:
42917 @: $(MAKE); $(unstage)
42918 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42919 r=`${PWD_COMMAND}`; export r; \
42920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42921 $(NORMAL_TARGET_EXPORTS) \
42922 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
42923 for flag in $(EXTRA_TARGET_FLAGS); do \
42924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42925 done; \
42926 (cd $(TARGET_SUBDIR)/boehm-gc && \
42927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42929 "RANLIB=$${RANLIB}" \
42930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42931 clean) \
42932 || exit 1
42934 @endif target-boehm-gc
42936 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
42937 maybe-distclean-target-boehm-gc:
42938 @if target-boehm-gc
42939 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
42941 distclean-target-boehm-gc:
42942 @: $(MAKE); $(unstage)
42943 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42944 r=`${PWD_COMMAND}`; export r; \
42945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42946 $(NORMAL_TARGET_EXPORTS) \
42947 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
42948 for flag in $(EXTRA_TARGET_FLAGS); do \
42949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42950 done; \
42951 (cd $(TARGET_SUBDIR)/boehm-gc && \
42952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42954 "RANLIB=$${RANLIB}" \
42955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42956 distclean) \
42957 || exit 1
42959 @endif target-boehm-gc
42961 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
42962 maybe-maintainer-clean-target-boehm-gc:
42963 @if target-boehm-gc
42964 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
42966 maintainer-clean-target-boehm-gc:
42967 @: $(MAKE); $(unstage)
42968 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42969 r=`${PWD_COMMAND}`; export r; \
42970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42971 $(NORMAL_TARGET_EXPORTS) \
42972 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
42973 for flag in $(EXTRA_TARGET_FLAGS); do \
42974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42975 done; \
42976 (cd $(TARGET_SUBDIR)/boehm-gc && \
42977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42979 "RANLIB=$${RANLIB}" \
42980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42981 maintainer-clean) \
42982 || exit 1
42984 @endif target-boehm-gc
42990 .PHONY: configure-target-rda maybe-configure-target-rda
42991 maybe-configure-target-rda:
42992 @if gcc-bootstrap
42993 configure-target-rda: stage_current
42994 @endif gcc-bootstrap
42995 @if target-rda
42996 maybe-configure-target-rda: configure-target-rda
42997 configure-target-rda:
42998 @: $(MAKE); $(unstage)
42999 @r=`${PWD_COMMAND}`; export r; \
43000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43001 echo "Checking multilib configuration for rda..."; \
43002 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
43003 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
43004 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
43005 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
43006 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
43007 else \
43008 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
43009 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
43010 fi; \
43011 else \
43012 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
43013 fi; \
43014 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
43015 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
43016 $(NORMAL_TARGET_EXPORTS) \
43017 echo Configuring in $(TARGET_SUBDIR)/rda; \
43018 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
43019 case $(srcdir) in \
43020 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43021 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
43022 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43023 esac; \
43024 module_srcdir=rda; \
43025 rm -f no-such-file || : ; \
43026 CONFIG_SITE=no-such-file $(SHELL) \
43027 $$s/$$module_srcdir/configure \
43028 --srcdir=$${topdir}/$$module_srcdir \
43029 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43030 --target=${target_alias} \
43031 || exit 1
43032 @endif target-rda
43038 .PHONY: all-target-rda maybe-all-target-rda
43039 maybe-all-target-rda:
43040 @if gcc-bootstrap
43041 all-target-rda: stage_current
43042 @endif gcc-bootstrap
43043 @if target-rda
43044 TARGET-target-rda=all
43045 maybe-all-target-rda: all-target-rda
43046 all-target-rda: configure-target-rda
43047 @: $(MAKE); $(unstage)
43048 @r=`${PWD_COMMAND}`; export r; \
43049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43050 $(NORMAL_TARGET_EXPORTS) \
43051 (cd $(TARGET_SUBDIR)/rda && \
43052 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43053 $(TARGET-target-rda))
43054 @endif target-rda
43060 .PHONY: check-target-rda maybe-check-target-rda
43061 maybe-check-target-rda:
43062 @if target-rda
43063 maybe-check-target-rda: check-target-rda
43065 check-target-rda:
43066 @: $(MAKE); $(unstage)
43067 @r=`${PWD_COMMAND}`; export r; \
43068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43069 $(NORMAL_TARGET_EXPORTS) \
43070 (cd $(TARGET_SUBDIR)/rda && \
43071 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43073 @endif target-rda
43075 .PHONY: install-target-rda maybe-install-target-rda
43076 maybe-install-target-rda:
43077 @if target-rda
43078 maybe-install-target-rda: install-target-rda
43080 install-target-rda: installdirs
43081 @: $(MAKE); $(unstage)
43082 @r=`${PWD_COMMAND}`; export r; \
43083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43084 $(NORMAL_TARGET_EXPORTS) \
43085 (cd $(TARGET_SUBDIR)/rda && \
43086 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43088 @endif target-rda
43090 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
43091 maybe-install-strip-target-rda:
43092 @if target-rda
43093 maybe-install-strip-target-rda: install-strip-target-rda
43095 install-strip-target-rda: installdirs
43096 @: $(MAKE); $(unstage)
43097 @r=`${PWD_COMMAND}`; export r; \
43098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43099 $(NORMAL_TARGET_EXPORTS) \
43100 (cd $(TARGET_SUBDIR)/rda && \
43101 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43103 @endif target-rda
43105 # Other targets (info, dvi, pdf, etc.)
43107 .PHONY: maybe-info-target-rda info-target-rda
43108 maybe-info-target-rda:
43109 @if target-rda
43110 maybe-info-target-rda: info-target-rda
43112 info-target-rda: \
43113 configure-target-rda
43114 @: $(MAKE); $(unstage)
43115 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43116 r=`${PWD_COMMAND}`; export r; \
43117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43118 $(NORMAL_TARGET_EXPORTS) \
43119 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
43120 for flag in $(EXTRA_TARGET_FLAGS); do \
43121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43122 done; \
43123 (cd $(TARGET_SUBDIR)/rda && \
43124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43126 "RANLIB=$${RANLIB}" \
43127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43128 info) \
43129 || exit 1
43131 @endif target-rda
43133 .PHONY: maybe-dvi-target-rda dvi-target-rda
43134 maybe-dvi-target-rda:
43135 @if target-rda
43136 maybe-dvi-target-rda: dvi-target-rda
43138 dvi-target-rda: \
43139 configure-target-rda
43140 @: $(MAKE); $(unstage)
43141 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43142 r=`${PWD_COMMAND}`; export r; \
43143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43144 $(NORMAL_TARGET_EXPORTS) \
43145 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
43146 for flag in $(EXTRA_TARGET_FLAGS); do \
43147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43148 done; \
43149 (cd $(TARGET_SUBDIR)/rda && \
43150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43152 "RANLIB=$${RANLIB}" \
43153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43154 dvi) \
43155 || exit 1
43157 @endif target-rda
43159 .PHONY: maybe-pdf-target-rda pdf-target-rda
43160 maybe-pdf-target-rda:
43161 @if target-rda
43162 maybe-pdf-target-rda: pdf-target-rda
43164 pdf-target-rda: \
43165 configure-target-rda
43166 @: $(MAKE); $(unstage)
43167 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43168 r=`${PWD_COMMAND}`; export r; \
43169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43170 $(NORMAL_TARGET_EXPORTS) \
43171 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
43172 for flag in $(EXTRA_TARGET_FLAGS); do \
43173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43174 done; \
43175 (cd $(TARGET_SUBDIR)/rda && \
43176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43178 "RANLIB=$${RANLIB}" \
43179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43180 pdf) \
43181 || exit 1
43183 @endif target-rda
43185 .PHONY: maybe-html-target-rda html-target-rda
43186 maybe-html-target-rda:
43187 @if target-rda
43188 maybe-html-target-rda: html-target-rda
43190 html-target-rda: \
43191 configure-target-rda
43192 @: $(MAKE); $(unstage)
43193 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43194 r=`${PWD_COMMAND}`; export r; \
43195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43196 $(NORMAL_TARGET_EXPORTS) \
43197 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
43198 for flag in $(EXTRA_TARGET_FLAGS); do \
43199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43200 done; \
43201 (cd $(TARGET_SUBDIR)/rda && \
43202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43204 "RANLIB=$${RANLIB}" \
43205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43206 html) \
43207 || exit 1
43209 @endif target-rda
43211 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
43212 maybe-TAGS-target-rda:
43213 @if target-rda
43214 maybe-TAGS-target-rda: TAGS-target-rda
43216 TAGS-target-rda: \
43217 configure-target-rda
43218 @: $(MAKE); $(unstage)
43219 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43220 r=`${PWD_COMMAND}`; export r; \
43221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43222 $(NORMAL_TARGET_EXPORTS) \
43223 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
43224 for flag in $(EXTRA_TARGET_FLAGS); do \
43225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43226 done; \
43227 (cd $(TARGET_SUBDIR)/rda && \
43228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43230 "RANLIB=$${RANLIB}" \
43231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43232 TAGS) \
43233 || exit 1
43235 @endif target-rda
43237 .PHONY: maybe-install-info-target-rda install-info-target-rda
43238 maybe-install-info-target-rda:
43239 @if target-rda
43240 maybe-install-info-target-rda: install-info-target-rda
43242 install-info-target-rda: \
43243 configure-target-rda \
43244 info-target-rda
43245 @: $(MAKE); $(unstage)
43246 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43247 r=`${PWD_COMMAND}`; export r; \
43248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43249 $(NORMAL_TARGET_EXPORTS) \
43250 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
43251 for flag in $(EXTRA_TARGET_FLAGS); do \
43252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43253 done; \
43254 (cd $(TARGET_SUBDIR)/rda && \
43255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43257 "RANLIB=$${RANLIB}" \
43258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43259 install-info) \
43260 || exit 1
43262 @endif target-rda
43264 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
43265 maybe-install-pdf-target-rda:
43266 @if target-rda
43267 maybe-install-pdf-target-rda: install-pdf-target-rda
43269 install-pdf-target-rda: \
43270 configure-target-rda \
43271 pdf-target-rda
43272 @: $(MAKE); $(unstage)
43273 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43274 r=`${PWD_COMMAND}`; export r; \
43275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43276 $(NORMAL_TARGET_EXPORTS) \
43277 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
43278 for flag in $(EXTRA_TARGET_FLAGS); do \
43279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43280 done; \
43281 (cd $(TARGET_SUBDIR)/rda && \
43282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43284 "RANLIB=$${RANLIB}" \
43285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43286 install-pdf) \
43287 || exit 1
43289 @endif target-rda
43291 .PHONY: maybe-install-html-target-rda install-html-target-rda
43292 maybe-install-html-target-rda:
43293 @if target-rda
43294 maybe-install-html-target-rda: install-html-target-rda
43296 install-html-target-rda: \
43297 configure-target-rda \
43298 html-target-rda
43299 @: $(MAKE); $(unstage)
43300 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43301 r=`${PWD_COMMAND}`; export r; \
43302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43303 $(NORMAL_TARGET_EXPORTS) \
43304 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
43305 for flag in $(EXTRA_TARGET_FLAGS); do \
43306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43307 done; \
43308 (cd $(TARGET_SUBDIR)/rda && \
43309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43311 "RANLIB=$${RANLIB}" \
43312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43313 install-html) \
43314 || exit 1
43316 @endif target-rda
43318 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
43319 maybe-installcheck-target-rda:
43320 @if target-rda
43321 maybe-installcheck-target-rda: installcheck-target-rda
43323 installcheck-target-rda: \
43324 configure-target-rda
43325 @: $(MAKE); $(unstage)
43326 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43327 r=`${PWD_COMMAND}`; export r; \
43328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43329 $(NORMAL_TARGET_EXPORTS) \
43330 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
43331 for flag in $(EXTRA_TARGET_FLAGS); do \
43332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43333 done; \
43334 (cd $(TARGET_SUBDIR)/rda && \
43335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43337 "RANLIB=$${RANLIB}" \
43338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43339 installcheck) \
43340 || exit 1
43342 @endif target-rda
43344 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
43345 maybe-mostlyclean-target-rda:
43346 @if target-rda
43347 maybe-mostlyclean-target-rda: mostlyclean-target-rda
43349 mostlyclean-target-rda:
43350 @: $(MAKE); $(unstage)
43351 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43352 r=`${PWD_COMMAND}`; export r; \
43353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43354 $(NORMAL_TARGET_EXPORTS) \
43355 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
43356 for flag in $(EXTRA_TARGET_FLAGS); do \
43357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43358 done; \
43359 (cd $(TARGET_SUBDIR)/rda && \
43360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43362 "RANLIB=$${RANLIB}" \
43363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43364 mostlyclean) \
43365 || exit 1
43367 @endif target-rda
43369 .PHONY: maybe-clean-target-rda clean-target-rda
43370 maybe-clean-target-rda:
43371 @if target-rda
43372 maybe-clean-target-rda: clean-target-rda
43374 clean-target-rda:
43375 @: $(MAKE); $(unstage)
43376 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43377 r=`${PWD_COMMAND}`; export r; \
43378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43379 $(NORMAL_TARGET_EXPORTS) \
43380 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
43381 for flag in $(EXTRA_TARGET_FLAGS); do \
43382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43383 done; \
43384 (cd $(TARGET_SUBDIR)/rda && \
43385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43387 "RANLIB=$${RANLIB}" \
43388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43389 clean) \
43390 || exit 1
43392 @endif target-rda
43394 .PHONY: maybe-distclean-target-rda distclean-target-rda
43395 maybe-distclean-target-rda:
43396 @if target-rda
43397 maybe-distclean-target-rda: distclean-target-rda
43399 distclean-target-rda:
43400 @: $(MAKE); $(unstage)
43401 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43402 r=`${PWD_COMMAND}`; export r; \
43403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43404 $(NORMAL_TARGET_EXPORTS) \
43405 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
43406 for flag in $(EXTRA_TARGET_FLAGS); do \
43407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43408 done; \
43409 (cd $(TARGET_SUBDIR)/rda && \
43410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43412 "RANLIB=$${RANLIB}" \
43413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43414 distclean) \
43415 || exit 1
43417 @endif target-rda
43419 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
43420 maybe-maintainer-clean-target-rda:
43421 @if target-rda
43422 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
43424 maintainer-clean-target-rda:
43425 @: $(MAKE); $(unstage)
43426 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43427 r=`${PWD_COMMAND}`; export r; \
43428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43429 $(NORMAL_TARGET_EXPORTS) \
43430 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
43431 for flag in $(EXTRA_TARGET_FLAGS); do \
43432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43433 done; \
43434 (cd $(TARGET_SUBDIR)/rda && \
43435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43437 "RANLIB=$${RANLIB}" \
43438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43439 maintainer-clean) \
43440 || exit 1
43442 @endif target-rda
43448 .PHONY: configure-target-libada maybe-configure-target-libada
43449 maybe-configure-target-libada:
43450 @if gcc-bootstrap
43451 configure-target-libada: stage_current
43452 @endif gcc-bootstrap
43453 @if target-libada
43454 maybe-configure-target-libada: configure-target-libada
43455 configure-target-libada:
43456 @: $(MAKE); $(unstage)
43457 @r=`${PWD_COMMAND}`; export r; \
43458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43459 echo "Checking multilib configuration for libada..."; \
43460 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
43461 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
43462 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
43463 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
43464 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
43465 else \
43466 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
43467 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
43468 fi; \
43469 else \
43470 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
43471 fi; \
43472 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
43473 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
43474 $(NORMAL_TARGET_EXPORTS) \
43475 echo Configuring in $(TARGET_SUBDIR)/libada; \
43476 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
43477 case $(srcdir) in \
43478 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43479 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
43480 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43481 esac; \
43482 module_srcdir=libada; \
43483 rm -f no-such-file || : ; \
43484 CONFIG_SITE=no-such-file $(SHELL) \
43485 $$s/$$module_srcdir/configure \
43486 --srcdir=$${topdir}/$$module_srcdir \
43487 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43488 --target=${target_alias} \
43489 || exit 1
43490 @endif target-libada
43496 .PHONY: all-target-libada maybe-all-target-libada
43497 maybe-all-target-libada:
43498 @if gcc-bootstrap
43499 all-target-libada: stage_current
43500 @endif gcc-bootstrap
43501 @if target-libada
43502 TARGET-target-libada=all
43503 maybe-all-target-libada: all-target-libada
43504 all-target-libada: configure-target-libada
43505 @: $(MAKE); $(unstage)
43506 @r=`${PWD_COMMAND}`; export r; \
43507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43508 $(NORMAL_TARGET_EXPORTS) \
43509 (cd $(TARGET_SUBDIR)/libada && \
43510 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43511 $(TARGET-target-libada))
43512 @endif target-libada
43518 .PHONY: check-target-libada maybe-check-target-libada
43519 maybe-check-target-libada:
43520 @if target-libada
43521 maybe-check-target-libada: check-target-libada
43523 check-target-libada:
43524 @: $(MAKE); $(unstage)
43525 @r=`${PWD_COMMAND}`; export r; \
43526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43527 $(NORMAL_TARGET_EXPORTS) \
43528 (cd $(TARGET_SUBDIR)/libada && \
43529 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43531 @endif target-libada
43533 .PHONY: install-target-libada maybe-install-target-libada
43534 maybe-install-target-libada:
43535 @if target-libada
43536 maybe-install-target-libada: install-target-libada
43538 install-target-libada: installdirs
43539 @: $(MAKE); $(unstage)
43540 @r=`${PWD_COMMAND}`; export r; \
43541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43542 $(NORMAL_TARGET_EXPORTS) \
43543 (cd $(TARGET_SUBDIR)/libada && \
43544 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43546 @endif target-libada
43548 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
43549 maybe-install-strip-target-libada:
43550 @if target-libada
43551 maybe-install-strip-target-libada: install-strip-target-libada
43553 install-strip-target-libada: installdirs
43554 @: $(MAKE); $(unstage)
43555 @r=`${PWD_COMMAND}`; export r; \
43556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43557 $(NORMAL_TARGET_EXPORTS) \
43558 (cd $(TARGET_SUBDIR)/libada && \
43559 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43561 @endif target-libada
43563 # Other targets (info, dvi, pdf, etc.)
43565 .PHONY: maybe-info-target-libada info-target-libada
43566 maybe-info-target-libada:
43567 @if target-libada
43568 maybe-info-target-libada: info-target-libada
43570 info-target-libada: \
43571 configure-target-libada
43572 @: $(MAKE); $(unstage)
43573 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43574 r=`${PWD_COMMAND}`; export r; \
43575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43576 $(NORMAL_TARGET_EXPORTS) \
43577 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
43578 for flag in $(EXTRA_TARGET_FLAGS); do \
43579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43580 done; \
43581 (cd $(TARGET_SUBDIR)/libada && \
43582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43584 "RANLIB=$${RANLIB}" \
43585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43586 info) \
43587 || exit 1
43589 @endif target-libada
43591 .PHONY: maybe-dvi-target-libada dvi-target-libada
43592 maybe-dvi-target-libada:
43593 @if target-libada
43594 maybe-dvi-target-libada: dvi-target-libada
43596 dvi-target-libada: \
43597 configure-target-libada
43598 @: $(MAKE); $(unstage)
43599 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43600 r=`${PWD_COMMAND}`; export r; \
43601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43602 $(NORMAL_TARGET_EXPORTS) \
43603 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
43604 for flag in $(EXTRA_TARGET_FLAGS); do \
43605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43606 done; \
43607 (cd $(TARGET_SUBDIR)/libada && \
43608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43610 "RANLIB=$${RANLIB}" \
43611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43612 dvi) \
43613 || exit 1
43615 @endif target-libada
43617 .PHONY: maybe-pdf-target-libada pdf-target-libada
43618 maybe-pdf-target-libada:
43619 @if target-libada
43620 maybe-pdf-target-libada: pdf-target-libada
43622 pdf-target-libada: \
43623 configure-target-libada
43624 @: $(MAKE); $(unstage)
43625 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43626 r=`${PWD_COMMAND}`; export r; \
43627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43628 $(NORMAL_TARGET_EXPORTS) \
43629 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
43630 for flag in $(EXTRA_TARGET_FLAGS); do \
43631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43632 done; \
43633 (cd $(TARGET_SUBDIR)/libada && \
43634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43636 "RANLIB=$${RANLIB}" \
43637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43638 pdf) \
43639 || exit 1
43641 @endif target-libada
43643 .PHONY: maybe-html-target-libada html-target-libada
43644 maybe-html-target-libada:
43645 @if target-libada
43646 maybe-html-target-libada: html-target-libada
43648 html-target-libada: \
43649 configure-target-libada
43650 @: $(MAKE); $(unstage)
43651 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43652 r=`${PWD_COMMAND}`; export r; \
43653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43654 $(NORMAL_TARGET_EXPORTS) \
43655 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
43656 for flag in $(EXTRA_TARGET_FLAGS); do \
43657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43658 done; \
43659 (cd $(TARGET_SUBDIR)/libada && \
43660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43662 "RANLIB=$${RANLIB}" \
43663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43664 html) \
43665 || exit 1
43667 @endif target-libada
43669 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
43670 maybe-TAGS-target-libada:
43671 @if target-libada
43672 maybe-TAGS-target-libada: TAGS-target-libada
43674 TAGS-target-libada: \
43675 configure-target-libada
43676 @: $(MAKE); $(unstage)
43677 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43678 r=`${PWD_COMMAND}`; export r; \
43679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43680 $(NORMAL_TARGET_EXPORTS) \
43681 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
43682 for flag in $(EXTRA_TARGET_FLAGS); do \
43683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43684 done; \
43685 (cd $(TARGET_SUBDIR)/libada && \
43686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43688 "RANLIB=$${RANLIB}" \
43689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43690 TAGS) \
43691 || exit 1
43693 @endif target-libada
43695 .PHONY: maybe-install-info-target-libada install-info-target-libada
43696 maybe-install-info-target-libada:
43697 @if target-libada
43698 maybe-install-info-target-libada: install-info-target-libada
43700 install-info-target-libada: \
43701 configure-target-libada \
43702 info-target-libada
43703 @: $(MAKE); $(unstage)
43704 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43705 r=`${PWD_COMMAND}`; export r; \
43706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43707 $(NORMAL_TARGET_EXPORTS) \
43708 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
43709 for flag in $(EXTRA_TARGET_FLAGS); do \
43710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43711 done; \
43712 (cd $(TARGET_SUBDIR)/libada && \
43713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43715 "RANLIB=$${RANLIB}" \
43716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43717 install-info) \
43718 || exit 1
43720 @endif target-libada
43722 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
43723 maybe-install-pdf-target-libada:
43724 @if target-libada
43725 maybe-install-pdf-target-libada: install-pdf-target-libada
43727 install-pdf-target-libada: \
43728 configure-target-libada \
43729 pdf-target-libada
43730 @: $(MAKE); $(unstage)
43731 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43732 r=`${PWD_COMMAND}`; export r; \
43733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43734 $(NORMAL_TARGET_EXPORTS) \
43735 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
43736 for flag in $(EXTRA_TARGET_FLAGS); do \
43737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43738 done; \
43739 (cd $(TARGET_SUBDIR)/libada && \
43740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43742 "RANLIB=$${RANLIB}" \
43743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43744 install-pdf) \
43745 || exit 1
43747 @endif target-libada
43749 .PHONY: maybe-install-html-target-libada install-html-target-libada
43750 maybe-install-html-target-libada:
43751 @if target-libada
43752 maybe-install-html-target-libada: install-html-target-libada
43754 install-html-target-libada: \
43755 configure-target-libada \
43756 html-target-libada
43757 @: $(MAKE); $(unstage)
43758 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43759 r=`${PWD_COMMAND}`; export r; \
43760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43761 $(NORMAL_TARGET_EXPORTS) \
43762 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
43763 for flag in $(EXTRA_TARGET_FLAGS); do \
43764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43765 done; \
43766 (cd $(TARGET_SUBDIR)/libada && \
43767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43769 "RANLIB=$${RANLIB}" \
43770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43771 install-html) \
43772 || exit 1
43774 @endif target-libada
43776 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
43777 maybe-installcheck-target-libada:
43778 @if target-libada
43779 maybe-installcheck-target-libada: installcheck-target-libada
43781 installcheck-target-libada: \
43782 configure-target-libada
43783 @: $(MAKE); $(unstage)
43784 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43785 r=`${PWD_COMMAND}`; export r; \
43786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43787 $(NORMAL_TARGET_EXPORTS) \
43788 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
43789 for flag in $(EXTRA_TARGET_FLAGS); do \
43790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43791 done; \
43792 (cd $(TARGET_SUBDIR)/libada && \
43793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43795 "RANLIB=$${RANLIB}" \
43796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43797 installcheck) \
43798 || exit 1
43800 @endif target-libada
43802 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
43803 maybe-mostlyclean-target-libada:
43804 @if target-libada
43805 maybe-mostlyclean-target-libada: mostlyclean-target-libada
43807 mostlyclean-target-libada:
43808 @: $(MAKE); $(unstage)
43809 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43810 r=`${PWD_COMMAND}`; export r; \
43811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43812 $(NORMAL_TARGET_EXPORTS) \
43813 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
43814 for flag in $(EXTRA_TARGET_FLAGS); do \
43815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43816 done; \
43817 (cd $(TARGET_SUBDIR)/libada && \
43818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43820 "RANLIB=$${RANLIB}" \
43821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43822 mostlyclean) \
43823 || exit 1
43825 @endif target-libada
43827 .PHONY: maybe-clean-target-libada clean-target-libada
43828 maybe-clean-target-libada:
43829 @if target-libada
43830 maybe-clean-target-libada: clean-target-libada
43832 clean-target-libada:
43833 @: $(MAKE); $(unstage)
43834 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43835 r=`${PWD_COMMAND}`; export r; \
43836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43837 $(NORMAL_TARGET_EXPORTS) \
43838 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
43839 for flag in $(EXTRA_TARGET_FLAGS); do \
43840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43841 done; \
43842 (cd $(TARGET_SUBDIR)/libada && \
43843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43845 "RANLIB=$${RANLIB}" \
43846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43847 clean) \
43848 || exit 1
43850 @endif target-libada
43852 .PHONY: maybe-distclean-target-libada distclean-target-libada
43853 maybe-distclean-target-libada:
43854 @if target-libada
43855 maybe-distclean-target-libada: distclean-target-libada
43857 distclean-target-libada:
43858 @: $(MAKE); $(unstage)
43859 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43860 r=`${PWD_COMMAND}`; export r; \
43861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43862 $(NORMAL_TARGET_EXPORTS) \
43863 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
43864 for flag in $(EXTRA_TARGET_FLAGS); do \
43865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43866 done; \
43867 (cd $(TARGET_SUBDIR)/libada && \
43868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43870 "RANLIB=$${RANLIB}" \
43871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43872 distclean) \
43873 || exit 1
43875 @endif target-libada
43877 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
43878 maybe-maintainer-clean-target-libada:
43879 @if target-libada
43880 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
43882 maintainer-clean-target-libada:
43883 @: $(MAKE); $(unstage)
43884 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43885 r=`${PWD_COMMAND}`; export r; \
43886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43887 $(NORMAL_TARGET_EXPORTS) \
43888 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
43889 for flag in $(EXTRA_TARGET_FLAGS); do \
43890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43891 done; \
43892 (cd $(TARGET_SUBDIR)/libada && \
43893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43895 "RANLIB=$${RANLIB}" \
43896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43897 maintainer-clean) \
43898 || exit 1
43900 @endif target-libada
43906 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
43907 maybe-configure-target-libgomp:
43908 @if gcc-bootstrap
43909 configure-target-libgomp: stage_current
43910 @endif gcc-bootstrap
43911 @if target-libgomp
43912 maybe-configure-target-libgomp: configure-target-libgomp
43913 configure-target-libgomp:
43914 @r=`${PWD_COMMAND}`; export r; \
43915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43916 echo "Checking multilib configuration for libgomp..."; \
43917 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43918 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43919 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43920 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43921 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43922 else \
43923 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43924 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43925 fi; \
43926 else \
43927 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43928 fi; \
43929 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43930 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43931 $(NORMAL_TARGET_EXPORTS) \
43932 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
43933 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
43934 case $(srcdir) in \
43935 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43936 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
43937 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43938 esac; \
43939 module_srcdir=libgomp; \
43940 rm -f no-such-file || : ; \
43941 CONFIG_SITE=no-such-file $(SHELL) \
43942 $$s/$$module_srcdir/configure \
43943 --srcdir=$${topdir}/$$module_srcdir \
43944 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43945 --target=${target_alias} \
43946 || exit 1
43947 @endif target-libgomp
43951 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
43952 maybe-configure-stage1-target-libgomp:
43953 @if target-libgomp-bootstrap
43954 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
43955 configure-stage1-target-libgomp:
43956 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
43957 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
43958 @r=`${PWD_COMMAND}`; export r; \
43959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43960 TFLAGS="$(STAGE1_TFLAGS)"; \
43961 echo "Checking multilib configuration for libgomp..."; \
43962 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43963 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43964 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43965 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43966 else \
43967 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43968 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43969 fi; \
43970 else \
43971 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43972 fi; \
43973 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43974 $(NORMAL_TARGET_EXPORTS) \
43975 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43976 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43977 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43978 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \
43979 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43980 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
43981 case $(srcdir) in \
43982 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43983 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
43984 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43985 esac; \
43986 module_srcdir=libgomp; \
43987 $(SHELL) $$s/$$module_srcdir/configure \
43988 --srcdir=$${topdir}/$$module_srcdir \
43989 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43990 --target=${target_alias} \
43992 $(STAGE1_CONFIGURE_FLAGS)
43993 @endif target-libgomp-bootstrap
43995 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
43996 maybe-configure-stage2-target-libgomp:
43997 @if target-libgomp-bootstrap
43998 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
43999 configure-stage2-target-libgomp:
44000 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
44001 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
44002 @r=`${PWD_COMMAND}`; export r; \
44003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44004 TFLAGS="$(STAGE2_TFLAGS)"; \
44005 echo "Checking multilib configuration for libgomp..."; \
44006 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
44007 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44008 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44009 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
44010 else \
44011 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
44012 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44013 fi; \
44014 else \
44015 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44016 fi; \
44017 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
44018 $(NORMAL_TARGET_EXPORTS) \
44020 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44021 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44022 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44023 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \
44024 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
44025 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
44026 case $(srcdir) in \
44027 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44028 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
44029 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44030 esac; \
44031 module_srcdir=libgomp; \
44032 $(SHELL) $$s/$$module_srcdir/configure \
44033 --srcdir=$${topdir}/$$module_srcdir \
44034 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44035 --target=${target_alias} \
44036 --with-build-libsubdir=$(HOST_SUBDIR) \
44037 $(STAGE2_CONFIGURE_FLAGS)
44038 @endif target-libgomp-bootstrap
44040 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
44041 maybe-configure-stage3-target-libgomp:
44042 @if target-libgomp-bootstrap
44043 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
44044 configure-stage3-target-libgomp:
44045 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
44046 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
44047 @r=`${PWD_COMMAND}`; export r; \
44048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44049 TFLAGS="$(STAGE3_TFLAGS)"; \
44050 echo "Checking multilib configuration for libgomp..."; \
44051 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
44052 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44053 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44054 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
44055 else \
44056 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
44057 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44058 fi; \
44059 else \
44060 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44061 fi; \
44062 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
44063 $(NORMAL_TARGET_EXPORTS) \
44065 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44066 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44067 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44068 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \
44069 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
44070 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
44071 case $(srcdir) in \
44072 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44073 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
44074 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44075 esac; \
44076 module_srcdir=libgomp; \
44077 $(SHELL) $$s/$$module_srcdir/configure \
44078 --srcdir=$${topdir}/$$module_srcdir \
44079 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44080 --target=${target_alias} \
44081 --with-build-libsubdir=$(HOST_SUBDIR) \
44082 $(STAGE3_CONFIGURE_FLAGS)
44083 @endif target-libgomp-bootstrap
44085 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
44086 maybe-configure-stage4-target-libgomp:
44087 @if target-libgomp-bootstrap
44088 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
44089 configure-stage4-target-libgomp:
44090 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
44091 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
44092 @r=`${PWD_COMMAND}`; export r; \
44093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44094 TFLAGS="$(STAGE4_TFLAGS)"; \
44095 echo "Checking multilib configuration for libgomp..."; \
44096 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
44097 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44098 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44099 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
44100 else \
44101 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
44102 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44103 fi; \
44104 else \
44105 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44106 fi; \
44107 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
44108 $(NORMAL_TARGET_EXPORTS) \
44110 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44111 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44112 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44113 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \
44114 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
44115 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
44116 case $(srcdir) in \
44117 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44118 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
44119 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44120 esac; \
44121 module_srcdir=libgomp; \
44122 $(SHELL) $$s/$$module_srcdir/configure \
44123 --srcdir=$${topdir}/$$module_srcdir \
44124 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44125 --target=${target_alias} \
44126 --with-build-libsubdir=$(HOST_SUBDIR) \
44127 $(STAGE4_CONFIGURE_FLAGS)
44128 @endif target-libgomp-bootstrap
44130 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
44131 maybe-configure-stageprofile-target-libgomp:
44132 @if target-libgomp-bootstrap
44133 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
44134 configure-stageprofile-target-libgomp:
44135 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
44136 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
44137 @r=`${PWD_COMMAND}`; export r; \
44138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44139 TFLAGS="$(STAGEprofile_TFLAGS)"; \
44140 echo "Checking multilib configuration for libgomp..."; \
44141 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
44142 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44143 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44144 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
44145 else \
44146 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
44147 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44148 fi; \
44149 else \
44150 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44151 fi; \
44152 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
44153 $(NORMAL_TARGET_EXPORTS) \
44155 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44156 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44157 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44158 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \
44159 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
44160 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
44161 case $(srcdir) in \
44162 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44163 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
44164 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44165 esac; \
44166 module_srcdir=libgomp; \
44167 $(SHELL) $$s/$$module_srcdir/configure \
44168 --srcdir=$${topdir}/$$module_srcdir \
44169 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44170 --target=${target_alias} \
44171 --with-build-libsubdir=$(HOST_SUBDIR) \
44172 $(STAGEprofile_CONFIGURE_FLAGS)
44173 @endif target-libgomp-bootstrap
44175 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
44176 maybe-configure-stagefeedback-target-libgomp:
44177 @if target-libgomp-bootstrap
44178 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
44179 configure-stagefeedback-target-libgomp:
44180 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
44181 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
44182 @r=`${PWD_COMMAND}`; export r; \
44183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44184 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
44185 echo "Checking multilib configuration for libgomp..."; \
44186 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
44187 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44188 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44189 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
44190 else \
44191 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
44192 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44193 fi; \
44194 else \
44195 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44196 fi; \
44197 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
44198 $(NORMAL_TARGET_EXPORTS) \
44200 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44201 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44202 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44203 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \
44204 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
44205 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
44206 case $(srcdir) in \
44207 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44208 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
44209 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44210 esac; \
44211 module_srcdir=libgomp; \
44212 $(SHELL) $$s/$$module_srcdir/configure \
44213 --srcdir=$${topdir}/$$module_srcdir \
44214 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44215 --target=${target_alias} \
44216 --with-build-libsubdir=$(HOST_SUBDIR) \
44217 $(STAGEfeedback_CONFIGURE_FLAGS)
44218 @endif target-libgomp-bootstrap
44224 .PHONY: all-target-libgomp maybe-all-target-libgomp
44225 maybe-all-target-libgomp:
44226 @if gcc-bootstrap
44227 all-target-libgomp: stage_current
44228 @endif gcc-bootstrap
44229 @if target-libgomp
44230 TARGET-target-libgomp=all
44231 maybe-all-target-libgomp: all-target-libgomp
44232 all-target-libgomp: configure-target-libgomp
44233 @r=`${PWD_COMMAND}`; export r; \
44234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44235 $(NORMAL_TARGET_EXPORTS) \
44236 (cd $(TARGET_SUBDIR)/libgomp && \
44237 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44238 $(TARGET-target-libgomp))
44239 @endif target-libgomp
44243 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
44244 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
44245 maybe-all-stage1-target-libgomp:
44246 maybe-clean-stage1-target-libgomp:
44247 @if target-libgomp-bootstrap
44248 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
44249 all-stage1: all-stage1-target-libgomp
44250 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
44251 all-stage1-target-libgomp: configure-stage1-target-libgomp
44252 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
44253 @r=`${PWD_COMMAND}`; export r; \
44254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44255 TFLAGS="$(STAGE1_TFLAGS)"; \
44256 $(NORMAL_TARGET_EXPORTS) \
44257 cd $(TARGET_SUBDIR)/libgomp && \
44258 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44259 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44260 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44261 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44262 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44263 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44264 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44265 $(EXTRA_TARGET_FLAGS) \
44267 TFLAGS="$(STAGE1_TFLAGS)" \
44268 $(TARGET-stage1-target-libgomp)
44270 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
44271 clean-stage1: clean-stage1-target-libgomp
44272 clean-stage1-target-libgomp:
44273 @if [ $(current_stage) = stage1 ]; then \
44274 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44275 else \
44276 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
44277 $(MAKE) stage1-start; \
44278 fi; \
44279 cd $(TARGET_SUBDIR)/libgomp && \
44280 $(MAKE) $(EXTRA_TARGET_FLAGS) \
44281 clean
44282 @endif target-libgomp-bootstrap
44285 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
44286 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
44287 maybe-all-stage2-target-libgomp:
44288 maybe-clean-stage2-target-libgomp:
44289 @if target-libgomp-bootstrap
44290 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
44291 all-stage2: all-stage2-target-libgomp
44292 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
44293 all-stage2-target-libgomp: configure-stage2-target-libgomp
44294 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
44295 @r=`${PWD_COMMAND}`; export r; \
44296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44297 TFLAGS="$(STAGE2_TFLAGS)"; \
44298 $(NORMAL_TARGET_EXPORTS) \
44300 cd $(TARGET_SUBDIR)/libgomp && \
44301 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44302 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44303 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44304 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44305 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44306 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44307 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44308 $(EXTRA_TARGET_FLAGS) \
44309 TFLAGS="$(STAGE2_TFLAGS)" \
44310 $(TARGET-stage2-target-libgomp)
44312 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
44313 clean-stage2: clean-stage2-target-libgomp
44314 clean-stage2-target-libgomp:
44315 @if [ $(current_stage) = stage2 ]; then \
44316 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44317 else \
44318 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
44319 $(MAKE) stage2-start; \
44320 fi; \
44321 cd $(TARGET_SUBDIR)/libgomp && \
44322 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44323 @endif target-libgomp-bootstrap
44326 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
44327 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
44328 maybe-all-stage3-target-libgomp:
44329 maybe-clean-stage3-target-libgomp:
44330 @if target-libgomp-bootstrap
44331 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
44332 all-stage3: all-stage3-target-libgomp
44333 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
44334 all-stage3-target-libgomp: configure-stage3-target-libgomp
44335 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
44336 @r=`${PWD_COMMAND}`; export r; \
44337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44338 TFLAGS="$(STAGE3_TFLAGS)"; \
44339 $(NORMAL_TARGET_EXPORTS) \
44341 cd $(TARGET_SUBDIR)/libgomp && \
44342 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44343 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44344 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44345 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44346 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44347 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44348 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44349 $(EXTRA_TARGET_FLAGS) \
44350 TFLAGS="$(STAGE3_TFLAGS)" \
44351 $(TARGET-stage3-target-libgomp)
44353 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
44354 clean-stage3: clean-stage3-target-libgomp
44355 clean-stage3-target-libgomp:
44356 @if [ $(current_stage) = stage3 ]; then \
44357 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44358 else \
44359 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
44360 $(MAKE) stage3-start; \
44361 fi; \
44362 cd $(TARGET_SUBDIR)/libgomp && \
44363 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44364 @endif target-libgomp-bootstrap
44367 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
44368 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
44369 maybe-all-stage4-target-libgomp:
44370 maybe-clean-stage4-target-libgomp:
44371 @if target-libgomp-bootstrap
44372 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
44373 all-stage4: all-stage4-target-libgomp
44374 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
44375 all-stage4-target-libgomp: configure-stage4-target-libgomp
44376 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
44377 @r=`${PWD_COMMAND}`; export r; \
44378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44379 TFLAGS="$(STAGE4_TFLAGS)"; \
44380 $(NORMAL_TARGET_EXPORTS) \
44382 cd $(TARGET_SUBDIR)/libgomp && \
44383 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44384 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44385 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44386 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44387 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44388 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44389 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44390 $(EXTRA_TARGET_FLAGS) \
44391 TFLAGS="$(STAGE4_TFLAGS)" \
44392 $(TARGET-stage4-target-libgomp)
44394 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
44395 clean-stage4: clean-stage4-target-libgomp
44396 clean-stage4-target-libgomp:
44397 @if [ $(current_stage) = stage4 ]; then \
44398 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44399 else \
44400 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
44401 $(MAKE) stage4-start; \
44402 fi; \
44403 cd $(TARGET_SUBDIR)/libgomp && \
44404 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44405 @endif target-libgomp-bootstrap
44408 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
44409 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
44410 maybe-all-stageprofile-target-libgomp:
44411 maybe-clean-stageprofile-target-libgomp:
44412 @if target-libgomp-bootstrap
44413 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
44414 all-stageprofile: all-stageprofile-target-libgomp
44415 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
44416 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
44417 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
44418 @r=`${PWD_COMMAND}`; export r; \
44419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44420 TFLAGS="$(STAGEprofile_TFLAGS)"; \
44421 $(NORMAL_TARGET_EXPORTS) \
44423 cd $(TARGET_SUBDIR)/libgomp && \
44424 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44425 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44426 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44427 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44428 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44429 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44430 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44431 $(EXTRA_TARGET_FLAGS) \
44432 TFLAGS="$(STAGEprofile_TFLAGS)" \
44433 $(TARGET-stageprofile-target-libgomp)
44435 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
44436 clean-stageprofile: clean-stageprofile-target-libgomp
44437 clean-stageprofile-target-libgomp:
44438 @if [ $(current_stage) = stageprofile ]; then \
44439 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44440 else \
44441 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
44442 $(MAKE) stageprofile-start; \
44443 fi; \
44444 cd $(TARGET_SUBDIR)/libgomp && \
44445 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44446 @endif target-libgomp-bootstrap
44449 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
44450 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
44451 maybe-all-stagefeedback-target-libgomp:
44452 maybe-clean-stagefeedback-target-libgomp:
44453 @if target-libgomp-bootstrap
44454 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
44455 all-stagefeedback: all-stagefeedback-target-libgomp
44456 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
44457 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
44458 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
44459 @r=`${PWD_COMMAND}`; export r; \
44460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44461 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
44462 $(NORMAL_TARGET_EXPORTS) \
44464 cd $(TARGET_SUBDIR)/libgomp && \
44465 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44466 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44467 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44468 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44469 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44470 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44471 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44472 $(EXTRA_TARGET_FLAGS) \
44473 TFLAGS="$(STAGEfeedback_TFLAGS)" \
44474 $(TARGET-stagefeedback-target-libgomp)
44476 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
44477 clean-stagefeedback: clean-stagefeedback-target-libgomp
44478 clean-stagefeedback-target-libgomp:
44479 @if [ $(current_stage) = stagefeedback ]; then \
44480 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44481 else \
44482 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
44483 $(MAKE) stagefeedback-start; \
44484 fi; \
44485 cd $(TARGET_SUBDIR)/libgomp && \
44486 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44487 @endif target-libgomp-bootstrap
44494 .PHONY: check-target-libgomp maybe-check-target-libgomp
44495 maybe-check-target-libgomp:
44496 @if target-libgomp
44497 maybe-check-target-libgomp: check-target-libgomp
44499 check-target-libgomp:
44500 @: $(MAKE); $(unstage)
44501 @r=`${PWD_COMMAND}`; export r; \
44502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44503 $(NORMAL_TARGET_EXPORTS) \
44504 (cd $(TARGET_SUBDIR)/libgomp && \
44505 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44507 @endif target-libgomp
44509 .PHONY: install-target-libgomp maybe-install-target-libgomp
44510 maybe-install-target-libgomp:
44511 @if target-libgomp
44512 maybe-install-target-libgomp: install-target-libgomp
44514 install-target-libgomp: installdirs
44515 @: $(MAKE); $(unstage)
44516 @r=`${PWD_COMMAND}`; export r; \
44517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44518 $(NORMAL_TARGET_EXPORTS) \
44519 (cd $(TARGET_SUBDIR)/libgomp && \
44520 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44522 @endif target-libgomp
44524 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
44525 maybe-install-strip-target-libgomp:
44526 @if target-libgomp
44527 maybe-install-strip-target-libgomp: install-strip-target-libgomp
44529 install-strip-target-libgomp: installdirs
44530 @: $(MAKE); $(unstage)
44531 @r=`${PWD_COMMAND}`; export r; \
44532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44533 $(NORMAL_TARGET_EXPORTS) \
44534 (cd $(TARGET_SUBDIR)/libgomp && \
44535 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44537 @endif target-libgomp
44539 # Other targets (info, dvi, pdf, etc.)
44541 .PHONY: maybe-info-target-libgomp info-target-libgomp
44542 maybe-info-target-libgomp:
44543 @if target-libgomp
44544 maybe-info-target-libgomp: info-target-libgomp
44546 info-target-libgomp: \
44547 configure-target-libgomp
44548 @: $(MAKE); $(unstage)
44549 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44550 r=`${PWD_COMMAND}`; export r; \
44551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44552 $(NORMAL_TARGET_EXPORTS) \
44553 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
44554 for flag in $(EXTRA_TARGET_FLAGS); do \
44555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44556 done; \
44557 (cd $(TARGET_SUBDIR)/libgomp && \
44558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44560 "RANLIB=$${RANLIB}" \
44561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44562 info) \
44563 || exit 1
44565 @endif target-libgomp
44567 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
44568 maybe-dvi-target-libgomp:
44569 @if target-libgomp
44570 maybe-dvi-target-libgomp: dvi-target-libgomp
44572 dvi-target-libgomp: \
44573 configure-target-libgomp
44574 @: $(MAKE); $(unstage)
44575 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44576 r=`${PWD_COMMAND}`; export r; \
44577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44578 $(NORMAL_TARGET_EXPORTS) \
44579 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
44580 for flag in $(EXTRA_TARGET_FLAGS); do \
44581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44582 done; \
44583 (cd $(TARGET_SUBDIR)/libgomp && \
44584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44586 "RANLIB=$${RANLIB}" \
44587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44588 dvi) \
44589 || exit 1
44591 @endif target-libgomp
44593 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
44594 maybe-pdf-target-libgomp:
44595 @if target-libgomp
44596 maybe-pdf-target-libgomp: pdf-target-libgomp
44598 pdf-target-libgomp: \
44599 configure-target-libgomp
44600 @: $(MAKE); $(unstage)
44601 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44602 r=`${PWD_COMMAND}`; export r; \
44603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44604 $(NORMAL_TARGET_EXPORTS) \
44605 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
44606 for flag in $(EXTRA_TARGET_FLAGS); do \
44607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44608 done; \
44609 (cd $(TARGET_SUBDIR)/libgomp && \
44610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44612 "RANLIB=$${RANLIB}" \
44613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44614 pdf) \
44615 || exit 1
44617 @endif target-libgomp
44619 .PHONY: maybe-html-target-libgomp html-target-libgomp
44620 maybe-html-target-libgomp:
44621 @if target-libgomp
44622 maybe-html-target-libgomp: html-target-libgomp
44624 html-target-libgomp: \
44625 configure-target-libgomp
44626 @: $(MAKE); $(unstage)
44627 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44628 r=`${PWD_COMMAND}`; export r; \
44629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44630 $(NORMAL_TARGET_EXPORTS) \
44631 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
44632 for flag in $(EXTRA_TARGET_FLAGS); do \
44633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44634 done; \
44635 (cd $(TARGET_SUBDIR)/libgomp && \
44636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44638 "RANLIB=$${RANLIB}" \
44639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44640 html) \
44641 || exit 1
44643 @endif target-libgomp
44645 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
44646 maybe-TAGS-target-libgomp:
44647 @if target-libgomp
44648 maybe-TAGS-target-libgomp: TAGS-target-libgomp
44650 TAGS-target-libgomp: \
44651 configure-target-libgomp
44652 @: $(MAKE); $(unstage)
44653 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44654 r=`${PWD_COMMAND}`; export r; \
44655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44656 $(NORMAL_TARGET_EXPORTS) \
44657 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
44658 for flag in $(EXTRA_TARGET_FLAGS); do \
44659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44660 done; \
44661 (cd $(TARGET_SUBDIR)/libgomp && \
44662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44664 "RANLIB=$${RANLIB}" \
44665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44666 TAGS) \
44667 || exit 1
44669 @endif target-libgomp
44671 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
44672 maybe-install-info-target-libgomp:
44673 @if target-libgomp
44674 maybe-install-info-target-libgomp: install-info-target-libgomp
44676 install-info-target-libgomp: \
44677 configure-target-libgomp \
44678 info-target-libgomp
44679 @: $(MAKE); $(unstage)
44680 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44681 r=`${PWD_COMMAND}`; export r; \
44682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44683 $(NORMAL_TARGET_EXPORTS) \
44684 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
44685 for flag in $(EXTRA_TARGET_FLAGS); do \
44686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44687 done; \
44688 (cd $(TARGET_SUBDIR)/libgomp && \
44689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44691 "RANLIB=$${RANLIB}" \
44692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44693 install-info) \
44694 || exit 1
44696 @endif target-libgomp
44698 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
44699 maybe-install-pdf-target-libgomp:
44700 @if target-libgomp
44701 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
44703 install-pdf-target-libgomp: \
44704 configure-target-libgomp \
44705 pdf-target-libgomp
44706 @: $(MAKE); $(unstage)
44707 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44708 r=`${PWD_COMMAND}`; export r; \
44709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44710 $(NORMAL_TARGET_EXPORTS) \
44711 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
44712 for flag in $(EXTRA_TARGET_FLAGS); do \
44713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44714 done; \
44715 (cd $(TARGET_SUBDIR)/libgomp && \
44716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44718 "RANLIB=$${RANLIB}" \
44719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44720 install-pdf) \
44721 || exit 1
44723 @endif target-libgomp
44725 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
44726 maybe-install-html-target-libgomp:
44727 @if target-libgomp
44728 maybe-install-html-target-libgomp: install-html-target-libgomp
44730 install-html-target-libgomp: \
44731 configure-target-libgomp \
44732 html-target-libgomp
44733 @: $(MAKE); $(unstage)
44734 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44735 r=`${PWD_COMMAND}`; export r; \
44736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44737 $(NORMAL_TARGET_EXPORTS) \
44738 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
44739 for flag in $(EXTRA_TARGET_FLAGS); do \
44740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44741 done; \
44742 (cd $(TARGET_SUBDIR)/libgomp && \
44743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44745 "RANLIB=$${RANLIB}" \
44746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44747 install-html) \
44748 || exit 1
44750 @endif target-libgomp
44752 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
44753 maybe-installcheck-target-libgomp:
44754 @if target-libgomp
44755 maybe-installcheck-target-libgomp: installcheck-target-libgomp
44757 installcheck-target-libgomp: \
44758 configure-target-libgomp
44759 @: $(MAKE); $(unstage)
44760 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44761 r=`${PWD_COMMAND}`; export r; \
44762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44763 $(NORMAL_TARGET_EXPORTS) \
44764 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
44765 for flag in $(EXTRA_TARGET_FLAGS); do \
44766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44767 done; \
44768 (cd $(TARGET_SUBDIR)/libgomp && \
44769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44771 "RANLIB=$${RANLIB}" \
44772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44773 installcheck) \
44774 || exit 1
44776 @endif target-libgomp
44778 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
44779 maybe-mostlyclean-target-libgomp:
44780 @if target-libgomp
44781 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
44783 mostlyclean-target-libgomp:
44784 @: $(MAKE); $(unstage)
44785 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44786 r=`${PWD_COMMAND}`; export r; \
44787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44788 $(NORMAL_TARGET_EXPORTS) \
44789 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
44790 for flag in $(EXTRA_TARGET_FLAGS); do \
44791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44792 done; \
44793 (cd $(TARGET_SUBDIR)/libgomp && \
44794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44796 "RANLIB=$${RANLIB}" \
44797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44798 mostlyclean) \
44799 || exit 1
44801 @endif target-libgomp
44803 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
44804 maybe-clean-target-libgomp:
44805 @if target-libgomp
44806 maybe-clean-target-libgomp: clean-target-libgomp
44808 clean-target-libgomp:
44809 @: $(MAKE); $(unstage)
44810 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44811 r=`${PWD_COMMAND}`; export r; \
44812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44813 $(NORMAL_TARGET_EXPORTS) \
44814 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
44815 for flag in $(EXTRA_TARGET_FLAGS); do \
44816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44817 done; \
44818 (cd $(TARGET_SUBDIR)/libgomp && \
44819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44821 "RANLIB=$${RANLIB}" \
44822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44823 clean) \
44824 || exit 1
44826 @endif target-libgomp
44828 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
44829 maybe-distclean-target-libgomp:
44830 @if target-libgomp
44831 maybe-distclean-target-libgomp: distclean-target-libgomp
44833 distclean-target-libgomp:
44834 @: $(MAKE); $(unstage)
44835 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44836 r=`${PWD_COMMAND}`; export r; \
44837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44838 $(NORMAL_TARGET_EXPORTS) \
44839 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
44840 for flag in $(EXTRA_TARGET_FLAGS); do \
44841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44842 done; \
44843 (cd $(TARGET_SUBDIR)/libgomp && \
44844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44846 "RANLIB=$${RANLIB}" \
44847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44848 distclean) \
44849 || exit 1
44851 @endif target-libgomp
44853 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
44854 maybe-maintainer-clean-target-libgomp:
44855 @if target-libgomp
44856 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
44858 maintainer-clean-target-libgomp:
44859 @: $(MAKE); $(unstage)
44860 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44861 r=`${PWD_COMMAND}`; export r; \
44862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44863 $(NORMAL_TARGET_EXPORTS) \
44864 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
44865 for flag in $(EXTRA_TARGET_FLAGS); do \
44866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44867 done; \
44868 (cd $(TARGET_SUBDIR)/libgomp && \
44869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44871 "RANLIB=$${RANLIB}" \
44872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44873 maintainer-clean) \
44874 || exit 1
44876 @endif target-libgomp
44882 .PHONY: configure-target-libitm maybe-configure-target-libitm
44883 maybe-configure-target-libitm:
44884 @if gcc-bootstrap
44885 configure-target-libitm: stage_current
44886 @endif gcc-bootstrap
44887 @if target-libitm
44888 maybe-configure-target-libitm: configure-target-libitm
44889 configure-target-libitm:
44890 @: $(MAKE); $(unstage)
44891 @r=`${PWD_COMMAND}`; export r; \
44892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44893 echo "Checking multilib configuration for libitm..."; \
44894 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
44895 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null ; \
44896 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
44897 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
44898 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
44899 else \
44900 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
44901 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
44902 fi; \
44903 else \
44904 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
44905 fi; \
44906 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
44907 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
44908 $(NORMAL_TARGET_EXPORTS) \
44909 echo Configuring in $(TARGET_SUBDIR)/libitm; \
44910 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
44911 case $(srcdir) in \
44912 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44913 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
44914 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44915 esac; \
44916 module_srcdir=libitm; \
44917 rm -f no-such-file || : ; \
44918 CONFIG_SITE=no-such-file $(SHELL) \
44919 $$s/$$module_srcdir/configure \
44920 --srcdir=$${topdir}/$$module_srcdir \
44921 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44922 --target=${target_alias} \
44923 || exit 1
44924 @endif target-libitm
44930 .PHONY: all-target-libitm maybe-all-target-libitm
44931 maybe-all-target-libitm:
44932 @if gcc-bootstrap
44933 all-target-libitm: stage_current
44934 @endif gcc-bootstrap
44935 @if target-libitm
44936 TARGET-target-libitm=all
44937 maybe-all-target-libitm: all-target-libitm
44938 all-target-libitm: configure-target-libitm
44939 @: $(MAKE); $(unstage)
44940 @r=`${PWD_COMMAND}`; export r; \
44941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44942 $(NORMAL_TARGET_EXPORTS) \
44943 (cd $(TARGET_SUBDIR)/libitm && \
44944 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44945 $(TARGET-target-libitm))
44946 @endif target-libitm
44952 .PHONY: check-target-libitm maybe-check-target-libitm
44953 maybe-check-target-libitm:
44954 @if target-libitm
44955 maybe-check-target-libitm: check-target-libitm
44957 check-target-libitm:
44958 @: $(MAKE); $(unstage)
44959 @r=`${PWD_COMMAND}`; export r; \
44960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44961 $(NORMAL_TARGET_EXPORTS) \
44962 (cd $(TARGET_SUBDIR)/libitm && \
44963 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44965 @endif target-libitm
44967 .PHONY: install-target-libitm maybe-install-target-libitm
44968 maybe-install-target-libitm:
44969 @if target-libitm
44970 maybe-install-target-libitm: install-target-libitm
44972 install-target-libitm: installdirs
44973 @: $(MAKE); $(unstage)
44974 @r=`${PWD_COMMAND}`; export r; \
44975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44976 $(NORMAL_TARGET_EXPORTS) \
44977 (cd $(TARGET_SUBDIR)/libitm && \
44978 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44980 @endif target-libitm
44982 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
44983 maybe-install-strip-target-libitm:
44984 @if target-libitm
44985 maybe-install-strip-target-libitm: install-strip-target-libitm
44987 install-strip-target-libitm: installdirs
44988 @: $(MAKE); $(unstage)
44989 @r=`${PWD_COMMAND}`; export r; \
44990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44991 $(NORMAL_TARGET_EXPORTS) \
44992 (cd $(TARGET_SUBDIR)/libitm && \
44993 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44995 @endif target-libitm
44997 # Other targets (info, dvi, pdf, etc.)
44999 .PHONY: maybe-info-target-libitm info-target-libitm
45000 maybe-info-target-libitm:
45001 @if target-libitm
45002 maybe-info-target-libitm: info-target-libitm
45004 info-target-libitm: \
45005 configure-target-libitm
45006 @: $(MAKE); $(unstage)
45007 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45008 r=`${PWD_COMMAND}`; export r; \
45009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45010 $(NORMAL_TARGET_EXPORTS) \
45011 echo "Doing info in $(TARGET_SUBDIR)/libitm" ; \
45012 for flag in $(EXTRA_TARGET_FLAGS); do \
45013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45014 done; \
45015 (cd $(TARGET_SUBDIR)/libitm && \
45016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45018 "RANLIB=$${RANLIB}" \
45019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45020 info) \
45021 || exit 1
45023 @endif target-libitm
45025 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
45026 maybe-dvi-target-libitm:
45027 @if target-libitm
45028 maybe-dvi-target-libitm: dvi-target-libitm
45030 dvi-target-libitm: \
45031 configure-target-libitm
45032 @: $(MAKE); $(unstage)
45033 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45034 r=`${PWD_COMMAND}`; export r; \
45035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45036 $(NORMAL_TARGET_EXPORTS) \
45037 echo "Doing dvi in $(TARGET_SUBDIR)/libitm" ; \
45038 for flag in $(EXTRA_TARGET_FLAGS); do \
45039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45040 done; \
45041 (cd $(TARGET_SUBDIR)/libitm && \
45042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45044 "RANLIB=$${RANLIB}" \
45045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45046 dvi) \
45047 || exit 1
45049 @endif target-libitm
45051 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
45052 maybe-pdf-target-libitm:
45053 @if target-libitm
45054 maybe-pdf-target-libitm: pdf-target-libitm
45056 pdf-target-libitm: \
45057 configure-target-libitm
45058 @: $(MAKE); $(unstage)
45059 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45060 r=`${PWD_COMMAND}`; export r; \
45061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45062 $(NORMAL_TARGET_EXPORTS) \
45063 echo "Doing pdf in $(TARGET_SUBDIR)/libitm" ; \
45064 for flag in $(EXTRA_TARGET_FLAGS); do \
45065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45066 done; \
45067 (cd $(TARGET_SUBDIR)/libitm && \
45068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45070 "RANLIB=$${RANLIB}" \
45071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45072 pdf) \
45073 || exit 1
45075 @endif target-libitm
45077 .PHONY: maybe-html-target-libitm html-target-libitm
45078 maybe-html-target-libitm:
45079 @if target-libitm
45080 maybe-html-target-libitm: html-target-libitm
45082 html-target-libitm: \
45083 configure-target-libitm
45084 @: $(MAKE); $(unstage)
45085 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45086 r=`${PWD_COMMAND}`; export r; \
45087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45088 $(NORMAL_TARGET_EXPORTS) \
45089 echo "Doing html in $(TARGET_SUBDIR)/libitm" ; \
45090 for flag in $(EXTRA_TARGET_FLAGS); do \
45091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45092 done; \
45093 (cd $(TARGET_SUBDIR)/libitm && \
45094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45096 "RANLIB=$${RANLIB}" \
45097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45098 html) \
45099 || exit 1
45101 @endif target-libitm
45103 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
45104 maybe-TAGS-target-libitm:
45105 @if target-libitm
45106 maybe-TAGS-target-libitm: TAGS-target-libitm
45108 TAGS-target-libitm: \
45109 configure-target-libitm
45110 @: $(MAKE); $(unstage)
45111 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45112 r=`${PWD_COMMAND}`; export r; \
45113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45114 $(NORMAL_TARGET_EXPORTS) \
45115 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm" ; \
45116 for flag in $(EXTRA_TARGET_FLAGS); do \
45117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45118 done; \
45119 (cd $(TARGET_SUBDIR)/libitm && \
45120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45122 "RANLIB=$${RANLIB}" \
45123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45124 TAGS) \
45125 || exit 1
45127 @endif target-libitm
45129 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
45130 maybe-install-info-target-libitm:
45131 @if target-libitm
45132 maybe-install-info-target-libitm: install-info-target-libitm
45134 install-info-target-libitm: \
45135 configure-target-libitm \
45136 info-target-libitm
45137 @: $(MAKE); $(unstage)
45138 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45139 r=`${PWD_COMMAND}`; export r; \
45140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45141 $(NORMAL_TARGET_EXPORTS) \
45142 echo "Doing install-info in $(TARGET_SUBDIR)/libitm" ; \
45143 for flag in $(EXTRA_TARGET_FLAGS); do \
45144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45145 done; \
45146 (cd $(TARGET_SUBDIR)/libitm && \
45147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45149 "RANLIB=$${RANLIB}" \
45150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45151 install-info) \
45152 || exit 1
45154 @endif target-libitm
45156 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
45157 maybe-install-pdf-target-libitm:
45158 @if target-libitm
45159 maybe-install-pdf-target-libitm: install-pdf-target-libitm
45161 install-pdf-target-libitm: \
45162 configure-target-libitm \
45163 pdf-target-libitm
45164 @: $(MAKE); $(unstage)
45165 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45166 r=`${PWD_COMMAND}`; export r; \
45167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45168 $(NORMAL_TARGET_EXPORTS) \
45169 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm" ; \
45170 for flag in $(EXTRA_TARGET_FLAGS); do \
45171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45172 done; \
45173 (cd $(TARGET_SUBDIR)/libitm && \
45174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45176 "RANLIB=$${RANLIB}" \
45177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45178 install-pdf) \
45179 || exit 1
45181 @endif target-libitm
45183 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
45184 maybe-install-html-target-libitm:
45185 @if target-libitm
45186 maybe-install-html-target-libitm: install-html-target-libitm
45188 install-html-target-libitm: \
45189 configure-target-libitm \
45190 html-target-libitm
45191 @: $(MAKE); $(unstage)
45192 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45193 r=`${PWD_COMMAND}`; export r; \
45194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45195 $(NORMAL_TARGET_EXPORTS) \
45196 echo "Doing install-html in $(TARGET_SUBDIR)/libitm" ; \
45197 for flag in $(EXTRA_TARGET_FLAGS); do \
45198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45199 done; \
45200 (cd $(TARGET_SUBDIR)/libitm && \
45201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45203 "RANLIB=$${RANLIB}" \
45204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45205 install-html) \
45206 || exit 1
45208 @endif target-libitm
45210 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
45211 maybe-installcheck-target-libitm:
45212 @if target-libitm
45213 maybe-installcheck-target-libitm: installcheck-target-libitm
45215 installcheck-target-libitm: \
45216 configure-target-libitm
45217 @: $(MAKE); $(unstage)
45218 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45219 r=`${PWD_COMMAND}`; export r; \
45220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45221 $(NORMAL_TARGET_EXPORTS) \
45222 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm" ; \
45223 for flag in $(EXTRA_TARGET_FLAGS); do \
45224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45225 done; \
45226 (cd $(TARGET_SUBDIR)/libitm && \
45227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45229 "RANLIB=$${RANLIB}" \
45230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45231 installcheck) \
45232 || exit 1
45234 @endif target-libitm
45236 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
45237 maybe-mostlyclean-target-libitm:
45238 @if target-libitm
45239 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
45241 mostlyclean-target-libitm:
45242 @: $(MAKE); $(unstage)
45243 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45244 r=`${PWD_COMMAND}`; export r; \
45245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45246 $(NORMAL_TARGET_EXPORTS) \
45247 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm" ; \
45248 for flag in $(EXTRA_TARGET_FLAGS); do \
45249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45250 done; \
45251 (cd $(TARGET_SUBDIR)/libitm && \
45252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45254 "RANLIB=$${RANLIB}" \
45255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45256 mostlyclean) \
45257 || exit 1
45259 @endif target-libitm
45261 .PHONY: maybe-clean-target-libitm clean-target-libitm
45262 maybe-clean-target-libitm:
45263 @if target-libitm
45264 maybe-clean-target-libitm: clean-target-libitm
45266 clean-target-libitm:
45267 @: $(MAKE); $(unstage)
45268 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45269 r=`${PWD_COMMAND}`; export r; \
45270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45271 $(NORMAL_TARGET_EXPORTS) \
45272 echo "Doing clean in $(TARGET_SUBDIR)/libitm" ; \
45273 for flag in $(EXTRA_TARGET_FLAGS); do \
45274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45275 done; \
45276 (cd $(TARGET_SUBDIR)/libitm && \
45277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45279 "RANLIB=$${RANLIB}" \
45280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45281 clean) \
45282 || exit 1
45284 @endif target-libitm
45286 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
45287 maybe-distclean-target-libitm:
45288 @if target-libitm
45289 maybe-distclean-target-libitm: distclean-target-libitm
45291 distclean-target-libitm:
45292 @: $(MAKE); $(unstage)
45293 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45294 r=`${PWD_COMMAND}`; export r; \
45295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45296 $(NORMAL_TARGET_EXPORTS) \
45297 echo "Doing distclean in $(TARGET_SUBDIR)/libitm" ; \
45298 for flag in $(EXTRA_TARGET_FLAGS); do \
45299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45300 done; \
45301 (cd $(TARGET_SUBDIR)/libitm && \
45302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45304 "RANLIB=$${RANLIB}" \
45305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45306 distclean) \
45307 || exit 1
45309 @endif target-libitm
45311 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
45312 maybe-maintainer-clean-target-libitm:
45313 @if target-libitm
45314 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
45316 maintainer-clean-target-libitm:
45317 @: $(MAKE); $(unstage)
45318 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45319 r=`${PWD_COMMAND}`; export r; \
45320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45321 $(NORMAL_TARGET_EXPORTS) \
45322 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm" ; \
45323 for flag in $(EXTRA_TARGET_FLAGS); do \
45324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45325 done; \
45326 (cd $(TARGET_SUBDIR)/libitm && \
45327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45329 "RANLIB=$${RANLIB}" \
45330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45331 maintainer-clean) \
45332 || exit 1
45334 @endif target-libitm
45340 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
45341 maybe-configure-target-libatomic:
45342 @if gcc-bootstrap
45343 configure-target-libatomic: stage_current
45344 @endif gcc-bootstrap
45345 @if target-libatomic
45346 maybe-configure-target-libatomic: configure-target-libatomic
45347 configure-target-libatomic:
45348 @: $(MAKE); $(unstage)
45349 @r=`${PWD_COMMAND}`; export r; \
45350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45351 echo "Checking multilib configuration for libatomic..."; \
45352 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
45353 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null ; \
45354 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
45355 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
45356 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
45357 else \
45358 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
45359 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
45360 fi; \
45361 else \
45362 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
45363 fi; \
45364 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
45365 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
45366 $(NORMAL_TARGET_EXPORTS) \
45367 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
45368 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
45369 case $(srcdir) in \
45370 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45371 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
45372 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45373 esac; \
45374 module_srcdir=libatomic; \
45375 rm -f no-such-file || : ; \
45376 CONFIG_SITE=no-such-file $(SHELL) \
45377 $$s/$$module_srcdir/configure \
45378 --srcdir=$${topdir}/$$module_srcdir \
45379 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45380 --target=${target_alias} \
45381 || exit 1
45382 @endif target-libatomic
45388 .PHONY: all-target-libatomic maybe-all-target-libatomic
45389 maybe-all-target-libatomic:
45390 @if gcc-bootstrap
45391 all-target-libatomic: stage_current
45392 @endif gcc-bootstrap
45393 @if target-libatomic
45394 TARGET-target-libatomic=all
45395 maybe-all-target-libatomic: all-target-libatomic
45396 all-target-libatomic: configure-target-libatomic
45397 @: $(MAKE); $(unstage)
45398 @r=`${PWD_COMMAND}`; export r; \
45399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45400 $(NORMAL_TARGET_EXPORTS) \
45401 (cd $(TARGET_SUBDIR)/libatomic && \
45402 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45403 $(TARGET-target-libatomic))
45404 @endif target-libatomic
45410 .PHONY: check-target-libatomic maybe-check-target-libatomic
45411 maybe-check-target-libatomic:
45412 @if target-libatomic
45413 maybe-check-target-libatomic: check-target-libatomic
45415 check-target-libatomic:
45416 @: $(MAKE); $(unstage)
45417 @r=`${PWD_COMMAND}`; export r; \
45418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45419 $(NORMAL_TARGET_EXPORTS) \
45420 (cd $(TARGET_SUBDIR)/libatomic && \
45421 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
45423 @endif target-libatomic
45425 .PHONY: install-target-libatomic maybe-install-target-libatomic
45426 maybe-install-target-libatomic:
45427 @if target-libatomic
45428 maybe-install-target-libatomic: install-target-libatomic
45430 install-target-libatomic: installdirs
45431 @: $(MAKE); $(unstage)
45432 @r=`${PWD_COMMAND}`; export r; \
45433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45434 $(NORMAL_TARGET_EXPORTS) \
45435 (cd $(TARGET_SUBDIR)/libatomic && \
45436 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45438 @endif target-libatomic
45440 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
45441 maybe-install-strip-target-libatomic:
45442 @if target-libatomic
45443 maybe-install-strip-target-libatomic: install-strip-target-libatomic
45445 install-strip-target-libatomic: installdirs
45446 @: $(MAKE); $(unstage)
45447 @r=`${PWD_COMMAND}`; export r; \
45448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45449 $(NORMAL_TARGET_EXPORTS) \
45450 (cd $(TARGET_SUBDIR)/libatomic && \
45451 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
45453 @endif target-libatomic
45455 # Other targets (info, dvi, pdf, etc.)
45457 .PHONY: maybe-info-target-libatomic info-target-libatomic
45458 maybe-info-target-libatomic:
45459 @if target-libatomic
45460 maybe-info-target-libatomic: info-target-libatomic
45462 info-target-libatomic: \
45463 configure-target-libatomic
45464 @: $(MAKE); $(unstage)
45465 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45466 r=`${PWD_COMMAND}`; export r; \
45467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45468 $(NORMAL_TARGET_EXPORTS) \
45469 echo "Doing info in $(TARGET_SUBDIR)/libatomic" ; \
45470 for flag in $(EXTRA_TARGET_FLAGS); do \
45471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45472 done; \
45473 (cd $(TARGET_SUBDIR)/libatomic && \
45474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45476 "RANLIB=$${RANLIB}" \
45477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45478 info) \
45479 || exit 1
45481 @endif target-libatomic
45483 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
45484 maybe-dvi-target-libatomic:
45485 @if target-libatomic
45486 maybe-dvi-target-libatomic: dvi-target-libatomic
45488 dvi-target-libatomic: \
45489 configure-target-libatomic
45490 @: $(MAKE); $(unstage)
45491 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45492 r=`${PWD_COMMAND}`; export r; \
45493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45494 $(NORMAL_TARGET_EXPORTS) \
45495 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic" ; \
45496 for flag in $(EXTRA_TARGET_FLAGS); do \
45497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45498 done; \
45499 (cd $(TARGET_SUBDIR)/libatomic && \
45500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45502 "RANLIB=$${RANLIB}" \
45503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45504 dvi) \
45505 || exit 1
45507 @endif target-libatomic
45509 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
45510 maybe-pdf-target-libatomic:
45511 @if target-libatomic
45512 maybe-pdf-target-libatomic: pdf-target-libatomic
45514 pdf-target-libatomic: \
45515 configure-target-libatomic
45516 @: $(MAKE); $(unstage)
45517 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45518 r=`${PWD_COMMAND}`; export r; \
45519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45520 $(NORMAL_TARGET_EXPORTS) \
45521 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic" ; \
45522 for flag in $(EXTRA_TARGET_FLAGS); do \
45523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45524 done; \
45525 (cd $(TARGET_SUBDIR)/libatomic && \
45526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45528 "RANLIB=$${RANLIB}" \
45529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45530 pdf) \
45531 || exit 1
45533 @endif target-libatomic
45535 .PHONY: maybe-html-target-libatomic html-target-libatomic
45536 maybe-html-target-libatomic:
45537 @if target-libatomic
45538 maybe-html-target-libatomic: html-target-libatomic
45540 html-target-libatomic: \
45541 configure-target-libatomic
45542 @: $(MAKE); $(unstage)
45543 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45544 r=`${PWD_COMMAND}`; export r; \
45545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45546 $(NORMAL_TARGET_EXPORTS) \
45547 echo "Doing html in $(TARGET_SUBDIR)/libatomic" ; \
45548 for flag in $(EXTRA_TARGET_FLAGS); do \
45549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45550 done; \
45551 (cd $(TARGET_SUBDIR)/libatomic && \
45552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45554 "RANLIB=$${RANLIB}" \
45555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45556 html) \
45557 || exit 1
45559 @endif target-libatomic
45561 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
45562 maybe-TAGS-target-libatomic:
45563 @if target-libatomic
45564 maybe-TAGS-target-libatomic: TAGS-target-libatomic
45566 TAGS-target-libatomic: \
45567 configure-target-libatomic
45568 @: $(MAKE); $(unstage)
45569 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45570 r=`${PWD_COMMAND}`; export r; \
45571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45572 $(NORMAL_TARGET_EXPORTS) \
45573 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic" ; \
45574 for flag in $(EXTRA_TARGET_FLAGS); do \
45575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45576 done; \
45577 (cd $(TARGET_SUBDIR)/libatomic && \
45578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45580 "RANLIB=$${RANLIB}" \
45581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45582 TAGS) \
45583 || exit 1
45585 @endif target-libatomic
45587 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
45588 maybe-install-info-target-libatomic:
45589 @if target-libatomic
45590 maybe-install-info-target-libatomic: install-info-target-libatomic
45592 install-info-target-libatomic: \
45593 configure-target-libatomic \
45594 info-target-libatomic
45595 @: $(MAKE); $(unstage)
45596 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45597 r=`${PWD_COMMAND}`; export r; \
45598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45599 $(NORMAL_TARGET_EXPORTS) \
45600 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic" ; \
45601 for flag in $(EXTRA_TARGET_FLAGS); do \
45602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45603 done; \
45604 (cd $(TARGET_SUBDIR)/libatomic && \
45605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45607 "RANLIB=$${RANLIB}" \
45608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45609 install-info) \
45610 || exit 1
45612 @endif target-libatomic
45614 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
45615 maybe-install-pdf-target-libatomic:
45616 @if target-libatomic
45617 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
45619 install-pdf-target-libatomic: \
45620 configure-target-libatomic \
45621 pdf-target-libatomic
45622 @: $(MAKE); $(unstage)
45623 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45624 r=`${PWD_COMMAND}`; export r; \
45625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45626 $(NORMAL_TARGET_EXPORTS) \
45627 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic" ; \
45628 for flag in $(EXTRA_TARGET_FLAGS); do \
45629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45630 done; \
45631 (cd $(TARGET_SUBDIR)/libatomic && \
45632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45634 "RANLIB=$${RANLIB}" \
45635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45636 install-pdf) \
45637 || exit 1
45639 @endif target-libatomic
45641 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
45642 maybe-install-html-target-libatomic:
45643 @if target-libatomic
45644 maybe-install-html-target-libatomic: install-html-target-libatomic
45646 install-html-target-libatomic: \
45647 configure-target-libatomic \
45648 html-target-libatomic
45649 @: $(MAKE); $(unstage)
45650 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45651 r=`${PWD_COMMAND}`; export r; \
45652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45653 $(NORMAL_TARGET_EXPORTS) \
45654 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic" ; \
45655 for flag in $(EXTRA_TARGET_FLAGS); do \
45656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45657 done; \
45658 (cd $(TARGET_SUBDIR)/libatomic && \
45659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45661 "RANLIB=$${RANLIB}" \
45662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45663 install-html) \
45664 || exit 1
45666 @endif target-libatomic
45668 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
45669 maybe-installcheck-target-libatomic:
45670 @if target-libatomic
45671 maybe-installcheck-target-libatomic: installcheck-target-libatomic
45673 installcheck-target-libatomic: \
45674 configure-target-libatomic
45675 @: $(MAKE); $(unstage)
45676 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45677 r=`${PWD_COMMAND}`; export r; \
45678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45679 $(NORMAL_TARGET_EXPORTS) \
45680 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic" ; \
45681 for flag in $(EXTRA_TARGET_FLAGS); do \
45682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45683 done; \
45684 (cd $(TARGET_SUBDIR)/libatomic && \
45685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45687 "RANLIB=$${RANLIB}" \
45688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45689 installcheck) \
45690 || exit 1
45692 @endif target-libatomic
45694 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
45695 maybe-mostlyclean-target-libatomic:
45696 @if target-libatomic
45697 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
45699 mostlyclean-target-libatomic:
45700 @: $(MAKE); $(unstage)
45701 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45702 r=`${PWD_COMMAND}`; export r; \
45703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45704 $(NORMAL_TARGET_EXPORTS) \
45705 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic" ; \
45706 for flag in $(EXTRA_TARGET_FLAGS); do \
45707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45708 done; \
45709 (cd $(TARGET_SUBDIR)/libatomic && \
45710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45712 "RANLIB=$${RANLIB}" \
45713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45714 mostlyclean) \
45715 || exit 1
45717 @endif target-libatomic
45719 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
45720 maybe-clean-target-libatomic:
45721 @if target-libatomic
45722 maybe-clean-target-libatomic: clean-target-libatomic
45724 clean-target-libatomic:
45725 @: $(MAKE); $(unstage)
45726 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45727 r=`${PWD_COMMAND}`; export r; \
45728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45729 $(NORMAL_TARGET_EXPORTS) \
45730 echo "Doing clean in $(TARGET_SUBDIR)/libatomic" ; \
45731 for flag in $(EXTRA_TARGET_FLAGS); do \
45732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45733 done; \
45734 (cd $(TARGET_SUBDIR)/libatomic && \
45735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45737 "RANLIB=$${RANLIB}" \
45738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45739 clean) \
45740 || exit 1
45742 @endif target-libatomic
45744 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
45745 maybe-distclean-target-libatomic:
45746 @if target-libatomic
45747 maybe-distclean-target-libatomic: distclean-target-libatomic
45749 distclean-target-libatomic:
45750 @: $(MAKE); $(unstage)
45751 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45752 r=`${PWD_COMMAND}`; export r; \
45753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45754 $(NORMAL_TARGET_EXPORTS) \
45755 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic" ; \
45756 for flag in $(EXTRA_TARGET_FLAGS); do \
45757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45758 done; \
45759 (cd $(TARGET_SUBDIR)/libatomic && \
45760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45762 "RANLIB=$${RANLIB}" \
45763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45764 distclean) \
45765 || exit 1
45767 @endif target-libatomic
45769 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
45770 maybe-maintainer-clean-target-libatomic:
45771 @if target-libatomic
45772 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
45774 maintainer-clean-target-libatomic:
45775 @: $(MAKE); $(unstage)
45776 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45777 r=`${PWD_COMMAND}`; export r; \
45778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45779 $(NORMAL_TARGET_EXPORTS) \
45780 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic" ; \
45781 for flag in $(EXTRA_TARGET_FLAGS); do \
45782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45783 done; \
45784 (cd $(TARGET_SUBDIR)/libatomic && \
45785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45787 "RANLIB=$${RANLIB}" \
45788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45789 maintainer-clean) \
45790 || exit 1
45792 @endif target-libatomic
45796 @if target-libgomp
45797 .PHONY: check-target-libgomp-c++
45798 check-target-libgomp-c++:
45799 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
45801 @endif target-libgomp
45803 @if target-libitm
45804 .PHONY: check-target-libitm-c++
45805 check-target-libitm-c++:
45806 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
45808 @endif target-libitm
45810 # ----------
45811 # GCC module
45812 # ----------
45814 @if gcc-no-bootstrap
45815 .PHONY: cross
45816 cross: all-build all-gas all-ld
45817 @r=`${PWD_COMMAND}`; export r; \
45818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45819 $(HOST_EXPORTS) \
45820 echo "Building the C and C++ compiler"; \
45821 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
45822 @r=`${PWD_COMMAND}`; export r; \
45823 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
45824 echo "Building runtime libraries"; \
45825 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
45826 @endif gcc-no-bootstrap
45828 @if gcc
45830 .PHONY: check-gcc-c check-c
45831 check-gcc-c:
45832 r=`${PWD_COMMAND}`; export r; \
45833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45834 $(HOST_EXPORTS) \
45835 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
45836 check-c: check-gcc-c
45838 .PHONY: check-gcc-c++ check-c++
45839 check-gcc-c++:
45840 r=`${PWD_COMMAND}`; export r; \
45841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45842 $(HOST_EXPORTS) \
45843 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
45844 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libitm-c++ check-target-libgomp-c++
45846 .PHONY: check-gcc-fortran check-fortran
45847 check-gcc-fortran:
45848 r=`${PWD_COMMAND}`; export r; \
45849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45850 $(HOST_EXPORTS) \
45851 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
45852 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
45854 .PHONY: check-gcc-java check-java
45855 check-gcc-java:
45856 r=`${PWD_COMMAND}`; export r; \
45857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45858 $(HOST_EXPORTS) \
45859 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
45860 check-java: check-gcc-java check-target-libjava
45862 .PHONY: check-gcc-ada check-ada
45863 check-gcc-ada:
45864 r=`${PWD_COMMAND}`; export r; \
45865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45866 $(HOST_EXPORTS) \
45867 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
45868 check-ada: check-gcc-ada check-target-libada
45870 .PHONY: check-gcc-objc check-objc
45871 check-gcc-objc:
45872 r=`${PWD_COMMAND}`; export r; \
45873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45874 $(HOST_EXPORTS) \
45875 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
45876 check-objc: check-gcc-objc check-target-libobjc
45878 .PHONY: check-gcc-obj-c++ check-obj-c++
45879 check-gcc-obj-c++:
45880 r=`${PWD_COMMAND}`; export r; \
45881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45882 $(HOST_EXPORTS) \
45883 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
45884 check-obj-c++: check-gcc-obj-c++
45886 .PHONY: check-gcc-go check-go
45887 check-gcc-go:
45888 r=`${PWD_COMMAND}`; export r; \
45889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45890 $(HOST_EXPORTS) \
45891 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
45892 check-go: check-gcc-go check-target-libgo
45895 # The gcc part of install-no-fixedincludes, which relies on an intimate
45896 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
45897 .PHONY: gcc-install-no-fixedincludes
45898 gcc-install-no-fixedincludes:
45899 @if [ -f ./gcc/Makefile ]; then \
45900 r=`${PWD_COMMAND}`; export r; \
45901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45902 $(HOST_EXPORTS) \
45903 (cd ./gcc \
45904 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
45905 else true; fi
45906 @endif gcc
45908 # ---------------------
45909 # GCC bootstrap support
45910 # ---------------------
45912 # We track the current stage (the one in 'gcc') in the stage_current file.
45913 # stage_last instead tracks the stage that was built last. These targets
45914 # are dummy when toplevel bootstrap is not active.
45916 # While making host and target tools, symlinks to the final stage must be
45917 # there, so $(unstage) should be run at various points. To avoid excessive
45918 # recursive invocations of make, we "inline" them using a variable. These
45919 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
45920 # to avoid warnings from the GNU Make job server.
45922 unstage = :
45923 stage = :
45924 current_stage = ""
45926 @if gcc-bootstrap
45927 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
45928 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
45929 current_stage = "`cat stage_current 2> /dev/null`"
45930 @endif gcc-bootstrap
45932 .PHONY: unstage stage
45933 unstage:
45934 @: $(MAKE); $(unstage)
45935 stage:
45936 @: $(MAKE); $(stage)
45938 # Disable commands for lean bootstrap.
45939 LEAN = false
45941 # We name the build directories for the various stages "stage1-gcc",
45942 # "stage2-gcc","stage3-gcc", etc.
45944 # Since the 'compare' process will fail (on debugging information) if any
45945 # directory names are different, we need to link the gcc directory for
45946 # the previous stage to a constant name ('prev-gcc'), and to make the name of
45947 # the build directories constant as well. For the latter, we use naked names
45948 # like 'gcc', because the scripts in that directory assume it. We use
45949 # mv on platforms where symlinks to directories do not work or are not
45950 # reliable.
45952 # 'touch' doesn't work right on some platforms.
45953 STAMP = echo timestamp >
45955 # We only want to compare .o files, so set this!
45956 objext = .o
45959 .PHONY: stage1-start stage1-end
45961 stage1-start::
45962 @: $(MAKE); $(stage); \
45963 echo stage1 > stage_current ; \
45964 echo stage1 > stage_last; \
45965 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
45966 @if bfd
45967 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
45968 mkdir stage1-bfd; \
45969 mv stage1-bfd bfd
45970 @endif bfd
45971 @if opcodes
45972 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
45973 mkdir stage1-opcodes; \
45974 mv stage1-opcodes opcodes
45975 @endif opcodes
45976 @if binutils
45977 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
45978 mkdir stage1-binutils; \
45979 mv stage1-binutils binutils
45980 @endif binutils
45981 @if fixincludes
45982 @cd $(HOST_SUBDIR); [ -d stage1-fixincludes ] || \
45983 mkdir stage1-fixincludes; \
45984 mv stage1-fixincludes fixincludes
45985 @endif fixincludes
45986 @if gas
45987 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
45988 mkdir stage1-gas; \
45989 mv stage1-gas gas
45990 @endif gas
45991 @if gcc
45992 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
45993 mkdir stage1-gcc; \
45994 mv stage1-gcc gcc
45995 @endif gcc
45996 @if gmp
45997 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
45998 mkdir stage1-gmp; \
45999 mv stage1-gmp gmp
46000 @endif gmp
46001 @if mpfr
46002 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
46003 mkdir stage1-mpfr; \
46004 mv stage1-mpfr mpfr
46005 @endif mpfr
46006 @if mpc
46007 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
46008 mkdir stage1-mpc; \
46009 mv stage1-mpc mpc
46010 @endif mpc
46011 @if isl
46012 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
46013 mkdir stage1-isl; \
46014 mv stage1-isl isl
46015 @endif isl
46016 @if libelf
46017 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
46018 mkdir stage1-libelf; \
46019 mv stage1-libelf libelf
46020 @endif libelf
46021 @if gold
46022 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
46023 mkdir stage1-gold; \
46024 mv stage1-gold gold
46025 @endif gold
46026 @if intl
46027 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
46028 mkdir stage1-intl; \
46029 mv stage1-intl intl
46030 @endif intl
46031 @if ld
46032 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
46033 mkdir stage1-ld; \
46034 mv stage1-ld ld
46035 @endif ld
46036 @if libbacktrace
46037 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
46038 mkdir stage1-libbacktrace; \
46039 mv stage1-libbacktrace libbacktrace
46040 @endif libbacktrace
46041 @if libcpp
46042 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
46043 mkdir stage1-libcpp; \
46044 mv stage1-libcpp libcpp
46045 @endif libcpp
46046 @if libdecnumber
46047 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
46048 mkdir stage1-libdecnumber; \
46049 mv stage1-libdecnumber libdecnumber
46050 @endif libdecnumber
46051 @if libiberty
46052 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
46053 mkdir stage1-libiberty; \
46054 mv stage1-libiberty libiberty
46055 @endif libiberty
46056 @if libiberty-linker-plugin
46057 @cd $(HOST_SUBDIR); [ -d stage1-libiberty-linker-plugin ] || \
46058 mkdir stage1-libiberty-linker-plugin; \
46059 mv stage1-libiberty-linker-plugin libiberty-linker-plugin
46060 @endif libiberty-linker-plugin
46061 @if zlib
46062 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
46063 mkdir stage1-zlib; \
46064 mv stage1-zlib zlib
46065 @endif zlib
46066 @if lto-plugin
46067 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
46068 mkdir stage1-lto-plugin; \
46069 mv stage1-lto-plugin lto-plugin
46070 @endif lto-plugin
46071 @[ -d stage1-$(TARGET_SUBDIR) ] || \
46072 mkdir stage1-$(TARGET_SUBDIR); \
46073 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
46075 stage1-end::
46076 @if bfd
46077 @if test -d $(HOST_SUBDIR)/bfd ; then \
46078 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
46080 @endif bfd
46081 @if opcodes
46082 @if test -d $(HOST_SUBDIR)/opcodes ; then \
46083 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
46085 @endif opcodes
46086 @if binutils
46087 @if test -d $(HOST_SUBDIR)/binutils ; then \
46088 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
46090 @endif binutils
46091 @if fixincludes
46092 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
46093 cd $(HOST_SUBDIR); mv fixincludes stage1-fixincludes ; \
46095 @endif fixincludes
46096 @if gas
46097 @if test -d $(HOST_SUBDIR)/gas ; then \
46098 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
46100 @endif gas
46101 @if gcc
46102 @if test -d $(HOST_SUBDIR)/gcc ; then \
46103 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
46105 @endif gcc
46106 @if gmp
46107 @if test -d $(HOST_SUBDIR)/gmp ; then \
46108 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
46110 @endif gmp
46111 @if mpfr
46112 @if test -d $(HOST_SUBDIR)/mpfr ; then \
46113 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
46115 @endif mpfr
46116 @if mpc
46117 @if test -d $(HOST_SUBDIR)/mpc ; then \
46118 cd $(HOST_SUBDIR); mv mpc stage1-mpc ; \
46120 @endif mpc
46121 @if isl
46122 @if test -d $(HOST_SUBDIR)/isl ; then \
46123 cd $(HOST_SUBDIR); mv isl stage1-isl ; \
46125 @endif isl
46126 @if libelf
46127 @if test -d $(HOST_SUBDIR)/libelf ; then \
46128 cd $(HOST_SUBDIR); mv libelf stage1-libelf ; \
46130 @endif libelf
46131 @if gold
46132 @if test -d $(HOST_SUBDIR)/gold ; then \
46133 cd $(HOST_SUBDIR); mv gold stage1-gold ; \
46135 @endif gold
46136 @if intl
46137 @if test -d $(HOST_SUBDIR)/intl ; then \
46138 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
46140 @endif intl
46141 @if ld
46142 @if test -d $(HOST_SUBDIR)/ld ; then \
46143 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
46145 @endif ld
46146 @if libbacktrace
46147 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
46148 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace ; \
46150 @endif libbacktrace
46151 @if libcpp
46152 @if test -d $(HOST_SUBDIR)/libcpp ; then \
46153 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
46155 @endif libcpp
46156 @if libdecnumber
46157 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
46158 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
46160 @endif libdecnumber
46161 @if libiberty
46162 @if test -d $(HOST_SUBDIR)/libiberty ; then \
46163 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
46165 @endif libiberty
46166 @if libiberty-linker-plugin
46167 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
46168 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage1-libiberty-linker-plugin ; \
46170 @endif libiberty-linker-plugin
46171 @if zlib
46172 @if test -d $(HOST_SUBDIR)/zlib ; then \
46173 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
46175 @endif zlib
46176 @if lto-plugin
46177 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
46178 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \
46180 @endif lto-plugin
46181 @if test -d $(TARGET_SUBDIR) ; then \
46182 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
46184 rm -f stage_current
46186 # Bubble a bug fix through all the stages up to stage 1. They are
46187 # remade, but not reconfigured. The next stage (if any) will not be
46188 # reconfigured either.
46189 .PHONY: stage1-bubble
46190 stage1-bubble::
46191 @r=`${PWD_COMMAND}`; export r; \
46192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46193 if test -f stage1-lean ; then \
46194 echo Skipping rebuild of stage1 ; \
46195 else \
46196 $(MAKE) stage1-start; \
46197 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
46200 .PHONY: all-stage1 clean-stage1
46201 do-clean: clean-stage1
46203 # FIXME: Will not need to be conditional when toplevel bootstrap is the
46204 # only possibility, but now it conflicts with no-bootstrap rules
46205 @if gcc-bootstrap
46210 # Rules to wipe a stage and all the following ones, also used for cleanstrap
46212 .PHONY: distclean-stage1
46213 distclean-stage1::
46214 @: $(MAKE); $(stage)
46215 @test "`cat stage_last`" != stage1 || rm -f stage_last
46216 rm -rf stage1-*
46219 @endif gcc-bootstrap
46222 .PHONY: stage2-start stage2-end
46224 stage2-start::
46225 @: $(MAKE); $(stage); \
46226 echo stage2 > stage_current ; \
46227 echo stage2 > stage_last; \
46228 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
46229 @if bfd
46230 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
46231 mkdir stage2-bfd; \
46232 mv stage2-bfd bfd ; \
46233 mv stage1-bfd prev-bfd || test -f stage1-lean
46234 @endif bfd
46235 @if opcodes
46236 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
46237 mkdir stage2-opcodes; \
46238 mv stage2-opcodes opcodes ; \
46239 mv stage1-opcodes prev-opcodes || test -f stage1-lean
46240 @endif opcodes
46241 @if binutils
46242 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
46243 mkdir stage2-binutils; \
46244 mv stage2-binutils binutils ; \
46245 mv stage1-binutils prev-binutils || test -f stage1-lean
46246 @endif binutils
46247 @if fixincludes
46248 @cd $(HOST_SUBDIR); [ -d stage2-fixincludes ] || \
46249 mkdir stage2-fixincludes; \
46250 mv stage2-fixincludes fixincludes ; \
46251 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
46252 @endif fixincludes
46253 @if gas
46254 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
46255 mkdir stage2-gas; \
46256 mv stage2-gas gas ; \
46257 mv stage1-gas prev-gas || test -f stage1-lean
46258 @endif gas
46259 @if gcc
46260 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
46261 mkdir stage2-gcc; \
46262 mv stage2-gcc gcc ; \
46263 mv stage1-gcc prev-gcc || test -f stage1-lean
46264 @endif gcc
46265 @if gmp
46266 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
46267 mkdir stage2-gmp; \
46268 mv stage2-gmp gmp ; \
46269 mv stage1-gmp prev-gmp || test -f stage1-lean
46270 @endif gmp
46271 @if mpfr
46272 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
46273 mkdir stage2-mpfr; \
46274 mv stage2-mpfr mpfr ; \
46275 mv stage1-mpfr prev-mpfr || test -f stage1-lean
46276 @endif mpfr
46277 @if mpc
46278 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
46279 mkdir stage2-mpc; \
46280 mv stage2-mpc mpc ; \
46281 mv stage1-mpc prev-mpc || test -f stage1-lean
46282 @endif mpc
46283 @if isl
46284 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
46285 mkdir stage2-isl; \
46286 mv stage2-isl isl ; \
46287 mv stage1-isl prev-isl || test -f stage1-lean
46288 @endif isl
46289 @if libelf
46290 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
46291 mkdir stage2-libelf; \
46292 mv stage2-libelf libelf ; \
46293 mv stage1-libelf prev-libelf || test -f stage1-lean
46294 @endif libelf
46295 @if gold
46296 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
46297 mkdir stage2-gold; \
46298 mv stage2-gold gold ; \
46299 mv stage1-gold prev-gold || test -f stage1-lean
46300 @endif gold
46301 @if intl
46302 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
46303 mkdir stage2-intl; \
46304 mv stage2-intl intl ; \
46305 mv stage1-intl prev-intl || test -f stage1-lean
46306 @endif intl
46307 @if ld
46308 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
46309 mkdir stage2-ld; \
46310 mv stage2-ld ld ; \
46311 mv stage1-ld prev-ld || test -f stage1-lean
46312 @endif ld
46313 @if libbacktrace
46314 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
46315 mkdir stage2-libbacktrace; \
46316 mv stage2-libbacktrace libbacktrace ; \
46317 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
46318 @endif libbacktrace
46319 @if libcpp
46320 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
46321 mkdir stage2-libcpp; \
46322 mv stage2-libcpp libcpp ; \
46323 mv stage1-libcpp prev-libcpp || test -f stage1-lean
46324 @endif libcpp
46325 @if libdecnumber
46326 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
46327 mkdir stage2-libdecnumber; \
46328 mv stage2-libdecnumber libdecnumber ; \
46329 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
46330 @endif libdecnumber
46331 @if libiberty
46332 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
46333 mkdir stage2-libiberty; \
46334 mv stage2-libiberty libiberty ; \
46335 mv stage1-libiberty prev-libiberty || test -f stage1-lean
46336 @endif libiberty
46337 @if libiberty-linker-plugin
46338 @cd $(HOST_SUBDIR); [ -d stage2-libiberty-linker-plugin ] || \
46339 mkdir stage2-libiberty-linker-plugin; \
46340 mv stage2-libiberty-linker-plugin libiberty-linker-plugin ; \
46341 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
46342 @endif libiberty-linker-plugin
46343 @if zlib
46344 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
46345 mkdir stage2-zlib; \
46346 mv stage2-zlib zlib ; \
46347 mv stage1-zlib prev-zlib || test -f stage1-lean
46348 @endif zlib
46349 @if lto-plugin
46350 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
46351 mkdir stage2-lto-plugin; \
46352 mv stage2-lto-plugin lto-plugin ; \
46353 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
46354 @endif lto-plugin
46355 @[ -d stage2-$(TARGET_SUBDIR) ] || \
46356 mkdir stage2-$(TARGET_SUBDIR); \
46357 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
46358 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
46360 stage2-end::
46361 @if bfd
46362 @if test -d $(HOST_SUBDIR)/bfd ; then \
46363 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
46364 mv prev-bfd stage1-bfd ; : ; \
46366 @endif bfd
46367 @if opcodes
46368 @if test -d $(HOST_SUBDIR)/opcodes ; then \
46369 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
46370 mv prev-opcodes stage1-opcodes ; : ; \
46372 @endif opcodes
46373 @if binutils
46374 @if test -d $(HOST_SUBDIR)/binutils ; then \
46375 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
46376 mv prev-binutils stage1-binutils ; : ; \
46378 @endif binutils
46379 @if fixincludes
46380 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
46381 cd $(HOST_SUBDIR); mv fixincludes stage2-fixincludes ; \
46382 mv prev-fixincludes stage1-fixincludes ; : ; \
46384 @endif fixincludes
46385 @if gas
46386 @if test -d $(HOST_SUBDIR)/gas ; then \
46387 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
46388 mv prev-gas stage1-gas ; : ; \
46390 @endif gas
46391 @if gcc
46392 @if test -d $(HOST_SUBDIR)/gcc ; then \
46393 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
46394 mv prev-gcc stage1-gcc ; : ; \
46396 @endif gcc
46397 @if gmp
46398 @if test -d $(HOST_SUBDIR)/gmp ; then \
46399 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
46400 mv prev-gmp stage1-gmp ; : ; \
46402 @endif gmp
46403 @if mpfr
46404 @if test -d $(HOST_SUBDIR)/mpfr ; then \
46405 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
46406 mv prev-mpfr stage1-mpfr ; : ; \
46408 @endif mpfr
46409 @if mpc
46410 @if test -d $(HOST_SUBDIR)/mpc ; then \
46411 cd $(HOST_SUBDIR); mv mpc stage2-mpc ; \
46412 mv prev-mpc stage1-mpc ; : ; \
46414 @endif mpc
46415 @if isl
46416 @if test -d $(HOST_SUBDIR)/isl ; then \
46417 cd $(HOST_SUBDIR); mv isl stage2-isl ; \
46418 mv prev-isl stage1-isl ; : ; \
46420 @endif isl
46421 @if libelf
46422 @if test -d $(HOST_SUBDIR)/libelf ; then \
46423 cd $(HOST_SUBDIR); mv libelf stage2-libelf ; \
46424 mv prev-libelf stage1-libelf ; : ; \
46426 @endif libelf
46427 @if gold
46428 @if test -d $(HOST_SUBDIR)/gold ; then \
46429 cd $(HOST_SUBDIR); mv gold stage2-gold ; \
46430 mv prev-gold stage1-gold ; : ; \
46432 @endif gold
46433 @if intl
46434 @if test -d $(HOST_SUBDIR)/intl ; then \
46435 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
46436 mv prev-intl stage1-intl ; : ; \
46438 @endif intl
46439 @if ld
46440 @if test -d $(HOST_SUBDIR)/ld ; then \
46441 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
46442 mv prev-ld stage1-ld ; : ; \
46444 @endif ld
46445 @if libbacktrace
46446 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
46447 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace ; \
46448 mv prev-libbacktrace stage1-libbacktrace ; : ; \
46450 @endif libbacktrace
46451 @if libcpp
46452 @if test -d $(HOST_SUBDIR)/libcpp ; then \
46453 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
46454 mv prev-libcpp stage1-libcpp ; : ; \
46456 @endif libcpp
46457 @if libdecnumber
46458 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
46459 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
46460 mv prev-libdecnumber stage1-libdecnumber ; : ; \
46462 @endif libdecnumber
46463 @if libiberty
46464 @if test -d $(HOST_SUBDIR)/libiberty ; then \
46465 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
46466 mv prev-libiberty stage1-libiberty ; : ; \
46468 @endif libiberty
46469 @if libiberty-linker-plugin
46470 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
46471 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage2-libiberty-linker-plugin ; \
46472 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin ; : ; \
46474 @endif libiberty-linker-plugin
46475 @if zlib
46476 @if test -d $(HOST_SUBDIR)/zlib ; then \
46477 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
46478 mv prev-zlib stage1-zlib ; : ; \
46480 @endif zlib
46481 @if lto-plugin
46482 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
46483 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin ; \
46484 mv prev-lto-plugin stage1-lto-plugin ; : ; \
46486 @endif lto-plugin
46487 @if test -d $(TARGET_SUBDIR) ; then \
46488 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
46489 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
46491 rm -f stage_current
46493 # Bubble a bug fix through all the stages up to stage 2. They are
46494 # remade, but not reconfigured. The next stage (if any) will not be
46495 # reconfigured either.
46496 .PHONY: stage2-bubble
46497 stage2-bubble:: stage1-bubble
46498 @r=`${PWD_COMMAND}`; export r; \
46499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46500 if test -f stage2-lean || test -f stage1-lean ; then \
46501 echo Skipping rebuild of stage2 ; \
46502 else \
46503 $(MAKE) stage2-start; \
46504 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
46507 .PHONY: all-stage2 clean-stage2
46508 do-clean: clean-stage2
46510 # FIXME: Will not need to be conditional when toplevel bootstrap is the
46511 # only possibility, but now it conflicts with no-bootstrap rules
46512 @if gcc-bootstrap
46516 .PHONY: bootstrap2 bootstrap2-lean
46517 bootstrap2:
46518 echo stage2 > stage_final
46519 @r=`${PWD_COMMAND}`; export r; \
46520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46521 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
46522 @: $(MAKE); $(unstage)
46523 @r=`${PWD_COMMAND}`; export r; \
46524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46525 TFLAGS="$(STAGE2_TFLAGS)"; \
46526 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46528 bootstrap2-lean:
46529 echo stage2 > stage_final
46530 @r=`${PWD_COMMAND}`; export r; \
46531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46532 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
46533 @: $(MAKE); $(unstage)
46534 @r=`${PWD_COMMAND}`; export r; \
46535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46536 TFLAGS="$(STAGE2_TFLAGS)"; \
46537 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46540 # Rules to wipe a stage and all the following ones, also used for cleanstrap
46541 distclean-stage1:: distclean-stage2
46542 .PHONY: distclean-stage2
46543 distclean-stage2::
46544 @: $(MAKE); $(stage)
46545 @test "`cat stage_last`" != stage2 || rm -f stage_last
46546 rm -rf stage2-*
46549 @endif gcc-bootstrap
46552 .PHONY: stage3-start stage3-end
46554 stage3-start::
46555 @: $(MAKE); $(stage); \
46556 echo stage3 > stage_current ; \
46557 echo stage3 > stage_last; \
46558 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
46559 @if bfd
46560 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
46561 mkdir stage3-bfd; \
46562 mv stage3-bfd bfd ; \
46563 mv stage2-bfd prev-bfd || test -f stage2-lean
46564 @endif bfd
46565 @if opcodes
46566 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
46567 mkdir stage3-opcodes; \
46568 mv stage3-opcodes opcodes ; \
46569 mv stage2-opcodes prev-opcodes || test -f stage2-lean
46570 @endif opcodes
46571 @if binutils
46572 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
46573 mkdir stage3-binutils; \
46574 mv stage3-binutils binutils ; \
46575 mv stage2-binutils prev-binutils || test -f stage2-lean
46576 @endif binutils
46577 @if fixincludes
46578 @cd $(HOST_SUBDIR); [ -d stage3-fixincludes ] || \
46579 mkdir stage3-fixincludes; \
46580 mv stage3-fixincludes fixincludes ; \
46581 mv stage2-fixincludes prev-fixincludes || test -f stage2-lean
46582 @endif fixincludes
46583 @if gas
46584 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
46585 mkdir stage3-gas; \
46586 mv stage3-gas gas ; \
46587 mv stage2-gas prev-gas || test -f stage2-lean
46588 @endif gas
46589 @if gcc
46590 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
46591 mkdir stage3-gcc; \
46592 mv stage3-gcc gcc ; \
46593 mv stage2-gcc prev-gcc || test -f stage2-lean
46594 @endif gcc
46595 @if gmp
46596 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
46597 mkdir stage3-gmp; \
46598 mv stage3-gmp gmp ; \
46599 mv stage2-gmp prev-gmp || test -f stage2-lean
46600 @endif gmp
46601 @if mpfr
46602 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
46603 mkdir stage3-mpfr; \
46604 mv stage3-mpfr mpfr ; \
46605 mv stage2-mpfr prev-mpfr || test -f stage2-lean
46606 @endif mpfr
46607 @if mpc
46608 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
46609 mkdir stage3-mpc; \
46610 mv stage3-mpc mpc ; \
46611 mv stage2-mpc prev-mpc || test -f stage2-lean
46612 @endif mpc
46613 @if isl
46614 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
46615 mkdir stage3-isl; \
46616 mv stage3-isl isl ; \
46617 mv stage2-isl prev-isl || test -f stage2-lean
46618 @endif isl
46619 @if libelf
46620 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
46621 mkdir stage3-libelf; \
46622 mv stage3-libelf libelf ; \
46623 mv stage2-libelf prev-libelf || test -f stage2-lean
46624 @endif libelf
46625 @if gold
46626 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
46627 mkdir stage3-gold; \
46628 mv stage3-gold gold ; \
46629 mv stage2-gold prev-gold || test -f stage2-lean
46630 @endif gold
46631 @if intl
46632 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
46633 mkdir stage3-intl; \
46634 mv stage3-intl intl ; \
46635 mv stage2-intl prev-intl || test -f stage2-lean
46636 @endif intl
46637 @if ld
46638 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
46639 mkdir stage3-ld; \
46640 mv stage3-ld ld ; \
46641 mv stage2-ld prev-ld || test -f stage2-lean
46642 @endif ld
46643 @if libbacktrace
46644 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
46645 mkdir stage3-libbacktrace; \
46646 mv stage3-libbacktrace libbacktrace ; \
46647 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
46648 @endif libbacktrace
46649 @if libcpp
46650 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
46651 mkdir stage3-libcpp; \
46652 mv stage3-libcpp libcpp ; \
46653 mv stage2-libcpp prev-libcpp || test -f stage2-lean
46654 @endif libcpp
46655 @if libdecnumber
46656 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
46657 mkdir stage3-libdecnumber; \
46658 mv stage3-libdecnumber libdecnumber ; \
46659 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
46660 @endif libdecnumber
46661 @if libiberty
46662 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
46663 mkdir stage3-libiberty; \
46664 mv stage3-libiberty libiberty ; \
46665 mv stage2-libiberty prev-libiberty || test -f stage2-lean
46666 @endif libiberty
46667 @if libiberty-linker-plugin
46668 @cd $(HOST_SUBDIR); [ -d stage3-libiberty-linker-plugin ] || \
46669 mkdir stage3-libiberty-linker-plugin; \
46670 mv stage3-libiberty-linker-plugin libiberty-linker-plugin ; \
46671 mv stage2-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage2-lean
46672 @endif libiberty-linker-plugin
46673 @if zlib
46674 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
46675 mkdir stage3-zlib; \
46676 mv stage3-zlib zlib ; \
46677 mv stage2-zlib prev-zlib || test -f stage2-lean
46678 @endif zlib
46679 @if lto-plugin
46680 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
46681 mkdir stage3-lto-plugin; \
46682 mv stage3-lto-plugin lto-plugin ; \
46683 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
46684 @endif lto-plugin
46685 @[ -d stage3-$(TARGET_SUBDIR) ] || \
46686 mkdir stage3-$(TARGET_SUBDIR); \
46687 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
46688 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
46690 stage3-end::
46691 @if bfd
46692 @if test -d $(HOST_SUBDIR)/bfd ; then \
46693 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
46694 mv prev-bfd stage2-bfd ; : ; \
46696 @endif bfd
46697 @if opcodes
46698 @if test -d $(HOST_SUBDIR)/opcodes ; then \
46699 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
46700 mv prev-opcodes stage2-opcodes ; : ; \
46702 @endif opcodes
46703 @if binutils
46704 @if test -d $(HOST_SUBDIR)/binutils ; then \
46705 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
46706 mv prev-binutils stage2-binutils ; : ; \
46708 @endif binutils
46709 @if fixincludes
46710 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
46711 cd $(HOST_SUBDIR); mv fixincludes stage3-fixincludes ; \
46712 mv prev-fixincludes stage2-fixincludes ; : ; \
46714 @endif fixincludes
46715 @if gas
46716 @if test -d $(HOST_SUBDIR)/gas ; then \
46717 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
46718 mv prev-gas stage2-gas ; : ; \
46720 @endif gas
46721 @if gcc
46722 @if test -d $(HOST_SUBDIR)/gcc ; then \
46723 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
46724 mv prev-gcc stage2-gcc ; : ; \
46726 @endif gcc
46727 @if gmp
46728 @if test -d $(HOST_SUBDIR)/gmp ; then \
46729 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
46730 mv prev-gmp stage2-gmp ; : ; \
46732 @endif gmp
46733 @if mpfr
46734 @if test -d $(HOST_SUBDIR)/mpfr ; then \
46735 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
46736 mv prev-mpfr stage2-mpfr ; : ; \
46738 @endif mpfr
46739 @if mpc
46740 @if test -d $(HOST_SUBDIR)/mpc ; then \
46741 cd $(HOST_SUBDIR); mv mpc stage3-mpc ; \
46742 mv prev-mpc stage2-mpc ; : ; \
46744 @endif mpc
46745 @if isl
46746 @if test -d $(HOST_SUBDIR)/isl ; then \
46747 cd $(HOST_SUBDIR); mv isl stage3-isl ; \
46748 mv prev-isl stage2-isl ; : ; \
46750 @endif isl
46751 @if libelf
46752 @if test -d $(HOST_SUBDIR)/libelf ; then \
46753 cd $(HOST_SUBDIR); mv libelf stage3-libelf ; \
46754 mv prev-libelf stage2-libelf ; : ; \
46756 @endif libelf
46757 @if gold
46758 @if test -d $(HOST_SUBDIR)/gold ; then \
46759 cd $(HOST_SUBDIR); mv gold stage3-gold ; \
46760 mv prev-gold stage2-gold ; : ; \
46762 @endif gold
46763 @if intl
46764 @if test -d $(HOST_SUBDIR)/intl ; then \
46765 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
46766 mv prev-intl stage2-intl ; : ; \
46768 @endif intl
46769 @if ld
46770 @if test -d $(HOST_SUBDIR)/ld ; then \
46771 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
46772 mv prev-ld stage2-ld ; : ; \
46774 @endif ld
46775 @if libbacktrace
46776 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
46777 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace ; \
46778 mv prev-libbacktrace stage2-libbacktrace ; : ; \
46780 @endif libbacktrace
46781 @if libcpp
46782 @if test -d $(HOST_SUBDIR)/libcpp ; then \
46783 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
46784 mv prev-libcpp stage2-libcpp ; : ; \
46786 @endif libcpp
46787 @if libdecnumber
46788 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
46789 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
46790 mv prev-libdecnumber stage2-libdecnumber ; : ; \
46792 @endif libdecnumber
46793 @if libiberty
46794 @if test -d $(HOST_SUBDIR)/libiberty ; then \
46795 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
46796 mv prev-libiberty stage2-libiberty ; : ; \
46798 @endif libiberty
46799 @if libiberty-linker-plugin
46800 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
46801 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage3-libiberty-linker-plugin ; \
46802 mv prev-libiberty-linker-plugin stage2-libiberty-linker-plugin ; : ; \
46804 @endif libiberty-linker-plugin
46805 @if zlib
46806 @if test -d $(HOST_SUBDIR)/zlib ; then \
46807 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
46808 mv prev-zlib stage2-zlib ; : ; \
46810 @endif zlib
46811 @if lto-plugin
46812 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
46813 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin ; \
46814 mv prev-lto-plugin stage2-lto-plugin ; : ; \
46816 @endif lto-plugin
46817 @if test -d $(TARGET_SUBDIR) ; then \
46818 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
46819 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
46821 rm -f stage_current
46823 # Bubble a bug fix through all the stages up to stage 3. They are
46824 # remade, but not reconfigured. The next stage (if any) will not be
46825 # reconfigured either.
46826 .PHONY: stage3-bubble
46827 stage3-bubble:: stage2-bubble
46828 @r=`${PWD_COMMAND}`; export r; \
46829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46830 if test -f stage3-lean || test -f stage2-lean ; then \
46831 echo Skipping rebuild of stage3 ; \
46832 else \
46833 $(MAKE) stage3-start; \
46834 if $(LEAN); then \
46835 rm -rf stage1-* ; \
46836 $(STAMP) stage1-lean ; \
46837 fi; \
46838 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
46840 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
46842 .PHONY: all-stage3 clean-stage3
46843 do-clean: clean-stage3
46845 # FIXME: Will not need to be conditional when toplevel bootstrap is the
46846 # only possibility, but now it conflicts with no-bootstrap rules
46847 @if gcc-bootstrap
46849 compare:
46850 @r=`${PWD_COMMAND}`; export r; \
46851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46852 if test -f stage2-lean; then \
46853 echo Cannot compare object files as stage 2 was deleted. ; \
46854 exit 0 ; \
46855 fi; \
46856 : $(MAKE); $(stage); \
46857 rm -f .bad_compare ; \
46858 echo Comparing stages 2 and 3 ; \
46859 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
46860 files=`find stage3-* -name "*$(objext)" -print | \
46861 sed -n s,^stage$$sed-,,p` ; \
46862 for file in $${files} ; do \
46863 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
46864 if test ! -f $$f1; then continue; fi; \
46865 $(do-compare) > /dev/null 2>&1; \
46866 if test $$? -eq 1; then \
46867 case $$file in \
46868 @compare_exclusions@) \
46869 echo warning: $$file differs ;; \
46870 *) \
46871 echo $$file differs >> .bad_compare ;; \
46872 esac ; \
46873 fi ; \
46874 done ; \
46875 if [ -f .bad_compare ]; then \
46876 echo "Bootstrap comparison failure!"; \
46877 cat .bad_compare; \
46878 exit 1; \
46879 else \
46880 echo Comparison successful.; \
46881 fi ; \
46882 $(STAMP) compare
46883 if $(LEAN); then \
46884 rm -rf stage2-*; \
46885 $(STAMP) stage2-lean; \
46890 .PHONY: bootstrap bootstrap-lean
46891 bootstrap:
46892 echo stage3 > stage_final
46893 @r=`${PWD_COMMAND}`; export r; \
46894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46895 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
46896 @: $(MAKE); $(unstage)
46897 @r=`${PWD_COMMAND}`; export r; \
46898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46899 TFLAGS="$(STAGE3_TFLAGS)"; \
46900 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46902 bootstrap-lean:
46903 echo stage3 > stage_final
46904 @r=`${PWD_COMMAND}`; export r; \
46905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46906 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
46907 @: $(MAKE); $(unstage)
46908 @r=`${PWD_COMMAND}`; export r; \
46909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46910 TFLAGS="$(STAGE3_TFLAGS)"; \
46911 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46914 # Rules to wipe a stage and all the following ones, also used for cleanstrap
46915 distclean-stage2:: distclean-stage3
46916 .PHONY: distclean-stage3
46917 distclean-stage3::
46918 @: $(MAKE); $(stage)
46919 @test "`cat stage_last`" != stage3 || rm -f stage_last
46920 rm -rf stage3-* compare
46923 .PHONY: cleanstrap
46924 cleanstrap: do-distclean local-clean
46925 echo stage3 > stage_final
46926 @r=`${PWD_COMMAND}`; export r; \
46927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46928 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
46929 @: $(MAKE); $(unstage)
46930 @r=`${PWD_COMMAND}`; export r; \
46931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46932 TFLAGS="$(STAGE3_TFLAGS)"; \
46933 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46935 @endif gcc-bootstrap
46938 .PHONY: stage4-start stage4-end
46940 stage4-start::
46941 @: $(MAKE); $(stage); \
46942 echo stage4 > stage_current ; \
46943 echo stage4 > stage_last; \
46944 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
46945 @if bfd
46946 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
46947 mkdir stage4-bfd; \
46948 mv stage4-bfd bfd ; \
46949 mv stage3-bfd prev-bfd || test -f stage3-lean
46950 @endif bfd
46951 @if opcodes
46952 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
46953 mkdir stage4-opcodes; \
46954 mv stage4-opcodes opcodes ; \
46955 mv stage3-opcodes prev-opcodes || test -f stage3-lean
46956 @endif opcodes
46957 @if binutils
46958 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
46959 mkdir stage4-binutils; \
46960 mv stage4-binutils binutils ; \
46961 mv stage3-binutils prev-binutils || test -f stage3-lean
46962 @endif binutils
46963 @if fixincludes
46964 @cd $(HOST_SUBDIR); [ -d stage4-fixincludes ] || \
46965 mkdir stage4-fixincludes; \
46966 mv stage4-fixincludes fixincludes ; \
46967 mv stage3-fixincludes prev-fixincludes || test -f stage3-lean
46968 @endif fixincludes
46969 @if gas
46970 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
46971 mkdir stage4-gas; \
46972 mv stage4-gas gas ; \
46973 mv stage3-gas prev-gas || test -f stage3-lean
46974 @endif gas
46975 @if gcc
46976 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
46977 mkdir stage4-gcc; \
46978 mv stage4-gcc gcc ; \
46979 mv stage3-gcc prev-gcc || test -f stage3-lean
46980 @endif gcc
46981 @if gmp
46982 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
46983 mkdir stage4-gmp; \
46984 mv stage4-gmp gmp ; \
46985 mv stage3-gmp prev-gmp || test -f stage3-lean
46986 @endif gmp
46987 @if mpfr
46988 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
46989 mkdir stage4-mpfr; \
46990 mv stage4-mpfr mpfr ; \
46991 mv stage3-mpfr prev-mpfr || test -f stage3-lean
46992 @endif mpfr
46993 @if mpc
46994 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
46995 mkdir stage4-mpc; \
46996 mv stage4-mpc mpc ; \
46997 mv stage3-mpc prev-mpc || test -f stage3-lean
46998 @endif mpc
46999 @if isl
47000 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
47001 mkdir stage4-isl; \
47002 mv stage4-isl isl ; \
47003 mv stage3-isl prev-isl || test -f stage3-lean
47004 @endif isl
47005 @if libelf
47006 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
47007 mkdir stage4-libelf; \
47008 mv stage4-libelf libelf ; \
47009 mv stage3-libelf prev-libelf || test -f stage3-lean
47010 @endif libelf
47011 @if gold
47012 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
47013 mkdir stage4-gold; \
47014 mv stage4-gold gold ; \
47015 mv stage3-gold prev-gold || test -f stage3-lean
47016 @endif gold
47017 @if intl
47018 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
47019 mkdir stage4-intl; \
47020 mv stage4-intl intl ; \
47021 mv stage3-intl prev-intl || test -f stage3-lean
47022 @endif intl
47023 @if ld
47024 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
47025 mkdir stage4-ld; \
47026 mv stage4-ld ld ; \
47027 mv stage3-ld prev-ld || test -f stage3-lean
47028 @endif ld
47029 @if libbacktrace
47030 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
47031 mkdir stage4-libbacktrace; \
47032 mv stage4-libbacktrace libbacktrace ; \
47033 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
47034 @endif libbacktrace
47035 @if libcpp
47036 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
47037 mkdir stage4-libcpp; \
47038 mv stage4-libcpp libcpp ; \
47039 mv stage3-libcpp prev-libcpp || test -f stage3-lean
47040 @endif libcpp
47041 @if libdecnumber
47042 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
47043 mkdir stage4-libdecnumber; \
47044 mv stage4-libdecnumber libdecnumber ; \
47045 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
47046 @endif libdecnumber
47047 @if libiberty
47048 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
47049 mkdir stage4-libiberty; \
47050 mv stage4-libiberty libiberty ; \
47051 mv stage3-libiberty prev-libiberty || test -f stage3-lean
47052 @endif libiberty
47053 @if libiberty-linker-plugin
47054 @cd $(HOST_SUBDIR); [ -d stage4-libiberty-linker-plugin ] || \
47055 mkdir stage4-libiberty-linker-plugin; \
47056 mv stage4-libiberty-linker-plugin libiberty-linker-plugin ; \
47057 mv stage3-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage3-lean
47058 @endif libiberty-linker-plugin
47059 @if zlib
47060 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
47061 mkdir stage4-zlib; \
47062 mv stage4-zlib zlib ; \
47063 mv stage3-zlib prev-zlib || test -f stage3-lean
47064 @endif zlib
47065 @if lto-plugin
47066 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
47067 mkdir stage4-lto-plugin; \
47068 mv stage4-lto-plugin lto-plugin ; \
47069 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
47070 @endif lto-plugin
47071 @[ -d stage4-$(TARGET_SUBDIR) ] || \
47072 mkdir stage4-$(TARGET_SUBDIR); \
47073 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
47074 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
47076 stage4-end::
47077 @if bfd
47078 @if test -d $(HOST_SUBDIR)/bfd ; then \
47079 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
47080 mv prev-bfd stage3-bfd ; : ; \
47082 @endif bfd
47083 @if opcodes
47084 @if test -d $(HOST_SUBDIR)/opcodes ; then \
47085 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
47086 mv prev-opcodes stage3-opcodes ; : ; \
47088 @endif opcodes
47089 @if binutils
47090 @if test -d $(HOST_SUBDIR)/binutils ; then \
47091 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
47092 mv prev-binutils stage3-binutils ; : ; \
47094 @endif binutils
47095 @if fixincludes
47096 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
47097 cd $(HOST_SUBDIR); mv fixincludes stage4-fixincludes ; \
47098 mv prev-fixincludes stage3-fixincludes ; : ; \
47100 @endif fixincludes
47101 @if gas
47102 @if test -d $(HOST_SUBDIR)/gas ; then \
47103 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
47104 mv prev-gas stage3-gas ; : ; \
47106 @endif gas
47107 @if gcc
47108 @if test -d $(HOST_SUBDIR)/gcc ; then \
47109 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
47110 mv prev-gcc stage3-gcc ; : ; \
47112 @endif gcc
47113 @if gmp
47114 @if test -d $(HOST_SUBDIR)/gmp ; then \
47115 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
47116 mv prev-gmp stage3-gmp ; : ; \
47118 @endif gmp
47119 @if mpfr
47120 @if test -d $(HOST_SUBDIR)/mpfr ; then \
47121 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
47122 mv prev-mpfr stage3-mpfr ; : ; \
47124 @endif mpfr
47125 @if mpc
47126 @if test -d $(HOST_SUBDIR)/mpc ; then \
47127 cd $(HOST_SUBDIR); mv mpc stage4-mpc ; \
47128 mv prev-mpc stage3-mpc ; : ; \
47130 @endif mpc
47131 @if isl
47132 @if test -d $(HOST_SUBDIR)/isl ; then \
47133 cd $(HOST_SUBDIR); mv isl stage4-isl ; \
47134 mv prev-isl stage3-isl ; : ; \
47136 @endif isl
47137 @if libelf
47138 @if test -d $(HOST_SUBDIR)/libelf ; then \
47139 cd $(HOST_SUBDIR); mv libelf stage4-libelf ; \
47140 mv prev-libelf stage3-libelf ; : ; \
47142 @endif libelf
47143 @if gold
47144 @if test -d $(HOST_SUBDIR)/gold ; then \
47145 cd $(HOST_SUBDIR); mv gold stage4-gold ; \
47146 mv prev-gold stage3-gold ; : ; \
47148 @endif gold
47149 @if intl
47150 @if test -d $(HOST_SUBDIR)/intl ; then \
47151 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
47152 mv prev-intl stage3-intl ; : ; \
47154 @endif intl
47155 @if ld
47156 @if test -d $(HOST_SUBDIR)/ld ; then \
47157 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
47158 mv prev-ld stage3-ld ; : ; \
47160 @endif ld
47161 @if libbacktrace
47162 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
47163 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace ; \
47164 mv prev-libbacktrace stage3-libbacktrace ; : ; \
47166 @endif libbacktrace
47167 @if libcpp
47168 @if test -d $(HOST_SUBDIR)/libcpp ; then \
47169 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
47170 mv prev-libcpp stage3-libcpp ; : ; \
47172 @endif libcpp
47173 @if libdecnumber
47174 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
47175 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
47176 mv prev-libdecnumber stage3-libdecnumber ; : ; \
47178 @endif libdecnumber
47179 @if libiberty
47180 @if test -d $(HOST_SUBDIR)/libiberty ; then \
47181 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
47182 mv prev-libiberty stage3-libiberty ; : ; \
47184 @endif libiberty
47185 @if libiberty-linker-plugin
47186 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
47187 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage4-libiberty-linker-plugin ; \
47188 mv prev-libiberty-linker-plugin stage3-libiberty-linker-plugin ; : ; \
47190 @endif libiberty-linker-plugin
47191 @if zlib
47192 @if test -d $(HOST_SUBDIR)/zlib ; then \
47193 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
47194 mv prev-zlib stage3-zlib ; : ; \
47196 @endif zlib
47197 @if lto-plugin
47198 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
47199 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin ; \
47200 mv prev-lto-plugin stage3-lto-plugin ; : ; \
47202 @endif lto-plugin
47203 @if test -d $(TARGET_SUBDIR) ; then \
47204 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
47205 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
47207 rm -f stage_current
47209 # Bubble a bug fix through all the stages up to stage 4. They are
47210 # remade, but not reconfigured. The next stage (if any) will not be
47211 # reconfigured either.
47212 .PHONY: stage4-bubble
47213 stage4-bubble:: stage3-bubble
47214 @r=`${PWD_COMMAND}`; export r; \
47215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47216 if test -f stage4-lean || test -f stage3-lean ; then \
47217 echo Skipping rebuild of stage4 ; \
47218 else \
47219 $(MAKE) stage4-start; \
47220 if $(LEAN); then \
47221 rm -rf stage2-* ; \
47222 $(STAMP) stage2-lean ; \
47223 fi; \
47224 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
47226 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
47228 .PHONY: all-stage4 clean-stage4
47229 do-clean: clean-stage4
47231 # FIXME: Will not need to be conditional when toplevel bootstrap is the
47232 # only possibility, but now it conflicts with no-bootstrap rules
47233 @if gcc-bootstrap
47235 compare3:
47236 @r=`${PWD_COMMAND}`; export r; \
47237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47238 if test -f stage3-lean; then \
47239 echo Cannot compare object files as stage 3 was deleted. ; \
47240 exit 0 ; \
47241 fi; \
47242 : $(MAKE); $(stage); \
47243 rm -f .bad_compare ; \
47244 echo Comparing stages 3 and 4 ; \
47245 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
47246 files=`find stage4-* -name "*$(objext)" -print | \
47247 sed -n s,^stage$$sed-,,p` ; \
47248 for file in $${files} ; do \
47249 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
47250 if test ! -f $$f1; then continue; fi; \
47251 $(do-compare3) > /dev/null 2>&1; \
47252 if test $$? -eq 1; then \
47253 case $$file in \
47254 @compare_exclusions@) \
47255 echo warning: $$file differs ;; \
47256 *) \
47257 echo $$file differs >> .bad_compare ;; \
47258 esac ; \
47259 fi ; \
47260 done ; \
47261 if [ -f .bad_compare ]; then \
47262 echo "Bootstrap comparison failure!"; \
47263 cat .bad_compare; \
47264 exit 1; \
47265 else \
47266 echo Comparison successful.; \
47267 fi ; \
47268 $(STAMP) compare3
47269 if $(LEAN); then \
47270 rm -rf stage3-*; \
47271 $(STAMP) stage3-lean; \
47276 .PHONY: bootstrap4 bootstrap4-lean
47277 bootstrap4:
47278 echo stage4 > stage_final
47279 @r=`${PWD_COMMAND}`; export r; \
47280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47281 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
47282 @: $(MAKE); $(unstage)
47283 @r=`${PWD_COMMAND}`; export r; \
47284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47285 TFLAGS="$(STAGE4_TFLAGS)"; \
47286 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47288 bootstrap4-lean:
47289 echo stage4 > stage_final
47290 @r=`${PWD_COMMAND}`; export r; \
47291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47292 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
47293 @: $(MAKE); $(unstage)
47294 @r=`${PWD_COMMAND}`; export r; \
47295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47296 TFLAGS="$(STAGE4_TFLAGS)"; \
47297 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47300 # Rules to wipe a stage and all the following ones, also used for cleanstrap
47301 distclean-stage3:: distclean-stage4
47302 .PHONY: distclean-stage4
47303 distclean-stage4::
47304 @: $(MAKE); $(stage)
47305 @test "`cat stage_last`" != stage4 || rm -f stage_last
47306 rm -rf stage4-* compare3
47309 @endif gcc-bootstrap
47312 .PHONY: stageprofile-start stageprofile-end
47314 stageprofile-start::
47315 @: $(MAKE); $(stage); \
47316 echo stageprofile > stage_current ; \
47317 echo stageprofile > stage_last; \
47318 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
47319 @if bfd
47320 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
47321 mkdir stageprofile-bfd; \
47322 mv stageprofile-bfd bfd ; \
47323 mv stage1-bfd prev-bfd || test -f stage1-lean
47324 @endif bfd
47325 @if opcodes
47326 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
47327 mkdir stageprofile-opcodes; \
47328 mv stageprofile-opcodes opcodes ; \
47329 mv stage1-opcodes prev-opcodes || test -f stage1-lean
47330 @endif opcodes
47331 @if binutils
47332 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
47333 mkdir stageprofile-binutils; \
47334 mv stageprofile-binutils binutils ; \
47335 mv stage1-binutils prev-binutils || test -f stage1-lean
47336 @endif binutils
47337 @if fixincludes
47338 @cd $(HOST_SUBDIR); [ -d stageprofile-fixincludes ] || \
47339 mkdir stageprofile-fixincludes; \
47340 mv stageprofile-fixincludes fixincludes ; \
47341 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
47342 @endif fixincludes
47343 @if gas
47344 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
47345 mkdir stageprofile-gas; \
47346 mv stageprofile-gas gas ; \
47347 mv stage1-gas prev-gas || test -f stage1-lean
47348 @endif gas
47349 @if gcc
47350 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
47351 mkdir stageprofile-gcc; \
47352 mv stageprofile-gcc gcc ; \
47353 mv stage1-gcc prev-gcc || test -f stage1-lean
47354 @endif gcc
47355 @if gmp
47356 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
47357 mkdir stageprofile-gmp; \
47358 mv stageprofile-gmp gmp ; \
47359 mv stage1-gmp prev-gmp || test -f stage1-lean
47360 @endif gmp
47361 @if mpfr
47362 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
47363 mkdir stageprofile-mpfr; \
47364 mv stageprofile-mpfr mpfr ; \
47365 mv stage1-mpfr prev-mpfr || test -f stage1-lean
47366 @endif mpfr
47367 @if mpc
47368 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
47369 mkdir stageprofile-mpc; \
47370 mv stageprofile-mpc mpc ; \
47371 mv stage1-mpc prev-mpc || test -f stage1-lean
47372 @endif mpc
47373 @if isl
47374 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
47375 mkdir stageprofile-isl; \
47376 mv stageprofile-isl isl ; \
47377 mv stage1-isl prev-isl || test -f stage1-lean
47378 @endif isl
47379 @if libelf
47380 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
47381 mkdir stageprofile-libelf; \
47382 mv stageprofile-libelf libelf ; \
47383 mv stage1-libelf prev-libelf || test -f stage1-lean
47384 @endif libelf
47385 @if gold
47386 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
47387 mkdir stageprofile-gold; \
47388 mv stageprofile-gold gold ; \
47389 mv stage1-gold prev-gold || test -f stage1-lean
47390 @endif gold
47391 @if intl
47392 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
47393 mkdir stageprofile-intl; \
47394 mv stageprofile-intl intl ; \
47395 mv stage1-intl prev-intl || test -f stage1-lean
47396 @endif intl
47397 @if ld
47398 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
47399 mkdir stageprofile-ld; \
47400 mv stageprofile-ld ld ; \
47401 mv stage1-ld prev-ld || test -f stage1-lean
47402 @endif ld
47403 @if libbacktrace
47404 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
47405 mkdir stageprofile-libbacktrace; \
47406 mv stageprofile-libbacktrace libbacktrace ; \
47407 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
47408 @endif libbacktrace
47409 @if libcpp
47410 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
47411 mkdir stageprofile-libcpp; \
47412 mv stageprofile-libcpp libcpp ; \
47413 mv stage1-libcpp prev-libcpp || test -f stage1-lean
47414 @endif libcpp
47415 @if libdecnumber
47416 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
47417 mkdir stageprofile-libdecnumber; \
47418 mv stageprofile-libdecnumber libdecnumber ; \
47419 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
47420 @endif libdecnumber
47421 @if libiberty
47422 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
47423 mkdir stageprofile-libiberty; \
47424 mv stageprofile-libiberty libiberty ; \
47425 mv stage1-libiberty prev-libiberty || test -f stage1-lean
47426 @endif libiberty
47427 @if libiberty-linker-plugin
47428 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty-linker-plugin ] || \
47429 mkdir stageprofile-libiberty-linker-plugin; \
47430 mv stageprofile-libiberty-linker-plugin libiberty-linker-plugin ; \
47431 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
47432 @endif libiberty-linker-plugin
47433 @if zlib
47434 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
47435 mkdir stageprofile-zlib; \
47436 mv stageprofile-zlib zlib ; \
47437 mv stage1-zlib prev-zlib || test -f stage1-lean
47438 @endif zlib
47439 @if lto-plugin
47440 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
47441 mkdir stageprofile-lto-plugin; \
47442 mv stageprofile-lto-plugin lto-plugin ; \
47443 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
47444 @endif lto-plugin
47445 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
47446 mkdir stageprofile-$(TARGET_SUBDIR); \
47447 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
47448 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
47450 stageprofile-end::
47451 @if bfd
47452 @if test -d $(HOST_SUBDIR)/bfd ; then \
47453 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
47454 mv prev-bfd stage1-bfd ; : ; \
47456 @endif bfd
47457 @if opcodes
47458 @if test -d $(HOST_SUBDIR)/opcodes ; then \
47459 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
47460 mv prev-opcodes stage1-opcodes ; : ; \
47462 @endif opcodes
47463 @if binutils
47464 @if test -d $(HOST_SUBDIR)/binutils ; then \
47465 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
47466 mv prev-binutils stage1-binutils ; : ; \
47468 @endif binutils
47469 @if fixincludes
47470 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
47471 cd $(HOST_SUBDIR); mv fixincludes stageprofile-fixincludes ; \
47472 mv prev-fixincludes stage1-fixincludes ; : ; \
47474 @endif fixincludes
47475 @if gas
47476 @if test -d $(HOST_SUBDIR)/gas ; then \
47477 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
47478 mv prev-gas stage1-gas ; : ; \
47480 @endif gas
47481 @if gcc
47482 @if test -d $(HOST_SUBDIR)/gcc ; then \
47483 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
47484 mv prev-gcc stage1-gcc ; : ; \
47486 @endif gcc
47487 @if gmp
47488 @if test -d $(HOST_SUBDIR)/gmp ; then \
47489 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
47490 mv prev-gmp stage1-gmp ; : ; \
47492 @endif gmp
47493 @if mpfr
47494 @if test -d $(HOST_SUBDIR)/mpfr ; then \
47495 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
47496 mv prev-mpfr stage1-mpfr ; : ; \
47498 @endif mpfr
47499 @if mpc
47500 @if test -d $(HOST_SUBDIR)/mpc ; then \
47501 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc ; \
47502 mv prev-mpc stage1-mpc ; : ; \
47504 @endif mpc
47505 @if isl
47506 @if test -d $(HOST_SUBDIR)/isl ; then \
47507 cd $(HOST_SUBDIR); mv isl stageprofile-isl ; \
47508 mv prev-isl stage1-isl ; : ; \
47510 @endif isl
47511 @if libelf
47512 @if test -d $(HOST_SUBDIR)/libelf ; then \
47513 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf ; \
47514 mv prev-libelf stage1-libelf ; : ; \
47516 @endif libelf
47517 @if gold
47518 @if test -d $(HOST_SUBDIR)/gold ; then \
47519 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
47520 mv prev-gold stage1-gold ; : ; \
47522 @endif gold
47523 @if intl
47524 @if test -d $(HOST_SUBDIR)/intl ; then \
47525 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
47526 mv prev-intl stage1-intl ; : ; \
47528 @endif intl
47529 @if ld
47530 @if test -d $(HOST_SUBDIR)/ld ; then \
47531 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
47532 mv prev-ld stage1-ld ; : ; \
47534 @endif ld
47535 @if libbacktrace
47536 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
47537 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace ; \
47538 mv prev-libbacktrace stage1-libbacktrace ; : ; \
47540 @endif libbacktrace
47541 @if libcpp
47542 @if test -d $(HOST_SUBDIR)/libcpp ; then \
47543 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
47544 mv prev-libcpp stage1-libcpp ; : ; \
47546 @endif libcpp
47547 @if libdecnumber
47548 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
47549 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
47550 mv prev-libdecnumber stage1-libdecnumber ; : ; \
47552 @endif libdecnumber
47553 @if libiberty
47554 @if test -d $(HOST_SUBDIR)/libiberty ; then \
47555 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
47556 mv prev-libiberty stage1-libiberty ; : ; \
47558 @endif libiberty
47559 @if libiberty-linker-plugin
47560 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
47561 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageprofile-libiberty-linker-plugin ; \
47562 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin ; : ; \
47564 @endif libiberty-linker-plugin
47565 @if zlib
47566 @if test -d $(HOST_SUBDIR)/zlib ; then \
47567 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
47568 mv prev-zlib stage1-zlib ; : ; \
47570 @endif zlib
47571 @if lto-plugin
47572 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
47573 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin ; \
47574 mv prev-lto-plugin stage1-lto-plugin ; : ; \
47576 @endif lto-plugin
47577 @if test -d $(TARGET_SUBDIR) ; then \
47578 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
47579 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
47581 rm -f stage_current
47583 # Bubble a bug fix through all the stages up to stage profile. They are
47584 # remade, but not reconfigured. The next stage (if any) will not be
47585 # reconfigured either.
47586 .PHONY: stageprofile-bubble
47587 stageprofile-bubble:: stage1-bubble
47588 @r=`${PWD_COMMAND}`; export r; \
47589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47590 if test -f stageprofile-lean || test -f stage1-lean ; then \
47591 echo Skipping rebuild of stageprofile ; \
47592 else \
47593 $(MAKE) stageprofile-start; \
47594 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
47597 .PHONY: all-stageprofile clean-stageprofile
47598 do-clean: clean-stageprofile
47600 # FIXME: Will not need to be conditional when toplevel bootstrap is the
47601 # only possibility, but now it conflicts with no-bootstrap rules
47602 @if gcc-bootstrap
47607 # Rules to wipe a stage and all the following ones, also used for cleanstrap
47608 distclean-stage1:: distclean-stageprofile
47609 .PHONY: distclean-stageprofile
47610 distclean-stageprofile::
47611 @: $(MAKE); $(stage)
47612 @test "`cat stage_last`" != stageprofile || rm -f stage_last
47613 rm -rf stageprofile-*
47616 @endif gcc-bootstrap
47619 .PHONY: stagefeedback-start stagefeedback-end
47621 stagefeedback-start::
47622 @: $(MAKE); $(stage); \
47623 echo stagefeedback > stage_current ; \
47624 echo stagefeedback > stage_last; \
47625 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
47626 @if bfd
47627 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
47628 mkdir stagefeedback-bfd; \
47629 mv stagefeedback-bfd bfd ; \
47630 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
47631 @endif bfd
47632 @if opcodes
47633 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
47634 mkdir stagefeedback-opcodes; \
47635 mv stagefeedback-opcodes opcodes ; \
47636 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
47637 @endif opcodes
47638 @if binutils
47639 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
47640 mkdir stagefeedback-binutils; \
47641 mv stagefeedback-binutils binutils ; \
47642 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
47643 @endif binutils
47644 @if fixincludes
47645 @cd $(HOST_SUBDIR); [ -d stagefeedback-fixincludes ] || \
47646 mkdir stagefeedback-fixincludes; \
47647 mv stagefeedback-fixincludes fixincludes ; \
47648 mv stageprofile-fixincludes prev-fixincludes || test -f stageprofile-lean
47649 @endif fixincludes
47650 @if gas
47651 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
47652 mkdir stagefeedback-gas; \
47653 mv stagefeedback-gas gas ; \
47654 mv stageprofile-gas prev-gas || test -f stageprofile-lean
47655 @endif gas
47656 @if gcc
47657 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
47658 mkdir stagefeedback-gcc; \
47659 mv stagefeedback-gcc gcc ; \
47660 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
47661 @endif gcc
47662 @if gmp
47663 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
47664 mkdir stagefeedback-gmp; \
47665 mv stagefeedback-gmp gmp ; \
47666 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
47667 @endif gmp
47668 @if mpfr
47669 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
47670 mkdir stagefeedback-mpfr; \
47671 mv stagefeedback-mpfr mpfr ; \
47672 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
47673 @endif mpfr
47674 @if mpc
47675 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
47676 mkdir stagefeedback-mpc; \
47677 mv stagefeedback-mpc mpc ; \
47678 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
47679 @endif mpc
47680 @if isl
47681 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
47682 mkdir stagefeedback-isl; \
47683 mv stagefeedback-isl isl ; \
47684 mv stageprofile-isl prev-isl || test -f stageprofile-lean
47685 @endif isl
47686 @if libelf
47687 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
47688 mkdir stagefeedback-libelf; \
47689 mv stagefeedback-libelf libelf ; \
47690 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
47691 @endif libelf
47692 @if gold
47693 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
47694 mkdir stagefeedback-gold; \
47695 mv stagefeedback-gold gold ; \
47696 mv stageprofile-gold prev-gold || test -f stageprofile-lean
47697 @endif gold
47698 @if intl
47699 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
47700 mkdir stagefeedback-intl; \
47701 mv stagefeedback-intl intl ; \
47702 mv stageprofile-intl prev-intl || test -f stageprofile-lean
47703 @endif intl
47704 @if ld
47705 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
47706 mkdir stagefeedback-ld; \
47707 mv stagefeedback-ld ld ; \
47708 mv stageprofile-ld prev-ld || test -f stageprofile-lean
47709 @endif ld
47710 @if libbacktrace
47711 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
47712 mkdir stagefeedback-libbacktrace; \
47713 mv stagefeedback-libbacktrace libbacktrace ; \
47714 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
47715 @endif libbacktrace
47716 @if libcpp
47717 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
47718 mkdir stagefeedback-libcpp; \
47719 mv stagefeedback-libcpp libcpp ; \
47720 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
47721 @endif libcpp
47722 @if libdecnumber
47723 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
47724 mkdir stagefeedback-libdecnumber; \
47725 mv stagefeedback-libdecnumber libdecnumber ; \
47726 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
47727 @endif libdecnumber
47728 @if libiberty
47729 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
47730 mkdir stagefeedback-libiberty; \
47731 mv stagefeedback-libiberty libiberty ; \
47732 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
47733 @endif libiberty
47734 @if libiberty-linker-plugin
47735 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty-linker-plugin ] || \
47736 mkdir stagefeedback-libiberty-linker-plugin; \
47737 mv stagefeedback-libiberty-linker-plugin libiberty-linker-plugin ; \
47738 mv stageprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageprofile-lean
47739 @endif libiberty-linker-plugin
47740 @if zlib
47741 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
47742 mkdir stagefeedback-zlib; \
47743 mv stagefeedback-zlib zlib ; \
47744 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
47745 @endif zlib
47746 @if lto-plugin
47747 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
47748 mkdir stagefeedback-lto-plugin; \
47749 mv stagefeedback-lto-plugin lto-plugin ; \
47750 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
47751 @endif lto-plugin
47752 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
47753 mkdir stagefeedback-$(TARGET_SUBDIR); \
47754 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
47755 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
47757 stagefeedback-end::
47758 @if bfd
47759 @if test -d $(HOST_SUBDIR)/bfd ; then \
47760 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
47761 mv prev-bfd stageprofile-bfd ; : ; \
47763 @endif bfd
47764 @if opcodes
47765 @if test -d $(HOST_SUBDIR)/opcodes ; then \
47766 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
47767 mv prev-opcodes stageprofile-opcodes ; : ; \
47769 @endif opcodes
47770 @if binutils
47771 @if test -d $(HOST_SUBDIR)/binutils ; then \
47772 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
47773 mv prev-binutils stageprofile-binutils ; : ; \
47775 @endif binutils
47776 @if fixincludes
47777 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
47778 cd $(HOST_SUBDIR); mv fixincludes stagefeedback-fixincludes ; \
47779 mv prev-fixincludes stageprofile-fixincludes ; : ; \
47781 @endif fixincludes
47782 @if gas
47783 @if test -d $(HOST_SUBDIR)/gas ; then \
47784 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
47785 mv prev-gas stageprofile-gas ; : ; \
47787 @endif gas
47788 @if gcc
47789 @if test -d $(HOST_SUBDIR)/gcc ; then \
47790 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
47791 mv prev-gcc stageprofile-gcc ; : ; \
47793 @endif gcc
47794 @if gmp
47795 @if test -d $(HOST_SUBDIR)/gmp ; then \
47796 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
47797 mv prev-gmp stageprofile-gmp ; : ; \
47799 @endif gmp
47800 @if mpfr
47801 @if test -d $(HOST_SUBDIR)/mpfr ; then \
47802 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
47803 mv prev-mpfr stageprofile-mpfr ; : ; \
47805 @endif mpfr
47806 @if mpc
47807 @if test -d $(HOST_SUBDIR)/mpc ; then \
47808 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc ; \
47809 mv prev-mpc stageprofile-mpc ; : ; \
47811 @endif mpc
47812 @if isl
47813 @if test -d $(HOST_SUBDIR)/isl ; then \
47814 cd $(HOST_SUBDIR); mv isl stagefeedback-isl ; \
47815 mv prev-isl stageprofile-isl ; : ; \
47817 @endif isl
47818 @if libelf
47819 @if test -d $(HOST_SUBDIR)/libelf ; then \
47820 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf ; \
47821 mv prev-libelf stageprofile-libelf ; : ; \
47823 @endif libelf
47824 @if gold
47825 @if test -d $(HOST_SUBDIR)/gold ; then \
47826 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
47827 mv prev-gold stageprofile-gold ; : ; \
47829 @endif gold
47830 @if intl
47831 @if test -d $(HOST_SUBDIR)/intl ; then \
47832 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
47833 mv prev-intl stageprofile-intl ; : ; \
47835 @endif intl
47836 @if ld
47837 @if test -d $(HOST_SUBDIR)/ld ; then \
47838 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
47839 mv prev-ld stageprofile-ld ; : ; \
47841 @endif ld
47842 @if libbacktrace
47843 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
47844 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace ; \
47845 mv prev-libbacktrace stageprofile-libbacktrace ; : ; \
47847 @endif libbacktrace
47848 @if libcpp
47849 @if test -d $(HOST_SUBDIR)/libcpp ; then \
47850 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
47851 mv prev-libcpp stageprofile-libcpp ; : ; \
47853 @endif libcpp
47854 @if libdecnumber
47855 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
47856 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
47857 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
47859 @endif libdecnumber
47860 @if libiberty
47861 @if test -d $(HOST_SUBDIR)/libiberty ; then \
47862 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
47863 mv prev-libiberty stageprofile-libiberty ; : ; \
47865 @endif libiberty
47866 @if libiberty-linker-plugin
47867 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
47868 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagefeedback-libiberty-linker-plugin ; \
47869 mv prev-libiberty-linker-plugin stageprofile-libiberty-linker-plugin ; : ; \
47871 @endif libiberty-linker-plugin
47872 @if zlib
47873 @if test -d $(HOST_SUBDIR)/zlib ; then \
47874 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
47875 mv prev-zlib stageprofile-zlib ; : ; \
47877 @endif zlib
47878 @if lto-plugin
47879 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
47880 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin ; \
47881 mv prev-lto-plugin stageprofile-lto-plugin ; : ; \
47883 @endif lto-plugin
47884 @if test -d $(TARGET_SUBDIR) ; then \
47885 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
47886 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
47888 rm -f stage_current
47890 # Bubble a bug fix through all the stages up to stage feedback. They are
47891 # remade, but not reconfigured. The next stage (if any) will not be
47892 # reconfigured either.
47893 .PHONY: stagefeedback-bubble
47894 stagefeedback-bubble:: stageprofile-bubble
47895 @r=`${PWD_COMMAND}`; export r; \
47896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47897 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
47898 echo Skipping rebuild of stagefeedback ; \
47899 else \
47900 $(MAKE) stagefeedback-start; \
47901 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
47904 .PHONY: all-stagefeedback clean-stagefeedback
47905 do-clean: clean-stagefeedback
47907 # FIXME: Will not need to be conditional when toplevel bootstrap is the
47908 # only possibility, but now it conflicts with no-bootstrap rules
47909 @if gcc-bootstrap
47913 .PHONY: profiledbootstrap profiledbootstrap-lean
47914 profiledbootstrap:
47915 echo stagefeedback > stage_final
47916 @r=`${PWD_COMMAND}`; export r; \
47917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47918 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
47919 @: $(MAKE); $(unstage)
47920 @r=`${PWD_COMMAND}`; export r; \
47921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47922 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
47923 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47925 profiledbootstrap-lean:
47926 echo stagefeedback > stage_final
47927 @r=`${PWD_COMMAND}`; export r; \
47928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47929 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
47930 @: $(MAKE); $(unstage)
47931 @r=`${PWD_COMMAND}`; export r; \
47932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47933 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
47934 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47937 # Rules to wipe a stage and all the following ones, also used for cleanstrap
47938 distclean-stageprofile:: distclean-stagefeedback
47939 .PHONY: distclean-stagefeedback
47940 distclean-stagefeedback::
47941 @: $(MAKE); $(stage)
47942 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
47943 rm -rf stagefeedback-*
47946 @endif gcc-bootstrap
47950 stageprofile-end::
47951 $(MAKE) distclean-stagefeedback
47953 stagefeedback-start::
47954 @r=`${PWD_COMMAND}`; export r; \
47955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47956 for i in prev-*; do \
47957 j=`echo $$i | sed s/^prev-//` ; \
47958 cd $$r/$$i && \
47959 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
47960 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
47961 done
47963 @if gcc-bootstrap
47964 do-distclean: distclean-stage1
47966 # Provide a GCC build when we're building target libraries. This does
47967 # not work as a dependency, just as the minimum necessary to avoid errors.
47968 stage_last:
47969 @r=`${PWD_COMMAND}`; export r; \
47970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47971 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
47973 # Same as unstage, but not phony and defaulting to stage1-start. We place
47974 # it in the dependency so that for example `make -j3 all-gcc' works.
47975 stage_current:
47976 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
47978 .PHONY: restrap
47979 restrap::
47980 @: $(MAKE); $(stage)
47981 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
47982 restrap:: all
47983 @endif gcc-bootstrap
47985 # --------------------------------------
47986 # Dependencies between different modules
47987 # --------------------------------------
47989 # Generic dependencies for target modules on host stuff, especially gcc
47990 @if gcc-bootstrap
47991 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
47992 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
47993 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
47994 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
47995 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
47996 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
47997 configure-stage1-target-libsanitizer: maybe-all-stage1-gcc
47998 configure-stage2-target-libsanitizer: maybe-all-stage2-gcc
47999 configure-stage3-target-libsanitizer: maybe-all-stage3-gcc
48000 configure-stage4-target-libsanitizer: maybe-all-stage4-gcc
48001 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-gcc
48002 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-gcc
48003 configure-stage1-target-libvtv: maybe-all-stage1-gcc
48004 configure-stage2-target-libvtv: maybe-all-stage2-gcc
48005 configure-stage3-target-libvtv: maybe-all-stage3-gcc
48006 configure-stage4-target-libvtv: maybe-all-stage4-gcc
48007 configure-stageprofile-target-libvtv: maybe-all-stageprofile-gcc
48008 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-gcc
48009 configure-target-libcilkrts: stage_last
48010 configure-target-liboffloadmic: stage_last
48011 configure-target-libssp: stage_last
48012 configure-target-newlib: stage_last
48013 configure-stage1-target-libgcc: maybe-all-stage1-gcc
48014 configure-stage2-target-libgcc: maybe-all-stage2-gcc
48015 configure-stage3-target-libgcc: maybe-all-stage3-gcc
48016 configure-stage4-target-libgcc: maybe-all-stage4-gcc
48017 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
48018 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
48019 configure-target-libbacktrace: stage_last
48020 configure-target-libquadmath: stage_last
48021 configure-target-libgfortran: stage_last
48022 configure-target-libobjc: stage_last
48023 configure-target-libgo: stage_last
48024 configure-target-libtermcap: stage_last
48025 configure-target-winsup: stage_last
48026 configure-target-libgloss: stage_last
48027 configure-target-libffi: stage_last
48028 configure-target-libjava: stage_last
48029 configure-target-zlib: stage_last
48030 configure-target-boehm-gc: stage_last
48031 configure-target-rda: stage_last
48032 configure-target-libada: stage_last
48033 configure-stage1-target-libgomp: maybe-all-stage1-gcc
48034 configure-stage2-target-libgomp: maybe-all-stage2-gcc
48035 configure-stage3-target-libgomp: maybe-all-stage3-gcc
48036 configure-stage4-target-libgomp: maybe-all-stage4-gcc
48037 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
48038 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
48039 configure-target-libitm: stage_last
48040 configure-target-libatomic: stage_last
48041 @endif gcc-bootstrap
48043 @if gcc-no-bootstrap
48044 configure-target-libstdc++-v3: maybe-all-gcc
48045 configure-target-libsanitizer: maybe-all-gcc
48046 configure-target-libvtv: maybe-all-gcc
48047 configure-target-libcilkrts: maybe-all-gcc
48048 configure-target-liboffloadmic: maybe-all-gcc
48049 configure-target-libssp: maybe-all-gcc
48050 configure-target-newlib: maybe-all-gcc
48051 configure-target-libgcc: maybe-all-gcc
48052 configure-target-libbacktrace: maybe-all-gcc
48053 configure-target-libquadmath: maybe-all-gcc
48054 configure-target-libgfortran: maybe-all-gcc
48055 configure-target-libobjc: maybe-all-gcc
48056 configure-target-libgo: maybe-all-gcc
48057 configure-target-libtermcap: maybe-all-gcc
48058 configure-target-winsup: maybe-all-gcc
48059 configure-target-libgloss: maybe-all-gcc
48060 configure-target-libffi: maybe-all-gcc
48061 configure-target-libjava: maybe-all-gcc
48062 configure-target-zlib: maybe-all-gcc
48063 configure-target-boehm-gc: maybe-all-gcc
48064 configure-target-rda: maybe-all-gcc
48065 configure-target-libada: maybe-all-gcc
48066 configure-target-libgomp: maybe-all-gcc
48067 configure-target-libitm: maybe-all-gcc
48068 configure-target-libatomic: maybe-all-gcc
48069 @endif gcc-no-bootstrap
48072 # There are two types of dependencies here: 'hard' dependencies, where one
48073 # module simply won't build without the other; and 'soft' dependencies, where
48074 # if the depended-on module is missing, the depending module will do without
48075 # or find a substitute somewhere (perhaps installed). Soft dependencies
48076 # are made here to depend on a 'maybe-' target. If you're not sure,
48077 # it's safer to use a soft dependency.
48084 # With all the machinery above in place, it is pretty easy to generate
48085 # dependencies. Host dependencies are a bit more complex because we have
48086 # to check for bootstrap/prebootstrap dependencies. To resolve
48087 # prebootstrap dependencies, prebootstrap modules are gathered in
48088 # a hash table.
48089 all-build-bison: maybe-all-build-texinfo
48090 all-build-flex: maybe-all-build-texinfo
48091 all-build-flex: maybe-all-build-bison
48092 all-build-flex: maybe-all-build-m4
48093 all-build-libiberty: maybe-all-build-texinfo
48094 all-build-m4: maybe-all-build-texinfo
48095 all-build-fixincludes: maybe-all-build-libiberty
48096 all-build-libcpp: maybe-all-build-libiberty
48097 configure-gcc: maybe-configure-intl
48099 configure-stage1-gcc: maybe-configure-stage1-intl
48100 configure-stage2-gcc: maybe-configure-stage2-intl
48101 configure-stage3-gcc: maybe-configure-stage3-intl
48102 configure-stage4-gcc: maybe-configure-stage4-intl
48103 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
48104 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
48105 configure-gcc: maybe-all-gmp
48107 configure-stage1-gcc: maybe-all-stage1-gmp
48108 configure-stage2-gcc: maybe-all-stage2-gmp
48109 configure-stage3-gcc: maybe-all-stage3-gmp
48110 configure-stage4-gcc: maybe-all-stage4-gmp
48111 configure-stageprofile-gcc: maybe-all-stageprofile-gmp
48112 configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp
48113 configure-gcc: maybe-all-mpfr
48115 configure-stage1-gcc: maybe-all-stage1-mpfr
48116 configure-stage2-gcc: maybe-all-stage2-mpfr
48117 configure-stage3-gcc: maybe-all-stage3-mpfr
48118 configure-stage4-gcc: maybe-all-stage4-mpfr
48119 configure-stageprofile-gcc: maybe-all-stageprofile-mpfr
48120 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
48121 configure-gcc: maybe-all-mpc
48123 configure-stage1-gcc: maybe-all-stage1-mpc
48124 configure-stage2-gcc: maybe-all-stage2-mpc
48125 configure-stage3-gcc: maybe-all-stage3-mpc
48126 configure-stage4-gcc: maybe-all-stage4-mpc
48127 configure-stageprofile-gcc: maybe-all-stageprofile-mpc
48128 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpc
48129 configure-gcc: maybe-all-isl
48131 configure-stage1-gcc: maybe-all-stage1-isl
48132 configure-stage2-gcc: maybe-all-stage2-isl
48133 configure-stage3-gcc: maybe-all-stage3-isl
48134 configure-stage4-gcc: maybe-all-stage4-isl
48135 configure-stageprofile-gcc: maybe-all-stageprofile-isl
48136 configure-stagefeedback-gcc: maybe-all-stagefeedback-isl
48137 configure-gcc: maybe-all-lto-plugin
48139 configure-stage1-gcc: maybe-all-stage1-lto-plugin
48140 configure-stage2-gcc: maybe-all-stage2-lto-plugin
48141 configure-stage3-gcc: maybe-all-stage3-lto-plugin
48142 configure-stage4-gcc: maybe-all-stage4-lto-plugin
48143 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
48144 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
48145 configure-gcc: maybe-all-binutils
48147 configure-stage1-gcc: maybe-all-stage1-binutils
48148 configure-stage2-gcc: maybe-all-stage2-binutils
48149 configure-stage3-gcc: maybe-all-stage3-binutils
48150 configure-stage4-gcc: maybe-all-stage4-binutils
48151 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
48152 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
48153 configure-gcc: maybe-all-gas
48155 configure-stage1-gcc: maybe-all-stage1-gas
48156 configure-stage2-gcc: maybe-all-stage2-gas
48157 configure-stage3-gcc: maybe-all-stage3-gas
48158 configure-stage4-gcc: maybe-all-stage4-gas
48159 configure-stageprofile-gcc: maybe-all-stageprofile-gas
48160 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
48161 configure-gcc: maybe-all-ld
48163 configure-stage1-gcc: maybe-all-stage1-ld
48164 configure-stage2-gcc: maybe-all-stage2-ld
48165 configure-stage3-gcc: maybe-all-stage3-ld
48166 configure-stage4-gcc: maybe-all-stage4-ld
48167 configure-stageprofile-gcc: maybe-all-stageprofile-ld
48168 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
48169 configure-gcc: maybe-all-gold
48171 configure-stage1-gcc: maybe-all-stage1-gold
48172 configure-stage2-gcc: maybe-all-stage2-gold
48173 configure-stage3-gcc: maybe-all-stage3-gold
48174 configure-stage4-gcc: maybe-all-stage4-gold
48175 configure-stageprofile-gcc: maybe-all-stageprofile-gold
48176 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
48177 configure-gcc: maybe-all-libelf
48179 configure-stage1-gcc: maybe-all-stage1-libelf
48180 configure-stage2-gcc: maybe-all-stage2-libelf
48181 configure-stage3-gcc: maybe-all-stage3-libelf
48182 configure-stage4-gcc: maybe-all-stage4-libelf
48183 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
48184 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
48185 all-gcc: all-libiberty
48187 all-stage1-gcc: all-stage1-libiberty
48188 all-stage2-gcc: all-stage2-libiberty
48189 all-stage3-gcc: all-stage3-libiberty
48190 all-stage4-gcc: all-stage4-libiberty
48191 all-stageprofile-gcc: all-stageprofile-libiberty
48192 all-stagefeedback-gcc: all-stagefeedback-libiberty
48193 all-gcc: maybe-all-intl
48195 all-stage1-gcc: maybe-all-stage1-intl
48196 all-stage2-gcc: maybe-all-stage2-intl
48197 all-stage3-gcc: maybe-all-stage3-intl
48198 all-stage4-gcc: maybe-all-stage4-intl
48199 all-stageprofile-gcc: maybe-all-stageprofile-intl
48200 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
48201 all-gcc: maybe-all-mpfr
48203 all-stage1-gcc: maybe-all-stage1-mpfr
48204 all-stage2-gcc: maybe-all-stage2-mpfr
48205 all-stage3-gcc: maybe-all-stage3-mpfr
48206 all-stage4-gcc: maybe-all-stage4-mpfr
48207 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
48208 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
48209 all-gcc: maybe-all-mpc
48211 all-stage1-gcc: maybe-all-stage1-mpc
48212 all-stage2-gcc: maybe-all-stage2-mpc
48213 all-stage3-gcc: maybe-all-stage3-mpc
48214 all-stage4-gcc: maybe-all-stage4-mpc
48215 all-stageprofile-gcc: maybe-all-stageprofile-mpc
48216 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
48217 all-gcc: maybe-all-isl
48219 all-stage1-gcc: maybe-all-stage1-isl
48220 all-stage2-gcc: maybe-all-stage2-isl
48221 all-stage3-gcc: maybe-all-stage3-isl
48222 all-stage4-gcc: maybe-all-stage4-isl
48223 all-stageprofile-gcc: maybe-all-stageprofile-isl
48224 all-stagefeedback-gcc: maybe-all-stagefeedback-isl
48225 all-gcc: maybe-all-build-texinfo
48227 all-stage1-gcc: maybe-all-build-texinfo
48228 all-stage2-gcc: maybe-all-build-texinfo
48229 all-stage3-gcc: maybe-all-build-texinfo
48230 all-stage4-gcc: maybe-all-build-texinfo
48231 all-stageprofile-gcc: maybe-all-build-texinfo
48232 all-stagefeedback-gcc: maybe-all-build-texinfo
48233 all-gcc: maybe-all-build-bison
48235 all-stage1-gcc: maybe-all-build-bison
48236 all-stage2-gcc: maybe-all-build-bison
48237 all-stage3-gcc: maybe-all-build-bison
48238 all-stage4-gcc: maybe-all-build-bison
48239 all-stageprofile-gcc: maybe-all-build-bison
48240 all-stagefeedback-gcc: maybe-all-build-bison
48241 all-gcc: maybe-all-build-flex
48243 all-stage1-gcc: maybe-all-build-flex
48244 all-stage2-gcc: maybe-all-build-flex
48245 all-stage3-gcc: maybe-all-build-flex
48246 all-stage4-gcc: maybe-all-build-flex
48247 all-stageprofile-gcc: maybe-all-build-flex
48248 all-stagefeedback-gcc: maybe-all-build-flex
48249 all-gcc: maybe-all-build-libiberty
48251 all-stage1-gcc: maybe-all-build-libiberty
48252 all-stage2-gcc: maybe-all-build-libiberty
48253 all-stage3-gcc: maybe-all-build-libiberty
48254 all-stage4-gcc: maybe-all-build-libiberty
48255 all-stageprofile-gcc: maybe-all-build-libiberty
48256 all-stagefeedback-gcc: maybe-all-build-libiberty
48257 all-gcc: maybe-all-build-fixincludes
48259 all-stage1-gcc: maybe-all-build-fixincludes
48260 all-stage2-gcc: maybe-all-build-fixincludes
48261 all-stage3-gcc: maybe-all-build-fixincludes
48262 all-stage4-gcc: maybe-all-build-fixincludes
48263 all-stageprofile-gcc: maybe-all-build-fixincludes
48264 all-stagefeedback-gcc: maybe-all-build-fixincludes
48265 all-gcc: maybe-all-build-libcpp
48267 all-stage1-gcc: maybe-all-build-libcpp
48268 all-stage2-gcc: maybe-all-build-libcpp
48269 all-stage3-gcc: maybe-all-build-libcpp
48270 all-stage4-gcc: maybe-all-build-libcpp
48271 all-stageprofile-gcc: maybe-all-build-libcpp
48272 all-stagefeedback-gcc: maybe-all-build-libcpp
48273 all-gcc: maybe-all-zlib
48275 all-stage1-gcc: maybe-all-stage1-zlib
48276 all-stage2-gcc: maybe-all-stage2-zlib
48277 all-stage3-gcc: maybe-all-stage3-zlib
48278 all-stage4-gcc: maybe-all-stage4-zlib
48279 all-stageprofile-gcc: maybe-all-stageprofile-zlib
48280 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
48281 all-gcc: all-libbacktrace
48283 all-stage1-gcc: all-stage1-libbacktrace
48284 all-stage2-gcc: all-stage2-libbacktrace
48285 all-stage3-gcc: all-stage3-libbacktrace
48286 all-stage4-gcc: all-stage4-libbacktrace
48287 all-stageprofile-gcc: all-stageprofile-libbacktrace
48288 all-stagefeedback-gcc: all-stagefeedback-libbacktrace
48289 all-gcc: all-libcpp
48291 all-stage1-gcc: all-stage1-libcpp
48292 all-stage2-gcc: all-stage2-libcpp
48293 all-stage3-gcc: all-stage3-libcpp
48294 all-stage4-gcc: all-stage4-libcpp
48295 all-stageprofile-gcc: all-stageprofile-libcpp
48296 all-stagefeedback-gcc: all-stagefeedback-libcpp
48297 all-gcc: all-libdecnumber
48299 all-stage1-gcc: all-stage1-libdecnumber
48300 all-stage2-gcc: all-stage2-libdecnumber
48301 all-stage3-gcc: all-stage3-libdecnumber
48302 all-stage4-gcc: all-stage4-libdecnumber
48303 all-stageprofile-gcc: all-stageprofile-libdecnumber
48304 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
48305 all-gcc: maybe-all-libiberty
48307 all-stage1-gcc: maybe-all-stage1-libiberty
48308 all-stage2-gcc: maybe-all-stage2-libiberty
48309 all-stage3-gcc: maybe-all-stage3-libiberty
48310 all-stage4-gcc: maybe-all-stage4-libiberty
48311 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
48312 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
48313 all-gcc: maybe-all-fixincludes
48315 all-stage1-gcc: maybe-all-stage1-fixincludes
48316 all-stage2-gcc: maybe-all-stage2-fixincludes
48317 all-stage3-gcc: maybe-all-stage3-fixincludes
48318 all-stage4-gcc: maybe-all-stage4-fixincludes
48319 all-stageprofile-gcc: maybe-all-stageprofile-fixincludes
48320 all-stagefeedback-gcc: maybe-all-stagefeedback-fixincludes
48321 all-gcc: maybe-all-lto-plugin
48323 all-stage1-gcc: maybe-all-stage1-lto-plugin
48324 all-stage2-gcc: maybe-all-stage2-lto-plugin
48325 all-stage3-gcc: maybe-all-stage3-lto-plugin
48326 all-stage4-gcc: maybe-all-stage4-lto-plugin
48327 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
48328 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
48329 info-gcc: maybe-all-build-libiberty
48331 info-stage1-gcc: maybe-all-build-libiberty
48332 info-stage2-gcc: maybe-all-build-libiberty
48333 info-stage3-gcc: maybe-all-build-libiberty
48334 info-stage4-gcc: maybe-all-build-libiberty
48335 info-stageprofile-gcc: maybe-all-build-libiberty
48336 info-stagefeedback-gcc: maybe-all-build-libiberty
48337 dvi-gcc: maybe-all-build-libiberty
48339 dvi-stage1-gcc: maybe-all-build-libiberty
48340 dvi-stage2-gcc: maybe-all-build-libiberty
48341 dvi-stage3-gcc: maybe-all-build-libiberty
48342 dvi-stage4-gcc: maybe-all-build-libiberty
48343 dvi-stageprofile-gcc: maybe-all-build-libiberty
48344 dvi-stagefeedback-gcc: maybe-all-build-libiberty
48345 pdf-gcc: maybe-all-build-libiberty
48347 pdf-stage1-gcc: maybe-all-build-libiberty
48348 pdf-stage2-gcc: maybe-all-build-libiberty
48349 pdf-stage3-gcc: maybe-all-build-libiberty
48350 pdf-stage4-gcc: maybe-all-build-libiberty
48351 pdf-stageprofile-gcc: maybe-all-build-libiberty
48352 pdf-stagefeedback-gcc: maybe-all-build-libiberty
48353 html-gcc: maybe-all-build-libiberty
48355 html-stage1-gcc: maybe-all-build-libiberty
48356 html-stage2-gcc: maybe-all-build-libiberty
48357 html-stage3-gcc: maybe-all-build-libiberty
48358 html-stage4-gcc: maybe-all-build-libiberty
48359 html-stageprofile-gcc: maybe-all-build-libiberty
48360 html-stagefeedback-gcc: maybe-all-build-libiberty
48361 install-gcc: maybe-install-fixincludes
48362 install-gcc: maybe-install-lto-plugin
48363 install-strip-gcc: maybe-install-strip-fixincludes
48364 install-strip-gcc: maybe-install-strip-lto-plugin
48365 configure-libcpp: configure-libiberty
48367 configure-stage1-libcpp: configure-stage1-libiberty
48368 configure-stage2-libcpp: configure-stage2-libiberty
48369 configure-stage3-libcpp: configure-stage3-libiberty
48370 configure-stage4-libcpp: configure-stage4-libiberty
48371 configure-stageprofile-libcpp: configure-stageprofile-libiberty
48372 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
48373 configure-libcpp: maybe-configure-intl
48375 configure-stage1-libcpp: maybe-configure-stage1-intl
48376 configure-stage2-libcpp: maybe-configure-stage2-intl
48377 configure-stage3-libcpp: maybe-configure-stage3-intl
48378 configure-stage4-libcpp: maybe-configure-stage4-intl
48379 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
48380 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
48381 all-libcpp: all-libiberty
48383 all-stage1-libcpp: all-stage1-libiberty
48384 all-stage2-libcpp: all-stage2-libiberty
48385 all-stage3-libcpp: all-stage3-libiberty
48386 all-stage4-libcpp: all-stage4-libiberty
48387 all-stageprofile-libcpp: all-stageprofile-libiberty
48388 all-stagefeedback-libcpp: all-stagefeedback-libiberty
48389 all-libcpp: maybe-all-intl
48391 all-stage1-libcpp: maybe-all-stage1-intl
48392 all-stage2-libcpp: maybe-all-stage2-intl
48393 all-stage3-libcpp: maybe-all-stage3-intl
48394 all-stage4-libcpp: maybe-all-stage4-intl
48395 all-stageprofile-libcpp: maybe-all-stageprofile-intl
48396 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
48397 all-fixincludes: maybe-all-libiberty
48399 all-stage1-fixincludes: maybe-all-stage1-libiberty
48400 all-stage2-fixincludes: maybe-all-stage2-libiberty
48401 all-stage3-fixincludes: maybe-all-stage3-libiberty
48402 all-stage4-fixincludes: maybe-all-stage4-libiberty
48403 all-stageprofile-fixincludes: maybe-all-stageprofile-libiberty
48404 all-stagefeedback-fixincludes: maybe-all-stagefeedback-libiberty
48405 all-gnattools: maybe-all-target-libada
48406 all-gnattools: maybe-all-target-libstdc++-v3
48407 all-lto-plugin: maybe-all-libiberty
48409 all-stage1-lto-plugin: maybe-all-stage1-libiberty
48410 all-stage2-lto-plugin: maybe-all-stage2-libiberty
48411 all-stage3-lto-plugin: maybe-all-stage3-libiberty
48412 all-stage4-lto-plugin: maybe-all-stage4-libiberty
48413 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
48414 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
48415 all-lto-plugin: maybe-all-libiberty-linker-plugin
48417 all-stage1-lto-plugin: maybe-all-stage1-libiberty-linker-plugin
48418 all-stage2-lto-plugin: maybe-all-stage2-libiberty-linker-plugin
48419 all-stage3-lto-plugin: maybe-all-stage3-libiberty-linker-plugin
48420 all-stage4-lto-plugin: maybe-all-stage4-libiberty-linker-plugin
48421 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty-linker-plugin
48422 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty-linker-plugin
48423 configure-libcc1: maybe-configure-gcc
48424 all-libcc1: maybe-all-gcc
48425 all-utils: maybe-all-libiberty
48426 configure-mpfr: maybe-all-gmp
48428 configure-stage1-mpfr: maybe-all-stage1-gmp
48429 configure-stage2-mpfr: maybe-all-stage2-gmp
48430 configure-stage3-mpfr: maybe-all-stage3-gmp
48431 configure-stage4-mpfr: maybe-all-stage4-gmp
48432 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
48433 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
48434 configure-mpc: maybe-all-mpfr
48436 configure-stage1-mpc: maybe-all-stage1-mpfr
48437 configure-stage2-mpc: maybe-all-stage2-mpfr
48438 configure-stage3-mpc: maybe-all-stage3-mpfr
48439 configure-stage4-mpc: maybe-all-stage4-mpfr
48440 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
48441 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
48442 configure-isl: maybe-all-gmp
48444 configure-stage1-isl: maybe-all-stage1-gmp
48445 configure-stage2-isl: maybe-all-stage2-gmp
48446 configure-stage3-isl: maybe-all-stage3-gmp
48447 configure-stage4-isl: maybe-all-stage4-gmp
48448 configure-stageprofile-isl: maybe-all-stageprofile-gmp
48449 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
48450 configure-gdb: maybe-all-intl
48451 configure-gdb: maybe-configure-sim
48452 configure-gdb: maybe-all-bfd
48453 configure-gdb: maybe-all-libiconv
48454 all-gdb: maybe-all-libiberty
48455 all-gdb: maybe-all-libiconv
48456 all-gdb: maybe-all-opcodes
48457 all-gdb: maybe-all-readline
48458 all-gdb: maybe-all-build-bison
48459 all-gdb: maybe-all-sim
48460 all-gdb: maybe-all-libdecnumber
48461 all-gdb: maybe-all-libtermcap
48462 configure-libgui: maybe-configure-tcl
48463 configure-libgui: maybe-configure-tk
48464 all-libgui: maybe-all-tcl
48465 all-libgui: maybe-all-tk
48466 all-libgui: maybe-all-itcl
48467 configure-bfd: configure-libiberty
48469 configure-stage1-bfd: configure-stage1-libiberty
48470 configure-stage2-bfd: configure-stage2-libiberty
48471 configure-stage3-bfd: configure-stage3-libiberty
48472 configure-stage4-bfd: configure-stage4-libiberty
48473 configure-stageprofile-bfd: configure-stageprofile-libiberty
48474 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
48475 configure-bfd: maybe-configure-intl
48477 configure-stage1-bfd: maybe-configure-stage1-intl
48478 configure-stage2-bfd: maybe-configure-stage2-intl
48479 configure-stage3-bfd: maybe-configure-stage3-intl
48480 configure-stage4-bfd: maybe-configure-stage4-intl
48481 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
48482 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
48483 all-bfd: maybe-all-libiberty
48485 all-stage1-bfd: maybe-all-stage1-libiberty
48486 all-stage2-bfd: maybe-all-stage2-libiberty
48487 all-stage3-bfd: maybe-all-stage3-libiberty
48488 all-stage4-bfd: maybe-all-stage4-libiberty
48489 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
48490 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
48491 all-bfd: maybe-all-intl
48493 all-stage1-bfd: maybe-all-stage1-intl
48494 all-stage2-bfd: maybe-all-stage2-intl
48495 all-stage3-bfd: maybe-all-stage3-intl
48496 all-stage4-bfd: maybe-all-stage4-intl
48497 all-stageprofile-bfd: maybe-all-stageprofile-intl
48498 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
48499 configure-opcodes: configure-libiberty
48501 configure-stage1-opcodes: configure-stage1-libiberty
48502 configure-stage2-opcodes: configure-stage2-libiberty
48503 configure-stage3-opcodes: configure-stage3-libiberty
48504 configure-stage4-opcodes: configure-stage4-libiberty
48505 configure-stageprofile-opcodes: configure-stageprofile-libiberty
48506 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
48507 all-opcodes: maybe-all-libiberty
48509 all-stage1-opcodes: maybe-all-stage1-libiberty
48510 all-stage2-opcodes: maybe-all-stage2-libiberty
48511 all-stage3-opcodes: maybe-all-stage3-libiberty
48512 all-stage4-opcodes: maybe-all-stage4-libiberty
48513 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
48514 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
48515 configure-binutils: maybe-configure-intl
48517 configure-stage1-binutils: maybe-configure-stage1-intl
48518 configure-stage2-binutils: maybe-configure-stage2-intl
48519 configure-stage3-binutils: maybe-configure-stage3-intl
48520 configure-stage4-binutils: maybe-configure-stage4-intl
48521 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
48522 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
48523 all-binutils: maybe-all-libiberty
48525 all-stage1-binutils: maybe-all-stage1-libiberty
48526 all-stage2-binutils: maybe-all-stage2-libiberty
48527 all-stage3-binutils: maybe-all-stage3-libiberty
48528 all-stage4-binutils: maybe-all-stage4-libiberty
48529 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
48530 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
48531 all-binutils: maybe-all-opcodes
48533 all-stage1-binutils: maybe-all-stage1-opcodes
48534 all-stage2-binutils: maybe-all-stage2-opcodes
48535 all-stage3-binutils: maybe-all-stage3-opcodes
48536 all-stage4-binutils: maybe-all-stage4-opcodes
48537 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
48538 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
48539 all-binutils: maybe-all-bfd
48541 all-stage1-binutils: maybe-all-stage1-bfd
48542 all-stage2-binutils: maybe-all-stage2-bfd
48543 all-stage3-binutils: maybe-all-stage3-bfd
48544 all-stage4-binutils: maybe-all-stage4-bfd
48545 all-stageprofile-binutils: maybe-all-stageprofile-bfd
48546 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
48547 all-binutils: maybe-all-build-flex
48549 all-stage1-binutils: maybe-all-build-flex
48550 all-stage2-binutils: maybe-all-build-flex
48551 all-stage3-binutils: maybe-all-build-flex
48552 all-stage4-binutils: maybe-all-build-flex
48553 all-stageprofile-binutils: maybe-all-build-flex
48554 all-stagefeedback-binutils: maybe-all-build-flex
48555 all-binutils: maybe-all-build-bison
48557 all-stage1-binutils: maybe-all-build-bison
48558 all-stage2-binutils: maybe-all-build-bison
48559 all-stage3-binutils: maybe-all-build-bison
48560 all-stage4-binutils: maybe-all-build-bison
48561 all-stageprofile-binutils: maybe-all-build-bison
48562 all-stagefeedback-binutils: maybe-all-build-bison
48563 all-binutils: maybe-all-intl
48565 all-stage1-binutils: maybe-all-stage1-intl
48566 all-stage2-binutils: maybe-all-stage2-intl
48567 all-stage3-binutils: maybe-all-stage3-intl
48568 all-stage4-binutils: maybe-all-stage4-intl
48569 all-stageprofile-binutils: maybe-all-stageprofile-intl
48570 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
48571 all-binutils: maybe-all-gas
48573 all-stage1-binutils: maybe-all-stage1-gas
48574 all-stage2-binutils: maybe-all-stage2-gas
48575 all-stage3-binutils: maybe-all-stage3-gas
48576 all-stage4-binutils: maybe-all-stage4-gas
48577 all-stageprofile-binutils: maybe-all-stageprofile-gas
48578 all-stagefeedback-binutils: maybe-all-stagefeedback-gas
48579 install-binutils: maybe-install-opcodes
48580 install-strip-binutils: maybe-install-strip-opcodes
48581 install-opcodes: maybe-install-bfd
48582 install-strip-opcodes: maybe-install-strip-bfd
48583 configure-gas: maybe-configure-intl
48585 configure-stage1-gas: maybe-configure-stage1-intl
48586 configure-stage2-gas: maybe-configure-stage2-intl
48587 configure-stage3-gas: maybe-configure-stage3-intl
48588 configure-stage4-gas: maybe-configure-stage4-intl
48589 configure-stageprofile-gas: maybe-configure-stageprofile-intl
48590 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
48591 all-gas: maybe-all-libiberty
48593 all-stage1-gas: maybe-all-stage1-libiberty
48594 all-stage2-gas: maybe-all-stage2-libiberty
48595 all-stage3-gas: maybe-all-stage3-libiberty
48596 all-stage4-gas: maybe-all-stage4-libiberty
48597 all-stageprofile-gas: maybe-all-stageprofile-libiberty
48598 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
48599 all-gas: maybe-all-opcodes
48601 all-stage1-gas: maybe-all-stage1-opcodes
48602 all-stage2-gas: maybe-all-stage2-opcodes
48603 all-stage3-gas: maybe-all-stage3-opcodes
48604 all-stage4-gas: maybe-all-stage4-opcodes
48605 all-stageprofile-gas: maybe-all-stageprofile-opcodes
48606 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
48607 all-gas: maybe-all-bfd
48609 all-stage1-gas: maybe-all-stage1-bfd
48610 all-stage2-gas: maybe-all-stage2-bfd
48611 all-stage3-gas: maybe-all-stage3-bfd
48612 all-stage4-gas: maybe-all-stage4-bfd
48613 all-stageprofile-gas: maybe-all-stageprofile-bfd
48614 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
48615 all-gas: maybe-all-intl
48617 all-stage1-gas: maybe-all-stage1-intl
48618 all-stage2-gas: maybe-all-stage2-intl
48619 all-stage3-gas: maybe-all-stage3-intl
48620 all-stage4-gas: maybe-all-stage4-intl
48621 all-stageprofile-gas: maybe-all-stageprofile-intl
48622 all-stagefeedback-gas: maybe-all-stagefeedback-intl
48623 configure-gprof: maybe-configure-intl
48624 all-gprof: maybe-all-libiberty
48625 all-gprof: maybe-all-bfd
48626 all-gprof: maybe-all-opcodes
48627 all-gprof: maybe-all-intl
48628 all-gprof: maybe-all-gas
48629 configure-ld: maybe-configure-intl
48631 configure-stage1-ld: maybe-configure-stage1-intl
48632 configure-stage2-ld: maybe-configure-stage2-intl
48633 configure-stage3-ld: maybe-configure-stage3-intl
48634 configure-stage4-ld: maybe-configure-stage4-intl
48635 configure-stageprofile-ld: maybe-configure-stageprofile-intl
48636 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
48637 all-ld: maybe-all-libiberty
48639 all-stage1-ld: maybe-all-stage1-libiberty
48640 all-stage2-ld: maybe-all-stage2-libiberty
48641 all-stage3-ld: maybe-all-stage3-libiberty
48642 all-stage4-ld: maybe-all-stage4-libiberty
48643 all-stageprofile-ld: maybe-all-stageprofile-libiberty
48644 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
48645 all-ld: maybe-all-bfd
48647 all-stage1-ld: maybe-all-stage1-bfd
48648 all-stage2-ld: maybe-all-stage2-bfd
48649 all-stage3-ld: maybe-all-stage3-bfd
48650 all-stage4-ld: maybe-all-stage4-bfd
48651 all-stageprofile-ld: maybe-all-stageprofile-bfd
48652 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
48653 all-ld: maybe-all-opcodes
48655 all-stage1-ld: maybe-all-stage1-opcodes
48656 all-stage2-ld: maybe-all-stage2-opcodes
48657 all-stage3-ld: maybe-all-stage3-opcodes
48658 all-stage4-ld: maybe-all-stage4-opcodes
48659 all-stageprofile-ld: maybe-all-stageprofile-opcodes
48660 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
48661 all-ld: maybe-all-build-bison
48663 all-stage1-ld: maybe-all-build-bison
48664 all-stage2-ld: maybe-all-build-bison
48665 all-stage3-ld: maybe-all-build-bison
48666 all-stage4-ld: maybe-all-build-bison
48667 all-stageprofile-ld: maybe-all-build-bison
48668 all-stagefeedback-ld: maybe-all-build-bison
48669 all-ld: maybe-all-build-flex
48671 all-stage1-ld: maybe-all-build-flex
48672 all-stage2-ld: maybe-all-build-flex
48673 all-stage3-ld: maybe-all-build-flex
48674 all-stage4-ld: maybe-all-build-flex
48675 all-stageprofile-ld: maybe-all-build-flex
48676 all-stagefeedback-ld: maybe-all-build-flex
48677 all-ld: maybe-all-intl
48679 all-stage1-ld: maybe-all-stage1-intl
48680 all-stage2-ld: maybe-all-stage2-intl
48681 all-stage3-ld: maybe-all-stage3-intl
48682 all-stage4-ld: maybe-all-stage4-intl
48683 all-stageprofile-ld: maybe-all-stageprofile-intl
48684 all-stagefeedback-ld: maybe-all-stagefeedback-intl
48685 all-ld: maybe-all-gas
48687 all-stage1-ld: maybe-all-stage1-gas
48688 all-stage2-ld: maybe-all-stage2-gas
48689 all-stage3-ld: maybe-all-stage3-gas
48690 all-stage4-ld: maybe-all-stage4-gas
48691 all-stageprofile-ld: maybe-all-stageprofile-gas
48692 all-stagefeedback-ld: maybe-all-stagefeedback-gas
48693 all-ld: maybe-all-binutils
48695 all-stage1-ld: maybe-all-stage1-binutils
48696 all-stage2-ld: maybe-all-stage2-binutils
48697 all-stage3-ld: maybe-all-stage3-binutils
48698 all-stage4-ld: maybe-all-stage4-binutils
48699 all-stageprofile-ld: maybe-all-stageprofile-binutils
48700 all-stagefeedback-ld: maybe-all-stagefeedback-binutils
48701 install-ld: maybe-install-gold
48702 install-strip-ld: maybe-install-strip-gold
48703 configure-gold: maybe-configure-intl
48705 configure-stage1-gold: maybe-configure-stage1-intl
48706 configure-stage2-gold: maybe-configure-stage2-intl
48707 configure-stage3-gold: maybe-configure-stage3-intl
48708 configure-stage4-gold: maybe-configure-stage4-intl
48709 configure-stageprofile-gold: maybe-configure-stageprofile-intl
48710 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
48711 all-gold: maybe-all-libiberty
48713 all-stage1-gold: maybe-all-stage1-libiberty
48714 all-stage2-gold: maybe-all-stage2-libiberty
48715 all-stage3-gold: maybe-all-stage3-libiberty
48716 all-stage4-gold: maybe-all-stage4-libiberty
48717 all-stageprofile-gold: maybe-all-stageprofile-libiberty
48718 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
48719 all-gold: maybe-all-intl
48721 all-stage1-gold: maybe-all-stage1-intl
48722 all-stage2-gold: maybe-all-stage2-intl
48723 all-stage3-gold: maybe-all-stage3-intl
48724 all-stage4-gold: maybe-all-stage4-intl
48725 all-stageprofile-gold: maybe-all-stageprofile-intl
48726 all-stagefeedback-gold: maybe-all-stagefeedback-intl
48727 all-gold: maybe-all-bfd
48729 all-stage1-gold: maybe-all-stage1-bfd
48730 all-stage2-gold: maybe-all-stage2-bfd
48731 all-stage3-gold: maybe-all-stage3-bfd
48732 all-stage4-gold: maybe-all-stage4-bfd
48733 all-stageprofile-gold: maybe-all-stageprofile-bfd
48734 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
48735 all-gold: maybe-all-build-bison
48737 all-stage1-gold: maybe-all-build-bison
48738 all-stage2-gold: maybe-all-build-bison
48739 all-stage3-gold: maybe-all-build-bison
48740 all-stage4-gold: maybe-all-build-bison
48741 all-stageprofile-gold: maybe-all-build-bison
48742 all-stagefeedback-gold: maybe-all-build-bison
48743 all-gold: maybe-all-gas
48745 all-stage1-gold: maybe-all-stage1-gas
48746 all-stage2-gold: maybe-all-stage2-gas
48747 all-stage3-gold: maybe-all-stage3-gas
48748 all-stage4-gold: maybe-all-stage4-gas
48749 all-stageprofile-gold: maybe-all-stageprofile-gas
48750 all-stagefeedback-gold: maybe-all-stagefeedback-gas
48751 check-gold: maybe-all-binutils
48753 check-stage1-gold: maybe-all-stage1-binutils
48754 check-stage2-gold: maybe-all-stage2-binutils
48755 check-stage3-gold: maybe-all-stage3-binutils
48756 check-stage4-gold: maybe-all-stage4-binutils
48757 check-stageprofile-gold: maybe-all-stageprofile-binutils
48758 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
48759 check-gold: maybe-all-gas
48761 check-stage1-gold: maybe-all-stage1-gas
48762 check-stage2-gold: maybe-all-stage2-gas
48763 check-stage3-gold: maybe-all-stage3-gas
48764 check-stage4-gold: maybe-all-stage4-gas
48765 check-stageprofile-gold: maybe-all-stageprofile-gas
48766 check-stagefeedback-gold: maybe-all-stagefeedback-gas
48767 configure-opcodes: maybe-configure-intl
48769 configure-stage1-opcodes: maybe-configure-stage1-intl
48770 configure-stage2-opcodes: maybe-configure-stage2-intl
48771 configure-stage3-opcodes: maybe-configure-stage3-intl
48772 configure-stage4-opcodes: maybe-configure-stage4-intl
48773 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
48774 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
48775 all-opcodes: maybe-all-bfd
48777 all-stage1-opcodes: maybe-all-stage1-bfd
48778 all-stage2-opcodes: maybe-all-stage2-bfd
48779 all-stage3-opcodes: maybe-all-stage3-bfd
48780 all-stage4-opcodes: maybe-all-stage4-bfd
48781 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
48782 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
48783 all-opcodes: maybe-all-libiberty
48785 all-stage1-opcodes: maybe-all-stage1-libiberty
48786 all-stage2-opcodes: maybe-all-stage2-libiberty
48787 all-stage3-opcodes: maybe-all-stage3-libiberty
48788 all-stage4-opcodes: maybe-all-stage4-libiberty
48789 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
48790 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
48791 all-opcodes: maybe-all-intl
48793 all-stage1-opcodes: maybe-all-stage1-intl
48794 all-stage2-opcodes: maybe-all-stage2-intl
48795 all-stage3-opcodes: maybe-all-stage3-intl
48796 all-stage4-opcodes: maybe-all-stage4-intl
48797 all-stageprofile-opcodes: maybe-all-stageprofile-intl
48798 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
48799 all-dejagnu: maybe-all-tcl
48800 all-dejagnu: maybe-all-expect
48801 all-dejagnu: maybe-all-tk
48802 configure-expect: maybe-configure-tcl
48803 configure-expect: maybe-configure-tk
48804 all-expect: maybe-all-tcl
48805 all-expect: maybe-all-tk
48806 configure-itcl: maybe-configure-tcl
48807 configure-itcl: maybe-configure-tk
48808 all-itcl: maybe-all-tcl
48809 all-itcl: maybe-all-tk
48810 install-itcl: maybe-install-tcl
48811 install-strip-itcl: maybe-install-strip-tcl
48812 configure-tk: maybe-configure-tcl
48813 all-tk: maybe-all-tcl
48814 all-sid: maybe-all-libiberty
48815 all-sid: maybe-all-bfd
48816 all-sid: maybe-all-opcodes
48817 all-sid: maybe-all-tcl
48818 all-sid: maybe-all-tk
48819 install-sid: maybe-install-tcl
48820 install-strip-sid: maybe-install-strip-tcl
48821 install-sid: maybe-install-tk
48822 install-strip-sid: maybe-install-strip-tk
48823 configure-sim: maybe-configure-intl
48824 all-sim: maybe-all-intl
48825 all-sim: maybe-all-libiberty
48826 all-sim: maybe-all-bfd
48827 all-sim: maybe-all-opcodes
48828 all-sim: maybe-all-readline
48829 all-sim: maybe-configure-gdb
48830 all-fastjar: maybe-all-zlib
48831 all-fastjar: maybe-all-build-texinfo
48832 all-fastjar: maybe-all-libiberty
48833 all-bison: maybe-all-intl
48834 all-bison: maybe-all-build-texinfo
48835 all-flex: maybe-all-build-bison
48836 all-flex: maybe-all-intl
48837 all-flex: maybe-all-m4
48838 all-flex: maybe-all-build-texinfo
48839 all-m4: maybe-all-intl
48840 all-m4: maybe-all-build-texinfo
48841 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
48842 configure-target-fastjar: maybe-configure-target-zlib
48843 all-target-fastjar: maybe-all-target-zlib
48844 configure-target-libgo: maybe-configure-target-libffi
48845 configure-target-libgo: maybe-all-target-libstdc++-v3
48846 all-target-libgo: maybe-all-target-libbacktrace
48847 all-target-libgo: maybe-all-target-libffi
48848 all-target-libgo: maybe-all-target-libatomic
48849 configure-target-libjava: maybe-configure-target-zlib
48850 configure-target-libjava: maybe-configure-target-boehm-gc
48851 configure-target-libjava: maybe-configure-target-libffi
48852 all-target-libjava: maybe-all-fastjar
48853 all-target-libjava: maybe-all-target-zlib
48854 all-target-libjava: maybe-all-target-boehm-gc
48855 all-target-libjava: maybe-all-target-libffi
48856 configure-target-libobjc: maybe-configure-target-boehm-gc
48857 all-target-libobjc: maybe-all-target-boehm-gc
48858 configure-target-libstdc++-v3: maybe-configure-target-libgomp
48860 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
48861 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
48862 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
48863 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
48864 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
48865 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
48866 configure-target-liboffloadmic: maybe-configure-target-libgomp
48867 configure-target-libsanitizer: maybe-all-target-libstdc++-v3
48869 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3
48870 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3
48871 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3
48872 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libstdc++-v3
48873 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libstdc++-v3
48874 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libstdc++-v3
48875 configure-target-libvtv: maybe-all-target-libstdc++-v3
48877 configure-stage1-target-libvtv: maybe-all-stage1-target-libstdc++-v3
48878 configure-stage2-target-libvtv: maybe-all-stage2-target-libstdc++-v3
48879 configure-stage3-target-libvtv: maybe-all-stage3-target-libstdc++-v3
48880 configure-stage4-target-libvtv: maybe-all-stage4-target-libstdc++-v3
48881 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libstdc++-v3
48882 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libstdc++-v3
48883 all-target-libstdc++-v3: maybe-configure-target-libgomp
48885 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
48886 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
48887 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
48888 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
48889 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
48890 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
48891 all-target-liboffloadmic: maybe-configure-target-libgomp
48892 install-target-libgo: maybe-install-target-libatomic
48893 install-target-libgfortran: maybe-install-target-libquadmath
48894 install-target-libgfortran: maybe-install-target-libgcc
48895 install-target-libsanitizer: maybe-install-target-libstdc++-v3
48896 install-target-libsanitizer: maybe-install-target-libgcc
48897 install-target-libvtv: maybe-install-target-libstdc++-v3
48898 install-target-libvtv: maybe-install-target-libgcc
48899 install-target-libcilkrts: maybe-install-target-libstdc++-v3
48900 install-target-libcilkrts: maybe-install-target-libgcc
48901 install-target-liboffloadmic: maybe-install-target-libstdc++-v3
48902 install-target-liboffloadmic: maybe-install-target-libgcc
48903 install-target-libjava: maybe-install-target-libgcc
48904 install-target-libitm: maybe-install-target-libgcc
48905 install-target-libobjc: maybe-install-target-libgcc
48906 install-target-libstdc++-v3: maybe-install-target-libgcc
48907 all-target-libgloss: maybe-all-target-newlib
48908 all-target-winsup: maybe-all-target-libtermcap
48909 configure-target-newlib: maybe-all-binutils
48910 configure-target-newlib: maybe-all-ld
48911 configure-target-libgfortran: maybe-all-target-libquadmath
48914 # Dependencies for target modules on other target modules are
48915 # described by lang_env_dependencies; the defaults apply to anything
48916 # not mentioned there.
48919 @if gcc-bootstrap
48920 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
48921 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
48922 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
48923 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
48924 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
48925 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
48926 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libgcc
48927 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libgcc
48928 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libgcc
48929 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libgcc
48930 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libgcc
48931 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libgcc
48932 configure-stage1-target-libvtv: maybe-all-stage1-target-libgcc
48933 configure-stage2-target-libvtv: maybe-all-stage2-target-libgcc
48934 configure-stage3-target-libvtv: maybe-all-stage3-target-libgcc
48935 configure-stage4-target-libvtv: maybe-all-stage4-target-libgcc
48936 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libgcc
48937 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libgcc
48938 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
48939 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
48940 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
48941 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
48942 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
48943 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
48944 @endif gcc-bootstrap
48946 @if gcc-no-bootstrap
48947 configure-target-libstdc++-v3: maybe-all-target-libgcc
48948 configure-target-libsanitizer: maybe-all-target-libgcc
48949 configure-target-libvtv: maybe-all-target-libgcc
48950 configure-target-libcilkrts: maybe-all-target-libgcc
48951 configure-target-liboffloadmic: maybe-all-target-libgcc
48952 configure-target-libssp: maybe-all-target-libgcc
48953 configure-target-newlib: maybe-all-target-libgcc
48954 configure-target-libbacktrace: maybe-all-target-libgcc
48955 configure-target-libquadmath: maybe-all-target-libgcc
48956 configure-target-libgfortran: maybe-all-target-libgcc
48957 configure-target-libobjc: maybe-all-target-libgcc
48958 configure-target-libgo: maybe-all-target-libgcc
48959 configure-target-libtermcap: maybe-all-target-libgcc
48960 configure-target-winsup: maybe-all-target-libgcc
48961 configure-target-libgloss: maybe-all-target-libgcc
48962 configure-target-libffi: maybe-all-target-libgcc
48963 configure-target-libjava: maybe-all-target-libgcc
48964 configure-target-zlib: maybe-all-target-libgcc
48965 configure-target-boehm-gc: maybe-all-target-libgcc
48966 configure-target-rda: maybe-all-target-libgcc
48967 configure-target-libada: maybe-all-target-libgcc
48968 configure-target-libgomp: maybe-all-target-libgcc
48969 configure-target-libitm: maybe-all-target-libgcc
48970 configure-target-libatomic: maybe-all-target-libgcc
48971 @endif gcc-no-bootstrap
48974 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
48976 configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
48978 configure-target-libvtv: maybe-all-target-newlib maybe-all-target-libgloss
48980 configure-target-libcilkrts: maybe-all-target-newlib maybe-all-target-libgloss
48981 configure-target-libcilkrts: maybe-all-target-libstdc++-v3
48983 configure-target-liboffloadmic: maybe-all-target-newlib maybe-all-target-libgloss
48984 configure-target-liboffloadmic: maybe-all-target-libstdc++-v3
48986 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
48990 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
48992 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
48994 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
48996 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
48998 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
49000 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
49002 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
49005 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
49007 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
49008 configure-target-libjava: maybe-all-target-libstdc++-v3
49010 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
49012 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
49014 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
49016 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
49018 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
49020 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
49021 configure-target-libitm: maybe-all-target-libstdc++-v3
49023 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
49026 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
49027 GDB_TK = @GDB_TK@
49028 INSTALL_GDB_TK = @INSTALL_GDB_TK@
49029 configure-gdb: $(CONFIGURE_GDB_TK)
49030 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
49031 install-gdb: $(INSTALL_GDB_TK)
49033 # Serialization dependencies. Host configures don't work well in parallel to
49034 # each other, due to contention over config.cache. Target configures and
49035 # build configures are similar.
49036 @serialization_dependencies@
49038 # --------------------------------
49039 # Regenerating top level configury
49040 # --------------------------------
49042 # Rebuilding Makefile.in, using autogen.
49043 AUTOGEN = autogen
49044 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
49045 cd $(srcdir) && $(AUTOGEN) Makefile.def
49047 # Rebuilding Makefile.
49048 Makefile: $(srcdir)/Makefile.in config.status
49049 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
49051 config.status: configure
49052 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
49054 # Rebuilding configure.
49055 AUTOCONF = autoconf
49056 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
49057 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
49058 cd $(srcdir) && $(AUTOCONF)
49060 # ------------------------------
49061 # Special directives to GNU Make
49062 # ------------------------------
49064 # Don't pass command-line variables to submakes.
49065 .NOEXPORT:
49066 MAKEOVERRIDES=
49068 # end of Makefile.in