PR target/64180
[official-gcc.git] / Makefile.in
blobba5ae4c2ecb23535da040fec1ccd3e2e23cf7c87
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
7 # Free Software Foundation
9 # This file is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 3 of the License, or
12 # (at your option) any later version.
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with this program; see the file COPYING3. If not see
21 # <http://www.gnu.org/licenses/>.
24 # First, test for a proper version of make, but only where one is required.
26 @if gcc
27 ifeq (,$(.VARIABLES)) # The variable .VARIABLES, new with 3.80, is never empty.
28 $(error GNU make version 3.80 or newer is required.)
29 endif
30 @endif gcc
32 # -------------------------------
33 # Standard Autoconf-set variables
34 # -------------------------------
35 VPATH=@srcdir@
37 build_alias=@build_noncanonical@
38 build_vendor=@build_vendor@
39 build_os=@build_os@
40 build=@build@
41 host_alias=@host_noncanonical@
42 host_vendor=@host_vendor@
43 host_os=@host_os@
44 host=@host@
45 target_alias=@target_noncanonical@
46 target_vendor=@target_vendor@
47 target_os=@target_os@
48 target=@target@
50 program_transform_name = @program_transform_name@
52 prefix = @prefix@
53 exec_prefix = @exec_prefix@
55 srcdir = @srcdir@
57 bindir = @bindir@
58 sbindir = @sbindir@
59 libexecdir = @libexecdir@
60 datadir = @datadir@
61 sysconfdir = @sysconfdir@
62 sharedstatedir = @sharedstatedir@
63 localstatedir = @localstatedir@
64 libdir = @libdir@
65 includedir = @includedir@
66 oldincludedir = @oldincludedir@
67 infodir = @infodir@
68 datarootdir = @datarootdir@
69 docdir = @docdir@
70 pdfdir = @pdfdir@
71 htmldir = @htmldir@
72 mandir = @mandir@
73 man1dir = $(mandir)/man1
74 man2dir = $(mandir)/man2
75 man3dir = $(mandir)/man3
76 man4dir = $(mandir)/man4
77 man5dir = $(mandir)/man5
78 man6dir = $(mandir)/man6
79 man7dir = $(mandir)/man7
80 man8dir = $(mandir)/man8
81 man9dir = $(mandir)/man9
83 INSTALL = @INSTALL@
84 INSTALL_PROGRAM = @INSTALL_PROGRAM@
85 INSTALL_SCRIPT = @INSTALL_SCRIPT@
86 INSTALL_DATA = @INSTALL_DATA@
87 LN = @LN@
88 LN_S = @LN_S@
89 MAINT = @MAINT@
90 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
91 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
93 # -------------------------------------------------
94 # Miscellaneous non-standard autoconf-set variables
95 # -------------------------------------------------
97 # The gcc driver likes to know the arguments it was configured with.
98 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
100 tooldir = @tooldir@
101 build_tooldir = @build_tooldir@
103 # This is the name of the environment variable used for the path to
104 # the libraries.
105 RPATH_ENVVAR = @RPATH_ENVVAR@
107 # On targets where RPATH_ENVVAR is PATH, a subdirectory of the GCC build path
108 # is used instead of the directory itself to avoid including built
109 # executables in PATH.
110 GCC_SHLIB_SUBDIR = @GCC_SHLIB_SUBDIR@
112 # Build programs are put under this directory.
113 BUILD_SUBDIR = @build_subdir@
114 # This is set by the configure script to the arguments to use when configuring
115 # directories built for the build system.
116 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
118 # Linker flags to use on the host, for stage1 or when not
119 # bootstrapping.
120 STAGE1_LDFLAGS = @stage1_ldflags@
122 # Libraries to use on the host, for stage1 or when not bootstrapping.
123 STAGE1_LIBS = @stage1_libs@
125 # Linker flags to use for stage2 and later.
126 POSTSTAGE1_LDFLAGS = @poststage1_ldflags@
128 # Libraries to use for stage2 and later.
129 POSTSTAGE1_LIBS = @poststage1_libs@
131 # This is the list of variables to export in the environment when
132 # configuring any subdirectory. It must also be exported whenever
133 # recursing into a build directory in case that directory's Makefile
134 # re-runs configure.
135 BASE_EXPORTS = \
136 FLEX="$(FLEX)"; export FLEX; \
137 LEX="$(LEX)"; export LEX; \
138 BISON="$(BISON)"; export BISON; \
139 YACC="$(YACC)"; export YACC; \
140 M4="$(M4)"; export M4; \
141 SED="$(SED)"; export SED; \
142 AWK="$(AWK)"; export AWK; \
143 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
145 # This is the list of variables to export in the environment when
146 # configuring subdirectories for the build system.
147 BUILD_EXPORTS = \
148 $(BASE_EXPORTS) \
149 AR="$(AR_FOR_BUILD)"; export AR; \
150 AS="$(AS_FOR_BUILD)"; export AS; \
151 CC="$(CC_FOR_BUILD)"; export CC; \
152 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
153 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
154 CXX="$(CXX_FOR_BUILD)"; export CXX; \
155 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
156 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
157 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
158 GOC="$(GOC_FOR_BUILD)"; export GOC; \
159 GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \
160 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
161 LD="$(LD_FOR_BUILD)"; export LD; \
162 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
163 NM="$(NM_FOR_BUILD)"; export NM; \
164 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
165 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
166 WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
168 # These variables must be set on the make command line for directories
169 # built for the build system to override those in BASE_FLAGS_TO_PASS.
170 EXTRA_BUILD_FLAGS = \
171 CFLAGS="$(CFLAGS_FOR_BUILD)" \
172 LDFLAGS="$(LDFLAGS_FOR_BUILD)"
174 # This is the list of directories to built for the host system.
175 SUBDIRS = @configdirs@
176 TARGET_CONFIGDIRS = @target_configdirs@
177 # This is set by the configure script to the arguments to use when configuring
178 # directories built for the host system.
179 HOST_CONFIGARGS = @host_configargs@
180 # Host programs are put under this directory, which is . except if building
181 # with srcdir=..
182 HOST_SUBDIR = @host_subdir@
183 # This is the list of variables to export in the environment when
184 # configuring subdirectories for the host system. We need to pass
185 # some to the GCC configure because of its hybrid host/target nature.
186 HOST_EXPORTS = \
187 $(BASE_EXPORTS) \
188 CC="$(CC)"; export CC; \
189 ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
190 CFLAGS="$(CFLAGS)"; export CFLAGS; \
191 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
192 CXX="$(CXX)"; export CXX; \
193 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
194 GCJ="$(GCJ)"; export GCJ; \
195 GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \
196 GOC="$(GOC)"; export GOC; \
197 AR="$(AR)"; export AR; \
198 AS="$(AS)"; export AS; \
199 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
200 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
201 LD="$(LD)"; export LD; \
202 LDFLAGS="$(STAGE1_LDFLAGS) $(LDFLAGS)"; export LDFLAGS; \
203 NM="$(NM)"; export NM; \
204 RANLIB="$(RANLIB)"; export RANLIB; \
205 WINDRES="$(WINDRES)"; export WINDRES; \
206 WINDMC="$(WINDMC)"; export WINDMC; \
207 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
208 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
209 READELF="$(READELF)"; export READELF; \
210 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
211 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
212 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
213 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
214 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
215 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
216 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
217 READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \
218 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
219 HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
220 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
221 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
222 ISLLIBS="$(HOST_ISLLIBS)"; export ISLLIBS; \
223 ISLINC="$(HOST_ISLINC)"; export ISLINC; \
224 LIBELFLIBS="$(HOST_LIBELFLIBS)" ; export LIBELFLIBS; \
225 LIBELFINC="$(HOST_LIBELFINC)" ; export LIBELFINC; \
226 @if gcc-bootstrap
227 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
228 @endif gcc-bootstrap
229 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
231 POSTSTAGE1_CXX_EXPORT = \
232 CXX='$(CXX)'; export CXX; \
233 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
234 @if target-libstdc++-v3-bootstrap
235 # Override the above if we're bootstrapping C++.
236 POSTSTAGE1_CXX_EXPORT = \
237 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xg++$(exeext) \
238 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
239 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
240 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
241 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
242 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
243 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$s/libstdc++-v3/libsupc++ \
244 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
245 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \
246 export CXX; \
247 CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
248 @endif target-libstdc++-v3-bootstrap
250 # Similar, for later GCC stages.
251 POSTSTAGE1_HOST_EXPORTS = \
252 $(HOST_EXPORTS) \
253 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
254 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
255 $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
256 CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
257 $(POSTSTAGE1_CXX_EXPORT) \
258 $(LTO_EXPORTS) \
259 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
260 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
261 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
263 # Target libraries are put under this directory:
264 TARGET_SUBDIR = @target_subdir@
265 # This is set by the configure script to the arguments to use when configuring
266 # directories built for the target.
267 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
268 # This is the list of variables to export in the environment when
269 # configuring subdirectories for the target system.
270 BASE_TARGET_EXPORTS = \
271 $(BASE_EXPORTS) \
272 AR="$(AR_FOR_TARGET)"; export AR; \
273 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
274 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
275 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
276 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
277 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
278 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
279 GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \
280 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
281 GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
282 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
283 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
284 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
285 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
286 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
287 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
288 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
289 READELF="$(READELF_FOR_TARGET)"; export READELF; \
290 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
291 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
292 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
293 @if gcc-bootstrap
294 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
295 @endif gcc-bootstrap
296 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
297 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
299 RAW_CXX_TARGET_EXPORTS = \
300 $(BASE_TARGET_EXPORTS) \
301 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
302 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
304 NORMAL_TARGET_EXPORTS = \
305 $(BASE_TARGET_EXPORTS) \
306 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
308 # Where to find GMP
309 HOST_GMPLIBS = @gmplibs@
310 HOST_GMPINC = @gmpinc@
312 # Where to find ISL
313 HOST_ISLLIBS = @isllibs@
314 HOST_ISLINC = @islinc@
316 # Where to find libelf
317 HOST_LIBELFLIBS = @libelflibs@
318 HOST_LIBELFINC = @libelfinc@
320 EXTRA_CONFIGARGS_LIBJAVA = @EXTRA_CONFIGARGS_LIBJAVA@
322 # ----------------------------------------------
323 # Programs producing files for the BUILD machine
324 # ----------------------------------------------
326 SHELL = @SHELL@
328 # pwd command to use. Allow user to override default by setting PWDCMD in
329 # the environment to account for automounters. The make variable must not
330 # be called PWDCMD, otherwise the value set here is passed to make
331 # subprocesses and overrides the setting from the user's environment.
332 # Don't use PWD since it is a common shell environment variable and we
333 # don't want to corrupt it.
334 PWD_COMMAND = $${PWDCMD-pwd}
336 # compilers to use to create programs which must be run in the build
337 # environment.
338 AR_FOR_BUILD = @AR_FOR_BUILD@
339 AS_FOR_BUILD = @AS_FOR_BUILD@
340 CC_FOR_BUILD = @CC_FOR_BUILD@
341 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
342 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
343 CXX_FOR_BUILD = @CXX_FOR_BUILD@
344 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
345 GCJ_FOR_BUILD = @GCJ_FOR_BUILD@
346 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
347 GOC_FOR_BUILD = @GOC_FOR_BUILD@
348 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
349 LD_FOR_BUILD = @LD_FOR_BUILD@
350 NM_FOR_BUILD = @NM_FOR_BUILD@
351 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
352 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
353 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
355 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
356 # here so that they can be overridden by Makefile fragments.
357 BUILD_PREFIX = @BUILD_PREFIX@
358 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
360 # Flags to pass to stage2 and later makes. They are defined
361 # here so that they can be overridden by Makefile fragments.
362 BOOT_CFLAGS= -g -O2
363 BOOT_LDFLAGS=
364 BOOT_ADAFLAGS= -gnatpg
366 AWK = @AWK@
367 SED = @SED@
368 BISON = @BISON@
369 YACC = @YACC@
370 FLEX = @FLEX@
371 LEX = @LEX@
372 M4 = @M4@
373 MAKEINFO = @MAKEINFO@
374 EXPECT = @EXPECT@
375 RUNTEST = @RUNTEST@
377 # This just becomes part of the MAKEINFO definition passed down to
378 # sub-makes. It lets flags be given on the command line while still
379 # using the makeinfo from the object tree.
380 # (Default to avoid splitting info files by setting the threshold high.)
381 MAKEINFOFLAGS = --split-size=5000000
383 # ---------------------------------------------
384 # Programs producing files for the HOST machine
385 # ---------------------------------------------
387 AS = @AS@
388 AR = @AR@
389 AR_FLAGS = rc
390 CC = @CC@
391 CXX = @CXX@
392 DLLTOOL = @DLLTOOL@
393 LD = @LD@
394 LIPO = @LIPO@
395 NM = @NM@
396 OBJDUMP = @OBJDUMP@
397 RANLIB = @RANLIB@
398 READELF = @READELF@
399 STRIP = @STRIP@
400 WINDRES = @WINDRES@
401 WINDMC = @WINDMC@
403 GNATBIND = @GNATBIND@
404 GNATMAKE = @GNATMAKE@
406 CFLAGS = @CFLAGS@
407 LDFLAGS = @LDFLAGS@
408 LIBCFLAGS = $(CFLAGS)
409 CXXFLAGS = @CXXFLAGS@
410 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
411 GOCFLAGS = $(CFLAGS)
413 TFLAGS =
415 # Defaults for all stages; some are overridden below.
417 STAGE_CFLAGS = $(BOOT_CFLAGS)
418 STAGE_TFLAGS = $(TFLAGS)
419 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
422 # Defaults for stage 1; some are overridden below.
423 STAGE1_CFLAGS = $(STAGE_CFLAGS)
424 STAGE1_CXXFLAGS = $(CXXFLAGS)
425 @if target-libstdc++-v3-bootstrap
426 # Override the above if we're bootstrapping C++.
427 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
428 @endif target-libstdc++-v3-bootstrap
429 STAGE1_TFLAGS = $(STAGE_TFLAGS)
430 STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
432 # Defaults for stage 2; some are overridden below.
433 STAGE2_CFLAGS = $(STAGE_CFLAGS)
434 STAGE2_CXXFLAGS = $(CXXFLAGS)
435 @if target-libstdc++-v3-bootstrap
436 # Override the above if we're bootstrapping C++.
437 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
438 @endif target-libstdc++-v3-bootstrap
439 STAGE2_TFLAGS = $(STAGE_TFLAGS)
440 STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
442 # Defaults for stage 3; some are overridden below.
443 STAGE3_CFLAGS = $(STAGE_CFLAGS)
444 STAGE3_CXXFLAGS = $(CXXFLAGS)
445 @if target-libstdc++-v3-bootstrap
446 # Override the above if we're bootstrapping C++.
447 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
448 @endif target-libstdc++-v3-bootstrap
449 STAGE3_TFLAGS = $(STAGE_TFLAGS)
450 STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
452 # Defaults for stage 4; some are overridden below.
453 STAGE4_CFLAGS = $(STAGE_CFLAGS)
454 STAGE4_CXXFLAGS = $(CXXFLAGS)
455 @if target-libstdc++-v3-bootstrap
456 # Override the above if we're bootstrapping C++.
457 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
458 @endif target-libstdc++-v3-bootstrap
459 STAGE4_TFLAGS = $(STAGE_TFLAGS)
460 STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
462 # Defaults for stage profile; some are overridden below.
463 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
464 STAGEprofile_CXXFLAGS = $(CXXFLAGS)
465 @if target-libstdc++-v3-bootstrap
466 # Override the above if we're bootstrapping C++.
467 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
468 @endif target-libstdc++-v3-bootstrap
469 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
470 STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
472 # Defaults for stage feedback; some are overridden below.
473 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
474 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
475 @if target-libstdc++-v3-bootstrap
476 # Override the above if we're bootstrapping C++.
477 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
478 @endif target-libstdc++-v3-bootstrap
479 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
480 STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
483 # Only build the C compiler for stage1, because that is the only one that
484 # we can guarantee will build with the native compiler, and also it is the
485 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
486 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
487 # overrideable (for a bootstrap build stage1 also builds gcc.info).
489 STAGE1_CFLAGS = @stage1_cflags@
490 STAGE1_CHECKING = @stage1_checking@
491 STAGE1_LANGUAGES = @stage1_languages@
492 # * We force-disable intermodule optimizations, even if
493 # --enable-intermodule was passed, since the installed compiler
494 # probably can't handle them. Luckily, autoconf always respects
495 # the last argument when conflicting --enable arguments are passed.
496 # * Likewise, we force-disable coverage flags, since the installed
497 # compiler probably has never heard of them.
498 # * We also disable -Wformat, since older GCCs don't understand newer %s.
499 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
500 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" \
501 --disable-build-format-warnings
503 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
504 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
506 STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
507 STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
509 do-compare = @do_compare@
510 do-compare3 = $(do-compare)
512 # -----------------------------------------------
513 # Programs producing files for the TARGET machine
514 # -----------------------------------------------
516 AR_FOR_TARGET=@AR_FOR_TARGET@
517 AS_FOR_TARGET=@AS_FOR_TARGET@
518 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
520 # If GCC_FOR_TARGET is not overriden on the command line, then this
521 # variable is passed down to the gcc Makefile, where it is used to
522 # build libgcc2.a. We define it here so that it can itself be
523 # overridden on the command line.
524 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
525 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
526 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
527 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@
528 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
529 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
530 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
531 LD_FOR_TARGET=@LD_FOR_TARGET@
533 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
534 NM_FOR_TARGET=@NM_FOR_TARGET@
535 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
536 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
537 READELF_FOR_TARGET=@READELF_FOR_TARGET@
538 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
539 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
540 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
542 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
543 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
544 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
546 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
547 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
549 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
550 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
551 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
552 GOCFLAGS_FOR_TARGET = -O2 -g
554 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
555 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
556 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
558 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
560 # ------------------------------------
561 # Miscellaneous targets and flag lists
562 # ------------------------------------
564 # The first rule in the file had better be this one. Don't put any above it.
565 # This lives here to allow makefile fragments to contain dependencies.
566 all:
568 #### host and target specific makefile fragments come in here.
569 @target_makefile_frag@
570 @alphaieee_frag@
571 @ospace_frag@
572 @host_makefile_frag@
575 # This is the list of directories that may be needed in RPATH_ENVVAR
576 # so that programs built for the target machine work.
577 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libsanitizer)$(TARGET_LIB_PATH_libvtv)$(TARGET_LIB_PATH_libcilkrts)$(TARGET_LIB_PATH_liboffloadmic)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc)
579 @if target-libstdc++-v3
580 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
581 @endif target-libstdc++-v3
583 @if target-libsanitizer
584 TARGET_LIB_PATH_libsanitizer = $$r/$(TARGET_SUBDIR)/libsanitizer/.libs:
585 @endif target-libsanitizer
587 @if target-libvtv
588 TARGET_LIB_PATH_libvtv = $$r/$(TARGET_SUBDIR)/libvtv/.libs:
589 @endif target-libvtv
591 @if target-libcilkrts
592 TARGET_LIB_PATH_libcilkrts = $$r/$(TARGET_SUBDIR)/libcilkrts/.libs:
593 @endif target-libcilkrts
595 @if target-liboffloadmic
596 TARGET_LIB_PATH_liboffloadmic = $$r/$(TARGET_SUBDIR)/liboffloadmic/.libs:
597 @endif target-liboffloadmic
599 @if target-libssp
600 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
601 @endif target-libssp
603 @if target-libgomp
604 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
605 @endif target-libgomp
607 @if target-libitm
608 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
609 @endif target-libitm
611 @if target-libatomic
612 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
613 @endif target-libatomic
617 # This is the list of directories that may be needed in RPATH_ENVVAR
618 # so that programs built for the host machine work.
619 HOST_LIB_PATH = $(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_isl)$(HOST_LIB_PATH_libelf)
621 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
622 @if gcc
623 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
624 @endif gcc
627 @if gmp
628 HOST_LIB_PATH_gmp = \
629 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
630 @endif gmp
632 @if mpfr
633 HOST_LIB_PATH_mpfr = \
634 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
635 @endif mpfr
637 @if mpc
638 HOST_LIB_PATH_mpc = \
639 $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs:
640 @endif mpc
642 @if isl
643 HOST_LIB_PATH_isl = \
644 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
645 @endif isl
647 @if libelf
648 HOST_LIB_PATH_libelf = \
649 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
650 @endif libelf
653 CXX_FOR_TARGET_FLAG_TO_PASS = \
654 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
655 @if target-libstdc++-v3
656 # CXX_FOR_TARGET is tricky to get right for target libs that require a
657 # functional C++ compiler. When we recurse, if we expand
658 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
659 # libstdc++ include flags from the script. Instead, we get an
660 # -funconfigured-* word, so that we'll get errors if this invalid C++
661 # command line is used for anything, but also so that we can use the
662 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
663 # don't pass it on, sub-make will use the default definition, that
664 # re-expands it at the time of use, so we'll get it right when we need
665 # it. One potential exception is the expansion of CXX_FOR_TARGET
666 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
667 # really work, for C++ host programs can't depend on the current-stage
668 # C++ target library.
669 CXX_FOR_TARGET_FLAG_TO_PASS = \
670 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
671 @endif target-libstdc++-v3
673 # Flags to pass down to all sub-makes.
674 BASE_FLAGS_TO_PASS = \
675 "DESTDIR=$(DESTDIR)" \
676 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
677 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
678 "bindir=$(bindir)" \
679 "datadir=$(datadir)" \
680 "exec_prefix=$(exec_prefix)" \
681 "includedir=$(includedir)" \
682 "datarootdir=$(datarootdir)" \
683 "docdir=$(docdir)" \
684 "infodir=$(infodir)" \
685 "pdfdir=$(pdfdir)" \
686 "htmldir=$(htmldir)" \
687 "libdir=$(libdir)" \
688 "libexecdir=$(libexecdir)" \
689 "lispdir=$(lispdir)" \
690 "localstatedir=$(localstatedir)" \
691 "mandir=$(mandir)" \
692 "oldincludedir=$(oldincludedir)" \
693 "prefix=$(prefix)" \
694 "sbindir=$(sbindir)" \
695 "sharedstatedir=$(sharedstatedir)" \
696 "sysconfdir=$(sysconfdir)" \
697 "tooldir=$(tooldir)" \
698 "build_tooldir=$(build_tooldir)" \
699 "target_alias=$(target_alias)" \
700 "AWK=$(AWK)" \
701 "BISON=$(BISON)" \
702 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
703 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
704 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
705 "EXPECT=$(EXPECT)" \
706 "FLEX=$(FLEX)" \
707 "INSTALL=$(INSTALL)" \
708 "INSTALL_DATA=$(INSTALL_DATA)" \
709 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
710 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
711 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
712 "LEX=$(LEX)" \
713 "M4=$(M4)" \
714 "MAKE=$(MAKE)" \
715 "RUNTEST=$(RUNTEST)" \
716 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
717 "SED=$(SED)" \
718 "SHELL=$(SHELL)" \
719 "YACC=$(YACC)" \
720 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
721 "ADA_CFLAGS=$(ADA_CFLAGS)" \
722 "AR_FLAGS=$(AR_FLAGS)" \
723 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
724 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
725 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
726 "CFLAGS=$(CFLAGS)" \
727 "CXXFLAGS=$(CXXFLAGS)" \
728 "LDFLAGS=$(LDFLAGS)" \
729 "LIBCFLAGS=$(LIBCFLAGS)" \
730 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
731 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
732 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
733 "GNATBIND=$(GNATBIND)" \
734 "GNATMAKE=$(GNATMAKE)" \
735 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
736 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
737 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
738 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
739 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
740 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
741 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
742 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
743 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
744 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
745 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
746 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
747 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
748 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
749 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
750 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
751 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
752 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
753 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
754 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
755 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
756 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
757 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
758 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
759 "BUILD_CONFIG=$(BUILD_CONFIG)" \
760 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
761 "LEAN=$(LEAN)" \
762 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
763 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
764 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
765 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
766 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
767 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
768 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
769 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
770 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
771 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
772 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
773 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
774 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
775 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
776 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
777 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
778 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
779 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
780 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
781 "TFLAGS=$(TFLAGS)" \
782 "CONFIG_SHELL=$(SHELL)" \
783 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
785 # We leave this in just in case, but it is not needed anymore.
786 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
788 # Flags to pass down to most sub-makes, in which we're building with
789 # the host environment.
790 EXTRA_HOST_FLAGS = \
791 'AR=$(AR)' \
792 'AS=$(AS)' \
793 'CC=$(CC)' \
794 'CXX=$(CXX)' \
795 'DLLTOOL=$(DLLTOOL)' \
796 'GCJ=$(GCJ)' \
797 'GFORTRAN=$(GFORTRAN)' \
798 'GOC=$(GOC)' \
799 'LD=$(LD)' \
800 'LIPO=$(LIPO)' \
801 'NM=$(NM)' \
802 'OBJDUMP=$(OBJDUMP)' \
803 'RANLIB=$(RANLIB)' \
804 'READELF=$(READELF)' \
805 'STRIP=$(STRIP)' \
806 'WINDRES=$(WINDRES)' \
807 'WINDMC=$(WINDMC)'
809 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
811 # Flags to pass to stage1 or when not bootstrapping.
813 STAGE1_FLAGS_TO_PASS = \
814 LDFLAGS="$${LDFLAGS}" \
815 HOST_LIBS="$${HOST_LIBS}"
817 # Flags to pass to stage2 and later makes.
819 POSTSTAGE1_FLAGS_TO_PASS = \
820 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
821 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
822 GNATBIND="$${GNATBIND}" \
823 LDFLAGS="$${LDFLAGS}" \
824 HOST_LIBS="$${HOST_LIBS}" \
825 $(LTO_FLAGS_TO_PASS) \
826 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
828 # Flags to pass down to makes which are built with the target environment.
829 # The double $ decreases the length of the command line; those variables
830 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
831 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
832 # so we expand them here.
833 EXTRA_TARGET_FLAGS = \
834 'AR=$$(AR_FOR_TARGET)' \
835 'AS=$(COMPILER_AS_FOR_TARGET)' \
836 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
837 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
838 'CXX=$$(CXX_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
839 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
840 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
841 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
842 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
843 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
844 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
845 'LD=$(COMPILER_LD_FOR_TARGET)' \
846 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
847 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
848 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
849 'NM=$(COMPILER_NM_FOR_TARGET)' \
850 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
851 'RANLIB=$$(RANLIB_FOR_TARGET)' \
852 'READELF=$$(READELF_FOR_TARGET)' \
853 'WINDRES=$$(WINDRES_FOR_TARGET)' \
854 'WINDMC=$$(WINDMC_FOR_TARGET)' \
855 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
856 "TFLAGS=$$TFLAGS"
858 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
860 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
861 # unfortunately needs the native compiler and the target ar and
862 # ranlib.
863 # If any variables are added here, they must be added to do-*, below.
864 # The BUILD_* variables are a special case, which are used for the gcc
865 # cross-building scheme.
866 EXTRA_GCC_FLAGS = \
867 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
868 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
869 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
871 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
873 @if gcc
874 BUILD_CONFIG = @BUILD_CONFIG@
875 ifneq ($(BUILD_CONFIG),)
876 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
877 endif
878 @endif gcc
880 .PHONY: configure-host
881 configure-host: \
882 maybe-configure-bfd \
883 maybe-configure-opcodes \
884 maybe-configure-binutils \
885 maybe-configure-bison \
886 maybe-configure-cgen \
887 maybe-configure-dejagnu \
888 maybe-configure-etc \
889 maybe-configure-fastjar \
890 maybe-configure-fixincludes \
891 maybe-configure-flex \
892 maybe-configure-gas \
893 maybe-configure-gcc \
894 maybe-configure-gmp \
895 maybe-configure-mpfr \
896 maybe-configure-mpc \
897 maybe-configure-isl \
898 maybe-configure-libelf \
899 maybe-configure-gold \
900 maybe-configure-gprof \
901 maybe-configure-intl \
902 maybe-configure-tcl \
903 maybe-configure-itcl \
904 maybe-configure-ld \
905 maybe-configure-libbacktrace \
906 maybe-configure-libcpp \
907 maybe-configure-libdecnumber \
908 maybe-configure-libgui \
909 maybe-configure-libiberty \
910 maybe-configure-libiberty-linker-plugin \
911 maybe-configure-libiconv \
912 maybe-configure-m4 \
913 maybe-configure-readline \
914 maybe-configure-sid \
915 maybe-configure-sim \
916 maybe-configure-texinfo \
917 maybe-configure-zlib \
918 maybe-configure-gdb \
919 maybe-configure-expect \
920 maybe-configure-guile \
921 maybe-configure-tk \
922 maybe-configure-libtermcap \
923 maybe-configure-utils \
924 maybe-configure-gnattools \
925 maybe-configure-lto-plugin \
926 maybe-configure-libcc1
927 .PHONY: configure-target
928 configure-target: \
929 maybe-configure-target-libstdc++-v3 \
930 maybe-configure-target-libsanitizer \
931 maybe-configure-target-libvtv \
932 maybe-configure-target-libcilkrts \
933 maybe-configure-target-liboffloadmic \
934 maybe-configure-target-libssp \
935 maybe-configure-target-newlib \
936 maybe-configure-target-libgcc \
937 maybe-configure-target-libbacktrace \
938 maybe-configure-target-libquadmath \
939 maybe-configure-target-libgfortran \
940 maybe-configure-target-libobjc \
941 maybe-configure-target-libgo \
942 maybe-configure-target-libtermcap \
943 maybe-configure-target-winsup \
944 maybe-configure-target-libgloss \
945 maybe-configure-target-libffi \
946 maybe-configure-target-libjava \
947 maybe-configure-target-zlib \
948 maybe-configure-target-boehm-gc \
949 maybe-configure-target-rda \
950 maybe-configure-target-libada \
951 maybe-configure-target-libgomp \
952 maybe-configure-target-libitm \
953 maybe-configure-target-libatomic
955 # The target built for a native non-bootstrap build.
956 .PHONY: all
957 all:
958 @if gcc-bootstrap
959 [ -f stage_final ] || echo stage3 > stage_final
960 @r=`${PWD_COMMAND}`; export r; \
961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
962 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
963 @endif gcc-bootstrap
964 @: $(MAKE); $(unstage)
965 @r=`${PWD_COMMAND}`; export r; \
966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
967 @if gcc-bootstrap
968 if [ -f stage_last ]; then \
969 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
970 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
971 else \
972 @endif gcc-bootstrap
973 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
974 @if gcc-bootstrap
976 fi \
977 @endif gcc-bootstrap
978 && :
980 .PHONY: all-build
982 all-build: maybe-all-build-libiberty
983 all-build: maybe-all-build-bison
984 all-build: maybe-all-build-flex
985 all-build: maybe-all-build-m4
986 all-build: maybe-all-build-texinfo
987 all-build: maybe-all-build-fixincludes
988 all-build: maybe-all-build-libcpp
990 .PHONY: all-host
992 @if bfd-no-bootstrap
993 all-host: maybe-all-bfd
994 @endif bfd-no-bootstrap
995 @if opcodes-no-bootstrap
996 all-host: maybe-all-opcodes
997 @endif opcodes-no-bootstrap
998 @if binutils-no-bootstrap
999 all-host: maybe-all-binutils
1000 @endif binutils-no-bootstrap
1001 all-host: maybe-all-bison
1002 all-host: maybe-all-cgen
1003 all-host: maybe-all-dejagnu
1004 all-host: maybe-all-etc
1005 all-host: maybe-all-fastjar
1006 @if fixincludes-no-bootstrap
1007 all-host: maybe-all-fixincludes
1008 @endif fixincludes-no-bootstrap
1009 all-host: maybe-all-flex
1010 @if gas-no-bootstrap
1011 all-host: maybe-all-gas
1012 @endif gas-no-bootstrap
1013 @if gcc-no-bootstrap
1014 all-host: maybe-all-gcc
1015 @endif gcc-no-bootstrap
1016 @if gmp-no-bootstrap
1017 all-host: maybe-all-gmp
1018 @endif gmp-no-bootstrap
1019 @if mpfr-no-bootstrap
1020 all-host: maybe-all-mpfr
1021 @endif mpfr-no-bootstrap
1022 @if mpc-no-bootstrap
1023 all-host: maybe-all-mpc
1024 @endif mpc-no-bootstrap
1025 @if isl-no-bootstrap
1026 all-host: maybe-all-isl
1027 @endif isl-no-bootstrap
1028 @if libelf-no-bootstrap
1029 all-host: maybe-all-libelf
1030 @endif libelf-no-bootstrap
1031 @if gold-no-bootstrap
1032 all-host: maybe-all-gold
1033 @endif gold-no-bootstrap
1034 all-host: maybe-all-gprof
1035 @if intl-no-bootstrap
1036 all-host: maybe-all-intl
1037 @endif intl-no-bootstrap
1038 all-host: maybe-all-tcl
1039 all-host: maybe-all-itcl
1040 @if ld-no-bootstrap
1041 all-host: maybe-all-ld
1042 @endif ld-no-bootstrap
1043 @if libbacktrace-no-bootstrap
1044 all-host: maybe-all-libbacktrace
1045 @endif libbacktrace-no-bootstrap
1046 @if libcpp-no-bootstrap
1047 all-host: maybe-all-libcpp
1048 @endif libcpp-no-bootstrap
1049 @if libdecnumber-no-bootstrap
1050 all-host: maybe-all-libdecnumber
1051 @endif libdecnumber-no-bootstrap
1052 all-host: maybe-all-libgui
1053 @if libiberty-no-bootstrap
1054 all-host: maybe-all-libiberty
1055 @endif libiberty-no-bootstrap
1056 @if libiberty-linker-plugin-no-bootstrap
1057 all-host: maybe-all-libiberty-linker-plugin
1058 @endif libiberty-linker-plugin-no-bootstrap
1059 all-host: maybe-all-libiconv
1060 all-host: maybe-all-m4
1061 all-host: maybe-all-readline
1062 all-host: maybe-all-sid
1063 all-host: maybe-all-sim
1064 all-host: maybe-all-texinfo
1065 @if zlib-no-bootstrap
1066 all-host: maybe-all-zlib
1067 @endif zlib-no-bootstrap
1068 all-host: maybe-all-gdb
1069 all-host: maybe-all-expect
1070 all-host: maybe-all-guile
1071 all-host: maybe-all-tk
1072 all-host: maybe-all-libtermcap
1073 all-host: maybe-all-utils
1074 all-host: maybe-all-gnattools
1075 @if lto-plugin-no-bootstrap
1076 all-host: maybe-all-lto-plugin
1077 @endif lto-plugin-no-bootstrap
1078 all-host: maybe-all-libcc1
1080 .PHONY: all-target
1082 @if target-libstdc++-v3-no-bootstrap
1083 all-target: maybe-all-target-libstdc++-v3
1084 @endif target-libstdc++-v3-no-bootstrap
1085 @if target-libsanitizer-no-bootstrap
1086 all-target: maybe-all-target-libsanitizer
1087 @endif target-libsanitizer-no-bootstrap
1088 @if target-libvtv-no-bootstrap
1089 all-target: maybe-all-target-libvtv
1090 @endif target-libvtv-no-bootstrap
1091 all-target: maybe-all-target-libcilkrts
1092 all-target: maybe-all-target-liboffloadmic
1093 all-target: maybe-all-target-libssp
1094 all-target: maybe-all-target-newlib
1095 @if target-libgcc-no-bootstrap
1096 all-target: maybe-all-target-libgcc
1097 @endif target-libgcc-no-bootstrap
1098 all-target: maybe-all-target-libbacktrace
1099 all-target: maybe-all-target-libquadmath
1100 all-target: maybe-all-target-libgfortran
1101 all-target: maybe-all-target-libobjc
1102 all-target: maybe-all-target-libgo
1103 all-target: maybe-all-target-libtermcap
1104 all-target: maybe-all-target-winsup
1105 all-target: maybe-all-target-libgloss
1106 all-target: maybe-all-target-libffi
1107 all-target: maybe-all-target-libjava
1108 all-target: maybe-all-target-zlib
1109 all-target: maybe-all-target-boehm-gc
1110 all-target: maybe-all-target-rda
1111 all-target: maybe-all-target-libada
1112 @if target-libgomp-no-bootstrap
1113 all-target: maybe-all-target-libgomp
1114 @endif target-libgomp-no-bootstrap
1115 all-target: maybe-all-target-libitm
1116 all-target: maybe-all-target-libatomic
1118 # Do a target for all the subdirectories. A ``make do-X'' will do a
1119 # ``make X'' in all subdirectories (because, in general, there is a
1120 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1121 # but it may do additional work as well).
1123 .PHONY: do-info
1124 do-info:
1125 @: $(MAKE); $(unstage)
1126 @r=`${PWD_COMMAND}`; export r; \
1127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1128 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1129 info-target
1132 .PHONY: info-host
1134 info-host: maybe-info-bfd
1135 info-host: maybe-info-opcodes
1136 info-host: maybe-info-binutils
1137 info-host: maybe-info-bison
1138 info-host: maybe-info-cgen
1139 info-host: maybe-info-dejagnu
1140 info-host: maybe-info-etc
1141 info-host: maybe-info-fastjar
1142 info-host: maybe-info-fixincludes
1143 info-host: maybe-info-flex
1144 info-host: maybe-info-gas
1145 info-host: maybe-info-gcc
1146 info-host: maybe-info-gmp
1147 info-host: maybe-info-mpfr
1148 info-host: maybe-info-mpc
1149 info-host: maybe-info-isl
1150 info-host: maybe-info-libelf
1151 info-host: maybe-info-gold
1152 info-host: maybe-info-gprof
1153 info-host: maybe-info-intl
1154 info-host: maybe-info-tcl
1155 info-host: maybe-info-itcl
1156 info-host: maybe-info-ld
1157 info-host: maybe-info-libbacktrace
1158 info-host: maybe-info-libcpp
1159 info-host: maybe-info-libdecnumber
1160 info-host: maybe-info-libgui
1161 info-host: maybe-info-libiberty
1162 info-host: maybe-info-libiberty-linker-plugin
1163 info-host: maybe-info-libiconv
1164 info-host: maybe-info-m4
1165 info-host: maybe-info-readline
1166 info-host: maybe-info-sid
1167 info-host: maybe-info-sim
1168 info-host: maybe-info-texinfo
1169 info-host: maybe-info-zlib
1170 info-host: maybe-info-gdb
1171 info-host: maybe-info-expect
1172 info-host: maybe-info-guile
1173 info-host: maybe-info-tk
1174 info-host: maybe-info-libtermcap
1175 info-host: maybe-info-utils
1176 info-host: maybe-info-gnattools
1177 info-host: maybe-info-lto-plugin
1178 info-host: maybe-info-libcc1
1180 .PHONY: info-target
1182 info-target: maybe-info-target-libstdc++-v3
1183 info-target: maybe-info-target-libsanitizer
1184 info-target: maybe-info-target-libvtv
1185 info-target: maybe-info-target-libcilkrts
1186 info-target: maybe-info-target-liboffloadmic
1187 info-target: maybe-info-target-libssp
1188 info-target: maybe-info-target-newlib
1189 info-target: maybe-info-target-libgcc
1190 info-target: maybe-info-target-libbacktrace
1191 info-target: maybe-info-target-libquadmath
1192 info-target: maybe-info-target-libgfortran
1193 info-target: maybe-info-target-libobjc
1194 info-target: maybe-info-target-libgo
1195 info-target: maybe-info-target-libtermcap
1196 info-target: maybe-info-target-winsup
1197 info-target: maybe-info-target-libgloss
1198 info-target: maybe-info-target-libffi
1199 info-target: maybe-info-target-libjava
1200 info-target: maybe-info-target-zlib
1201 info-target: maybe-info-target-boehm-gc
1202 info-target: maybe-info-target-rda
1203 info-target: maybe-info-target-libada
1204 info-target: maybe-info-target-libgomp
1205 info-target: maybe-info-target-libitm
1206 info-target: maybe-info-target-libatomic
1208 .PHONY: do-dvi
1209 do-dvi:
1210 @: $(MAKE); $(unstage)
1211 @r=`${PWD_COMMAND}`; export r; \
1212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1213 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1214 dvi-target
1217 .PHONY: dvi-host
1219 dvi-host: maybe-dvi-bfd
1220 dvi-host: maybe-dvi-opcodes
1221 dvi-host: maybe-dvi-binutils
1222 dvi-host: maybe-dvi-bison
1223 dvi-host: maybe-dvi-cgen
1224 dvi-host: maybe-dvi-dejagnu
1225 dvi-host: maybe-dvi-etc
1226 dvi-host: maybe-dvi-fastjar
1227 dvi-host: maybe-dvi-fixincludes
1228 dvi-host: maybe-dvi-flex
1229 dvi-host: maybe-dvi-gas
1230 dvi-host: maybe-dvi-gcc
1231 dvi-host: maybe-dvi-gmp
1232 dvi-host: maybe-dvi-mpfr
1233 dvi-host: maybe-dvi-mpc
1234 dvi-host: maybe-dvi-isl
1235 dvi-host: maybe-dvi-libelf
1236 dvi-host: maybe-dvi-gold
1237 dvi-host: maybe-dvi-gprof
1238 dvi-host: maybe-dvi-intl
1239 dvi-host: maybe-dvi-tcl
1240 dvi-host: maybe-dvi-itcl
1241 dvi-host: maybe-dvi-ld
1242 dvi-host: maybe-dvi-libbacktrace
1243 dvi-host: maybe-dvi-libcpp
1244 dvi-host: maybe-dvi-libdecnumber
1245 dvi-host: maybe-dvi-libgui
1246 dvi-host: maybe-dvi-libiberty
1247 dvi-host: maybe-dvi-libiberty-linker-plugin
1248 dvi-host: maybe-dvi-libiconv
1249 dvi-host: maybe-dvi-m4
1250 dvi-host: maybe-dvi-readline
1251 dvi-host: maybe-dvi-sid
1252 dvi-host: maybe-dvi-sim
1253 dvi-host: maybe-dvi-texinfo
1254 dvi-host: maybe-dvi-zlib
1255 dvi-host: maybe-dvi-gdb
1256 dvi-host: maybe-dvi-expect
1257 dvi-host: maybe-dvi-guile
1258 dvi-host: maybe-dvi-tk
1259 dvi-host: maybe-dvi-libtermcap
1260 dvi-host: maybe-dvi-utils
1261 dvi-host: maybe-dvi-gnattools
1262 dvi-host: maybe-dvi-lto-plugin
1263 dvi-host: maybe-dvi-libcc1
1265 .PHONY: dvi-target
1267 dvi-target: maybe-dvi-target-libstdc++-v3
1268 dvi-target: maybe-dvi-target-libsanitizer
1269 dvi-target: maybe-dvi-target-libvtv
1270 dvi-target: maybe-dvi-target-libcilkrts
1271 dvi-target: maybe-dvi-target-liboffloadmic
1272 dvi-target: maybe-dvi-target-libssp
1273 dvi-target: maybe-dvi-target-newlib
1274 dvi-target: maybe-dvi-target-libgcc
1275 dvi-target: maybe-dvi-target-libbacktrace
1276 dvi-target: maybe-dvi-target-libquadmath
1277 dvi-target: maybe-dvi-target-libgfortran
1278 dvi-target: maybe-dvi-target-libobjc
1279 dvi-target: maybe-dvi-target-libgo
1280 dvi-target: maybe-dvi-target-libtermcap
1281 dvi-target: maybe-dvi-target-winsup
1282 dvi-target: maybe-dvi-target-libgloss
1283 dvi-target: maybe-dvi-target-libffi
1284 dvi-target: maybe-dvi-target-libjava
1285 dvi-target: maybe-dvi-target-zlib
1286 dvi-target: maybe-dvi-target-boehm-gc
1287 dvi-target: maybe-dvi-target-rda
1288 dvi-target: maybe-dvi-target-libada
1289 dvi-target: maybe-dvi-target-libgomp
1290 dvi-target: maybe-dvi-target-libitm
1291 dvi-target: maybe-dvi-target-libatomic
1293 .PHONY: do-pdf
1294 do-pdf:
1295 @: $(MAKE); $(unstage)
1296 @r=`${PWD_COMMAND}`; export r; \
1297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1298 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1299 pdf-target
1302 .PHONY: pdf-host
1304 pdf-host: maybe-pdf-bfd
1305 pdf-host: maybe-pdf-opcodes
1306 pdf-host: maybe-pdf-binutils
1307 pdf-host: maybe-pdf-bison
1308 pdf-host: maybe-pdf-cgen
1309 pdf-host: maybe-pdf-dejagnu
1310 pdf-host: maybe-pdf-etc
1311 pdf-host: maybe-pdf-fastjar
1312 pdf-host: maybe-pdf-fixincludes
1313 pdf-host: maybe-pdf-flex
1314 pdf-host: maybe-pdf-gas
1315 pdf-host: maybe-pdf-gcc
1316 pdf-host: maybe-pdf-gmp
1317 pdf-host: maybe-pdf-mpfr
1318 pdf-host: maybe-pdf-mpc
1319 pdf-host: maybe-pdf-isl
1320 pdf-host: maybe-pdf-libelf
1321 pdf-host: maybe-pdf-gold
1322 pdf-host: maybe-pdf-gprof
1323 pdf-host: maybe-pdf-intl
1324 pdf-host: maybe-pdf-tcl
1325 pdf-host: maybe-pdf-itcl
1326 pdf-host: maybe-pdf-ld
1327 pdf-host: maybe-pdf-libbacktrace
1328 pdf-host: maybe-pdf-libcpp
1329 pdf-host: maybe-pdf-libdecnumber
1330 pdf-host: maybe-pdf-libgui
1331 pdf-host: maybe-pdf-libiberty
1332 pdf-host: maybe-pdf-libiberty-linker-plugin
1333 pdf-host: maybe-pdf-libiconv
1334 pdf-host: maybe-pdf-m4
1335 pdf-host: maybe-pdf-readline
1336 pdf-host: maybe-pdf-sid
1337 pdf-host: maybe-pdf-sim
1338 pdf-host: maybe-pdf-texinfo
1339 pdf-host: maybe-pdf-zlib
1340 pdf-host: maybe-pdf-gdb
1341 pdf-host: maybe-pdf-expect
1342 pdf-host: maybe-pdf-guile
1343 pdf-host: maybe-pdf-tk
1344 pdf-host: maybe-pdf-libtermcap
1345 pdf-host: maybe-pdf-utils
1346 pdf-host: maybe-pdf-gnattools
1347 pdf-host: maybe-pdf-lto-plugin
1348 pdf-host: maybe-pdf-libcc1
1350 .PHONY: pdf-target
1352 pdf-target: maybe-pdf-target-libstdc++-v3
1353 pdf-target: maybe-pdf-target-libsanitizer
1354 pdf-target: maybe-pdf-target-libvtv
1355 pdf-target: maybe-pdf-target-libcilkrts
1356 pdf-target: maybe-pdf-target-liboffloadmic
1357 pdf-target: maybe-pdf-target-libssp
1358 pdf-target: maybe-pdf-target-newlib
1359 pdf-target: maybe-pdf-target-libgcc
1360 pdf-target: maybe-pdf-target-libbacktrace
1361 pdf-target: maybe-pdf-target-libquadmath
1362 pdf-target: maybe-pdf-target-libgfortran
1363 pdf-target: maybe-pdf-target-libobjc
1364 pdf-target: maybe-pdf-target-libgo
1365 pdf-target: maybe-pdf-target-libtermcap
1366 pdf-target: maybe-pdf-target-winsup
1367 pdf-target: maybe-pdf-target-libgloss
1368 pdf-target: maybe-pdf-target-libffi
1369 pdf-target: maybe-pdf-target-libjava
1370 pdf-target: maybe-pdf-target-zlib
1371 pdf-target: maybe-pdf-target-boehm-gc
1372 pdf-target: maybe-pdf-target-rda
1373 pdf-target: maybe-pdf-target-libada
1374 pdf-target: maybe-pdf-target-libgomp
1375 pdf-target: maybe-pdf-target-libitm
1376 pdf-target: maybe-pdf-target-libatomic
1378 .PHONY: do-html
1379 do-html:
1380 @: $(MAKE); $(unstage)
1381 @r=`${PWD_COMMAND}`; export r; \
1382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1383 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1384 html-target
1387 .PHONY: html-host
1389 html-host: maybe-html-bfd
1390 html-host: maybe-html-opcodes
1391 html-host: maybe-html-binutils
1392 html-host: maybe-html-bison
1393 html-host: maybe-html-cgen
1394 html-host: maybe-html-dejagnu
1395 html-host: maybe-html-etc
1396 html-host: maybe-html-fastjar
1397 html-host: maybe-html-fixincludes
1398 html-host: maybe-html-flex
1399 html-host: maybe-html-gas
1400 html-host: maybe-html-gcc
1401 html-host: maybe-html-gmp
1402 html-host: maybe-html-mpfr
1403 html-host: maybe-html-mpc
1404 html-host: maybe-html-isl
1405 html-host: maybe-html-libelf
1406 html-host: maybe-html-gold
1407 html-host: maybe-html-gprof
1408 html-host: maybe-html-intl
1409 html-host: maybe-html-tcl
1410 html-host: maybe-html-itcl
1411 html-host: maybe-html-ld
1412 html-host: maybe-html-libbacktrace
1413 html-host: maybe-html-libcpp
1414 html-host: maybe-html-libdecnumber
1415 html-host: maybe-html-libgui
1416 html-host: maybe-html-libiberty
1417 html-host: maybe-html-libiberty-linker-plugin
1418 html-host: maybe-html-libiconv
1419 html-host: maybe-html-m4
1420 html-host: maybe-html-readline
1421 html-host: maybe-html-sid
1422 html-host: maybe-html-sim
1423 html-host: maybe-html-texinfo
1424 html-host: maybe-html-zlib
1425 html-host: maybe-html-gdb
1426 html-host: maybe-html-expect
1427 html-host: maybe-html-guile
1428 html-host: maybe-html-tk
1429 html-host: maybe-html-libtermcap
1430 html-host: maybe-html-utils
1431 html-host: maybe-html-gnattools
1432 html-host: maybe-html-lto-plugin
1433 html-host: maybe-html-libcc1
1435 .PHONY: html-target
1437 html-target: maybe-html-target-libstdc++-v3
1438 html-target: maybe-html-target-libsanitizer
1439 html-target: maybe-html-target-libvtv
1440 html-target: maybe-html-target-libcilkrts
1441 html-target: maybe-html-target-liboffloadmic
1442 html-target: maybe-html-target-libssp
1443 html-target: maybe-html-target-newlib
1444 html-target: maybe-html-target-libgcc
1445 html-target: maybe-html-target-libbacktrace
1446 html-target: maybe-html-target-libquadmath
1447 html-target: maybe-html-target-libgfortran
1448 html-target: maybe-html-target-libobjc
1449 html-target: maybe-html-target-libgo
1450 html-target: maybe-html-target-libtermcap
1451 html-target: maybe-html-target-winsup
1452 html-target: maybe-html-target-libgloss
1453 html-target: maybe-html-target-libffi
1454 html-target: maybe-html-target-libjava
1455 html-target: maybe-html-target-zlib
1456 html-target: maybe-html-target-boehm-gc
1457 html-target: maybe-html-target-rda
1458 html-target: maybe-html-target-libada
1459 html-target: maybe-html-target-libgomp
1460 html-target: maybe-html-target-libitm
1461 html-target: maybe-html-target-libatomic
1463 .PHONY: do-TAGS
1464 do-TAGS:
1465 @: $(MAKE); $(unstage)
1466 @r=`${PWD_COMMAND}`; export r; \
1467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1468 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1469 TAGS-target
1472 .PHONY: TAGS-host
1474 TAGS-host: maybe-TAGS-bfd
1475 TAGS-host: maybe-TAGS-opcodes
1476 TAGS-host: maybe-TAGS-binutils
1477 TAGS-host: maybe-TAGS-bison
1478 TAGS-host: maybe-TAGS-cgen
1479 TAGS-host: maybe-TAGS-dejagnu
1480 TAGS-host: maybe-TAGS-etc
1481 TAGS-host: maybe-TAGS-fastjar
1482 TAGS-host: maybe-TAGS-fixincludes
1483 TAGS-host: maybe-TAGS-flex
1484 TAGS-host: maybe-TAGS-gas
1485 TAGS-host: maybe-TAGS-gcc
1486 TAGS-host: maybe-TAGS-gmp
1487 TAGS-host: maybe-TAGS-mpfr
1488 TAGS-host: maybe-TAGS-mpc
1489 TAGS-host: maybe-TAGS-isl
1490 TAGS-host: maybe-TAGS-libelf
1491 TAGS-host: maybe-TAGS-gold
1492 TAGS-host: maybe-TAGS-gprof
1493 TAGS-host: maybe-TAGS-intl
1494 TAGS-host: maybe-TAGS-tcl
1495 TAGS-host: maybe-TAGS-itcl
1496 TAGS-host: maybe-TAGS-ld
1497 TAGS-host: maybe-TAGS-libbacktrace
1498 TAGS-host: maybe-TAGS-libcpp
1499 TAGS-host: maybe-TAGS-libdecnumber
1500 TAGS-host: maybe-TAGS-libgui
1501 TAGS-host: maybe-TAGS-libiberty
1502 TAGS-host: maybe-TAGS-libiberty-linker-plugin
1503 TAGS-host: maybe-TAGS-libiconv
1504 TAGS-host: maybe-TAGS-m4
1505 TAGS-host: maybe-TAGS-readline
1506 TAGS-host: maybe-TAGS-sid
1507 TAGS-host: maybe-TAGS-sim
1508 TAGS-host: maybe-TAGS-texinfo
1509 TAGS-host: maybe-TAGS-zlib
1510 TAGS-host: maybe-TAGS-gdb
1511 TAGS-host: maybe-TAGS-expect
1512 TAGS-host: maybe-TAGS-guile
1513 TAGS-host: maybe-TAGS-tk
1514 TAGS-host: maybe-TAGS-libtermcap
1515 TAGS-host: maybe-TAGS-utils
1516 TAGS-host: maybe-TAGS-gnattools
1517 TAGS-host: maybe-TAGS-lto-plugin
1518 TAGS-host: maybe-TAGS-libcc1
1520 .PHONY: TAGS-target
1522 TAGS-target: maybe-TAGS-target-libstdc++-v3
1523 TAGS-target: maybe-TAGS-target-libsanitizer
1524 TAGS-target: maybe-TAGS-target-libvtv
1525 TAGS-target: maybe-TAGS-target-libcilkrts
1526 TAGS-target: maybe-TAGS-target-liboffloadmic
1527 TAGS-target: maybe-TAGS-target-libssp
1528 TAGS-target: maybe-TAGS-target-newlib
1529 TAGS-target: maybe-TAGS-target-libgcc
1530 TAGS-target: maybe-TAGS-target-libbacktrace
1531 TAGS-target: maybe-TAGS-target-libquadmath
1532 TAGS-target: maybe-TAGS-target-libgfortran
1533 TAGS-target: maybe-TAGS-target-libobjc
1534 TAGS-target: maybe-TAGS-target-libgo
1535 TAGS-target: maybe-TAGS-target-libtermcap
1536 TAGS-target: maybe-TAGS-target-winsup
1537 TAGS-target: maybe-TAGS-target-libgloss
1538 TAGS-target: maybe-TAGS-target-libffi
1539 TAGS-target: maybe-TAGS-target-libjava
1540 TAGS-target: maybe-TAGS-target-zlib
1541 TAGS-target: maybe-TAGS-target-boehm-gc
1542 TAGS-target: maybe-TAGS-target-rda
1543 TAGS-target: maybe-TAGS-target-libada
1544 TAGS-target: maybe-TAGS-target-libgomp
1545 TAGS-target: maybe-TAGS-target-libitm
1546 TAGS-target: maybe-TAGS-target-libatomic
1548 .PHONY: do-install-info
1549 do-install-info:
1550 @: $(MAKE); $(unstage)
1551 @r=`${PWD_COMMAND}`; export r; \
1552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1553 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1554 install-info-target
1557 .PHONY: install-info-host
1559 install-info-host: maybe-install-info-bfd
1560 install-info-host: maybe-install-info-opcodes
1561 install-info-host: maybe-install-info-binutils
1562 install-info-host: maybe-install-info-bison
1563 install-info-host: maybe-install-info-cgen
1564 install-info-host: maybe-install-info-dejagnu
1565 install-info-host: maybe-install-info-etc
1566 install-info-host: maybe-install-info-fastjar
1567 install-info-host: maybe-install-info-fixincludes
1568 install-info-host: maybe-install-info-flex
1569 install-info-host: maybe-install-info-gas
1570 install-info-host: maybe-install-info-gcc
1571 install-info-host: maybe-install-info-gmp
1572 install-info-host: maybe-install-info-mpfr
1573 install-info-host: maybe-install-info-mpc
1574 install-info-host: maybe-install-info-isl
1575 install-info-host: maybe-install-info-libelf
1576 install-info-host: maybe-install-info-gold
1577 install-info-host: maybe-install-info-gprof
1578 install-info-host: maybe-install-info-intl
1579 install-info-host: maybe-install-info-tcl
1580 install-info-host: maybe-install-info-itcl
1581 install-info-host: maybe-install-info-ld
1582 install-info-host: maybe-install-info-libbacktrace
1583 install-info-host: maybe-install-info-libcpp
1584 install-info-host: maybe-install-info-libdecnumber
1585 install-info-host: maybe-install-info-libgui
1586 install-info-host: maybe-install-info-libiberty
1587 install-info-host: maybe-install-info-libiberty-linker-plugin
1588 install-info-host: maybe-install-info-libiconv
1589 install-info-host: maybe-install-info-m4
1590 install-info-host: maybe-install-info-readline
1591 install-info-host: maybe-install-info-sid
1592 install-info-host: maybe-install-info-sim
1593 install-info-host: maybe-install-info-texinfo
1594 install-info-host: maybe-install-info-zlib
1595 install-info-host: maybe-install-info-gdb
1596 install-info-host: maybe-install-info-expect
1597 install-info-host: maybe-install-info-guile
1598 install-info-host: maybe-install-info-tk
1599 install-info-host: maybe-install-info-libtermcap
1600 install-info-host: maybe-install-info-utils
1601 install-info-host: maybe-install-info-gnattools
1602 install-info-host: maybe-install-info-lto-plugin
1603 install-info-host: maybe-install-info-libcc1
1605 .PHONY: install-info-target
1607 install-info-target: maybe-install-info-target-libstdc++-v3
1608 install-info-target: maybe-install-info-target-libsanitizer
1609 install-info-target: maybe-install-info-target-libvtv
1610 install-info-target: maybe-install-info-target-libcilkrts
1611 install-info-target: maybe-install-info-target-liboffloadmic
1612 install-info-target: maybe-install-info-target-libssp
1613 install-info-target: maybe-install-info-target-newlib
1614 install-info-target: maybe-install-info-target-libgcc
1615 install-info-target: maybe-install-info-target-libbacktrace
1616 install-info-target: maybe-install-info-target-libquadmath
1617 install-info-target: maybe-install-info-target-libgfortran
1618 install-info-target: maybe-install-info-target-libobjc
1619 install-info-target: maybe-install-info-target-libgo
1620 install-info-target: maybe-install-info-target-libtermcap
1621 install-info-target: maybe-install-info-target-winsup
1622 install-info-target: maybe-install-info-target-libgloss
1623 install-info-target: maybe-install-info-target-libffi
1624 install-info-target: maybe-install-info-target-libjava
1625 install-info-target: maybe-install-info-target-zlib
1626 install-info-target: maybe-install-info-target-boehm-gc
1627 install-info-target: maybe-install-info-target-rda
1628 install-info-target: maybe-install-info-target-libada
1629 install-info-target: maybe-install-info-target-libgomp
1630 install-info-target: maybe-install-info-target-libitm
1631 install-info-target: maybe-install-info-target-libatomic
1633 .PHONY: do-install-pdf
1634 do-install-pdf:
1635 @: $(MAKE); $(unstage)
1636 @r=`${PWD_COMMAND}`; export r; \
1637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1638 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1639 install-pdf-target
1642 .PHONY: install-pdf-host
1644 install-pdf-host: maybe-install-pdf-bfd
1645 install-pdf-host: maybe-install-pdf-opcodes
1646 install-pdf-host: maybe-install-pdf-binutils
1647 install-pdf-host: maybe-install-pdf-bison
1648 install-pdf-host: maybe-install-pdf-cgen
1649 install-pdf-host: maybe-install-pdf-dejagnu
1650 install-pdf-host: maybe-install-pdf-etc
1651 install-pdf-host: maybe-install-pdf-fastjar
1652 install-pdf-host: maybe-install-pdf-fixincludes
1653 install-pdf-host: maybe-install-pdf-flex
1654 install-pdf-host: maybe-install-pdf-gas
1655 install-pdf-host: maybe-install-pdf-gcc
1656 install-pdf-host: maybe-install-pdf-gmp
1657 install-pdf-host: maybe-install-pdf-mpfr
1658 install-pdf-host: maybe-install-pdf-mpc
1659 install-pdf-host: maybe-install-pdf-isl
1660 install-pdf-host: maybe-install-pdf-libelf
1661 install-pdf-host: maybe-install-pdf-gold
1662 install-pdf-host: maybe-install-pdf-gprof
1663 install-pdf-host: maybe-install-pdf-intl
1664 install-pdf-host: maybe-install-pdf-tcl
1665 install-pdf-host: maybe-install-pdf-itcl
1666 install-pdf-host: maybe-install-pdf-ld
1667 install-pdf-host: maybe-install-pdf-libbacktrace
1668 install-pdf-host: maybe-install-pdf-libcpp
1669 install-pdf-host: maybe-install-pdf-libdecnumber
1670 install-pdf-host: maybe-install-pdf-libgui
1671 install-pdf-host: maybe-install-pdf-libiberty
1672 install-pdf-host: maybe-install-pdf-libiberty-linker-plugin
1673 install-pdf-host: maybe-install-pdf-libiconv
1674 install-pdf-host: maybe-install-pdf-m4
1675 install-pdf-host: maybe-install-pdf-readline
1676 install-pdf-host: maybe-install-pdf-sid
1677 install-pdf-host: maybe-install-pdf-sim
1678 install-pdf-host: maybe-install-pdf-texinfo
1679 install-pdf-host: maybe-install-pdf-zlib
1680 install-pdf-host: maybe-install-pdf-gdb
1681 install-pdf-host: maybe-install-pdf-expect
1682 install-pdf-host: maybe-install-pdf-guile
1683 install-pdf-host: maybe-install-pdf-tk
1684 install-pdf-host: maybe-install-pdf-libtermcap
1685 install-pdf-host: maybe-install-pdf-utils
1686 install-pdf-host: maybe-install-pdf-gnattools
1687 install-pdf-host: maybe-install-pdf-lto-plugin
1688 install-pdf-host: maybe-install-pdf-libcc1
1690 .PHONY: install-pdf-target
1692 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1693 install-pdf-target: maybe-install-pdf-target-libsanitizer
1694 install-pdf-target: maybe-install-pdf-target-libvtv
1695 install-pdf-target: maybe-install-pdf-target-libcilkrts
1696 install-pdf-target: maybe-install-pdf-target-liboffloadmic
1697 install-pdf-target: maybe-install-pdf-target-libssp
1698 install-pdf-target: maybe-install-pdf-target-newlib
1699 install-pdf-target: maybe-install-pdf-target-libgcc
1700 install-pdf-target: maybe-install-pdf-target-libbacktrace
1701 install-pdf-target: maybe-install-pdf-target-libquadmath
1702 install-pdf-target: maybe-install-pdf-target-libgfortran
1703 install-pdf-target: maybe-install-pdf-target-libobjc
1704 install-pdf-target: maybe-install-pdf-target-libgo
1705 install-pdf-target: maybe-install-pdf-target-libtermcap
1706 install-pdf-target: maybe-install-pdf-target-winsup
1707 install-pdf-target: maybe-install-pdf-target-libgloss
1708 install-pdf-target: maybe-install-pdf-target-libffi
1709 install-pdf-target: maybe-install-pdf-target-libjava
1710 install-pdf-target: maybe-install-pdf-target-zlib
1711 install-pdf-target: maybe-install-pdf-target-boehm-gc
1712 install-pdf-target: maybe-install-pdf-target-rda
1713 install-pdf-target: maybe-install-pdf-target-libada
1714 install-pdf-target: maybe-install-pdf-target-libgomp
1715 install-pdf-target: maybe-install-pdf-target-libitm
1716 install-pdf-target: maybe-install-pdf-target-libatomic
1718 .PHONY: do-install-html
1719 do-install-html:
1720 @: $(MAKE); $(unstage)
1721 @r=`${PWD_COMMAND}`; export r; \
1722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1723 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1724 install-html-target
1727 .PHONY: install-html-host
1729 install-html-host: maybe-install-html-bfd
1730 install-html-host: maybe-install-html-opcodes
1731 install-html-host: maybe-install-html-binutils
1732 install-html-host: maybe-install-html-bison
1733 install-html-host: maybe-install-html-cgen
1734 install-html-host: maybe-install-html-dejagnu
1735 install-html-host: maybe-install-html-etc
1736 install-html-host: maybe-install-html-fastjar
1737 install-html-host: maybe-install-html-fixincludes
1738 install-html-host: maybe-install-html-flex
1739 install-html-host: maybe-install-html-gas
1740 install-html-host: maybe-install-html-gcc
1741 install-html-host: maybe-install-html-gmp
1742 install-html-host: maybe-install-html-mpfr
1743 install-html-host: maybe-install-html-mpc
1744 install-html-host: maybe-install-html-isl
1745 install-html-host: maybe-install-html-libelf
1746 install-html-host: maybe-install-html-gold
1747 install-html-host: maybe-install-html-gprof
1748 install-html-host: maybe-install-html-intl
1749 install-html-host: maybe-install-html-tcl
1750 install-html-host: maybe-install-html-itcl
1751 install-html-host: maybe-install-html-ld
1752 install-html-host: maybe-install-html-libbacktrace
1753 install-html-host: maybe-install-html-libcpp
1754 install-html-host: maybe-install-html-libdecnumber
1755 install-html-host: maybe-install-html-libgui
1756 install-html-host: maybe-install-html-libiberty
1757 install-html-host: maybe-install-html-libiberty-linker-plugin
1758 install-html-host: maybe-install-html-libiconv
1759 install-html-host: maybe-install-html-m4
1760 install-html-host: maybe-install-html-readline
1761 install-html-host: maybe-install-html-sid
1762 install-html-host: maybe-install-html-sim
1763 install-html-host: maybe-install-html-texinfo
1764 install-html-host: maybe-install-html-zlib
1765 install-html-host: maybe-install-html-gdb
1766 install-html-host: maybe-install-html-expect
1767 install-html-host: maybe-install-html-guile
1768 install-html-host: maybe-install-html-tk
1769 install-html-host: maybe-install-html-libtermcap
1770 install-html-host: maybe-install-html-utils
1771 install-html-host: maybe-install-html-gnattools
1772 install-html-host: maybe-install-html-lto-plugin
1773 install-html-host: maybe-install-html-libcc1
1775 .PHONY: install-html-target
1777 install-html-target: maybe-install-html-target-libstdc++-v3
1778 install-html-target: maybe-install-html-target-libsanitizer
1779 install-html-target: maybe-install-html-target-libvtv
1780 install-html-target: maybe-install-html-target-libcilkrts
1781 install-html-target: maybe-install-html-target-liboffloadmic
1782 install-html-target: maybe-install-html-target-libssp
1783 install-html-target: maybe-install-html-target-newlib
1784 install-html-target: maybe-install-html-target-libgcc
1785 install-html-target: maybe-install-html-target-libbacktrace
1786 install-html-target: maybe-install-html-target-libquadmath
1787 install-html-target: maybe-install-html-target-libgfortran
1788 install-html-target: maybe-install-html-target-libobjc
1789 install-html-target: maybe-install-html-target-libgo
1790 install-html-target: maybe-install-html-target-libtermcap
1791 install-html-target: maybe-install-html-target-winsup
1792 install-html-target: maybe-install-html-target-libgloss
1793 install-html-target: maybe-install-html-target-libffi
1794 install-html-target: maybe-install-html-target-libjava
1795 install-html-target: maybe-install-html-target-zlib
1796 install-html-target: maybe-install-html-target-boehm-gc
1797 install-html-target: maybe-install-html-target-rda
1798 install-html-target: maybe-install-html-target-libada
1799 install-html-target: maybe-install-html-target-libgomp
1800 install-html-target: maybe-install-html-target-libitm
1801 install-html-target: maybe-install-html-target-libatomic
1803 .PHONY: do-installcheck
1804 do-installcheck:
1805 @: $(MAKE); $(unstage)
1806 @r=`${PWD_COMMAND}`; export r; \
1807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1808 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1809 installcheck-target
1812 .PHONY: installcheck-host
1814 installcheck-host: maybe-installcheck-bfd
1815 installcheck-host: maybe-installcheck-opcodes
1816 installcheck-host: maybe-installcheck-binutils
1817 installcheck-host: maybe-installcheck-bison
1818 installcheck-host: maybe-installcheck-cgen
1819 installcheck-host: maybe-installcheck-dejagnu
1820 installcheck-host: maybe-installcheck-etc
1821 installcheck-host: maybe-installcheck-fastjar
1822 installcheck-host: maybe-installcheck-fixincludes
1823 installcheck-host: maybe-installcheck-flex
1824 installcheck-host: maybe-installcheck-gas
1825 installcheck-host: maybe-installcheck-gcc
1826 installcheck-host: maybe-installcheck-gmp
1827 installcheck-host: maybe-installcheck-mpfr
1828 installcheck-host: maybe-installcheck-mpc
1829 installcheck-host: maybe-installcheck-isl
1830 installcheck-host: maybe-installcheck-libelf
1831 installcheck-host: maybe-installcheck-gold
1832 installcheck-host: maybe-installcheck-gprof
1833 installcheck-host: maybe-installcheck-intl
1834 installcheck-host: maybe-installcheck-tcl
1835 installcheck-host: maybe-installcheck-itcl
1836 installcheck-host: maybe-installcheck-ld
1837 installcheck-host: maybe-installcheck-libbacktrace
1838 installcheck-host: maybe-installcheck-libcpp
1839 installcheck-host: maybe-installcheck-libdecnumber
1840 installcheck-host: maybe-installcheck-libgui
1841 installcheck-host: maybe-installcheck-libiberty
1842 installcheck-host: maybe-installcheck-libiberty-linker-plugin
1843 installcheck-host: maybe-installcheck-libiconv
1844 installcheck-host: maybe-installcheck-m4
1845 installcheck-host: maybe-installcheck-readline
1846 installcheck-host: maybe-installcheck-sid
1847 installcheck-host: maybe-installcheck-sim
1848 installcheck-host: maybe-installcheck-texinfo
1849 installcheck-host: maybe-installcheck-zlib
1850 installcheck-host: maybe-installcheck-gdb
1851 installcheck-host: maybe-installcheck-expect
1852 installcheck-host: maybe-installcheck-guile
1853 installcheck-host: maybe-installcheck-tk
1854 installcheck-host: maybe-installcheck-libtermcap
1855 installcheck-host: maybe-installcheck-utils
1856 installcheck-host: maybe-installcheck-gnattools
1857 installcheck-host: maybe-installcheck-lto-plugin
1858 installcheck-host: maybe-installcheck-libcc1
1860 .PHONY: installcheck-target
1862 installcheck-target: maybe-installcheck-target-libstdc++-v3
1863 installcheck-target: maybe-installcheck-target-libsanitizer
1864 installcheck-target: maybe-installcheck-target-libvtv
1865 installcheck-target: maybe-installcheck-target-libcilkrts
1866 installcheck-target: maybe-installcheck-target-liboffloadmic
1867 installcheck-target: maybe-installcheck-target-libssp
1868 installcheck-target: maybe-installcheck-target-newlib
1869 installcheck-target: maybe-installcheck-target-libgcc
1870 installcheck-target: maybe-installcheck-target-libbacktrace
1871 installcheck-target: maybe-installcheck-target-libquadmath
1872 installcheck-target: maybe-installcheck-target-libgfortran
1873 installcheck-target: maybe-installcheck-target-libobjc
1874 installcheck-target: maybe-installcheck-target-libgo
1875 installcheck-target: maybe-installcheck-target-libtermcap
1876 installcheck-target: maybe-installcheck-target-winsup
1877 installcheck-target: maybe-installcheck-target-libgloss
1878 installcheck-target: maybe-installcheck-target-libffi
1879 installcheck-target: maybe-installcheck-target-libjava
1880 installcheck-target: maybe-installcheck-target-zlib
1881 installcheck-target: maybe-installcheck-target-boehm-gc
1882 installcheck-target: maybe-installcheck-target-rda
1883 installcheck-target: maybe-installcheck-target-libada
1884 installcheck-target: maybe-installcheck-target-libgomp
1885 installcheck-target: maybe-installcheck-target-libitm
1886 installcheck-target: maybe-installcheck-target-libatomic
1888 .PHONY: do-mostlyclean
1889 do-mostlyclean:
1890 @: $(MAKE); $(unstage)
1891 @r=`${PWD_COMMAND}`; export r; \
1892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1893 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1894 mostlyclean-target
1897 .PHONY: mostlyclean-host
1899 mostlyclean-host: maybe-mostlyclean-bfd
1900 mostlyclean-host: maybe-mostlyclean-opcodes
1901 mostlyclean-host: maybe-mostlyclean-binutils
1902 mostlyclean-host: maybe-mostlyclean-bison
1903 mostlyclean-host: maybe-mostlyclean-cgen
1904 mostlyclean-host: maybe-mostlyclean-dejagnu
1905 mostlyclean-host: maybe-mostlyclean-etc
1906 mostlyclean-host: maybe-mostlyclean-fastjar
1907 mostlyclean-host: maybe-mostlyclean-fixincludes
1908 mostlyclean-host: maybe-mostlyclean-flex
1909 mostlyclean-host: maybe-mostlyclean-gas
1910 mostlyclean-host: maybe-mostlyclean-gcc
1911 mostlyclean-host: maybe-mostlyclean-gmp
1912 mostlyclean-host: maybe-mostlyclean-mpfr
1913 mostlyclean-host: maybe-mostlyclean-mpc
1914 mostlyclean-host: maybe-mostlyclean-isl
1915 mostlyclean-host: maybe-mostlyclean-libelf
1916 mostlyclean-host: maybe-mostlyclean-gold
1917 mostlyclean-host: maybe-mostlyclean-gprof
1918 mostlyclean-host: maybe-mostlyclean-intl
1919 mostlyclean-host: maybe-mostlyclean-tcl
1920 mostlyclean-host: maybe-mostlyclean-itcl
1921 mostlyclean-host: maybe-mostlyclean-ld
1922 mostlyclean-host: maybe-mostlyclean-libbacktrace
1923 mostlyclean-host: maybe-mostlyclean-libcpp
1924 mostlyclean-host: maybe-mostlyclean-libdecnumber
1925 mostlyclean-host: maybe-mostlyclean-libgui
1926 mostlyclean-host: maybe-mostlyclean-libiberty
1927 mostlyclean-host: maybe-mostlyclean-libiberty-linker-plugin
1928 mostlyclean-host: maybe-mostlyclean-libiconv
1929 mostlyclean-host: maybe-mostlyclean-m4
1930 mostlyclean-host: maybe-mostlyclean-readline
1931 mostlyclean-host: maybe-mostlyclean-sid
1932 mostlyclean-host: maybe-mostlyclean-sim
1933 mostlyclean-host: maybe-mostlyclean-texinfo
1934 mostlyclean-host: maybe-mostlyclean-zlib
1935 mostlyclean-host: maybe-mostlyclean-gdb
1936 mostlyclean-host: maybe-mostlyclean-expect
1937 mostlyclean-host: maybe-mostlyclean-guile
1938 mostlyclean-host: maybe-mostlyclean-tk
1939 mostlyclean-host: maybe-mostlyclean-libtermcap
1940 mostlyclean-host: maybe-mostlyclean-utils
1941 mostlyclean-host: maybe-mostlyclean-gnattools
1942 mostlyclean-host: maybe-mostlyclean-lto-plugin
1943 mostlyclean-host: maybe-mostlyclean-libcc1
1945 .PHONY: mostlyclean-target
1947 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1948 mostlyclean-target: maybe-mostlyclean-target-libsanitizer
1949 mostlyclean-target: maybe-mostlyclean-target-libvtv
1950 mostlyclean-target: maybe-mostlyclean-target-libcilkrts
1951 mostlyclean-target: maybe-mostlyclean-target-liboffloadmic
1952 mostlyclean-target: maybe-mostlyclean-target-libssp
1953 mostlyclean-target: maybe-mostlyclean-target-newlib
1954 mostlyclean-target: maybe-mostlyclean-target-libgcc
1955 mostlyclean-target: maybe-mostlyclean-target-libbacktrace
1956 mostlyclean-target: maybe-mostlyclean-target-libquadmath
1957 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1958 mostlyclean-target: maybe-mostlyclean-target-libobjc
1959 mostlyclean-target: maybe-mostlyclean-target-libgo
1960 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1961 mostlyclean-target: maybe-mostlyclean-target-winsup
1962 mostlyclean-target: maybe-mostlyclean-target-libgloss
1963 mostlyclean-target: maybe-mostlyclean-target-libffi
1964 mostlyclean-target: maybe-mostlyclean-target-libjava
1965 mostlyclean-target: maybe-mostlyclean-target-zlib
1966 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1967 mostlyclean-target: maybe-mostlyclean-target-rda
1968 mostlyclean-target: maybe-mostlyclean-target-libada
1969 mostlyclean-target: maybe-mostlyclean-target-libgomp
1970 mostlyclean-target: maybe-mostlyclean-target-libitm
1971 mostlyclean-target: maybe-mostlyclean-target-libatomic
1973 .PHONY: do-clean
1974 do-clean:
1975 @: $(MAKE); $(unstage)
1976 @r=`${PWD_COMMAND}`; export r; \
1977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1978 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1979 clean-target
1982 .PHONY: clean-host
1984 clean-host: maybe-clean-bfd
1985 clean-host: maybe-clean-opcodes
1986 clean-host: maybe-clean-binutils
1987 clean-host: maybe-clean-bison
1988 clean-host: maybe-clean-cgen
1989 clean-host: maybe-clean-dejagnu
1990 clean-host: maybe-clean-etc
1991 clean-host: maybe-clean-fastjar
1992 clean-host: maybe-clean-fixincludes
1993 clean-host: maybe-clean-flex
1994 clean-host: maybe-clean-gas
1995 clean-host: maybe-clean-gcc
1996 clean-host: maybe-clean-gmp
1997 clean-host: maybe-clean-mpfr
1998 clean-host: maybe-clean-mpc
1999 clean-host: maybe-clean-isl
2000 clean-host: maybe-clean-libelf
2001 clean-host: maybe-clean-gold
2002 clean-host: maybe-clean-gprof
2003 clean-host: maybe-clean-intl
2004 clean-host: maybe-clean-tcl
2005 clean-host: maybe-clean-itcl
2006 clean-host: maybe-clean-ld
2007 clean-host: maybe-clean-libbacktrace
2008 clean-host: maybe-clean-libcpp
2009 clean-host: maybe-clean-libdecnumber
2010 clean-host: maybe-clean-libgui
2011 clean-host: maybe-clean-libiberty
2012 clean-host: maybe-clean-libiberty-linker-plugin
2013 clean-host: maybe-clean-libiconv
2014 clean-host: maybe-clean-m4
2015 clean-host: maybe-clean-readline
2016 clean-host: maybe-clean-sid
2017 clean-host: maybe-clean-sim
2018 clean-host: maybe-clean-texinfo
2019 clean-host: maybe-clean-zlib
2020 clean-host: maybe-clean-gdb
2021 clean-host: maybe-clean-expect
2022 clean-host: maybe-clean-guile
2023 clean-host: maybe-clean-tk
2024 clean-host: maybe-clean-libtermcap
2025 clean-host: maybe-clean-utils
2026 clean-host: maybe-clean-gnattools
2027 clean-host: maybe-clean-lto-plugin
2028 clean-host: maybe-clean-libcc1
2030 .PHONY: clean-target
2032 clean-target: maybe-clean-target-libstdc++-v3
2033 clean-target: maybe-clean-target-libsanitizer
2034 clean-target: maybe-clean-target-libvtv
2035 clean-target: maybe-clean-target-libcilkrts
2036 clean-target: maybe-clean-target-liboffloadmic
2037 clean-target: maybe-clean-target-libssp
2038 clean-target: maybe-clean-target-newlib
2039 clean-target: maybe-clean-target-libgcc
2040 clean-target: maybe-clean-target-libbacktrace
2041 clean-target: maybe-clean-target-libquadmath
2042 clean-target: maybe-clean-target-libgfortran
2043 clean-target: maybe-clean-target-libobjc
2044 clean-target: maybe-clean-target-libgo
2045 clean-target: maybe-clean-target-libtermcap
2046 clean-target: maybe-clean-target-winsup
2047 clean-target: maybe-clean-target-libgloss
2048 clean-target: maybe-clean-target-libffi
2049 clean-target: maybe-clean-target-libjava
2050 clean-target: maybe-clean-target-zlib
2051 clean-target: maybe-clean-target-boehm-gc
2052 clean-target: maybe-clean-target-rda
2053 clean-target: maybe-clean-target-libada
2054 clean-target: maybe-clean-target-libgomp
2055 clean-target: maybe-clean-target-libitm
2056 clean-target: maybe-clean-target-libatomic
2058 .PHONY: do-distclean
2059 do-distclean:
2060 @: $(MAKE); $(unstage)
2061 @r=`${PWD_COMMAND}`; export r; \
2062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2063 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2064 distclean-target
2067 .PHONY: distclean-host
2069 distclean-host: maybe-distclean-bfd
2070 distclean-host: maybe-distclean-opcodes
2071 distclean-host: maybe-distclean-binutils
2072 distclean-host: maybe-distclean-bison
2073 distclean-host: maybe-distclean-cgen
2074 distclean-host: maybe-distclean-dejagnu
2075 distclean-host: maybe-distclean-etc
2076 distclean-host: maybe-distclean-fastjar
2077 distclean-host: maybe-distclean-fixincludes
2078 distclean-host: maybe-distclean-flex
2079 distclean-host: maybe-distclean-gas
2080 distclean-host: maybe-distclean-gcc
2081 distclean-host: maybe-distclean-gmp
2082 distclean-host: maybe-distclean-mpfr
2083 distclean-host: maybe-distclean-mpc
2084 distclean-host: maybe-distclean-isl
2085 distclean-host: maybe-distclean-libelf
2086 distclean-host: maybe-distclean-gold
2087 distclean-host: maybe-distclean-gprof
2088 distclean-host: maybe-distclean-intl
2089 distclean-host: maybe-distclean-tcl
2090 distclean-host: maybe-distclean-itcl
2091 distclean-host: maybe-distclean-ld
2092 distclean-host: maybe-distclean-libbacktrace
2093 distclean-host: maybe-distclean-libcpp
2094 distclean-host: maybe-distclean-libdecnumber
2095 distclean-host: maybe-distclean-libgui
2096 distclean-host: maybe-distclean-libiberty
2097 distclean-host: maybe-distclean-libiberty-linker-plugin
2098 distclean-host: maybe-distclean-libiconv
2099 distclean-host: maybe-distclean-m4
2100 distclean-host: maybe-distclean-readline
2101 distclean-host: maybe-distclean-sid
2102 distclean-host: maybe-distclean-sim
2103 distclean-host: maybe-distclean-texinfo
2104 distclean-host: maybe-distclean-zlib
2105 distclean-host: maybe-distclean-gdb
2106 distclean-host: maybe-distclean-expect
2107 distclean-host: maybe-distclean-guile
2108 distclean-host: maybe-distclean-tk
2109 distclean-host: maybe-distclean-libtermcap
2110 distclean-host: maybe-distclean-utils
2111 distclean-host: maybe-distclean-gnattools
2112 distclean-host: maybe-distclean-lto-plugin
2113 distclean-host: maybe-distclean-libcc1
2115 .PHONY: distclean-target
2117 distclean-target: maybe-distclean-target-libstdc++-v3
2118 distclean-target: maybe-distclean-target-libsanitizer
2119 distclean-target: maybe-distclean-target-libvtv
2120 distclean-target: maybe-distclean-target-libcilkrts
2121 distclean-target: maybe-distclean-target-liboffloadmic
2122 distclean-target: maybe-distclean-target-libssp
2123 distclean-target: maybe-distclean-target-newlib
2124 distclean-target: maybe-distclean-target-libgcc
2125 distclean-target: maybe-distclean-target-libbacktrace
2126 distclean-target: maybe-distclean-target-libquadmath
2127 distclean-target: maybe-distclean-target-libgfortran
2128 distclean-target: maybe-distclean-target-libobjc
2129 distclean-target: maybe-distclean-target-libgo
2130 distclean-target: maybe-distclean-target-libtermcap
2131 distclean-target: maybe-distclean-target-winsup
2132 distclean-target: maybe-distclean-target-libgloss
2133 distclean-target: maybe-distclean-target-libffi
2134 distclean-target: maybe-distclean-target-libjava
2135 distclean-target: maybe-distclean-target-zlib
2136 distclean-target: maybe-distclean-target-boehm-gc
2137 distclean-target: maybe-distclean-target-rda
2138 distclean-target: maybe-distclean-target-libada
2139 distclean-target: maybe-distclean-target-libgomp
2140 distclean-target: maybe-distclean-target-libitm
2141 distclean-target: maybe-distclean-target-libatomic
2143 .PHONY: do-maintainer-clean
2144 do-maintainer-clean:
2145 @: $(MAKE); $(unstage)
2146 @r=`${PWD_COMMAND}`; export r; \
2147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2148 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2149 maintainer-clean-target
2152 .PHONY: maintainer-clean-host
2154 maintainer-clean-host: maybe-maintainer-clean-bfd
2155 maintainer-clean-host: maybe-maintainer-clean-opcodes
2156 maintainer-clean-host: maybe-maintainer-clean-binutils
2157 maintainer-clean-host: maybe-maintainer-clean-bison
2158 maintainer-clean-host: maybe-maintainer-clean-cgen
2159 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2160 maintainer-clean-host: maybe-maintainer-clean-etc
2161 maintainer-clean-host: maybe-maintainer-clean-fastjar
2162 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2163 maintainer-clean-host: maybe-maintainer-clean-flex
2164 maintainer-clean-host: maybe-maintainer-clean-gas
2165 maintainer-clean-host: maybe-maintainer-clean-gcc
2166 maintainer-clean-host: maybe-maintainer-clean-gmp
2167 maintainer-clean-host: maybe-maintainer-clean-mpfr
2168 maintainer-clean-host: maybe-maintainer-clean-mpc
2169 maintainer-clean-host: maybe-maintainer-clean-isl
2170 maintainer-clean-host: maybe-maintainer-clean-libelf
2171 maintainer-clean-host: maybe-maintainer-clean-gold
2172 maintainer-clean-host: maybe-maintainer-clean-gprof
2173 maintainer-clean-host: maybe-maintainer-clean-intl
2174 maintainer-clean-host: maybe-maintainer-clean-tcl
2175 maintainer-clean-host: maybe-maintainer-clean-itcl
2176 maintainer-clean-host: maybe-maintainer-clean-ld
2177 maintainer-clean-host: maybe-maintainer-clean-libbacktrace
2178 maintainer-clean-host: maybe-maintainer-clean-libcpp
2179 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2180 maintainer-clean-host: maybe-maintainer-clean-libgui
2181 maintainer-clean-host: maybe-maintainer-clean-libiberty
2182 maintainer-clean-host: maybe-maintainer-clean-libiberty-linker-plugin
2183 maintainer-clean-host: maybe-maintainer-clean-libiconv
2184 maintainer-clean-host: maybe-maintainer-clean-m4
2185 maintainer-clean-host: maybe-maintainer-clean-readline
2186 maintainer-clean-host: maybe-maintainer-clean-sid
2187 maintainer-clean-host: maybe-maintainer-clean-sim
2188 maintainer-clean-host: maybe-maintainer-clean-texinfo
2189 maintainer-clean-host: maybe-maintainer-clean-zlib
2190 maintainer-clean-host: maybe-maintainer-clean-gdb
2191 maintainer-clean-host: maybe-maintainer-clean-expect
2192 maintainer-clean-host: maybe-maintainer-clean-guile
2193 maintainer-clean-host: maybe-maintainer-clean-tk
2194 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2195 maintainer-clean-host: maybe-maintainer-clean-utils
2196 maintainer-clean-host: maybe-maintainer-clean-gnattools
2197 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2198 maintainer-clean-host: maybe-maintainer-clean-libcc1
2200 .PHONY: maintainer-clean-target
2202 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2203 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
2204 maintainer-clean-target: maybe-maintainer-clean-target-libvtv
2205 maintainer-clean-target: maybe-maintainer-clean-target-libcilkrts
2206 maintainer-clean-target: maybe-maintainer-clean-target-liboffloadmic
2207 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2208 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2209 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2210 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
2211 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2212 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2213 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2214 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2215 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2216 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2217 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2218 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2219 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2220 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2221 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2222 maintainer-clean-target: maybe-maintainer-clean-target-rda
2223 maintainer-clean-target: maybe-maintainer-clean-target-libada
2224 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2225 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2226 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2229 # Here are the targets which correspond to the do-X targets.
2231 .PHONY: info installcheck dvi pdf html
2232 .PHONY: install-info install-pdf install-html
2233 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2234 .PHONY: local-clean local-distclean local-maintainer-clean
2235 info: do-info
2236 installcheck: do-installcheck
2237 dvi: do-dvi
2238 pdf: do-pdf
2239 html: do-html
2241 # Make sure makeinfo is built before we do a `make info', if we're
2242 # in fact building texinfo.
2243 do-info: maybe-all-texinfo
2245 install-info: do-install-info dir.info
2246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2247 if [ -f dir.info ] ; then \
2248 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2249 else true ; fi
2251 install-pdf: do-install-pdf
2253 install-html: do-install-html
2255 local-clean:
2256 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2258 local-distclean:
2259 -rm -f Makefile config.status config.cache mh-frag mt-frag
2260 -rm -f maybedep.tmp serdep.tmp
2261 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2262 rm -rf $(TARGET_SUBDIR); \
2263 else true; fi
2264 -rm -rf $(BUILD_SUBDIR)
2265 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2266 rm -rf $(HOST_SUBDIR); \
2267 else true; fi
2268 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2269 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2270 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2271 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2272 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2273 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2275 local-maintainer-clean:
2276 @echo "This command is intended for maintainers to use;"
2277 @echo "it deletes files that may require special tools to rebuild."
2279 clean: do-clean local-clean
2280 mostlyclean: do-mostlyclean local-clean
2281 distclean: do-distclean local-clean local-distclean
2282 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2283 maintainer-clean: local-distclean
2284 realclean: maintainer-clean
2286 # Check target.
2288 .PHONY: check do-check
2289 check: do-check
2291 # Only include modules actually being configured and built.
2292 .PHONY: check-host
2293 check-host: \
2294 maybe-check-bfd \
2295 maybe-check-opcodes \
2296 maybe-check-binutils \
2297 maybe-check-bison \
2298 maybe-check-cgen \
2299 maybe-check-dejagnu \
2300 maybe-check-etc \
2301 maybe-check-fastjar \
2302 maybe-check-fixincludes \
2303 maybe-check-flex \
2304 maybe-check-gas \
2305 maybe-check-gcc \
2306 maybe-check-gmp \
2307 maybe-check-mpfr \
2308 maybe-check-mpc \
2309 maybe-check-isl \
2310 maybe-check-libelf \
2311 maybe-check-gold \
2312 maybe-check-gprof \
2313 maybe-check-intl \
2314 maybe-check-tcl \
2315 maybe-check-itcl \
2316 maybe-check-ld \
2317 maybe-check-libbacktrace \
2318 maybe-check-libcpp \
2319 maybe-check-libdecnumber \
2320 maybe-check-libgui \
2321 maybe-check-libiberty \
2322 maybe-check-libiberty-linker-plugin \
2323 maybe-check-libiconv \
2324 maybe-check-m4 \
2325 maybe-check-readline \
2326 maybe-check-sid \
2327 maybe-check-sim \
2328 maybe-check-texinfo \
2329 maybe-check-zlib \
2330 maybe-check-gdb \
2331 maybe-check-expect \
2332 maybe-check-guile \
2333 maybe-check-tk \
2334 maybe-check-libtermcap \
2335 maybe-check-utils \
2336 maybe-check-gnattools \
2337 maybe-check-lto-plugin \
2338 maybe-check-libcc1
2340 .PHONY: check-target
2341 check-target: \
2342 maybe-check-target-libstdc++-v3 \
2343 maybe-check-target-libsanitizer \
2344 maybe-check-target-libvtv \
2345 maybe-check-target-libcilkrts \
2346 maybe-check-target-liboffloadmic \
2347 maybe-check-target-libssp \
2348 maybe-check-target-newlib \
2349 maybe-check-target-libgcc \
2350 maybe-check-target-libbacktrace \
2351 maybe-check-target-libquadmath \
2352 maybe-check-target-libgfortran \
2353 maybe-check-target-libobjc \
2354 maybe-check-target-libgo \
2355 maybe-check-target-libtermcap \
2356 maybe-check-target-winsup \
2357 maybe-check-target-libgloss \
2358 maybe-check-target-libffi \
2359 maybe-check-target-libjava \
2360 maybe-check-target-zlib \
2361 maybe-check-target-boehm-gc \
2362 maybe-check-target-rda \
2363 maybe-check-target-libada \
2364 maybe-check-target-libgomp \
2365 maybe-check-target-libitm \
2366 maybe-check-target-libatomic
2368 do-check:
2369 @: $(MAKE); $(unstage)
2370 @r=`${PWD_COMMAND}`; export r; \
2371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2372 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2374 # Automated reporting of test results.
2376 warning.log: build.log
2377 $(srcdir)/contrib/warn_summary build.log > $@
2379 mail-report.log:
2380 if test x'$(BOOT_CFLAGS)' != x''; then \
2381 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2382 fi; \
2383 $(srcdir)/contrib/test_summary -t >$@
2384 chmod +x $@
2385 echo If you really want to send e-mail, run ./$@ now
2387 mail-report-with-warnings.log: warning.log
2388 if test x'$(BOOT_CFLAGS)' != x''; then \
2389 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2390 fi; \
2391 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2392 chmod +x $@
2393 echo If you really want to send e-mail, run ./$@ now
2395 # Local Vim config
2397 $(srcdir)/.local.vimrc:
2398 $(LN_S) $(srcdir)/contrib/vimrc $@
2400 $(srcdir)/.lvimrc:
2401 $(LN_S) $(srcdir)/contrib/vimrc $@
2403 vimrc: $(srcdir)/.local.vimrc $(srcdir)/.lvimrc
2405 .PHONY: vimrc
2407 # Installation targets.
2409 .PHONY: install uninstall
2410 install:
2411 @: $(MAKE); $(unstage)
2412 @r=`${PWD_COMMAND}`; export r; \
2413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2414 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2416 .PHONY: install-host-nogcc
2417 install-host-nogcc: \
2418 maybe-install-bfd \
2419 maybe-install-opcodes \
2420 maybe-install-binutils \
2421 maybe-install-bison \
2422 maybe-install-cgen \
2423 maybe-install-dejagnu \
2424 maybe-install-etc \
2425 maybe-install-fastjar \
2426 maybe-install-fixincludes \
2427 maybe-install-flex \
2428 maybe-install-gas \
2429 maybe-install-gmp \
2430 maybe-install-mpfr \
2431 maybe-install-mpc \
2432 maybe-install-isl \
2433 maybe-install-libelf \
2434 maybe-install-gold \
2435 maybe-install-gprof \
2436 maybe-install-intl \
2437 maybe-install-tcl \
2438 maybe-install-itcl \
2439 maybe-install-ld \
2440 maybe-install-libbacktrace \
2441 maybe-install-libcpp \
2442 maybe-install-libdecnumber \
2443 maybe-install-libgui \
2444 maybe-install-libiberty \
2445 maybe-install-libiberty-linker-plugin \
2446 maybe-install-libiconv \
2447 maybe-install-m4 \
2448 maybe-install-readline \
2449 maybe-install-sid \
2450 maybe-install-sim \
2451 maybe-install-texinfo \
2452 maybe-install-zlib \
2453 maybe-install-gdb \
2454 maybe-install-expect \
2455 maybe-install-guile \
2456 maybe-install-tk \
2457 maybe-install-libtermcap \
2458 maybe-install-utils \
2459 maybe-install-gnattools \
2460 maybe-install-lto-plugin \
2461 maybe-install-libcc1
2463 .PHONY: install-host
2464 install-host: \
2465 maybe-install-bfd \
2466 maybe-install-opcodes \
2467 maybe-install-binutils \
2468 maybe-install-bison \
2469 maybe-install-cgen \
2470 maybe-install-dejagnu \
2471 maybe-install-etc \
2472 maybe-install-fastjar \
2473 maybe-install-fixincludes \
2474 maybe-install-flex \
2475 maybe-install-gas \
2476 maybe-install-gcc \
2477 maybe-install-gmp \
2478 maybe-install-mpfr \
2479 maybe-install-mpc \
2480 maybe-install-isl \
2481 maybe-install-libelf \
2482 maybe-install-gold \
2483 maybe-install-gprof \
2484 maybe-install-intl \
2485 maybe-install-tcl \
2486 maybe-install-itcl \
2487 maybe-install-ld \
2488 maybe-install-libbacktrace \
2489 maybe-install-libcpp \
2490 maybe-install-libdecnumber \
2491 maybe-install-libgui \
2492 maybe-install-libiberty \
2493 maybe-install-libiberty-linker-plugin \
2494 maybe-install-libiconv \
2495 maybe-install-m4 \
2496 maybe-install-readline \
2497 maybe-install-sid \
2498 maybe-install-sim \
2499 maybe-install-texinfo \
2500 maybe-install-zlib \
2501 maybe-install-gdb \
2502 maybe-install-expect \
2503 maybe-install-guile \
2504 maybe-install-tk \
2505 maybe-install-libtermcap \
2506 maybe-install-utils \
2507 maybe-install-gnattools \
2508 maybe-install-lto-plugin \
2509 maybe-install-libcc1
2511 .PHONY: install-target
2512 install-target: \
2513 maybe-install-target-libstdc++-v3 \
2514 maybe-install-target-libsanitizer \
2515 maybe-install-target-libvtv \
2516 maybe-install-target-libcilkrts \
2517 maybe-install-target-liboffloadmic \
2518 maybe-install-target-libssp \
2519 maybe-install-target-newlib \
2520 maybe-install-target-libgcc \
2521 maybe-install-target-libbacktrace \
2522 maybe-install-target-libquadmath \
2523 maybe-install-target-libgfortran \
2524 maybe-install-target-libobjc \
2525 maybe-install-target-libgo \
2526 maybe-install-target-libtermcap \
2527 maybe-install-target-winsup \
2528 maybe-install-target-libgloss \
2529 maybe-install-target-libffi \
2530 maybe-install-target-libjava \
2531 maybe-install-target-zlib \
2532 maybe-install-target-boehm-gc \
2533 maybe-install-target-rda \
2534 maybe-install-target-libada \
2535 maybe-install-target-libgomp \
2536 maybe-install-target-libitm \
2537 maybe-install-target-libatomic
2539 uninstall:
2540 @echo "the uninstall target is not supported in this tree"
2542 .PHONY: install.all
2543 install.all: install-no-fixedincludes
2544 @if [ -f ./gcc/Makefile ] ; then \
2545 r=`${PWD_COMMAND}` ; export r ; \
2546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2547 $(HOST_EXPORTS) \
2548 (cd ./gcc && \
2549 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2550 else \
2551 true ; \
2554 # install-no-fixedincludes is used to allow the elaboration of binary packages
2555 # suitable for distribution, where we cannot include the fixed system header
2556 # files.
2557 .PHONY: install-no-fixedincludes
2558 install-no-fixedincludes: installdirs install-host-nogcc \
2559 install-target gcc-install-no-fixedincludes
2561 .PHONY: install-strip
2562 install-strip:
2563 @: $(MAKE); $(unstage)
2564 @r=`${PWD_COMMAND}`; export r; \
2565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2566 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2568 .PHONY: install-strip-host
2569 install-strip-host: \
2570 maybe-install-strip-bfd \
2571 maybe-install-strip-opcodes \
2572 maybe-install-strip-binutils \
2573 maybe-install-strip-bison \
2574 maybe-install-strip-cgen \
2575 maybe-install-strip-dejagnu \
2576 maybe-install-strip-etc \
2577 maybe-install-strip-fastjar \
2578 maybe-install-strip-fixincludes \
2579 maybe-install-strip-flex \
2580 maybe-install-strip-gas \
2581 maybe-install-strip-gcc \
2582 maybe-install-strip-gmp \
2583 maybe-install-strip-mpfr \
2584 maybe-install-strip-mpc \
2585 maybe-install-strip-isl \
2586 maybe-install-strip-libelf \
2587 maybe-install-strip-gold \
2588 maybe-install-strip-gprof \
2589 maybe-install-strip-intl \
2590 maybe-install-strip-tcl \
2591 maybe-install-strip-itcl \
2592 maybe-install-strip-ld \
2593 maybe-install-strip-libbacktrace \
2594 maybe-install-strip-libcpp \
2595 maybe-install-strip-libdecnumber \
2596 maybe-install-strip-libgui \
2597 maybe-install-strip-libiberty \
2598 maybe-install-strip-libiberty-linker-plugin \
2599 maybe-install-strip-libiconv \
2600 maybe-install-strip-m4 \
2601 maybe-install-strip-readline \
2602 maybe-install-strip-sid \
2603 maybe-install-strip-sim \
2604 maybe-install-strip-texinfo \
2605 maybe-install-strip-zlib \
2606 maybe-install-strip-gdb \
2607 maybe-install-strip-expect \
2608 maybe-install-strip-guile \
2609 maybe-install-strip-tk \
2610 maybe-install-strip-libtermcap \
2611 maybe-install-strip-utils \
2612 maybe-install-strip-gnattools \
2613 maybe-install-strip-lto-plugin \
2614 maybe-install-strip-libcc1
2616 .PHONY: install-strip-target
2617 install-strip-target: \
2618 maybe-install-strip-target-libstdc++-v3 \
2619 maybe-install-strip-target-libsanitizer \
2620 maybe-install-strip-target-libvtv \
2621 maybe-install-strip-target-libcilkrts \
2622 maybe-install-strip-target-liboffloadmic \
2623 maybe-install-strip-target-libssp \
2624 maybe-install-strip-target-newlib \
2625 maybe-install-strip-target-libgcc \
2626 maybe-install-strip-target-libbacktrace \
2627 maybe-install-strip-target-libquadmath \
2628 maybe-install-strip-target-libgfortran \
2629 maybe-install-strip-target-libobjc \
2630 maybe-install-strip-target-libgo \
2631 maybe-install-strip-target-libtermcap \
2632 maybe-install-strip-target-winsup \
2633 maybe-install-strip-target-libgloss \
2634 maybe-install-strip-target-libffi \
2635 maybe-install-strip-target-libjava \
2636 maybe-install-strip-target-zlib \
2637 maybe-install-strip-target-boehm-gc \
2638 maybe-install-strip-target-rda \
2639 maybe-install-strip-target-libada \
2640 maybe-install-strip-target-libgomp \
2641 maybe-install-strip-target-libitm \
2642 maybe-install-strip-target-libatomic
2645 ### other supporting targets
2647 MAKEDIRS= \
2648 $(DESTDIR)$(prefix) \
2649 $(DESTDIR)$(exec_prefix)
2650 .PHONY: installdirs
2651 installdirs: mkinstalldirs
2652 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2654 dir.info: do-install-info
2655 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2656 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2657 mv -f dir.info.new dir.info ; \
2658 else true ; \
2661 dist:
2662 @echo "Building a full distribution of this tree isn't done"
2663 @echo "via 'make dist'. Check out the etc/ subdirectory"
2665 etags tags: TAGS
2667 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2668 # ability to use several tags files at once, so there is probably no need
2669 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2670 # (if we felt like it) have this Makefile write a piece of elisp which
2671 # the user could load to tell emacs19 where all the TAGS files we just
2672 # built are.
2673 TAGS: do-TAGS
2675 # ------------------------------------
2676 # Macros for configure and all targets
2677 # ------------------------------------
2683 # --------------------------------------
2684 # Modules which run on the build machine
2685 # --------------------------------------
2688 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2689 maybe-configure-build-libiberty:
2690 @if gcc-bootstrap
2691 configure-build-libiberty: stage_current
2692 @endif gcc-bootstrap
2693 @if build-libiberty
2694 maybe-configure-build-libiberty: configure-build-libiberty
2695 configure-build-libiberty:
2696 @: $(MAKE); $(unstage)
2697 @r=`${PWD_COMMAND}`; export r; \
2698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2699 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2700 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2701 $(BUILD_EXPORTS) \
2702 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2703 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2704 case $(srcdir) in \
2705 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2706 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2707 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2708 esac; \
2709 module_srcdir=libiberty; \
2710 rm -f no-such-file || : ; \
2711 CONFIG_SITE=no-such-file $(SHELL) \
2712 $$s/$$module_srcdir/configure \
2713 --srcdir=$${topdir}/$$module_srcdir \
2714 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2715 --target=${target_alias} \
2716 || exit 1
2717 @endif build-libiberty
2723 .PHONY: all-build-libiberty maybe-all-build-libiberty
2724 maybe-all-build-libiberty:
2725 @if gcc-bootstrap
2726 all-build-libiberty: stage_current
2727 @endif gcc-bootstrap
2728 @if build-libiberty
2729 TARGET-build-libiberty=all
2730 maybe-all-build-libiberty: all-build-libiberty
2731 all-build-libiberty: configure-build-libiberty
2732 @: $(MAKE); $(unstage)
2733 @r=`${PWD_COMMAND}`; export r; \
2734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2735 $(BUILD_EXPORTS) \
2736 (cd $(BUILD_SUBDIR)/libiberty && \
2737 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2738 $(TARGET-build-libiberty))
2739 @endif build-libiberty
2745 .PHONY: configure-build-bison maybe-configure-build-bison
2746 maybe-configure-build-bison:
2747 @if gcc-bootstrap
2748 configure-build-bison: stage_current
2749 @endif gcc-bootstrap
2750 @if build-bison
2751 maybe-configure-build-bison: configure-build-bison
2752 configure-build-bison:
2753 @: $(MAKE); $(unstage)
2754 @r=`${PWD_COMMAND}`; export r; \
2755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2756 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2757 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2758 $(BUILD_EXPORTS) \
2759 echo Configuring in $(BUILD_SUBDIR)/bison; \
2760 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2761 case $(srcdir) in \
2762 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2763 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2764 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2765 esac; \
2766 module_srcdir=bison; \
2767 rm -f no-such-file || : ; \
2768 CONFIG_SITE=no-such-file $(SHELL) \
2769 $$s/$$module_srcdir/configure \
2770 --srcdir=$${topdir}/$$module_srcdir \
2771 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2772 --target=${target_alias} \
2773 || exit 1
2774 @endif build-bison
2780 .PHONY: all-build-bison maybe-all-build-bison
2781 maybe-all-build-bison:
2782 @if gcc-bootstrap
2783 all-build-bison: stage_current
2784 @endif gcc-bootstrap
2785 @if build-bison
2786 TARGET-build-bison=all
2787 maybe-all-build-bison: all-build-bison
2788 all-build-bison: configure-build-bison
2789 @: $(MAKE); $(unstage)
2790 @r=`${PWD_COMMAND}`; export r; \
2791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2792 $(BUILD_EXPORTS) \
2793 (cd $(BUILD_SUBDIR)/bison && \
2794 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2795 $(TARGET-build-bison))
2796 @endif build-bison
2802 .PHONY: configure-build-flex maybe-configure-build-flex
2803 maybe-configure-build-flex:
2804 @if gcc-bootstrap
2805 configure-build-flex: stage_current
2806 @endif gcc-bootstrap
2807 @if build-flex
2808 maybe-configure-build-flex: configure-build-flex
2809 configure-build-flex:
2810 @: $(MAKE); $(unstage)
2811 @r=`${PWD_COMMAND}`; export r; \
2812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2813 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2814 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2815 $(BUILD_EXPORTS) \
2816 echo Configuring in $(BUILD_SUBDIR)/flex; \
2817 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2818 case $(srcdir) in \
2819 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2820 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2821 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2822 esac; \
2823 module_srcdir=flex; \
2824 rm -f no-such-file || : ; \
2825 CONFIG_SITE=no-such-file $(SHELL) \
2826 $$s/$$module_srcdir/configure \
2827 --srcdir=$${topdir}/$$module_srcdir \
2828 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2829 --target=${target_alias} \
2830 || exit 1
2831 @endif build-flex
2837 .PHONY: all-build-flex maybe-all-build-flex
2838 maybe-all-build-flex:
2839 @if gcc-bootstrap
2840 all-build-flex: stage_current
2841 @endif gcc-bootstrap
2842 @if build-flex
2843 TARGET-build-flex=all
2844 maybe-all-build-flex: all-build-flex
2845 all-build-flex: configure-build-flex
2846 @: $(MAKE); $(unstage)
2847 @r=`${PWD_COMMAND}`; export r; \
2848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2849 $(BUILD_EXPORTS) \
2850 (cd $(BUILD_SUBDIR)/flex && \
2851 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2852 $(TARGET-build-flex))
2853 @endif build-flex
2859 .PHONY: configure-build-m4 maybe-configure-build-m4
2860 maybe-configure-build-m4:
2861 @if gcc-bootstrap
2862 configure-build-m4: stage_current
2863 @endif gcc-bootstrap
2864 @if build-m4
2865 maybe-configure-build-m4: configure-build-m4
2866 configure-build-m4:
2867 @: $(MAKE); $(unstage)
2868 @r=`${PWD_COMMAND}`; export r; \
2869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2870 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2871 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2872 $(BUILD_EXPORTS) \
2873 echo Configuring in $(BUILD_SUBDIR)/m4; \
2874 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2875 case $(srcdir) in \
2876 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2877 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2878 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2879 esac; \
2880 module_srcdir=m4; \
2881 rm -f no-such-file || : ; \
2882 CONFIG_SITE=no-such-file $(SHELL) \
2883 $$s/$$module_srcdir/configure \
2884 --srcdir=$${topdir}/$$module_srcdir \
2885 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2886 --target=${target_alias} \
2887 || exit 1
2888 @endif build-m4
2894 .PHONY: all-build-m4 maybe-all-build-m4
2895 maybe-all-build-m4:
2896 @if gcc-bootstrap
2897 all-build-m4: stage_current
2898 @endif gcc-bootstrap
2899 @if build-m4
2900 TARGET-build-m4=all
2901 maybe-all-build-m4: all-build-m4
2902 all-build-m4: configure-build-m4
2903 @: $(MAKE); $(unstage)
2904 @r=`${PWD_COMMAND}`; export r; \
2905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2906 $(BUILD_EXPORTS) \
2907 (cd $(BUILD_SUBDIR)/m4 && \
2908 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2909 $(TARGET-build-m4))
2910 @endif build-m4
2916 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2917 maybe-configure-build-texinfo:
2918 @if gcc-bootstrap
2919 configure-build-texinfo: stage_current
2920 @endif gcc-bootstrap
2921 @if build-texinfo
2922 maybe-configure-build-texinfo: configure-build-texinfo
2923 configure-build-texinfo:
2924 @: $(MAKE); $(unstage)
2925 @r=`${PWD_COMMAND}`; export r; \
2926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2927 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2928 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2929 $(BUILD_EXPORTS) \
2930 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2931 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2932 case $(srcdir) in \
2933 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2934 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2935 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2936 esac; \
2937 module_srcdir=texinfo; \
2938 rm -f no-such-file || : ; \
2939 CONFIG_SITE=no-such-file $(SHELL) \
2940 $$s/$$module_srcdir/configure \
2941 --srcdir=$${topdir}/$$module_srcdir \
2942 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2943 --target=${target_alias} \
2944 || exit 1
2945 @endif build-texinfo
2951 .PHONY: all-build-texinfo maybe-all-build-texinfo
2952 maybe-all-build-texinfo:
2953 @if gcc-bootstrap
2954 all-build-texinfo: stage_current
2955 @endif gcc-bootstrap
2956 @if build-texinfo
2957 TARGET-build-texinfo=all
2958 maybe-all-build-texinfo: all-build-texinfo
2959 all-build-texinfo: configure-build-texinfo
2960 @: $(MAKE); $(unstage)
2961 @r=`${PWD_COMMAND}`; export r; \
2962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2963 $(BUILD_EXPORTS) \
2964 (cd $(BUILD_SUBDIR)/texinfo && \
2965 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2966 $(TARGET-build-texinfo))
2967 @endif build-texinfo
2973 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2974 maybe-configure-build-fixincludes:
2975 @if gcc-bootstrap
2976 configure-build-fixincludes: stage_current
2977 @endif gcc-bootstrap
2978 @if build-fixincludes
2979 maybe-configure-build-fixincludes: configure-build-fixincludes
2980 configure-build-fixincludes:
2981 @: $(MAKE); $(unstage)
2982 @r=`${PWD_COMMAND}`; export r; \
2983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2984 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2985 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2986 $(BUILD_EXPORTS) \
2987 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2988 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2989 case $(srcdir) in \
2990 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2991 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2992 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2993 esac; \
2994 module_srcdir=fixincludes; \
2995 rm -f no-such-file || : ; \
2996 CONFIG_SITE=no-such-file $(SHELL) \
2997 $$s/$$module_srcdir/configure \
2998 --srcdir=$${topdir}/$$module_srcdir \
2999 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3000 --target=${target_alias} \
3001 || exit 1
3002 @endif build-fixincludes
3008 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
3009 maybe-all-build-fixincludes:
3010 @if gcc-bootstrap
3011 all-build-fixincludes: stage_current
3012 @endif gcc-bootstrap
3013 @if build-fixincludes
3014 TARGET-build-fixincludes=all
3015 maybe-all-build-fixincludes: all-build-fixincludes
3016 all-build-fixincludes: configure-build-fixincludes
3017 @: $(MAKE); $(unstage)
3018 @r=`${PWD_COMMAND}`; export r; \
3019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3020 $(BUILD_EXPORTS) \
3021 (cd $(BUILD_SUBDIR)/fixincludes && \
3022 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3023 $(TARGET-build-fixincludes))
3024 @endif build-fixincludes
3030 .PHONY: configure-build-libcpp maybe-configure-build-libcpp
3031 maybe-configure-build-libcpp:
3032 @if gcc-bootstrap
3033 configure-build-libcpp: stage_current
3034 @endif gcc-bootstrap
3035 @if build-libcpp
3036 maybe-configure-build-libcpp: configure-build-libcpp
3037 configure-build-libcpp:
3038 @: $(MAKE); $(unstage)
3039 @r=`${PWD_COMMAND}`; export r; \
3040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3041 test ! -f $(BUILD_SUBDIR)/libcpp/Makefile || exit 0; \
3042 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libcpp ; \
3043 $(BUILD_EXPORTS) \
3044 echo Configuring in $(BUILD_SUBDIR)/libcpp; \
3045 cd "$(BUILD_SUBDIR)/libcpp" || exit 1; \
3046 case $(srcdir) in \
3047 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3048 *) topdir=`echo $(BUILD_SUBDIR)/libcpp/ | \
3049 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3050 esac; \
3051 module_srcdir=libcpp; \
3052 rm -f no-such-file || : ; \
3053 CONFIG_SITE=no-such-file $(SHELL) \
3054 $$s/$$module_srcdir/configure \
3055 --srcdir=$${topdir}/$$module_srcdir \
3056 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3057 --target=${target_alias} --disable-nls am_cv_func_iconv=no \
3058 || exit 1
3059 @endif build-libcpp
3065 .PHONY: all-build-libcpp maybe-all-build-libcpp
3066 maybe-all-build-libcpp:
3067 @if gcc-bootstrap
3068 all-build-libcpp: stage_current
3069 @endif gcc-bootstrap
3070 @if build-libcpp
3071 TARGET-build-libcpp=all
3072 maybe-all-build-libcpp: all-build-libcpp
3073 all-build-libcpp: configure-build-libcpp
3074 @: $(MAKE); $(unstage)
3075 @r=`${PWD_COMMAND}`; export r; \
3076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3077 $(BUILD_EXPORTS) \
3078 (cd $(BUILD_SUBDIR)/libcpp && \
3079 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3080 $(TARGET-build-libcpp))
3081 @endif build-libcpp
3087 # --------------------------------------
3088 # Modules which run on the host machine
3089 # --------------------------------------
3092 .PHONY: configure-bfd maybe-configure-bfd
3093 maybe-configure-bfd:
3094 @if gcc-bootstrap
3095 configure-bfd: stage_current
3096 @endif gcc-bootstrap
3097 @if bfd
3098 maybe-configure-bfd: configure-bfd
3099 configure-bfd:
3100 @r=`${PWD_COMMAND}`; export r; \
3101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3102 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3103 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3104 $(HOST_EXPORTS) \
3105 echo Configuring in $(HOST_SUBDIR)/bfd; \
3106 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3107 case $(srcdir) in \
3108 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3109 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3110 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3111 esac; \
3112 module_srcdir=bfd; \
3113 $(SHELL) \
3114 $$s/$$module_srcdir/configure \
3115 --srcdir=$${topdir}/$$module_srcdir \
3116 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3117 --target=${target_alias} \
3118 || exit 1
3119 @endif bfd
3123 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3124 maybe-configure-stage1-bfd:
3125 @if bfd-bootstrap
3126 maybe-configure-stage1-bfd: configure-stage1-bfd
3127 configure-stage1-bfd:
3128 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3129 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3130 @r=`${PWD_COMMAND}`; export r; \
3131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3132 TFLAGS="$(STAGE1_TFLAGS)"; \
3133 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3134 $(HOST_EXPORTS) \
3135 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3136 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3137 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3138 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
3139 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3140 cd $(HOST_SUBDIR)/bfd || exit 1; \
3141 case $(srcdir) in \
3142 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3143 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3144 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3145 esac; \
3146 module_srcdir=bfd; \
3147 $(SHELL) $$s/$$module_srcdir/configure \
3148 --srcdir=$${topdir}/$$module_srcdir \
3149 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3150 --target=${target_alias} \
3152 $(STAGE1_CONFIGURE_FLAGS)
3153 @endif bfd-bootstrap
3155 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3156 maybe-configure-stage2-bfd:
3157 @if bfd-bootstrap
3158 maybe-configure-stage2-bfd: configure-stage2-bfd
3159 configure-stage2-bfd:
3160 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3161 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3162 @r=`${PWD_COMMAND}`; export r; \
3163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3164 TFLAGS="$(STAGE2_TFLAGS)"; \
3165 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3166 $(HOST_EXPORTS) \
3167 $(POSTSTAGE1_HOST_EXPORTS) \
3168 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3169 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3170 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3171 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
3172 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3173 cd $(HOST_SUBDIR)/bfd || exit 1; \
3174 case $(srcdir) in \
3175 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3176 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3177 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3178 esac; \
3179 module_srcdir=bfd; \
3180 $(SHELL) $$s/$$module_srcdir/configure \
3181 --srcdir=$${topdir}/$$module_srcdir \
3182 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3183 --target=${target_alias} \
3184 --with-build-libsubdir=$(HOST_SUBDIR) \
3185 $(STAGE2_CONFIGURE_FLAGS)
3186 @endif bfd-bootstrap
3188 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3189 maybe-configure-stage3-bfd:
3190 @if bfd-bootstrap
3191 maybe-configure-stage3-bfd: configure-stage3-bfd
3192 configure-stage3-bfd:
3193 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3194 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3195 @r=`${PWD_COMMAND}`; export r; \
3196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3197 TFLAGS="$(STAGE3_TFLAGS)"; \
3198 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3199 $(HOST_EXPORTS) \
3200 $(POSTSTAGE1_HOST_EXPORTS) \
3201 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3202 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3203 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3204 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
3205 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3206 cd $(HOST_SUBDIR)/bfd || exit 1; \
3207 case $(srcdir) in \
3208 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3209 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3210 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3211 esac; \
3212 module_srcdir=bfd; \
3213 $(SHELL) $$s/$$module_srcdir/configure \
3214 --srcdir=$${topdir}/$$module_srcdir \
3215 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3216 --target=${target_alias} \
3217 --with-build-libsubdir=$(HOST_SUBDIR) \
3218 $(STAGE3_CONFIGURE_FLAGS)
3219 @endif bfd-bootstrap
3221 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3222 maybe-configure-stage4-bfd:
3223 @if bfd-bootstrap
3224 maybe-configure-stage4-bfd: configure-stage4-bfd
3225 configure-stage4-bfd:
3226 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3227 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3228 @r=`${PWD_COMMAND}`; export r; \
3229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3230 TFLAGS="$(STAGE4_TFLAGS)"; \
3231 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3232 $(HOST_EXPORTS) \
3233 $(POSTSTAGE1_HOST_EXPORTS) \
3234 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3235 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3236 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3237 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
3238 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3239 cd $(HOST_SUBDIR)/bfd || exit 1; \
3240 case $(srcdir) in \
3241 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3242 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3243 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3244 esac; \
3245 module_srcdir=bfd; \
3246 $(SHELL) $$s/$$module_srcdir/configure \
3247 --srcdir=$${topdir}/$$module_srcdir \
3248 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3249 --target=${target_alias} \
3250 --with-build-libsubdir=$(HOST_SUBDIR) \
3251 $(STAGE4_CONFIGURE_FLAGS)
3252 @endif bfd-bootstrap
3254 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3255 maybe-configure-stageprofile-bfd:
3256 @if bfd-bootstrap
3257 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3258 configure-stageprofile-bfd:
3259 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3260 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3261 @r=`${PWD_COMMAND}`; export r; \
3262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3263 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3264 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3265 $(HOST_EXPORTS) \
3266 $(POSTSTAGE1_HOST_EXPORTS) \
3267 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3268 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3269 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3270 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
3271 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3272 cd $(HOST_SUBDIR)/bfd || exit 1; \
3273 case $(srcdir) in \
3274 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3275 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3276 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3277 esac; \
3278 module_srcdir=bfd; \
3279 $(SHELL) $$s/$$module_srcdir/configure \
3280 --srcdir=$${topdir}/$$module_srcdir \
3281 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3282 --target=${target_alias} \
3283 --with-build-libsubdir=$(HOST_SUBDIR) \
3284 $(STAGEprofile_CONFIGURE_FLAGS)
3285 @endif bfd-bootstrap
3287 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3288 maybe-configure-stagefeedback-bfd:
3289 @if bfd-bootstrap
3290 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3291 configure-stagefeedback-bfd:
3292 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3293 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3294 @r=`${PWD_COMMAND}`; export r; \
3295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3296 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3297 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3298 $(HOST_EXPORTS) \
3299 $(POSTSTAGE1_HOST_EXPORTS) \
3300 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3301 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3302 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3303 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
3304 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3305 cd $(HOST_SUBDIR)/bfd || exit 1; \
3306 case $(srcdir) in \
3307 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3308 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3309 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3310 esac; \
3311 module_srcdir=bfd; \
3312 $(SHELL) $$s/$$module_srcdir/configure \
3313 --srcdir=$${topdir}/$$module_srcdir \
3314 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3315 --target=${target_alias} \
3316 --with-build-libsubdir=$(HOST_SUBDIR) \
3317 $(STAGEfeedback_CONFIGURE_FLAGS)
3318 @endif bfd-bootstrap
3324 .PHONY: all-bfd maybe-all-bfd
3325 maybe-all-bfd:
3326 @if gcc-bootstrap
3327 all-bfd: stage_current
3328 @endif gcc-bootstrap
3329 @if bfd
3330 TARGET-bfd=all
3331 maybe-all-bfd: all-bfd
3332 all-bfd: configure-bfd
3333 @r=`${PWD_COMMAND}`; export r; \
3334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3335 $(HOST_EXPORTS) \
3336 (cd $(HOST_SUBDIR)/bfd && \
3337 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
3338 $(TARGET-bfd))
3339 @endif bfd
3343 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3344 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3345 maybe-all-stage1-bfd:
3346 maybe-clean-stage1-bfd:
3347 @if bfd-bootstrap
3348 maybe-all-stage1-bfd: all-stage1-bfd
3349 all-stage1: all-stage1-bfd
3350 TARGET-stage1-bfd = $(TARGET-bfd)
3351 all-stage1-bfd: configure-stage1-bfd
3352 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3353 @r=`${PWD_COMMAND}`; export r; \
3354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3355 TFLAGS="$(STAGE1_TFLAGS)"; \
3356 $(HOST_EXPORTS) \
3357 cd $(HOST_SUBDIR)/bfd && \
3358 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3359 CFLAGS="$(STAGE1_CFLAGS)" \
3360 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3361 LIBCFLAGS="$(LIBCFLAGS)" \
3362 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3363 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3364 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3365 $(EXTRA_HOST_FLAGS) \
3366 $(STAGE1_FLAGS_TO_PASS) \
3367 TFLAGS="$(STAGE1_TFLAGS)" \
3368 $(TARGET-stage1-bfd)
3370 maybe-clean-stage1-bfd: clean-stage1-bfd
3371 clean-stage1: clean-stage1-bfd
3372 clean-stage1-bfd:
3373 @if [ $(current_stage) = stage1 ]; then \
3374 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3375 else \
3376 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3377 $(MAKE) stage1-start; \
3378 fi; \
3379 cd $(HOST_SUBDIR)/bfd && \
3380 $(MAKE) $(EXTRA_HOST_FLAGS) \
3381 $(STAGE1_FLAGS_TO_PASS) clean
3382 @endif bfd-bootstrap
3385 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3386 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3387 maybe-all-stage2-bfd:
3388 maybe-clean-stage2-bfd:
3389 @if bfd-bootstrap
3390 maybe-all-stage2-bfd: all-stage2-bfd
3391 all-stage2: all-stage2-bfd
3392 TARGET-stage2-bfd = $(TARGET-bfd)
3393 all-stage2-bfd: configure-stage2-bfd
3394 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3395 @r=`${PWD_COMMAND}`; export r; \
3396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3397 TFLAGS="$(STAGE2_TFLAGS)"; \
3398 $(HOST_EXPORTS) \
3399 $(POSTSTAGE1_HOST_EXPORTS) \
3400 cd $(HOST_SUBDIR)/bfd && \
3401 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3402 CFLAGS="$(STAGE2_CFLAGS)" \
3403 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3404 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3405 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3406 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3407 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3408 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3409 TFLAGS="$(STAGE2_TFLAGS)" \
3410 $(TARGET-stage2-bfd)
3412 maybe-clean-stage2-bfd: clean-stage2-bfd
3413 clean-stage2: clean-stage2-bfd
3414 clean-stage2-bfd:
3415 @if [ $(current_stage) = stage2 ]; then \
3416 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3417 else \
3418 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3419 $(MAKE) stage2-start; \
3420 fi; \
3421 cd $(HOST_SUBDIR)/bfd && \
3422 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3423 @endif bfd-bootstrap
3426 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3427 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3428 maybe-all-stage3-bfd:
3429 maybe-clean-stage3-bfd:
3430 @if bfd-bootstrap
3431 maybe-all-stage3-bfd: all-stage3-bfd
3432 all-stage3: all-stage3-bfd
3433 TARGET-stage3-bfd = $(TARGET-bfd)
3434 all-stage3-bfd: configure-stage3-bfd
3435 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3436 @r=`${PWD_COMMAND}`; export r; \
3437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3438 TFLAGS="$(STAGE3_TFLAGS)"; \
3439 $(HOST_EXPORTS) \
3440 $(POSTSTAGE1_HOST_EXPORTS) \
3441 cd $(HOST_SUBDIR)/bfd && \
3442 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3443 CFLAGS="$(STAGE3_CFLAGS)" \
3444 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3445 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3446 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3447 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3448 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3449 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3450 TFLAGS="$(STAGE3_TFLAGS)" \
3451 $(TARGET-stage3-bfd)
3453 maybe-clean-stage3-bfd: clean-stage3-bfd
3454 clean-stage3: clean-stage3-bfd
3455 clean-stage3-bfd:
3456 @if [ $(current_stage) = stage3 ]; then \
3457 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3458 else \
3459 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3460 $(MAKE) stage3-start; \
3461 fi; \
3462 cd $(HOST_SUBDIR)/bfd && \
3463 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3464 @endif bfd-bootstrap
3467 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3468 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3469 maybe-all-stage4-bfd:
3470 maybe-clean-stage4-bfd:
3471 @if bfd-bootstrap
3472 maybe-all-stage4-bfd: all-stage4-bfd
3473 all-stage4: all-stage4-bfd
3474 TARGET-stage4-bfd = $(TARGET-bfd)
3475 all-stage4-bfd: configure-stage4-bfd
3476 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3477 @r=`${PWD_COMMAND}`; export r; \
3478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3479 TFLAGS="$(STAGE4_TFLAGS)"; \
3480 $(HOST_EXPORTS) \
3481 $(POSTSTAGE1_HOST_EXPORTS) \
3482 cd $(HOST_SUBDIR)/bfd && \
3483 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3484 CFLAGS="$(STAGE4_CFLAGS)" \
3485 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3486 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3487 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3488 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3489 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3490 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3491 TFLAGS="$(STAGE4_TFLAGS)" \
3492 $(TARGET-stage4-bfd)
3494 maybe-clean-stage4-bfd: clean-stage4-bfd
3495 clean-stage4: clean-stage4-bfd
3496 clean-stage4-bfd:
3497 @if [ $(current_stage) = stage4 ]; then \
3498 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3499 else \
3500 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3501 $(MAKE) stage4-start; \
3502 fi; \
3503 cd $(HOST_SUBDIR)/bfd && \
3504 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3505 @endif bfd-bootstrap
3508 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3509 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3510 maybe-all-stageprofile-bfd:
3511 maybe-clean-stageprofile-bfd:
3512 @if bfd-bootstrap
3513 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3514 all-stageprofile: all-stageprofile-bfd
3515 TARGET-stageprofile-bfd = $(TARGET-bfd)
3516 all-stageprofile-bfd: configure-stageprofile-bfd
3517 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3518 @r=`${PWD_COMMAND}`; export r; \
3519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3520 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3521 $(HOST_EXPORTS) \
3522 $(POSTSTAGE1_HOST_EXPORTS) \
3523 cd $(HOST_SUBDIR)/bfd && \
3524 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3525 CFLAGS="$(STAGEprofile_CFLAGS)" \
3526 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3527 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3528 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3529 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3530 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3531 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3532 TFLAGS="$(STAGEprofile_TFLAGS)" \
3533 $(TARGET-stageprofile-bfd)
3535 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3536 clean-stageprofile: clean-stageprofile-bfd
3537 clean-stageprofile-bfd:
3538 @if [ $(current_stage) = stageprofile ]; then \
3539 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3540 else \
3541 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3542 $(MAKE) stageprofile-start; \
3543 fi; \
3544 cd $(HOST_SUBDIR)/bfd && \
3545 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3546 @endif bfd-bootstrap
3549 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3550 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3551 maybe-all-stagefeedback-bfd:
3552 maybe-clean-stagefeedback-bfd:
3553 @if bfd-bootstrap
3554 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3555 all-stagefeedback: all-stagefeedback-bfd
3556 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3557 all-stagefeedback-bfd: configure-stagefeedback-bfd
3558 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3559 @r=`${PWD_COMMAND}`; export r; \
3560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3561 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3562 $(HOST_EXPORTS) \
3563 $(POSTSTAGE1_HOST_EXPORTS) \
3564 cd $(HOST_SUBDIR)/bfd && \
3565 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3566 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3567 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3568 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3569 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3570 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3571 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3572 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3573 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3574 $(TARGET-stagefeedback-bfd)
3576 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3577 clean-stagefeedback: clean-stagefeedback-bfd
3578 clean-stagefeedback-bfd:
3579 @if [ $(current_stage) = stagefeedback ]; then \
3580 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3581 else \
3582 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3583 $(MAKE) stagefeedback-start; \
3584 fi; \
3585 cd $(HOST_SUBDIR)/bfd && \
3586 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3587 @endif bfd-bootstrap
3593 .PHONY: check-bfd maybe-check-bfd
3594 maybe-check-bfd:
3595 @if bfd
3596 maybe-check-bfd: check-bfd
3598 check-bfd:
3599 @: $(MAKE); $(unstage)
3600 @r=`${PWD_COMMAND}`; export r; \
3601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3602 $(HOST_EXPORTS) \
3603 (cd $(HOST_SUBDIR)/bfd && \
3604 $(MAKE) $(FLAGS_TO_PASS) check)
3606 @endif bfd
3608 .PHONY: install-bfd maybe-install-bfd
3609 maybe-install-bfd:
3610 @if bfd
3611 maybe-install-bfd: install-bfd
3613 install-bfd: installdirs
3614 @: $(MAKE); $(unstage)
3615 @r=`${PWD_COMMAND}`; export r; \
3616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3617 $(HOST_EXPORTS) \
3618 (cd $(HOST_SUBDIR)/bfd && \
3619 $(MAKE) $(FLAGS_TO_PASS) install)
3621 @endif bfd
3623 .PHONY: install-strip-bfd maybe-install-strip-bfd
3624 maybe-install-strip-bfd:
3625 @if bfd
3626 maybe-install-strip-bfd: install-strip-bfd
3628 install-strip-bfd: installdirs
3629 @: $(MAKE); $(unstage)
3630 @r=`${PWD_COMMAND}`; export r; \
3631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3632 $(HOST_EXPORTS) \
3633 (cd $(HOST_SUBDIR)/bfd && \
3634 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3636 @endif bfd
3638 # Other targets (info, dvi, pdf, etc.)
3640 .PHONY: maybe-info-bfd info-bfd
3641 maybe-info-bfd:
3642 @if bfd
3643 maybe-info-bfd: info-bfd
3645 info-bfd: \
3646 configure-bfd
3647 @[ -f ./bfd/Makefile ] || exit 0; \
3648 r=`${PWD_COMMAND}`; export r; \
3649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3650 $(HOST_EXPORTS) \
3651 for flag in $(EXTRA_HOST_FLAGS) ; do \
3652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3653 done; \
3654 echo "Doing info in bfd" ; \
3655 (cd $(HOST_SUBDIR)/bfd && \
3656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3658 "RANLIB=$${RANLIB}" \
3659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3660 info) \
3661 || exit 1
3663 @endif bfd
3665 .PHONY: maybe-dvi-bfd dvi-bfd
3666 maybe-dvi-bfd:
3667 @if bfd
3668 maybe-dvi-bfd: dvi-bfd
3670 dvi-bfd: \
3671 configure-bfd
3672 @[ -f ./bfd/Makefile ] || exit 0; \
3673 r=`${PWD_COMMAND}`; export r; \
3674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3675 $(HOST_EXPORTS) \
3676 for flag in $(EXTRA_HOST_FLAGS) ; do \
3677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3678 done; \
3679 echo "Doing dvi in bfd" ; \
3680 (cd $(HOST_SUBDIR)/bfd && \
3681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3683 "RANLIB=$${RANLIB}" \
3684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3685 dvi) \
3686 || exit 1
3688 @endif bfd
3690 .PHONY: maybe-pdf-bfd pdf-bfd
3691 maybe-pdf-bfd:
3692 @if bfd
3693 maybe-pdf-bfd: pdf-bfd
3695 pdf-bfd: \
3696 configure-bfd
3697 @[ -f ./bfd/Makefile ] || exit 0; \
3698 r=`${PWD_COMMAND}`; export r; \
3699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3700 $(HOST_EXPORTS) \
3701 for flag in $(EXTRA_HOST_FLAGS) ; do \
3702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3703 done; \
3704 echo "Doing pdf in bfd" ; \
3705 (cd $(HOST_SUBDIR)/bfd && \
3706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3708 "RANLIB=$${RANLIB}" \
3709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3710 pdf) \
3711 || exit 1
3713 @endif bfd
3715 .PHONY: maybe-html-bfd html-bfd
3716 maybe-html-bfd:
3717 @if bfd
3718 maybe-html-bfd: html-bfd
3720 html-bfd: \
3721 configure-bfd
3722 @[ -f ./bfd/Makefile ] || exit 0; \
3723 r=`${PWD_COMMAND}`; export r; \
3724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3725 $(HOST_EXPORTS) \
3726 for flag in $(EXTRA_HOST_FLAGS) ; do \
3727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3728 done; \
3729 echo "Doing html in bfd" ; \
3730 (cd $(HOST_SUBDIR)/bfd && \
3731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3733 "RANLIB=$${RANLIB}" \
3734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3735 html) \
3736 || exit 1
3738 @endif bfd
3740 .PHONY: maybe-TAGS-bfd TAGS-bfd
3741 maybe-TAGS-bfd:
3742 @if bfd
3743 maybe-TAGS-bfd: TAGS-bfd
3745 TAGS-bfd: \
3746 configure-bfd
3747 @[ -f ./bfd/Makefile ] || exit 0; \
3748 r=`${PWD_COMMAND}`; export r; \
3749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3750 $(HOST_EXPORTS) \
3751 for flag in $(EXTRA_HOST_FLAGS) ; do \
3752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3753 done; \
3754 echo "Doing TAGS in bfd" ; \
3755 (cd $(HOST_SUBDIR)/bfd && \
3756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3758 "RANLIB=$${RANLIB}" \
3759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3760 TAGS) \
3761 || exit 1
3763 @endif bfd
3765 .PHONY: maybe-install-info-bfd install-info-bfd
3766 maybe-install-info-bfd:
3767 @if bfd
3768 maybe-install-info-bfd: install-info-bfd
3770 install-info-bfd: \
3771 configure-bfd \
3772 info-bfd
3773 @[ -f ./bfd/Makefile ] || exit 0; \
3774 r=`${PWD_COMMAND}`; export r; \
3775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3776 $(HOST_EXPORTS) \
3777 for flag in $(EXTRA_HOST_FLAGS) ; do \
3778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3779 done; \
3780 echo "Doing install-info in bfd" ; \
3781 (cd $(HOST_SUBDIR)/bfd && \
3782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3784 "RANLIB=$${RANLIB}" \
3785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3786 install-info) \
3787 || exit 1
3789 @endif bfd
3791 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
3792 maybe-install-pdf-bfd:
3793 @if bfd
3794 maybe-install-pdf-bfd: install-pdf-bfd
3796 install-pdf-bfd: \
3797 configure-bfd \
3798 pdf-bfd
3799 @[ -f ./bfd/Makefile ] || exit 0; \
3800 r=`${PWD_COMMAND}`; export r; \
3801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3802 $(HOST_EXPORTS) \
3803 for flag in $(EXTRA_HOST_FLAGS) ; do \
3804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3805 done; \
3806 echo "Doing install-pdf in bfd" ; \
3807 (cd $(HOST_SUBDIR)/bfd && \
3808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3810 "RANLIB=$${RANLIB}" \
3811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3812 install-pdf) \
3813 || exit 1
3815 @endif bfd
3817 .PHONY: maybe-install-html-bfd install-html-bfd
3818 maybe-install-html-bfd:
3819 @if bfd
3820 maybe-install-html-bfd: install-html-bfd
3822 install-html-bfd: \
3823 configure-bfd \
3824 html-bfd
3825 @[ -f ./bfd/Makefile ] || exit 0; \
3826 r=`${PWD_COMMAND}`; export r; \
3827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3828 $(HOST_EXPORTS) \
3829 for flag in $(EXTRA_HOST_FLAGS) ; do \
3830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3831 done; \
3832 echo "Doing install-html in bfd" ; \
3833 (cd $(HOST_SUBDIR)/bfd && \
3834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3836 "RANLIB=$${RANLIB}" \
3837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3838 install-html) \
3839 || exit 1
3841 @endif bfd
3843 .PHONY: maybe-installcheck-bfd installcheck-bfd
3844 maybe-installcheck-bfd:
3845 @if bfd
3846 maybe-installcheck-bfd: installcheck-bfd
3848 installcheck-bfd: \
3849 configure-bfd
3850 @[ -f ./bfd/Makefile ] || exit 0; \
3851 r=`${PWD_COMMAND}`; export r; \
3852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3853 $(HOST_EXPORTS) \
3854 for flag in $(EXTRA_HOST_FLAGS) ; do \
3855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3856 done; \
3857 echo "Doing installcheck in bfd" ; \
3858 (cd $(HOST_SUBDIR)/bfd && \
3859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3861 "RANLIB=$${RANLIB}" \
3862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3863 installcheck) \
3864 || exit 1
3866 @endif bfd
3868 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3869 maybe-mostlyclean-bfd:
3870 @if bfd
3871 maybe-mostlyclean-bfd: mostlyclean-bfd
3873 mostlyclean-bfd:
3874 @[ -f ./bfd/Makefile ] || exit 0; \
3875 r=`${PWD_COMMAND}`; export r; \
3876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3877 $(HOST_EXPORTS) \
3878 for flag in $(EXTRA_HOST_FLAGS) ; do \
3879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3880 done; \
3881 echo "Doing mostlyclean in bfd" ; \
3882 (cd $(HOST_SUBDIR)/bfd && \
3883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3885 "RANLIB=$${RANLIB}" \
3886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3887 mostlyclean) \
3888 || exit 1
3890 @endif bfd
3892 .PHONY: maybe-clean-bfd clean-bfd
3893 maybe-clean-bfd:
3894 @if bfd
3895 maybe-clean-bfd: clean-bfd
3897 clean-bfd:
3898 @[ -f ./bfd/Makefile ] || exit 0; \
3899 r=`${PWD_COMMAND}`; export r; \
3900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3901 $(HOST_EXPORTS) \
3902 for flag in $(EXTRA_HOST_FLAGS) ; do \
3903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3904 done; \
3905 echo "Doing clean in bfd" ; \
3906 (cd $(HOST_SUBDIR)/bfd && \
3907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3909 "RANLIB=$${RANLIB}" \
3910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3911 clean) \
3912 || exit 1
3914 @endif bfd
3916 .PHONY: maybe-distclean-bfd distclean-bfd
3917 maybe-distclean-bfd:
3918 @if bfd
3919 maybe-distclean-bfd: distclean-bfd
3921 distclean-bfd:
3922 @[ -f ./bfd/Makefile ] || exit 0; \
3923 r=`${PWD_COMMAND}`; export r; \
3924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3925 $(HOST_EXPORTS) \
3926 for flag in $(EXTRA_HOST_FLAGS) ; do \
3927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3928 done; \
3929 echo "Doing distclean in bfd" ; \
3930 (cd $(HOST_SUBDIR)/bfd && \
3931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3933 "RANLIB=$${RANLIB}" \
3934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3935 distclean) \
3936 || exit 1
3938 @endif bfd
3940 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3941 maybe-maintainer-clean-bfd:
3942 @if bfd
3943 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3945 maintainer-clean-bfd:
3946 @[ -f ./bfd/Makefile ] || exit 0; \
3947 r=`${PWD_COMMAND}`; export r; \
3948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3949 $(HOST_EXPORTS) \
3950 for flag in $(EXTRA_HOST_FLAGS) ; do \
3951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3952 done; \
3953 echo "Doing maintainer-clean in bfd" ; \
3954 (cd $(HOST_SUBDIR)/bfd && \
3955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3957 "RANLIB=$${RANLIB}" \
3958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3959 maintainer-clean) \
3960 || exit 1
3962 @endif bfd
3966 .PHONY: configure-opcodes maybe-configure-opcodes
3967 maybe-configure-opcodes:
3968 @if gcc-bootstrap
3969 configure-opcodes: stage_current
3970 @endif gcc-bootstrap
3971 @if opcodes
3972 maybe-configure-opcodes: configure-opcodes
3973 configure-opcodes:
3974 @r=`${PWD_COMMAND}`; export r; \
3975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3976 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3977 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3978 $(HOST_EXPORTS) \
3979 echo Configuring in $(HOST_SUBDIR)/opcodes; \
3980 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
3981 case $(srcdir) in \
3982 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3983 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3984 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3985 esac; \
3986 module_srcdir=opcodes; \
3987 $(SHELL) \
3988 $$s/$$module_srcdir/configure \
3989 --srcdir=$${topdir}/$$module_srcdir \
3990 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3991 --target=${target_alias} \
3992 || exit 1
3993 @endif opcodes
3997 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
3998 maybe-configure-stage1-opcodes:
3999 @if opcodes-bootstrap
4000 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4001 configure-stage1-opcodes:
4002 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4003 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4004 @r=`${PWD_COMMAND}`; export r; \
4005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4006 TFLAGS="$(STAGE1_TFLAGS)"; \
4007 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4008 $(HOST_EXPORTS) \
4009 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4010 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4011 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4012 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
4013 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4014 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4015 case $(srcdir) in \
4016 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4017 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4018 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4019 esac; \
4020 module_srcdir=opcodes; \
4021 $(SHELL) $$s/$$module_srcdir/configure \
4022 --srcdir=$${topdir}/$$module_srcdir \
4023 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4024 --target=${target_alias} \
4026 $(STAGE1_CONFIGURE_FLAGS)
4027 @endif opcodes-bootstrap
4029 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4030 maybe-configure-stage2-opcodes:
4031 @if opcodes-bootstrap
4032 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4033 configure-stage2-opcodes:
4034 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4035 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4036 @r=`${PWD_COMMAND}`; export r; \
4037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4038 TFLAGS="$(STAGE2_TFLAGS)"; \
4039 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4040 $(HOST_EXPORTS) \
4041 $(POSTSTAGE1_HOST_EXPORTS) \
4042 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4043 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4044 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4045 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
4046 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4047 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4048 case $(srcdir) in \
4049 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4050 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4051 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4052 esac; \
4053 module_srcdir=opcodes; \
4054 $(SHELL) $$s/$$module_srcdir/configure \
4055 --srcdir=$${topdir}/$$module_srcdir \
4056 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4057 --target=${target_alias} \
4058 --with-build-libsubdir=$(HOST_SUBDIR) \
4059 $(STAGE2_CONFIGURE_FLAGS)
4060 @endif opcodes-bootstrap
4062 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4063 maybe-configure-stage3-opcodes:
4064 @if opcodes-bootstrap
4065 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4066 configure-stage3-opcodes:
4067 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4068 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4069 @r=`${PWD_COMMAND}`; export r; \
4070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4071 TFLAGS="$(STAGE3_TFLAGS)"; \
4072 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4073 $(HOST_EXPORTS) \
4074 $(POSTSTAGE1_HOST_EXPORTS) \
4075 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4076 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4077 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4078 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
4079 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4080 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4081 case $(srcdir) in \
4082 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4083 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4084 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4085 esac; \
4086 module_srcdir=opcodes; \
4087 $(SHELL) $$s/$$module_srcdir/configure \
4088 --srcdir=$${topdir}/$$module_srcdir \
4089 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4090 --target=${target_alias} \
4091 --with-build-libsubdir=$(HOST_SUBDIR) \
4092 $(STAGE3_CONFIGURE_FLAGS)
4093 @endif opcodes-bootstrap
4095 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4096 maybe-configure-stage4-opcodes:
4097 @if opcodes-bootstrap
4098 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4099 configure-stage4-opcodes:
4100 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4101 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4102 @r=`${PWD_COMMAND}`; export r; \
4103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4104 TFLAGS="$(STAGE4_TFLAGS)"; \
4105 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4106 $(HOST_EXPORTS) \
4107 $(POSTSTAGE1_HOST_EXPORTS) \
4108 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4109 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4110 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4111 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
4112 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4113 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4114 case $(srcdir) in \
4115 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4116 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4117 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4118 esac; \
4119 module_srcdir=opcodes; \
4120 $(SHELL) $$s/$$module_srcdir/configure \
4121 --srcdir=$${topdir}/$$module_srcdir \
4122 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4123 --target=${target_alias} \
4124 --with-build-libsubdir=$(HOST_SUBDIR) \
4125 $(STAGE4_CONFIGURE_FLAGS)
4126 @endif opcodes-bootstrap
4128 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4129 maybe-configure-stageprofile-opcodes:
4130 @if opcodes-bootstrap
4131 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4132 configure-stageprofile-opcodes:
4133 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4134 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4135 @r=`${PWD_COMMAND}`; export r; \
4136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4137 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4138 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4139 $(HOST_EXPORTS) \
4140 $(POSTSTAGE1_HOST_EXPORTS) \
4141 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4142 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4143 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4144 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4145 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4146 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4147 case $(srcdir) in \
4148 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4149 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4150 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4151 esac; \
4152 module_srcdir=opcodes; \
4153 $(SHELL) $$s/$$module_srcdir/configure \
4154 --srcdir=$${topdir}/$$module_srcdir \
4155 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4156 --target=${target_alias} \
4157 --with-build-libsubdir=$(HOST_SUBDIR) \
4158 $(STAGEprofile_CONFIGURE_FLAGS)
4159 @endif opcodes-bootstrap
4161 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4162 maybe-configure-stagefeedback-opcodes:
4163 @if opcodes-bootstrap
4164 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4165 configure-stagefeedback-opcodes:
4166 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4167 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4168 @r=`${PWD_COMMAND}`; export r; \
4169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4170 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4171 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4172 $(HOST_EXPORTS) \
4173 $(POSTSTAGE1_HOST_EXPORTS) \
4174 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4175 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4176 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4177 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4178 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4179 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4180 case $(srcdir) in \
4181 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4182 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4183 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4184 esac; \
4185 module_srcdir=opcodes; \
4186 $(SHELL) $$s/$$module_srcdir/configure \
4187 --srcdir=$${topdir}/$$module_srcdir \
4188 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4189 --target=${target_alias} \
4190 --with-build-libsubdir=$(HOST_SUBDIR) \
4191 $(STAGEfeedback_CONFIGURE_FLAGS)
4192 @endif opcodes-bootstrap
4198 .PHONY: all-opcodes maybe-all-opcodes
4199 maybe-all-opcodes:
4200 @if gcc-bootstrap
4201 all-opcodes: stage_current
4202 @endif gcc-bootstrap
4203 @if opcodes
4204 TARGET-opcodes=all
4205 maybe-all-opcodes: all-opcodes
4206 all-opcodes: configure-opcodes
4207 @r=`${PWD_COMMAND}`; export r; \
4208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4209 $(HOST_EXPORTS) \
4210 (cd $(HOST_SUBDIR)/opcodes && \
4211 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4212 $(TARGET-opcodes))
4213 @endif opcodes
4217 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4218 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4219 maybe-all-stage1-opcodes:
4220 maybe-clean-stage1-opcodes:
4221 @if opcodes-bootstrap
4222 maybe-all-stage1-opcodes: all-stage1-opcodes
4223 all-stage1: all-stage1-opcodes
4224 TARGET-stage1-opcodes = $(TARGET-opcodes)
4225 all-stage1-opcodes: configure-stage1-opcodes
4226 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4227 @r=`${PWD_COMMAND}`; export r; \
4228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4229 TFLAGS="$(STAGE1_TFLAGS)"; \
4230 $(HOST_EXPORTS) \
4231 cd $(HOST_SUBDIR)/opcodes && \
4232 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4233 CFLAGS="$(STAGE1_CFLAGS)" \
4234 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4235 LIBCFLAGS="$(LIBCFLAGS)" \
4236 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4237 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4238 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4239 $(EXTRA_HOST_FLAGS) \
4240 $(STAGE1_FLAGS_TO_PASS) \
4241 TFLAGS="$(STAGE1_TFLAGS)" \
4242 $(TARGET-stage1-opcodes)
4244 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4245 clean-stage1: clean-stage1-opcodes
4246 clean-stage1-opcodes:
4247 @if [ $(current_stage) = stage1 ]; then \
4248 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4249 else \
4250 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4251 $(MAKE) stage1-start; \
4252 fi; \
4253 cd $(HOST_SUBDIR)/opcodes && \
4254 $(MAKE) $(EXTRA_HOST_FLAGS) \
4255 $(STAGE1_FLAGS_TO_PASS) clean
4256 @endif opcodes-bootstrap
4259 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4260 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4261 maybe-all-stage2-opcodes:
4262 maybe-clean-stage2-opcodes:
4263 @if opcodes-bootstrap
4264 maybe-all-stage2-opcodes: all-stage2-opcodes
4265 all-stage2: all-stage2-opcodes
4266 TARGET-stage2-opcodes = $(TARGET-opcodes)
4267 all-stage2-opcodes: configure-stage2-opcodes
4268 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4269 @r=`${PWD_COMMAND}`; export r; \
4270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4271 TFLAGS="$(STAGE2_TFLAGS)"; \
4272 $(HOST_EXPORTS) \
4273 $(POSTSTAGE1_HOST_EXPORTS) \
4274 cd $(HOST_SUBDIR)/opcodes && \
4275 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4276 CFLAGS="$(STAGE2_CFLAGS)" \
4277 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4278 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4279 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4280 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4281 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4282 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4283 TFLAGS="$(STAGE2_TFLAGS)" \
4284 $(TARGET-stage2-opcodes)
4286 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4287 clean-stage2: clean-stage2-opcodes
4288 clean-stage2-opcodes:
4289 @if [ $(current_stage) = stage2 ]; then \
4290 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4291 else \
4292 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4293 $(MAKE) stage2-start; \
4294 fi; \
4295 cd $(HOST_SUBDIR)/opcodes && \
4296 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4297 @endif opcodes-bootstrap
4300 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4301 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4302 maybe-all-stage3-opcodes:
4303 maybe-clean-stage3-opcodes:
4304 @if opcodes-bootstrap
4305 maybe-all-stage3-opcodes: all-stage3-opcodes
4306 all-stage3: all-stage3-opcodes
4307 TARGET-stage3-opcodes = $(TARGET-opcodes)
4308 all-stage3-opcodes: configure-stage3-opcodes
4309 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4310 @r=`${PWD_COMMAND}`; export r; \
4311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4312 TFLAGS="$(STAGE3_TFLAGS)"; \
4313 $(HOST_EXPORTS) \
4314 $(POSTSTAGE1_HOST_EXPORTS) \
4315 cd $(HOST_SUBDIR)/opcodes && \
4316 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4317 CFLAGS="$(STAGE3_CFLAGS)" \
4318 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4319 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4320 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4321 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4322 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4323 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4324 TFLAGS="$(STAGE3_TFLAGS)" \
4325 $(TARGET-stage3-opcodes)
4327 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4328 clean-stage3: clean-stage3-opcodes
4329 clean-stage3-opcodes:
4330 @if [ $(current_stage) = stage3 ]; then \
4331 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4332 else \
4333 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4334 $(MAKE) stage3-start; \
4335 fi; \
4336 cd $(HOST_SUBDIR)/opcodes && \
4337 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4338 @endif opcodes-bootstrap
4341 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4342 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4343 maybe-all-stage4-opcodes:
4344 maybe-clean-stage4-opcodes:
4345 @if opcodes-bootstrap
4346 maybe-all-stage4-opcodes: all-stage4-opcodes
4347 all-stage4: all-stage4-opcodes
4348 TARGET-stage4-opcodes = $(TARGET-opcodes)
4349 all-stage4-opcodes: configure-stage4-opcodes
4350 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4351 @r=`${PWD_COMMAND}`; export r; \
4352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4353 TFLAGS="$(STAGE4_TFLAGS)"; \
4354 $(HOST_EXPORTS) \
4355 $(POSTSTAGE1_HOST_EXPORTS) \
4356 cd $(HOST_SUBDIR)/opcodes && \
4357 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4358 CFLAGS="$(STAGE4_CFLAGS)" \
4359 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4360 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4361 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4362 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4363 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4364 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4365 TFLAGS="$(STAGE4_TFLAGS)" \
4366 $(TARGET-stage4-opcodes)
4368 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4369 clean-stage4: clean-stage4-opcodes
4370 clean-stage4-opcodes:
4371 @if [ $(current_stage) = stage4 ]; then \
4372 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4373 else \
4374 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4375 $(MAKE) stage4-start; \
4376 fi; \
4377 cd $(HOST_SUBDIR)/opcodes && \
4378 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4379 @endif opcodes-bootstrap
4382 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4383 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4384 maybe-all-stageprofile-opcodes:
4385 maybe-clean-stageprofile-opcodes:
4386 @if opcodes-bootstrap
4387 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4388 all-stageprofile: all-stageprofile-opcodes
4389 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4390 all-stageprofile-opcodes: configure-stageprofile-opcodes
4391 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4392 @r=`${PWD_COMMAND}`; export r; \
4393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4394 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4395 $(HOST_EXPORTS) \
4396 $(POSTSTAGE1_HOST_EXPORTS) \
4397 cd $(HOST_SUBDIR)/opcodes && \
4398 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4399 CFLAGS="$(STAGEprofile_CFLAGS)" \
4400 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4401 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4402 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4403 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4404 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4405 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4406 TFLAGS="$(STAGEprofile_TFLAGS)" \
4407 $(TARGET-stageprofile-opcodes)
4409 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4410 clean-stageprofile: clean-stageprofile-opcodes
4411 clean-stageprofile-opcodes:
4412 @if [ $(current_stage) = stageprofile ]; then \
4413 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4414 else \
4415 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4416 $(MAKE) stageprofile-start; \
4417 fi; \
4418 cd $(HOST_SUBDIR)/opcodes && \
4419 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4420 @endif opcodes-bootstrap
4423 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4424 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4425 maybe-all-stagefeedback-opcodes:
4426 maybe-clean-stagefeedback-opcodes:
4427 @if opcodes-bootstrap
4428 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4429 all-stagefeedback: all-stagefeedback-opcodes
4430 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4431 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4432 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4433 @r=`${PWD_COMMAND}`; export r; \
4434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4435 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4436 $(HOST_EXPORTS) \
4437 $(POSTSTAGE1_HOST_EXPORTS) \
4438 cd $(HOST_SUBDIR)/opcodes && \
4439 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4440 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4441 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4442 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4443 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4444 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4445 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4446 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4447 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4448 $(TARGET-stagefeedback-opcodes)
4450 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4451 clean-stagefeedback: clean-stagefeedback-opcodes
4452 clean-stagefeedback-opcodes:
4453 @if [ $(current_stage) = stagefeedback ]; then \
4454 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4455 else \
4456 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4457 $(MAKE) stagefeedback-start; \
4458 fi; \
4459 cd $(HOST_SUBDIR)/opcodes && \
4460 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4461 @endif opcodes-bootstrap
4467 .PHONY: check-opcodes maybe-check-opcodes
4468 maybe-check-opcodes:
4469 @if opcodes
4470 maybe-check-opcodes: check-opcodes
4472 check-opcodes:
4473 @: $(MAKE); $(unstage)
4474 @r=`${PWD_COMMAND}`; export r; \
4475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4476 $(HOST_EXPORTS) \
4477 (cd $(HOST_SUBDIR)/opcodes && \
4478 $(MAKE) $(FLAGS_TO_PASS) check)
4480 @endif opcodes
4482 .PHONY: install-opcodes maybe-install-opcodes
4483 maybe-install-opcodes:
4484 @if opcodes
4485 maybe-install-opcodes: install-opcodes
4487 install-opcodes: installdirs
4488 @: $(MAKE); $(unstage)
4489 @r=`${PWD_COMMAND}`; export r; \
4490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4491 $(HOST_EXPORTS) \
4492 (cd $(HOST_SUBDIR)/opcodes && \
4493 $(MAKE) $(FLAGS_TO_PASS) install)
4495 @endif opcodes
4497 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
4498 maybe-install-strip-opcodes:
4499 @if opcodes
4500 maybe-install-strip-opcodes: install-strip-opcodes
4502 install-strip-opcodes: installdirs
4503 @: $(MAKE); $(unstage)
4504 @r=`${PWD_COMMAND}`; export r; \
4505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4506 $(HOST_EXPORTS) \
4507 (cd $(HOST_SUBDIR)/opcodes && \
4508 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4510 @endif opcodes
4512 # Other targets (info, dvi, pdf, etc.)
4514 .PHONY: maybe-info-opcodes info-opcodes
4515 maybe-info-opcodes:
4516 @if opcodes
4517 maybe-info-opcodes: info-opcodes
4519 info-opcodes: \
4520 configure-opcodes
4521 @[ -f ./opcodes/Makefile ] || exit 0; \
4522 r=`${PWD_COMMAND}`; export r; \
4523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4524 $(HOST_EXPORTS) \
4525 for flag in $(EXTRA_HOST_FLAGS) ; do \
4526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4527 done; \
4528 echo "Doing info in opcodes" ; \
4529 (cd $(HOST_SUBDIR)/opcodes && \
4530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4532 "RANLIB=$${RANLIB}" \
4533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4534 info) \
4535 || exit 1
4537 @endif opcodes
4539 .PHONY: maybe-dvi-opcodes dvi-opcodes
4540 maybe-dvi-opcodes:
4541 @if opcodes
4542 maybe-dvi-opcodes: dvi-opcodes
4544 dvi-opcodes: \
4545 configure-opcodes
4546 @[ -f ./opcodes/Makefile ] || exit 0; \
4547 r=`${PWD_COMMAND}`; export r; \
4548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4549 $(HOST_EXPORTS) \
4550 for flag in $(EXTRA_HOST_FLAGS) ; do \
4551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4552 done; \
4553 echo "Doing dvi in opcodes" ; \
4554 (cd $(HOST_SUBDIR)/opcodes && \
4555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4557 "RANLIB=$${RANLIB}" \
4558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4559 dvi) \
4560 || exit 1
4562 @endif opcodes
4564 .PHONY: maybe-pdf-opcodes pdf-opcodes
4565 maybe-pdf-opcodes:
4566 @if opcodes
4567 maybe-pdf-opcodes: pdf-opcodes
4569 pdf-opcodes: \
4570 configure-opcodes
4571 @[ -f ./opcodes/Makefile ] || exit 0; \
4572 r=`${PWD_COMMAND}`; export r; \
4573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4574 $(HOST_EXPORTS) \
4575 for flag in $(EXTRA_HOST_FLAGS) ; do \
4576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4577 done; \
4578 echo "Doing pdf in opcodes" ; \
4579 (cd $(HOST_SUBDIR)/opcodes && \
4580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4582 "RANLIB=$${RANLIB}" \
4583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4584 pdf) \
4585 || exit 1
4587 @endif opcodes
4589 .PHONY: maybe-html-opcodes html-opcodes
4590 maybe-html-opcodes:
4591 @if opcodes
4592 maybe-html-opcodes: html-opcodes
4594 html-opcodes: \
4595 configure-opcodes
4596 @[ -f ./opcodes/Makefile ] || exit 0; \
4597 r=`${PWD_COMMAND}`; export r; \
4598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4599 $(HOST_EXPORTS) \
4600 for flag in $(EXTRA_HOST_FLAGS) ; do \
4601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4602 done; \
4603 echo "Doing html in opcodes" ; \
4604 (cd $(HOST_SUBDIR)/opcodes && \
4605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4607 "RANLIB=$${RANLIB}" \
4608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4609 html) \
4610 || exit 1
4612 @endif opcodes
4614 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4615 maybe-TAGS-opcodes:
4616 @if opcodes
4617 maybe-TAGS-opcodes: TAGS-opcodes
4619 TAGS-opcodes: \
4620 configure-opcodes
4621 @[ -f ./opcodes/Makefile ] || exit 0; \
4622 r=`${PWD_COMMAND}`; export r; \
4623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4624 $(HOST_EXPORTS) \
4625 for flag in $(EXTRA_HOST_FLAGS) ; do \
4626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4627 done; \
4628 echo "Doing TAGS in opcodes" ; \
4629 (cd $(HOST_SUBDIR)/opcodes && \
4630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4632 "RANLIB=$${RANLIB}" \
4633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4634 TAGS) \
4635 || exit 1
4637 @endif opcodes
4639 .PHONY: maybe-install-info-opcodes install-info-opcodes
4640 maybe-install-info-opcodes:
4641 @if opcodes
4642 maybe-install-info-opcodes: install-info-opcodes
4644 install-info-opcodes: \
4645 configure-opcodes \
4646 info-opcodes
4647 @[ -f ./opcodes/Makefile ] || exit 0; \
4648 r=`${PWD_COMMAND}`; export r; \
4649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4650 $(HOST_EXPORTS) \
4651 for flag in $(EXTRA_HOST_FLAGS) ; do \
4652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4653 done; \
4654 echo "Doing install-info in opcodes" ; \
4655 (cd $(HOST_SUBDIR)/opcodes && \
4656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4658 "RANLIB=$${RANLIB}" \
4659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4660 install-info) \
4661 || exit 1
4663 @endif opcodes
4665 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
4666 maybe-install-pdf-opcodes:
4667 @if opcodes
4668 maybe-install-pdf-opcodes: install-pdf-opcodes
4670 install-pdf-opcodes: \
4671 configure-opcodes \
4672 pdf-opcodes
4673 @[ -f ./opcodes/Makefile ] || exit 0; \
4674 r=`${PWD_COMMAND}`; export r; \
4675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4676 $(HOST_EXPORTS) \
4677 for flag in $(EXTRA_HOST_FLAGS) ; do \
4678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4679 done; \
4680 echo "Doing install-pdf in opcodes" ; \
4681 (cd $(HOST_SUBDIR)/opcodes && \
4682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4684 "RANLIB=$${RANLIB}" \
4685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4686 install-pdf) \
4687 || exit 1
4689 @endif opcodes
4691 .PHONY: maybe-install-html-opcodes install-html-opcodes
4692 maybe-install-html-opcodes:
4693 @if opcodes
4694 maybe-install-html-opcodes: install-html-opcodes
4696 install-html-opcodes: \
4697 configure-opcodes \
4698 html-opcodes
4699 @[ -f ./opcodes/Makefile ] || exit 0; \
4700 r=`${PWD_COMMAND}`; export r; \
4701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4702 $(HOST_EXPORTS) \
4703 for flag in $(EXTRA_HOST_FLAGS) ; do \
4704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4705 done; \
4706 echo "Doing install-html in opcodes" ; \
4707 (cd $(HOST_SUBDIR)/opcodes && \
4708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4710 "RANLIB=$${RANLIB}" \
4711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4712 install-html) \
4713 || exit 1
4715 @endif opcodes
4717 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4718 maybe-installcheck-opcodes:
4719 @if opcodes
4720 maybe-installcheck-opcodes: installcheck-opcodes
4722 installcheck-opcodes: \
4723 configure-opcodes
4724 @[ -f ./opcodes/Makefile ] || exit 0; \
4725 r=`${PWD_COMMAND}`; export r; \
4726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4727 $(HOST_EXPORTS) \
4728 for flag in $(EXTRA_HOST_FLAGS) ; do \
4729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4730 done; \
4731 echo "Doing installcheck in opcodes" ; \
4732 (cd $(HOST_SUBDIR)/opcodes && \
4733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4735 "RANLIB=$${RANLIB}" \
4736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4737 installcheck) \
4738 || exit 1
4740 @endif opcodes
4742 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4743 maybe-mostlyclean-opcodes:
4744 @if opcodes
4745 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4747 mostlyclean-opcodes:
4748 @[ -f ./opcodes/Makefile ] || exit 0; \
4749 r=`${PWD_COMMAND}`; export r; \
4750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4751 $(HOST_EXPORTS) \
4752 for flag in $(EXTRA_HOST_FLAGS) ; do \
4753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4754 done; \
4755 echo "Doing mostlyclean in opcodes" ; \
4756 (cd $(HOST_SUBDIR)/opcodes && \
4757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4759 "RANLIB=$${RANLIB}" \
4760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4761 mostlyclean) \
4762 || exit 1
4764 @endif opcodes
4766 .PHONY: maybe-clean-opcodes clean-opcodes
4767 maybe-clean-opcodes:
4768 @if opcodes
4769 maybe-clean-opcodes: clean-opcodes
4771 clean-opcodes:
4772 @[ -f ./opcodes/Makefile ] || exit 0; \
4773 r=`${PWD_COMMAND}`; export r; \
4774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4775 $(HOST_EXPORTS) \
4776 for flag in $(EXTRA_HOST_FLAGS) ; do \
4777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4778 done; \
4779 echo "Doing clean in opcodes" ; \
4780 (cd $(HOST_SUBDIR)/opcodes && \
4781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4783 "RANLIB=$${RANLIB}" \
4784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4785 clean) \
4786 || exit 1
4788 @endif opcodes
4790 .PHONY: maybe-distclean-opcodes distclean-opcodes
4791 maybe-distclean-opcodes:
4792 @if opcodes
4793 maybe-distclean-opcodes: distclean-opcodes
4795 distclean-opcodes:
4796 @[ -f ./opcodes/Makefile ] || exit 0; \
4797 r=`${PWD_COMMAND}`; export r; \
4798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4799 $(HOST_EXPORTS) \
4800 for flag in $(EXTRA_HOST_FLAGS) ; do \
4801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4802 done; \
4803 echo "Doing distclean in opcodes" ; \
4804 (cd $(HOST_SUBDIR)/opcodes && \
4805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4807 "RANLIB=$${RANLIB}" \
4808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4809 distclean) \
4810 || exit 1
4812 @endif opcodes
4814 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4815 maybe-maintainer-clean-opcodes:
4816 @if opcodes
4817 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4819 maintainer-clean-opcodes:
4820 @[ -f ./opcodes/Makefile ] || exit 0; \
4821 r=`${PWD_COMMAND}`; export r; \
4822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4823 $(HOST_EXPORTS) \
4824 for flag in $(EXTRA_HOST_FLAGS) ; do \
4825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4826 done; \
4827 echo "Doing maintainer-clean in opcodes" ; \
4828 (cd $(HOST_SUBDIR)/opcodes && \
4829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4831 "RANLIB=$${RANLIB}" \
4832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4833 maintainer-clean) \
4834 || exit 1
4836 @endif opcodes
4840 .PHONY: configure-binutils maybe-configure-binutils
4841 maybe-configure-binutils:
4842 @if gcc-bootstrap
4843 configure-binutils: stage_current
4844 @endif gcc-bootstrap
4845 @if binutils
4846 maybe-configure-binutils: configure-binutils
4847 configure-binutils:
4848 @r=`${PWD_COMMAND}`; export r; \
4849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4850 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4851 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4852 $(HOST_EXPORTS) \
4853 echo Configuring in $(HOST_SUBDIR)/binutils; \
4854 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
4855 case $(srcdir) in \
4856 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4857 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4858 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4859 esac; \
4860 module_srcdir=binutils; \
4861 $(SHELL) \
4862 $$s/$$module_srcdir/configure \
4863 --srcdir=$${topdir}/$$module_srcdir \
4864 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4865 --target=${target_alias} \
4866 || exit 1
4867 @endif binutils
4871 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
4872 maybe-configure-stage1-binutils:
4873 @if binutils-bootstrap
4874 maybe-configure-stage1-binutils: configure-stage1-binutils
4875 configure-stage1-binutils:
4876 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4877 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4878 @r=`${PWD_COMMAND}`; export r; \
4879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4880 TFLAGS="$(STAGE1_TFLAGS)"; \
4881 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4882 $(HOST_EXPORTS) \
4883 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4884 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4885 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4886 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
4887 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4888 cd $(HOST_SUBDIR)/binutils || exit 1; \
4889 case $(srcdir) in \
4890 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4891 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4892 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4893 esac; \
4894 module_srcdir=binutils; \
4895 $(SHELL) $$s/$$module_srcdir/configure \
4896 --srcdir=$${topdir}/$$module_srcdir \
4897 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4898 --target=${target_alias} \
4900 $(STAGE1_CONFIGURE_FLAGS)
4901 @endif binutils-bootstrap
4903 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
4904 maybe-configure-stage2-binutils:
4905 @if binutils-bootstrap
4906 maybe-configure-stage2-binutils: configure-stage2-binutils
4907 configure-stage2-binutils:
4908 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4909 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4910 @r=`${PWD_COMMAND}`; export r; \
4911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4912 TFLAGS="$(STAGE2_TFLAGS)"; \
4913 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4914 $(HOST_EXPORTS) \
4915 $(POSTSTAGE1_HOST_EXPORTS) \
4916 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4917 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4918 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4919 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
4920 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4921 cd $(HOST_SUBDIR)/binutils || exit 1; \
4922 case $(srcdir) in \
4923 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4924 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4925 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4926 esac; \
4927 module_srcdir=binutils; \
4928 $(SHELL) $$s/$$module_srcdir/configure \
4929 --srcdir=$${topdir}/$$module_srcdir \
4930 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4931 --target=${target_alias} \
4932 --with-build-libsubdir=$(HOST_SUBDIR) \
4933 $(STAGE2_CONFIGURE_FLAGS)
4934 @endif binutils-bootstrap
4936 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
4937 maybe-configure-stage3-binutils:
4938 @if binutils-bootstrap
4939 maybe-configure-stage3-binutils: configure-stage3-binutils
4940 configure-stage3-binutils:
4941 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4942 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4943 @r=`${PWD_COMMAND}`; export r; \
4944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4945 TFLAGS="$(STAGE3_TFLAGS)"; \
4946 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4947 $(HOST_EXPORTS) \
4948 $(POSTSTAGE1_HOST_EXPORTS) \
4949 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4950 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4951 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4952 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
4953 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4954 cd $(HOST_SUBDIR)/binutils || exit 1; \
4955 case $(srcdir) in \
4956 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4957 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4958 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4959 esac; \
4960 module_srcdir=binutils; \
4961 $(SHELL) $$s/$$module_srcdir/configure \
4962 --srcdir=$${topdir}/$$module_srcdir \
4963 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4964 --target=${target_alias} \
4965 --with-build-libsubdir=$(HOST_SUBDIR) \
4966 $(STAGE3_CONFIGURE_FLAGS)
4967 @endif binutils-bootstrap
4969 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
4970 maybe-configure-stage4-binutils:
4971 @if binutils-bootstrap
4972 maybe-configure-stage4-binutils: configure-stage4-binutils
4973 configure-stage4-binutils:
4974 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4975 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4976 @r=`${PWD_COMMAND}`; export r; \
4977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4978 TFLAGS="$(STAGE4_TFLAGS)"; \
4979 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4980 $(HOST_EXPORTS) \
4981 $(POSTSTAGE1_HOST_EXPORTS) \
4982 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4983 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4984 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4985 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
4986 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4987 cd $(HOST_SUBDIR)/binutils || exit 1; \
4988 case $(srcdir) in \
4989 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4990 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4991 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4992 esac; \
4993 module_srcdir=binutils; \
4994 $(SHELL) $$s/$$module_srcdir/configure \
4995 --srcdir=$${topdir}/$$module_srcdir \
4996 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4997 --target=${target_alias} \
4998 --with-build-libsubdir=$(HOST_SUBDIR) \
4999 $(STAGE4_CONFIGURE_FLAGS)
5000 @endif binutils-bootstrap
5002 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5003 maybe-configure-stageprofile-binutils:
5004 @if binutils-bootstrap
5005 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5006 configure-stageprofile-binutils:
5007 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5008 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5009 @r=`${PWD_COMMAND}`; export r; \
5010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5011 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5012 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5013 $(HOST_EXPORTS) \
5014 $(POSTSTAGE1_HOST_EXPORTS) \
5015 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
5016 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
5017 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
5018 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
5019 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5020 cd $(HOST_SUBDIR)/binutils || exit 1; \
5021 case $(srcdir) in \
5022 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5023 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5024 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5025 esac; \
5026 module_srcdir=binutils; \
5027 $(SHELL) $$s/$$module_srcdir/configure \
5028 --srcdir=$${topdir}/$$module_srcdir \
5029 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5030 --target=${target_alias} \
5031 --with-build-libsubdir=$(HOST_SUBDIR) \
5032 $(STAGEprofile_CONFIGURE_FLAGS)
5033 @endif binutils-bootstrap
5035 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5036 maybe-configure-stagefeedback-binutils:
5037 @if binutils-bootstrap
5038 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5039 configure-stagefeedback-binutils:
5040 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5041 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5042 @r=`${PWD_COMMAND}`; export r; \
5043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5044 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5045 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5046 $(HOST_EXPORTS) \
5047 $(POSTSTAGE1_HOST_EXPORTS) \
5048 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
5049 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
5050 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
5051 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
5052 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5053 cd $(HOST_SUBDIR)/binutils || exit 1; \
5054 case $(srcdir) in \
5055 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5056 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5057 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5058 esac; \
5059 module_srcdir=binutils; \
5060 $(SHELL) $$s/$$module_srcdir/configure \
5061 --srcdir=$${topdir}/$$module_srcdir \
5062 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5063 --target=${target_alias} \
5064 --with-build-libsubdir=$(HOST_SUBDIR) \
5065 $(STAGEfeedback_CONFIGURE_FLAGS)
5066 @endif binutils-bootstrap
5072 .PHONY: all-binutils maybe-all-binutils
5073 maybe-all-binutils:
5074 @if gcc-bootstrap
5075 all-binutils: stage_current
5076 @endif gcc-bootstrap
5077 @if binutils
5078 TARGET-binutils=all
5079 maybe-all-binutils: all-binutils
5080 all-binutils: configure-binutils
5081 @r=`${PWD_COMMAND}`; export r; \
5082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5083 $(HOST_EXPORTS) \
5084 (cd $(HOST_SUBDIR)/binutils && \
5085 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5086 $(TARGET-binutils))
5087 @endif binutils
5091 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5092 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5093 maybe-all-stage1-binutils:
5094 maybe-clean-stage1-binutils:
5095 @if binutils-bootstrap
5096 maybe-all-stage1-binutils: all-stage1-binutils
5097 all-stage1: all-stage1-binutils
5098 TARGET-stage1-binutils = $(TARGET-binutils)
5099 all-stage1-binutils: configure-stage1-binutils
5100 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5101 @r=`${PWD_COMMAND}`; export r; \
5102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5103 TFLAGS="$(STAGE1_TFLAGS)"; \
5104 $(HOST_EXPORTS) \
5105 cd $(HOST_SUBDIR)/binutils && \
5106 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5107 CFLAGS="$(STAGE1_CFLAGS)" \
5108 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
5109 LIBCFLAGS="$(LIBCFLAGS)" \
5110 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5111 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5112 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5113 $(EXTRA_HOST_FLAGS) \
5114 $(STAGE1_FLAGS_TO_PASS) \
5115 TFLAGS="$(STAGE1_TFLAGS)" \
5116 $(TARGET-stage1-binutils)
5118 maybe-clean-stage1-binutils: clean-stage1-binutils
5119 clean-stage1: clean-stage1-binutils
5120 clean-stage1-binutils:
5121 @if [ $(current_stage) = stage1 ]; then \
5122 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5123 else \
5124 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
5125 $(MAKE) stage1-start; \
5126 fi; \
5127 cd $(HOST_SUBDIR)/binutils && \
5128 $(MAKE) $(EXTRA_HOST_FLAGS) \
5129 $(STAGE1_FLAGS_TO_PASS) clean
5130 @endif binutils-bootstrap
5133 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5134 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5135 maybe-all-stage2-binutils:
5136 maybe-clean-stage2-binutils:
5137 @if binutils-bootstrap
5138 maybe-all-stage2-binutils: all-stage2-binutils
5139 all-stage2: all-stage2-binutils
5140 TARGET-stage2-binutils = $(TARGET-binutils)
5141 all-stage2-binutils: configure-stage2-binutils
5142 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5143 @r=`${PWD_COMMAND}`; export r; \
5144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5145 TFLAGS="$(STAGE2_TFLAGS)"; \
5146 $(HOST_EXPORTS) \
5147 $(POSTSTAGE1_HOST_EXPORTS) \
5148 cd $(HOST_SUBDIR)/binutils && \
5149 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5150 CFLAGS="$(STAGE2_CFLAGS)" \
5151 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5152 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5153 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5154 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5155 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5156 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5157 TFLAGS="$(STAGE2_TFLAGS)" \
5158 $(TARGET-stage2-binutils)
5160 maybe-clean-stage2-binutils: clean-stage2-binutils
5161 clean-stage2: clean-stage2-binutils
5162 clean-stage2-binutils:
5163 @if [ $(current_stage) = stage2 ]; then \
5164 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5165 else \
5166 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
5167 $(MAKE) stage2-start; \
5168 fi; \
5169 cd $(HOST_SUBDIR)/binutils && \
5170 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5171 @endif binutils-bootstrap
5174 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5175 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5176 maybe-all-stage3-binutils:
5177 maybe-clean-stage3-binutils:
5178 @if binutils-bootstrap
5179 maybe-all-stage3-binutils: all-stage3-binutils
5180 all-stage3: all-stage3-binutils
5181 TARGET-stage3-binutils = $(TARGET-binutils)
5182 all-stage3-binutils: configure-stage3-binutils
5183 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5184 @r=`${PWD_COMMAND}`; export r; \
5185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5186 TFLAGS="$(STAGE3_TFLAGS)"; \
5187 $(HOST_EXPORTS) \
5188 $(POSTSTAGE1_HOST_EXPORTS) \
5189 cd $(HOST_SUBDIR)/binutils && \
5190 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5191 CFLAGS="$(STAGE3_CFLAGS)" \
5192 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5193 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5194 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5195 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5196 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5197 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5198 TFLAGS="$(STAGE3_TFLAGS)" \
5199 $(TARGET-stage3-binutils)
5201 maybe-clean-stage3-binutils: clean-stage3-binutils
5202 clean-stage3: clean-stage3-binutils
5203 clean-stage3-binutils:
5204 @if [ $(current_stage) = stage3 ]; then \
5205 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5206 else \
5207 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5208 $(MAKE) stage3-start; \
5209 fi; \
5210 cd $(HOST_SUBDIR)/binutils && \
5211 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5212 @endif binutils-bootstrap
5215 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5216 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5217 maybe-all-stage4-binutils:
5218 maybe-clean-stage4-binutils:
5219 @if binutils-bootstrap
5220 maybe-all-stage4-binutils: all-stage4-binutils
5221 all-stage4: all-stage4-binutils
5222 TARGET-stage4-binutils = $(TARGET-binutils)
5223 all-stage4-binutils: configure-stage4-binutils
5224 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5225 @r=`${PWD_COMMAND}`; export r; \
5226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5227 TFLAGS="$(STAGE4_TFLAGS)"; \
5228 $(HOST_EXPORTS) \
5229 $(POSTSTAGE1_HOST_EXPORTS) \
5230 cd $(HOST_SUBDIR)/binutils && \
5231 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5232 CFLAGS="$(STAGE4_CFLAGS)" \
5233 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5234 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5235 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5236 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5237 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5238 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5239 TFLAGS="$(STAGE4_TFLAGS)" \
5240 $(TARGET-stage4-binutils)
5242 maybe-clean-stage4-binutils: clean-stage4-binutils
5243 clean-stage4: clean-stage4-binutils
5244 clean-stage4-binutils:
5245 @if [ $(current_stage) = stage4 ]; then \
5246 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5247 else \
5248 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5249 $(MAKE) stage4-start; \
5250 fi; \
5251 cd $(HOST_SUBDIR)/binutils && \
5252 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5253 @endif binutils-bootstrap
5256 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5257 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5258 maybe-all-stageprofile-binutils:
5259 maybe-clean-stageprofile-binutils:
5260 @if binutils-bootstrap
5261 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5262 all-stageprofile: all-stageprofile-binutils
5263 TARGET-stageprofile-binutils = $(TARGET-binutils)
5264 all-stageprofile-binutils: configure-stageprofile-binutils
5265 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5266 @r=`${PWD_COMMAND}`; export r; \
5267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5268 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5269 $(HOST_EXPORTS) \
5270 $(POSTSTAGE1_HOST_EXPORTS) \
5271 cd $(HOST_SUBDIR)/binutils && \
5272 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5273 CFLAGS="$(STAGEprofile_CFLAGS)" \
5274 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5275 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5276 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5277 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5278 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5279 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5280 TFLAGS="$(STAGEprofile_TFLAGS)" \
5281 $(TARGET-stageprofile-binutils)
5283 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5284 clean-stageprofile: clean-stageprofile-binutils
5285 clean-stageprofile-binutils:
5286 @if [ $(current_stage) = stageprofile ]; then \
5287 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5288 else \
5289 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5290 $(MAKE) stageprofile-start; \
5291 fi; \
5292 cd $(HOST_SUBDIR)/binutils && \
5293 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5294 @endif binutils-bootstrap
5297 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5298 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5299 maybe-all-stagefeedback-binutils:
5300 maybe-clean-stagefeedback-binutils:
5301 @if binutils-bootstrap
5302 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5303 all-stagefeedback: all-stagefeedback-binutils
5304 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5305 all-stagefeedback-binutils: configure-stagefeedback-binutils
5306 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5307 @r=`${PWD_COMMAND}`; export r; \
5308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5309 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5310 $(HOST_EXPORTS) \
5311 $(POSTSTAGE1_HOST_EXPORTS) \
5312 cd $(HOST_SUBDIR)/binutils && \
5313 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5314 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5315 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5316 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5317 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5318 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5319 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5320 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5321 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5322 $(TARGET-stagefeedback-binutils)
5324 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5325 clean-stagefeedback: clean-stagefeedback-binutils
5326 clean-stagefeedback-binutils:
5327 @if [ $(current_stage) = stagefeedback ]; then \
5328 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5329 else \
5330 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
5331 $(MAKE) stagefeedback-start; \
5332 fi; \
5333 cd $(HOST_SUBDIR)/binutils && \
5334 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5335 @endif binutils-bootstrap
5341 .PHONY: check-binutils maybe-check-binutils
5342 maybe-check-binutils:
5343 @if binutils
5344 maybe-check-binutils: check-binutils
5346 check-binutils:
5347 @: $(MAKE); $(unstage)
5348 @r=`${PWD_COMMAND}`; export r; \
5349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5350 $(HOST_EXPORTS) \
5351 (cd $(HOST_SUBDIR)/binutils && \
5352 $(MAKE) $(FLAGS_TO_PASS) check)
5354 @endif binutils
5356 .PHONY: install-binutils maybe-install-binutils
5357 maybe-install-binutils:
5358 @if binutils
5359 maybe-install-binutils: install-binutils
5361 install-binutils: installdirs
5362 @: $(MAKE); $(unstage)
5363 @r=`${PWD_COMMAND}`; export r; \
5364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5365 $(HOST_EXPORTS) \
5366 (cd $(HOST_SUBDIR)/binutils && \
5367 $(MAKE) $(FLAGS_TO_PASS) install)
5369 @endif binutils
5371 .PHONY: install-strip-binutils maybe-install-strip-binutils
5372 maybe-install-strip-binutils:
5373 @if binutils
5374 maybe-install-strip-binutils: install-strip-binutils
5376 install-strip-binutils: installdirs
5377 @: $(MAKE); $(unstage)
5378 @r=`${PWD_COMMAND}`; export r; \
5379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5380 $(HOST_EXPORTS) \
5381 (cd $(HOST_SUBDIR)/binutils && \
5382 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5384 @endif binutils
5386 # Other targets (info, dvi, pdf, etc.)
5388 .PHONY: maybe-info-binutils info-binutils
5389 maybe-info-binutils:
5390 @if binutils
5391 maybe-info-binutils: info-binutils
5393 info-binutils: \
5394 configure-binutils
5395 @[ -f ./binutils/Makefile ] || exit 0; \
5396 r=`${PWD_COMMAND}`; export r; \
5397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5398 $(HOST_EXPORTS) \
5399 for flag in $(EXTRA_HOST_FLAGS) ; do \
5400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5401 done; \
5402 echo "Doing info in binutils" ; \
5403 (cd $(HOST_SUBDIR)/binutils && \
5404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5406 "RANLIB=$${RANLIB}" \
5407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5408 info) \
5409 || exit 1
5411 @endif binutils
5413 .PHONY: maybe-dvi-binutils dvi-binutils
5414 maybe-dvi-binutils:
5415 @if binutils
5416 maybe-dvi-binutils: dvi-binutils
5418 dvi-binutils: \
5419 configure-binutils
5420 @[ -f ./binutils/Makefile ] || exit 0; \
5421 r=`${PWD_COMMAND}`; export r; \
5422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5423 $(HOST_EXPORTS) \
5424 for flag in $(EXTRA_HOST_FLAGS) ; do \
5425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5426 done; \
5427 echo "Doing dvi in binutils" ; \
5428 (cd $(HOST_SUBDIR)/binutils && \
5429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5431 "RANLIB=$${RANLIB}" \
5432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5433 dvi) \
5434 || exit 1
5436 @endif binutils
5438 .PHONY: maybe-pdf-binutils pdf-binutils
5439 maybe-pdf-binutils:
5440 @if binutils
5441 maybe-pdf-binutils: pdf-binutils
5443 pdf-binutils: \
5444 configure-binutils
5445 @[ -f ./binutils/Makefile ] || exit 0; \
5446 r=`${PWD_COMMAND}`; export r; \
5447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5448 $(HOST_EXPORTS) \
5449 for flag in $(EXTRA_HOST_FLAGS) ; do \
5450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5451 done; \
5452 echo "Doing pdf in binutils" ; \
5453 (cd $(HOST_SUBDIR)/binutils && \
5454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5456 "RANLIB=$${RANLIB}" \
5457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5458 pdf) \
5459 || exit 1
5461 @endif binutils
5463 .PHONY: maybe-html-binutils html-binutils
5464 maybe-html-binutils:
5465 @if binutils
5466 maybe-html-binutils: html-binutils
5468 html-binutils: \
5469 configure-binutils
5470 @[ -f ./binutils/Makefile ] || exit 0; \
5471 r=`${PWD_COMMAND}`; export r; \
5472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5473 $(HOST_EXPORTS) \
5474 for flag in $(EXTRA_HOST_FLAGS) ; do \
5475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5476 done; \
5477 echo "Doing html in binutils" ; \
5478 (cd $(HOST_SUBDIR)/binutils && \
5479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5481 "RANLIB=$${RANLIB}" \
5482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5483 html) \
5484 || exit 1
5486 @endif binutils
5488 .PHONY: maybe-TAGS-binutils TAGS-binutils
5489 maybe-TAGS-binutils:
5490 @if binutils
5491 maybe-TAGS-binutils: TAGS-binutils
5493 TAGS-binutils: \
5494 configure-binutils
5495 @[ -f ./binutils/Makefile ] || exit 0; \
5496 r=`${PWD_COMMAND}`; export r; \
5497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5498 $(HOST_EXPORTS) \
5499 for flag in $(EXTRA_HOST_FLAGS) ; do \
5500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5501 done; \
5502 echo "Doing TAGS in binutils" ; \
5503 (cd $(HOST_SUBDIR)/binutils && \
5504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5506 "RANLIB=$${RANLIB}" \
5507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5508 TAGS) \
5509 || exit 1
5511 @endif binutils
5513 .PHONY: maybe-install-info-binutils install-info-binutils
5514 maybe-install-info-binutils:
5515 @if binutils
5516 maybe-install-info-binutils: install-info-binutils
5518 install-info-binutils: \
5519 configure-binutils \
5520 info-binutils
5521 @[ -f ./binutils/Makefile ] || exit 0; \
5522 r=`${PWD_COMMAND}`; export r; \
5523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5524 $(HOST_EXPORTS) \
5525 for flag in $(EXTRA_HOST_FLAGS) ; do \
5526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5527 done; \
5528 echo "Doing install-info in binutils" ; \
5529 (cd $(HOST_SUBDIR)/binutils && \
5530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5532 "RANLIB=$${RANLIB}" \
5533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5534 install-info) \
5535 || exit 1
5537 @endif binutils
5539 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
5540 maybe-install-pdf-binutils:
5541 @if binutils
5542 maybe-install-pdf-binutils: install-pdf-binutils
5544 install-pdf-binutils: \
5545 configure-binutils \
5546 pdf-binutils
5547 @[ -f ./binutils/Makefile ] || exit 0; \
5548 r=`${PWD_COMMAND}`; export r; \
5549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5550 $(HOST_EXPORTS) \
5551 for flag in $(EXTRA_HOST_FLAGS) ; do \
5552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5553 done; \
5554 echo "Doing install-pdf in binutils" ; \
5555 (cd $(HOST_SUBDIR)/binutils && \
5556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5558 "RANLIB=$${RANLIB}" \
5559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5560 install-pdf) \
5561 || exit 1
5563 @endif binutils
5565 .PHONY: maybe-install-html-binutils install-html-binutils
5566 maybe-install-html-binutils:
5567 @if binutils
5568 maybe-install-html-binutils: install-html-binutils
5570 install-html-binutils: \
5571 configure-binutils \
5572 html-binutils
5573 @[ -f ./binutils/Makefile ] || exit 0; \
5574 r=`${PWD_COMMAND}`; export r; \
5575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5576 $(HOST_EXPORTS) \
5577 for flag in $(EXTRA_HOST_FLAGS) ; do \
5578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5579 done; \
5580 echo "Doing install-html in binutils" ; \
5581 (cd $(HOST_SUBDIR)/binutils && \
5582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5584 "RANLIB=$${RANLIB}" \
5585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5586 install-html) \
5587 || exit 1
5589 @endif binutils
5591 .PHONY: maybe-installcheck-binutils installcheck-binutils
5592 maybe-installcheck-binutils:
5593 @if binutils
5594 maybe-installcheck-binutils: installcheck-binutils
5596 installcheck-binutils: \
5597 configure-binutils
5598 @[ -f ./binutils/Makefile ] || exit 0; \
5599 r=`${PWD_COMMAND}`; export r; \
5600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5601 $(HOST_EXPORTS) \
5602 for flag in $(EXTRA_HOST_FLAGS) ; do \
5603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5604 done; \
5605 echo "Doing installcheck in binutils" ; \
5606 (cd $(HOST_SUBDIR)/binutils && \
5607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5609 "RANLIB=$${RANLIB}" \
5610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5611 installcheck) \
5612 || exit 1
5614 @endif binutils
5616 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5617 maybe-mostlyclean-binutils:
5618 @if binutils
5619 maybe-mostlyclean-binutils: mostlyclean-binutils
5621 mostlyclean-binutils:
5622 @[ -f ./binutils/Makefile ] || exit 0; \
5623 r=`${PWD_COMMAND}`; export r; \
5624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5625 $(HOST_EXPORTS) \
5626 for flag in $(EXTRA_HOST_FLAGS) ; do \
5627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5628 done; \
5629 echo "Doing mostlyclean in binutils" ; \
5630 (cd $(HOST_SUBDIR)/binutils && \
5631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5633 "RANLIB=$${RANLIB}" \
5634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5635 mostlyclean) \
5636 || exit 1
5638 @endif binutils
5640 .PHONY: maybe-clean-binutils clean-binutils
5641 maybe-clean-binutils:
5642 @if binutils
5643 maybe-clean-binutils: clean-binutils
5645 clean-binutils:
5646 @[ -f ./binutils/Makefile ] || exit 0; \
5647 r=`${PWD_COMMAND}`; export r; \
5648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5649 $(HOST_EXPORTS) \
5650 for flag in $(EXTRA_HOST_FLAGS) ; do \
5651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5652 done; \
5653 echo "Doing clean in binutils" ; \
5654 (cd $(HOST_SUBDIR)/binutils && \
5655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5657 "RANLIB=$${RANLIB}" \
5658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5659 clean) \
5660 || exit 1
5662 @endif binutils
5664 .PHONY: maybe-distclean-binutils distclean-binutils
5665 maybe-distclean-binutils:
5666 @if binutils
5667 maybe-distclean-binutils: distclean-binutils
5669 distclean-binutils:
5670 @[ -f ./binutils/Makefile ] || exit 0; \
5671 r=`${PWD_COMMAND}`; export r; \
5672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5673 $(HOST_EXPORTS) \
5674 for flag in $(EXTRA_HOST_FLAGS) ; do \
5675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5676 done; \
5677 echo "Doing distclean in binutils" ; \
5678 (cd $(HOST_SUBDIR)/binutils && \
5679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5681 "RANLIB=$${RANLIB}" \
5682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5683 distclean) \
5684 || exit 1
5686 @endif binutils
5688 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5689 maybe-maintainer-clean-binutils:
5690 @if binutils
5691 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5693 maintainer-clean-binutils:
5694 @[ -f ./binutils/Makefile ] || exit 0; \
5695 r=`${PWD_COMMAND}`; export r; \
5696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5697 $(HOST_EXPORTS) \
5698 for flag in $(EXTRA_HOST_FLAGS) ; do \
5699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5700 done; \
5701 echo "Doing maintainer-clean in binutils" ; \
5702 (cd $(HOST_SUBDIR)/binutils && \
5703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5705 "RANLIB=$${RANLIB}" \
5706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5707 maintainer-clean) \
5708 || exit 1
5710 @endif binutils
5714 .PHONY: configure-bison maybe-configure-bison
5715 maybe-configure-bison:
5716 @if gcc-bootstrap
5717 configure-bison: stage_current
5718 @endif gcc-bootstrap
5719 @if bison
5720 maybe-configure-bison: configure-bison
5721 configure-bison:
5722 @: $(MAKE); $(unstage)
5723 @r=`${PWD_COMMAND}`; export r; \
5724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5725 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5726 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5727 $(HOST_EXPORTS) \
5728 echo Configuring in $(HOST_SUBDIR)/bison; \
5729 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5730 case $(srcdir) in \
5731 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5732 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5733 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5734 esac; \
5735 module_srcdir=bison; \
5736 $(SHELL) \
5737 $$s/$$module_srcdir/configure \
5738 --srcdir=$${topdir}/$$module_srcdir \
5739 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5740 --target=${target_alias} \
5741 || exit 1
5742 @endif bison
5748 .PHONY: all-bison maybe-all-bison
5749 maybe-all-bison:
5750 @if gcc-bootstrap
5751 all-bison: stage_current
5752 @endif gcc-bootstrap
5753 @if bison
5754 TARGET-bison=all
5755 maybe-all-bison: all-bison
5756 all-bison: configure-bison
5757 @: $(MAKE); $(unstage)
5758 @r=`${PWD_COMMAND}`; export r; \
5759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5760 $(HOST_EXPORTS) \
5761 (cd $(HOST_SUBDIR)/bison && \
5762 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5763 $(TARGET-bison))
5764 @endif bison
5769 .PHONY: check-bison maybe-check-bison
5770 maybe-check-bison:
5771 @if bison
5772 maybe-check-bison: check-bison
5774 # This module is only tested in a native toolchain.
5775 check-bison:
5776 @: $(MAKE); $(unstage)
5777 @if [ '$(host)' = '$(target)' ] ; then \
5778 r=`${PWD_COMMAND}`; export r; \
5779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5780 $(HOST_EXPORTS) \
5781 (cd $(HOST_SUBDIR)/bison && \
5782 $(MAKE) $(FLAGS_TO_PASS) check); \
5785 @endif bison
5787 .PHONY: install-bison maybe-install-bison
5788 maybe-install-bison:
5789 @if bison
5790 maybe-install-bison: install-bison
5792 install-bison: installdirs
5793 @: $(MAKE); $(unstage)
5794 @r=`${PWD_COMMAND}`; export r; \
5795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5796 $(HOST_EXPORTS) \
5797 (cd $(HOST_SUBDIR)/bison && \
5798 $(MAKE) $(FLAGS_TO_PASS) install)
5800 @endif bison
5802 .PHONY: install-strip-bison maybe-install-strip-bison
5803 maybe-install-strip-bison:
5804 @if bison
5805 maybe-install-strip-bison: install-strip-bison
5807 install-strip-bison: installdirs
5808 @: $(MAKE); $(unstage)
5809 @r=`${PWD_COMMAND}`; export r; \
5810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5811 $(HOST_EXPORTS) \
5812 (cd $(HOST_SUBDIR)/bison && \
5813 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5815 @endif bison
5817 # Other targets (info, dvi, pdf, etc.)
5819 .PHONY: maybe-info-bison info-bison
5820 maybe-info-bison:
5821 @if bison
5822 maybe-info-bison: info-bison
5824 info-bison: \
5825 configure-bison
5826 @: $(MAKE); $(unstage)
5827 @[ -f ./bison/Makefile ] || exit 0; \
5828 r=`${PWD_COMMAND}`; export r; \
5829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5830 $(HOST_EXPORTS) \
5831 for flag in $(EXTRA_HOST_FLAGS) ; do \
5832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5833 done; \
5834 echo "Doing info in bison" ; \
5835 (cd $(HOST_SUBDIR)/bison && \
5836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5838 "RANLIB=$${RANLIB}" \
5839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5840 info) \
5841 || exit 1
5843 @endif bison
5845 .PHONY: maybe-dvi-bison dvi-bison
5846 maybe-dvi-bison:
5847 @if bison
5848 maybe-dvi-bison: dvi-bison
5850 dvi-bison: \
5851 configure-bison
5852 @: $(MAKE); $(unstage)
5853 @[ -f ./bison/Makefile ] || exit 0; \
5854 r=`${PWD_COMMAND}`; export r; \
5855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5856 $(HOST_EXPORTS) \
5857 for flag in $(EXTRA_HOST_FLAGS) ; do \
5858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5859 done; \
5860 echo "Doing dvi in bison" ; \
5861 (cd $(HOST_SUBDIR)/bison && \
5862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5864 "RANLIB=$${RANLIB}" \
5865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5866 dvi) \
5867 || exit 1
5869 @endif bison
5871 .PHONY: maybe-pdf-bison pdf-bison
5872 maybe-pdf-bison:
5873 @if bison
5874 maybe-pdf-bison: pdf-bison
5876 pdf-bison: \
5877 configure-bison
5878 @: $(MAKE); $(unstage)
5879 @[ -f ./bison/Makefile ] || exit 0; \
5880 r=`${PWD_COMMAND}`; export r; \
5881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5882 $(HOST_EXPORTS) \
5883 for flag in $(EXTRA_HOST_FLAGS) ; do \
5884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5885 done; \
5886 echo "Doing pdf in bison" ; \
5887 (cd $(HOST_SUBDIR)/bison && \
5888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5890 "RANLIB=$${RANLIB}" \
5891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5892 pdf) \
5893 || exit 1
5895 @endif bison
5897 .PHONY: maybe-html-bison html-bison
5898 maybe-html-bison:
5899 @if bison
5900 maybe-html-bison: html-bison
5902 html-bison: \
5903 configure-bison
5904 @: $(MAKE); $(unstage)
5905 @[ -f ./bison/Makefile ] || exit 0; \
5906 r=`${PWD_COMMAND}`; export r; \
5907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5908 $(HOST_EXPORTS) \
5909 for flag in $(EXTRA_HOST_FLAGS) ; do \
5910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5911 done; \
5912 echo "Doing html in bison" ; \
5913 (cd $(HOST_SUBDIR)/bison && \
5914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5916 "RANLIB=$${RANLIB}" \
5917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5918 html) \
5919 || exit 1
5921 @endif bison
5923 .PHONY: maybe-TAGS-bison TAGS-bison
5924 maybe-TAGS-bison:
5925 @if bison
5926 maybe-TAGS-bison: TAGS-bison
5928 TAGS-bison: \
5929 configure-bison
5930 @: $(MAKE); $(unstage)
5931 @[ -f ./bison/Makefile ] || exit 0; \
5932 r=`${PWD_COMMAND}`; export r; \
5933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5934 $(HOST_EXPORTS) \
5935 for flag in $(EXTRA_HOST_FLAGS) ; do \
5936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5937 done; \
5938 echo "Doing TAGS in bison" ; \
5939 (cd $(HOST_SUBDIR)/bison && \
5940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5942 "RANLIB=$${RANLIB}" \
5943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5944 TAGS) \
5945 || exit 1
5947 @endif bison
5949 .PHONY: maybe-install-info-bison install-info-bison
5950 maybe-install-info-bison:
5951 @if bison
5952 maybe-install-info-bison: install-info-bison
5954 install-info-bison: \
5955 configure-bison \
5956 info-bison
5957 @: $(MAKE); $(unstage)
5958 @[ -f ./bison/Makefile ] || exit 0; \
5959 r=`${PWD_COMMAND}`; export r; \
5960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5961 $(HOST_EXPORTS) \
5962 for flag in $(EXTRA_HOST_FLAGS) ; do \
5963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5964 done; \
5965 echo "Doing install-info in bison" ; \
5966 (cd $(HOST_SUBDIR)/bison && \
5967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5969 "RANLIB=$${RANLIB}" \
5970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5971 install-info) \
5972 || exit 1
5974 @endif bison
5976 .PHONY: maybe-install-pdf-bison install-pdf-bison
5977 maybe-install-pdf-bison:
5978 @if bison
5979 maybe-install-pdf-bison: install-pdf-bison
5981 install-pdf-bison: \
5982 configure-bison \
5983 pdf-bison
5984 @: $(MAKE); $(unstage)
5985 @[ -f ./bison/Makefile ] || exit 0; \
5986 r=`${PWD_COMMAND}`; export r; \
5987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5988 $(HOST_EXPORTS) \
5989 for flag in $(EXTRA_HOST_FLAGS) ; do \
5990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5991 done; \
5992 echo "Doing install-pdf in bison" ; \
5993 (cd $(HOST_SUBDIR)/bison && \
5994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5996 "RANLIB=$${RANLIB}" \
5997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5998 install-pdf) \
5999 || exit 1
6001 @endif bison
6003 .PHONY: maybe-install-html-bison install-html-bison
6004 maybe-install-html-bison:
6005 @if bison
6006 maybe-install-html-bison: install-html-bison
6008 install-html-bison: \
6009 configure-bison \
6010 html-bison
6011 @: $(MAKE); $(unstage)
6012 @[ -f ./bison/Makefile ] || exit 0; \
6013 r=`${PWD_COMMAND}`; export r; \
6014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6015 $(HOST_EXPORTS) \
6016 for flag in $(EXTRA_HOST_FLAGS) ; do \
6017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6018 done; \
6019 echo "Doing install-html in bison" ; \
6020 (cd $(HOST_SUBDIR)/bison && \
6021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6023 "RANLIB=$${RANLIB}" \
6024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6025 install-html) \
6026 || exit 1
6028 @endif bison
6030 .PHONY: maybe-installcheck-bison installcheck-bison
6031 maybe-installcheck-bison:
6032 @if bison
6033 maybe-installcheck-bison: installcheck-bison
6035 installcheck-bison: \
6036 configure-bison
6037 @: $(MAKE); $(unstage)
6038 @[ -f ./bison/Makefile ] || exit 0; \
6039 r=`${PWD_COMMAND}`; export r; \
6040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6041 $(HOST_EXPORTS) \
6042 for flag in $(EXTRA_HOST_FLAGS) ; do \
6043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6044 done; \
6045 echo "Doing installcheck in bison" ; \
6046 (cd $(HOST_SUBDIR)/bison && \
6047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6049 "RANLIB=$${RANLIB}" \
6050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6051 installcheck) \
6052 || exit 1
6054 @endif bison
6056 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6057 maybe-mostlyclean-bison:
6058 @if bison
6059 maybe-mostlyclean-bison: mostlyclean-bison
6061 mostlyclean-bison:
6062 @: $(MAKE); $(unstage)
6063 @[ -f ./bison/Makefile ] || exit 0; \
6064 r=`${PWD_COMMAND}`; export r; \
6065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6066 $(HOST_EXPORTS) \
6067 for flag in $(EXTRA_HOST_FLAGS) ; do \
6068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6069 done; \
6070 echo "Doing mostlyclean in bison" ; \
6071 (cd $(HOST_SUBDIR)/bison && \
6072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6074 "RANLIB=$${RANLIB}" \
6075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6076 mostlyclean) \
6077 || exit 1
6079 @endif bison
6081 .PHONY: maybe-clean-bison clean-bison
6082 maybe-clean-bison:
6083 @if bison
6084 maybe-clean-bison: clean-bison
6086 clean-bison:
6087 @: $(MAKE); $(unstage)
6088 @[ -f ./bison/Makefile ] || exit 0; \
6089 r=`${PWD_COMMAND}`; export r; \
6090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6091 $(HOST_EXPORTS) \
6092 for flag in $(EXTRA_HOST_FLAGS) ; do \
6093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6094 done; \
6095 echo "Doing clean in bison" ; \
6096 (cd $(HOST_SUBDIR)/bison && \
6097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6099 "RANLIB=$${RANLIB}" \
6100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6101 clean) \
6102 || exit 1
6104 @endif bison
6106 .PHONY: maybe-distclean-bison distclean-bison
6107 maybe-distclean-bison:
6108 @if bison
6109 maybe-distclean-bison: distclean-bison
6111 distclean-bison:
6112 @: $(MAKE); $(unstage)
6113 @[ -f ./bison/Makefile ] || exit 0; \
6114 r=`${PWD_COMMAND}`; export r; \
6115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6116 $(HOST_EXPORTS) \
6117 for flag in $(EXTRA_HOST_FLAGS) ; do \
6118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6119 done; \
6120 echo "Doing distclean in bison" ; \
6121 (cd $(HOST_SUBDIR)/bison && \
6122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6124 "RANLIB=$${RANLIB}" \
6125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6126 distclean) \
6127 || exit 1
6129 @endif bison
6131 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6132 maybe-maintainer-clean-bison:
6133 @if bison
6134 maybe-maintainer-clean-bison: maintainer-clean-bison
6136 maintainer-clean-bison:
6137 @: $(MAKE); $(unstage)
6138 @[ -f ./bison/Makefile ] || exit 0; \
6139 r=`${PWD_COMMAND}`; export r; \
6140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6141 $(HOST_EXPORTS) \
6142 for flag in $(EXTRA_HOST_FLAGS) ; do \
6143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6144 done; \
6145 echo "Doing maintainer-clean in bison" ; \
6146 (cd $(HOST_SUBDIR)/bison && \
6147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6149 "RANLIB=$${RANLIB}" \
6150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6151 maintainer-clean) \
6152 || exit 1
6154 @endif bison
6158 .PHONY: configure-cgen maybe-configure-cgen
6159 maybe-configure-cgen:
6160 @if gcc-bootstrap
6161 configure-cgen: stage_current
6162 @endif gcc-bootstrap
6163 @if cgen
6164 maybe-configure-cgen: configure-cgen
6165 configure-cgen:
6166 @: $(MAKE); $(unstage)
6167 @r=`${PWD_COMMAND}`; export r; \
6168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6169 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
6170 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \
6171 $(HOST_EXPORTS) \
6172 echo Configuring in $(HOST_SUBDIR)/cgen; \
6173 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
6174 case $(srcdir) in \
6175 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6176 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
6177 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6178 esac; \
6179 module_srcdir=cgen; \
6180 $(SHELL) \
6181 $$s/$$module_srcdir/configure \
6182 --srcdir=$${topdir}/$$module_srcdir \
6183 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6184 --target=${target_alias} \
6185 || exit 1
6186 @endif cgen
6192 .PHONY: all-cgen maybe-all-cgen
6193 maybe-all-cgen:
6194 @if gcc-bootstrap
6195 all-cgen: stage_current
6196 @endif gcc-bootstrap
6197 @if cgen
6198 TARGET-cgen=all
6199 maybe-all-cgen: all-cgen
6200 all-cgen: configure-cgen
6201 @: $(MAKE); $(unstage)
6202 @r=`${PWD_COMMAND}`; export r; \
6203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6204 $(HOST_EXPORTS) \
6205 (cd $(HOST_SUBDIR)/cgen && \
6206 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6207 $(TARGET-cgen))
6208 @endif cgen
6213 .PHONY: check-cgen maybe-check-cgen
6214 maybe-check-cgen:
6215 @if cgen
6216 maybe-check-cgen: check-cgen
6218 check-cgen:
6219 @: $(MAKE); $(unstage)
6220 @r=`${PWD_COMMAND}`; export r; \
6221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6222 $(HOST_EXPORTS) \
6223 (cd $(HOST_SUBDIR)/cgen && \
6224 $(MAKE) $(FLAGS_TO_PASS) check)
6226 @endif cgen
6228 .PHONY: install-cgen maybe-install-cgen
6229 maybe-install-cgen:
6230 @if cgen
6231 maybe-install-cgen: install-cgen
6233 install-cgen: installdirs
6234 @: $(MAKE); $(unstage)
6235 @r=`${PWD_COMMAND}`; export r; \
6236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6237 $(HOST_EXPORTS) \
6238 (cd $(HOST_SUBDIR)/cgen && \
6239 $(MAKE) $(FLAGS_TO_PASS) install)
6241 @endif cgen
6243 .PHONY: install-strip-cgen maybe-install-strip-cgen
6244 maybe-install-strip-cgen:
6245 @if cgen
6246 maybe-install-strip-cgen: install-strip-cgen
6248 install-strip-cgen: installdirs
6249 @: $(MAKE); $(unstage)
6250 @r=`${PWD_COMMAND}`; export r; \
6251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6252 $(HOST_EXPORTS) \
6253 (cd $(HOST_SUBDIR)/cgen && \
6254 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6256 @endif cgen
6258 # Other targets (info, dvi, pdf, etc.)
6260 .PHONY: maybe-info-cgen info-cgen
6261 maybe-info-cgen:
6262 @if cgen
6263 maybe-info-cgen: info-cgen
6265 info-cgen: \
6266 configure-cgen
6267 @: $(MAKE); $(unstage)
6268 @[ -f ./cgen/Makefile ] || exit 0; \
6269 r=`${PWD_COMMAND}`; export r; \
6270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6271 $(HOST_EXPORTS) \
6272 for flag in $(EXTRA_HOST_FLAGS) ; do \
6273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6274 done; \
6275 echo "Doing info in cgen" ; \
6276 (cd $(HOST_SUBDIR)/cgen && \
6277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6279 "RANLIB=$${RANLIB}" \
6280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6281 info) \
6282 || exit 1
6284 @endif cgen
6286 .PHONY: maybe-dvi-cgen dvi-cgen
6287 maybe-dvi-cgen:
6288 @if cgen
6289 maybe-dvi-cgen: dvi-cgen
6291 dvi-cgen: \
6292 configure-cgen
6293 @: $(MAKE); $(unstage)
6294 @[ -f ./cgen/Makefile ] || exit 0; \
6295 r=`${PWD_COMMAND}`; export r; \
6296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6297 $(HOST_EXPORTS) \
6298 for flag in $(EXTRA_HOST_FLAGS) ; do \
6299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6300 done; \
6301 echo "Doing dvi in cgen" ; \
6302 (cd $(HOST_SUBDIR)/cgen && \
6303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6305 "RANLIB=$${RANLIB}" \
6306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6307 dvi) \
6308 || exit 1
6310 @endif cgen
6312 .PHONY: maybe-pdf-cgen pdf-cgen
6313 maybe-pdf-cgen:
6314 @if cgen
6315 maybe-pdf-cgen: pdf-cgen
6317 pdf-cgen: \
6318 configure-cgen
6319 @: $(MAKE); $(unstage)
6320 @[ -f ./cgen/Makefile ] || exit 0; \
6321 r=`${PWD_COMMAND}`; export r; \
6322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6323 $(HOST_EXPORTS) \
6324 for flag in $(EXTRA_HOST_FLAGS) ; do \
6325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6326 done; \
6327 echo "Doing pdf in cgen" ; \
6328 (cd $(HOST_SUBDIR)/cgen && \
6329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6331 "RANLIB=$${RANLIB}" \
6332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6333 pdf) \
6334 || exit 1
6336 @endif cgen
6338 .PHONY: maybe-html-cgen html-cgen
6339 maybe-html-cgen:
6340 @if cgen
6341 maybe-html-cgen: html-cgen
6343 html-cgen: \
6344 configure-cgen
6345 @: $(MAKE); $(unstage)
6346 @[ -f ./cgen/Makefile ] || exit 0; \
6347 r=`${PWD_COMMAND}`; export r; \
6348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6349 $(HOST_EXPORTS) \
6350 for flag in $(EXTRA_HOST_FLAGS) ; do \
6351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6352 done; \
6353 echo "Doing html in cgen" ; \
6354 (cd $(HOST_SUBDIR)/cgen && \
6355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6357 "RANLIB=$${RANLIB}" \
6358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6359 html) \
6360 || exit 1
6362 @endif cgen
6364 .PHONY: maybe-TAGS-cgen TAGS-cgen
6365 maybe-TAGS-cgen:
6366 @if cgen
6367 maybe-TAGS-cgen: TAGS-cgen
6369 TAGS-cgen: \
6370 configure-cgen
6371 @: $(MAKE); $(unstage)
6372 @[ -f ./cgen/Makefile ] || exit 0; \
6373 r=`${PWD_COMMAND}`; export r; \
6374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6375 $(HOST_EXPORTS) \
6376 for flag in $(EXTRA_HOST_FLAGS) ; do \
6377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6378 done; \
6379 echo "Doing TAGS in cgen" ; \
6380 (cd $(HOST_SUBDIR)/cgen && \
6381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6383 "RANLIB=$${RANLIB}" \
6384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6385 TAGS) \
6386 || exit 1
6388 @endif cgen
6390 .PHONY: maybe-install-info-cgen install-info-cgen
6391 maybe-install-info-cgen:
6392 @if cgen
6393 maybe-install-info-cgen: install-info-cgen
6395 install-info-cgen: \
6396 configure-cgen \
6397 info-cgen
6398 @: $(MAKE); $(unstage)
6399 @[ -f ./cgen/Makefile ] || exit 0; \
6400 r=`${PWD_COMMAND}`; export r; \
6401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6402 $(HOST_EXPORTS) \
6403 for flag in $(EXTRA_HOST_FLAGS) ; do \
6404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6405 done; \
6406 echo "Doing install-info in cgen" ; \
6407 (cd $(HOST_SUBDIR)/cgen && \
6408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6410 "RANLIB=$${RANLIB}" \
6411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6412 install-info) \
6413 || exit 1
6415 @endif cgen
6417 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
6418 maybe-install-pdf-cgen:
6419 @if cgen
6420 maybe-install-pdf-cgen: install-pdf-cgen
6422 install-pdf-cgen: \
6423 configure-cgen \
6424 pdf-cgen
6425 @: $(MAKE); $(unstage)
6426 @[ -f ./cgen/Makefile ] || exit 0; \
6427 r=`${PWD_COMMAND}`; export r; \
6428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6429 $(HOST_EXPORTS) \
6430 for flag in $(EXTRA_HOST_FLAGS) ; do \
6431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6432 done; \
6433 echo "Doing install-pdf in cgen" ; \
6434 (cd $(HOST_SUBDIR)/cgen && \
6435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6437 "RANLIB=$${RANLIB}" \
6438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6439 install-pdf) \
6440 || exit 1
6442 @endif cgen
6444 .PHONY: maybe-install-html-cgen install-html-cgen
6445 maybe-install-html-cgen:
6446 @if cgen
6447 maybe-install-html-cgen: install-html-cgen
6449 install-html-cgen: \
6450 configure-cgen \
6451 html-cgen
6452 @: $(MAKE); $(unstage)
6453 @[ -f ./cgen/Makefile ] || exit 0; \
6454 r=`${PWD_COMMAND}`; export r; \
6455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6456 $(HOST_EXPORTS) \
6457 for flag in $(EXTRA_HOST_FLAGS) ; do \
6458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6459 done; \
6460 echo "Doing install-html in cgen" ; \
6461 (cd $(HOST_SUBDIR)/cgen && \
6462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6464 "RANLIB=$${RANLIB}" \
6465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6466 install-html) \
6467 || exit 1
6469 @endif cgen
6471 .PHONY: maybe-installcheck-cgen installcheck-cgen
6472 maybe-installcheck-cgen:
6473 @if cgen
6474 maybe-installcheck-cgen: installcheck-cgen
6476 installcheck-cgen: \
6477 configure-cgen
6478 @: $(MAKE); $(unstage)
6479 @[ -f ./cgen/Makefile ] || exit 0; \
6480 r=`${PWD_COMMAND}`; export r; \
6481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6482 $(HOST_EXPORTS) \
6483 for flag in $(EXTRA_HOST_FLAGS) ; do \
6484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6485 done; \
6486 echo "Doing installcheck in cgen" ; \
6487 (cd $(HOST_SUBDIR)/cgen && \
6488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6490 "RANLIB=$${RANLIB}" \
6491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6492 installcheck) \
6493 || exit 1
6495 @endif cgen
6497 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
6498 maybe-mostlyclean-cgen:
6499 @if cgen
6500 maybe-mostlyclean-cgen: mostlyclean-cgen
6502 mostlyclean-cgen:
6503 @: $(MAKE); $(unstage)
6504 @[ -f ./cgen/Makefile ] || exit 0; \
6505 r=`${PWD_COMMAND}`; export r; \
6506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6507 $(HOST_EXPORTS) \
6508 for flag in $(EXTRA_HOST_FLAGS) ; do \
6509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6510 done; \
6511 echo "Doing mostlyclean in cgen" ; \
6512 (cd $(HOST_SUBDIR)/cgen && \
6513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6515 "RANLIB=$${RANLIB}" \
6516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6517 mostlyclean) \
6518 || exit 1
6520 @endif cgen
6522 .PHONY: maybe-clean-cgen clean-cgen
6523 maybe-clean-cgen:
6524 @if cgen
6525 maybe-clean-cgen: clean-cgen
6527 clean-cgen:
6528 @: $(MAKE); $(unstage)
6529 @[ -f ./cgen/Makefile ] || exit 0; \
6530 r=`${PWD_COMMAND}`; export r; \
6531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6532 $(HOST_EXPORTS) \
6533 for flag in $(EXTRA_HOST_FLAGS) ; do \
6534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6535 done; \
6536 echo "Doing clean in cgen" ; \
6537 (cd $(HOST_SUBDIR)/cgen && \
6538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6540 "RANLIB=$${RANLIB}" \
6541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6542 clean) \
6543 || exit 1
6545 @endif cgen
6547 .PHONY: maybe-distclean-cgen distclean-cgen
6548 maybe-distclean-cgen:
6549 @if cgen
6550 maybe-distclean-cgen: distclean-cgen
6552 distclean-cgen:
6553 @: $(MAKE); $(unstage)
6554 @[ -f ./cgen/Makefile ] || exit 0; \
6555 r=`${PWD_COMMAND}`; export r; \
6556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6557 $(HOST_EXPORTS) \
6558 for flag in $(EXTRA_HOST_FLAGS) ; do \
6559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6560 done; \
6561 echo "Doing distclean in cgen" ; \
6562 (cd $(HOST_SUBDIR)/cgen && \
6563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6565 "RANLIB=$${RANLIB}" \
6566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6567 distclean) \
6568 || exit 1
6570 @endif cgen
6572 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
6573 maybe-maintainer-clean-cgen:
6574 @if cgen
6575 maybe-maintainer-clean-cgen: maintainer-clean-cgen
6577 maintainer-clean-cgen:
6578 @: $(MAKE); $(unstage)
6579 @[ -f ./cgen/Makefile ] || exit 0; \
6580 r=`${PWD_COMMAND}`; export r; \
6581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6582 $(HOST_EXPORTS) \
6583 for flag in $(EXTRA_HOST_FLAGS) ; do \
6584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6585 done; \
6586 echo "Doing maintainer-clean in cgen" ; \
6587 (cd $(HOST_SUBDIR)/cgen && \
6588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6590 "RANLIB=$${RANLIB}" \
6591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6592 maintainer-clean) \
6593 || exit 1
6595 @endif cgen
6599 .PHONY: configure-dejagnu maybe-configure-dejagnu
6600 maybe-configure-dejagnu:
6601 @if gcc-bootstrap
6602 configure-dejagnu: stage_current
6603 @endif gcc-bootstrap
6604 @if dejagnu
6605 maybe-configure-dejagnu: configure-dejagnu
6606 configure-dejagnu:
6607 @: $(MAKE); $(unstage)
6608 @r=`${PWD_COMMAND}`; export r; \
6609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6610 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6611 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6612 $(HOST_EXPORTS) \
6613 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6614 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6615 case $(srcdir) in \
6616 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6617 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6618 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6619 esac; \
6620 module_srcdir=dejagnu; \
6621 $(SHELL) \
6622 $$s/$$module_srcdir/configure \
6623 --srcdir=$${topdir}/$$module_srcdir \
6624 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6625 --target=${target_alias} \
6626 || exit 1
6627 @endif dejagnu
6633 .PHONY: all-dejagnu maybe-all-dejagnu
6634 maybe-all-dejagnu:
6635 @if gcc-bootstrap
6636 all-dejagnu: stage_current
6637 @endif gcc-bootstrap
6638 @if dejagnu
6639 TARGET-dejagnu=all
6640 maybe-all-dejagnu: all-dejagnu
6641 all-dejagnu: configure-dejagnu
6642 @: $(MAKE); $(unstage)
6643 @r=`${PWD_COMMAND}`; export r; \
6644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6645 $(HOST_EXPORTS) \
6646 (cd $(HOST_SUBDIR)/dejagnu && \
6647 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6648 $(TARGET-dejagnu))
6649 @endif dejagnu
6654 .PHONY: check-dejagnu maybe-check-dejagnu
6655 maybe-check-dejagnu:
6656 @if dejagnu
6657 maybe-check-dejagnu: check-dejagnu
6659 check-dejagnu:
6660 @: $(MAKE); $(unstage)
6661 @r=`${PWD_COMMAND}`; export r; \
6662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6663 $(HOST_EXPORTS) \
6664 (cd $(HOST_SUBDIR)/dejagnu && \
6665 $(MAKE) $(FLAGS_TO_PASS) check)
6667 @endif dejagnu
6669 .PHONY: install-dejagnu maybe-install-dejagnu
6670 maybe-install-dejagnu:
6671 @if dejagnu
6672 maybe-install-dejagnu: install-dejagnu
6674 install-dejagnu: installdirs
6675 @: $(MAKE); $(unstage)
6676 @r=`${PWD_COMMAND}`; export r; \
6677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6678 $(HOST_EXPORTS) \
6679 (cd $(HOST_SUBDIR)/dejagnu && \
6680 $(MAKE) $(FLAGS_TO_PASS) install)
6682 @endif dejagnu
6684 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
6685 maybe-install-strip-dejagnu:
6686 @if dejagnu
6687 maybe-install-strip-dejagnu: install-strip-dejagnu
6689 install-strip-dejagnu: installdirs
6690 @: $(MAKE); $(unstage)
6691 @r=`${PWD_COMMAND}`; export r; \
6692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6693 $(HOST_EXPORTS) \
6694 (cd $(HOST_SUBDIR)/dejagnu && \
6695 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6697 @endif dejagnu
6699 # Other targets (info, dvi, pdf, etc.)
6701 .PHONY: maybe-info-dejagnu info-dejagnu
6702 maybe-info-dejagnu:
6703 @if dejagnu
6704 maybe-info-dejagnu: info-dejagnu
6706 info-dejagnu: \
6707 configure-dejagnu
6708 @: $(MAKE); $(unstage)
6709 @[ -f ./dejagnu/Makefile ] || exit 0; \
6710 r=`${PWD_COMMAND}`; export r; \
6711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6712 $(HOST_EXPORTS) \
6713 for flag in $(EXTRA_HOST_FLAGS) ; do \
6714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6715 done; \
6716 echo "Doing info in dejagnu" ; \
6717 (cd $(HOST_SUBDIR)/dejagnu && \
6718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6720 "RANLIB=$${RANLIB}" \
6721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6722 info) \
6723 || exit 1
6725 @endif dejagnu
6727 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6728 maybe-dvi-dejagnu:
6729 @if dejagnu
6730 maybe-dvi-dejagnu: dvi-dejagnu
6732 dvi-dejagnu: \
6733 configure-dejagnu
6734 @: $(MAKE); $(unstage)
6735 @[ -f ./dejagnu/Makefile ] || exit 0; \
6736 r=`${PWD_COMMAND}`; export r; \
6737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6738 $(HOST_EXPORTS) \
6739 for flag in $(EXTRA_HOST_FLAGS) ; do \
6740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6741 done; \
6742 echo "Doing dvi in dejagnu" ; \
6743 (cd $(HOST_SUBDIR)/dejagnu && \
6744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6746 "RANLIB=$${RANLIB}" \
6747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6748 dvi) \
6749 || exit 1
6751 @endif dejagnu
6753 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
6754 maybe-pdf-dejagnu:
6755 @if dejagnu
6756 maybe-pdf-dejagnu: pdf-dejagnu
6758 pdf-dejagnu: \
6759 configure-dejagnu
6760 @: $(MAKE); $(unstage)
6761 @[ -f ./dejagnu/Makefile ] || exit 0; \
6762 r=`${PWD_COMMAND}`; export r; \
6763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6764 $(HOST_EXPORTS) \
6765 for flag in $(EXTRA_HOST_FLAGS) ; do \
6766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6767 done; \
6768 echo "Doing pdf in dejagnu" ; \
6769 (cd $(HOST_SUBDIR)/dejagnu && \
6770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6772 "RANLIB=$${RANLIB}" \
6773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6774 pdf) \
6775 || exit 1
6777 @endif dejagnu
6779 .PHONY: maybe-html-dejagnu html-dejagnu
6780 maybe-html-dejagnu:
6781 @if dejagnu
6782 maybe-html-dejagnu: html-dejagnu
6784 html-dejagnu: \
6785 configure-dejagnu
6786 @: $(MAKE); $(unstage)
6787 @[ -f ./dejagnu/Makefile ] || exit 0; \
6788 r=`${PWD_COMMAND}`; export r; \
6789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6790 $(HOST_EXPORTS) \
6791 for flag in $(EXTRA_HOST_FLAGS) ; do \
6792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6793 done; \
6794 echo "Doing html in dejagnu" ; \
6795 (cd $(HOST_SUBDIR)/dejagnu && \
6796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6798 "RANLIB=$${RANLIB}" \
6799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6800 html) \
6801 || exit 1
6803 @endif dejagnu
6805 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6806 maybe-TAGS-dejagnu:
6807 @if dejagnu
6808 maybe-TAGS-dejagnu: TAGS-dejagnu
6810 TAGS-dejagnu: \
6811 configure-dejagnu
6812 @: $(MAKE); $(unstage)
6813 @[ -f ./dejagnu/Makefile ] || exit 0; \
6814 r=`${PWD_COMMAND}`; export r; \
6815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6816 $(HOST_EXPORTS) \
6817 for flag in $(EXTRA_HOST_FLAGS) ; do \
6818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6819 done; \
6820 echo "Doing TAGS in dejagnu" ; \
6821 (cd $(HOST_SUBDIR)/dejagnu && \
6822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6824 "RANLIB=$${RANLIB}" \
6825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6826 TAGS) \
6827 || exit 1
6829 @endif dejagnu
6831 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6832 maybe-install-info-dejagnu:
6833 @if dejagnu
6834 maybe-install-info-dejagnu: install-info-dejagnu
6836 install-info-dejagnu: \
6837 configure-dejagnu \
6838 info-dejagnu
6839 @: $(MAKE); $(unstage)
6840 @[ -f ./dejagnu/Makefile ] || exit 0; \
6841 r=`${PWD_COMMAND}`; export r; \
6842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6843 $(HOST_EXPORTS) \
6844 for flag in $(EXTRA_HOST_FLAGS) ; do \
6845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6846 done; \
6847 echo "Doing install-info in dejagnu" ; \
6848 (cd $(HOST_SUBDIR)/dejagnu && \
6849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6851 "RANLIB=$${RANLIB}" \
6852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6853 install-info) \
6854 || exit 1
6856 @endif dejagnu
6858 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
6859 maybe-install-pdf-dejagnu:
6860 @if dejagnu
6861 maybe-install-pdf-dejagnu: install-pdf-dejagnu
6863 install-pdf-dejagnu: \
6864 configure-dejagnu \
6865 pdf-dejagnu
6866 @: $(MAKE); $(unstage)
6867 @[ -f ./dejagnu/Makefile ] || exit 0; \
6868 r=`${PWD_COMMAND}`; export r; \
6869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6870 $(HOST_EXPORTS) \
6871 for flag in $(EXTRA_HOST_FLAGS) ; do \
6872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6873 done; \
6874 echo "Doing install-pdf in dejagnu" ; \
6875 (cd $(HOST_SUBDIR)/dejagnu && \
6876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6878 "RANLIB=$${RANLIB}" \
6879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6880 install-pdf) \
6881 || exit 1
6883 @endif dejagnu
6885 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
6886 maybe-install-html-dejagnu:
6887 @if dejagnu
6888 maybe-install-html-dejagnu: install-html-dejagnu
6890 install-html-dejagnu: \
6891 configure-dejagnu \
6892 html-dejagnu
6893 @: $(MAKE); $(unstage)
6894 @[ -f ./dejagnu/Makefile ] || exit 0; \
6895 r=`${PWD_COMMAND}`; export r; \
6896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6897 $(HOST_EXPORTS) \
6898 for flag in $(EXTRA_HOST_FLAGS) ; do \
6899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6900 done; \
6901 echo "Doing install-html in dejagnu" ; \
6902 (cd $(HOST_SUBDIR)/dejagnu && \
6903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6905 "RANLIB=$${RANLIB}" \
6906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6907 install-html) \
6908 || exit 1
6910 @endif dejagnu
6912 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6913 maybe-installcheck-dejagnu:
6914 @if dejagnu
6915 maybe-installcheck-dejagnu: installcheck-dejagnu
6917 installcheck-dejagnu: \
6918 configure-dejagnu
6919 @: $(MAKE); $(unstage)
6920 @[ -f ./dejagnu/Makefile ] || exit 0; \
6921 r=`${PWD_COMMAND}`; export r; \
6922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6923 $(HOST_EXPORTS) \
6924 for flag in $(EXTRA_HOST_FLAGS) ; do \
6925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6926 done; \
6927 echo "Doing installcheck in dejagnu" ; \
6928 (cd $(HOST_SUBDIR)/dejagnu && \
6929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6931 "RANLIB=$${RANLIB}" \
6932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6933 installcheck) \
6934 || exit 1
6936 @endif dejagnu
6938 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6939 maybe-mostlyclean-dejagnu:
6940 @if dejagnu
6941 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6943 mostlyclean-dejagnu:
6944 @: $(MAKE); $(unstage)
6945 @[ -f ./dejagnu/Makefile ] || exit 0; \
6946 r=`${PWD_COMMAND}`; export r; \
6947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6948 $(HOST_EXPORTS) \
6949 for flag in $(EXTRA_HOST_FLAGS) ; do \
6950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6951 done; \
6952 echo "Doing mostlyclean in dejagnu" ; \
6953 (cd $(HOST_SUBDIR)/dejagnu && \
6954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6956 "RANLIB=$${RANLIB}" \
6957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6958 mostlyclean) \
6959 || exit 1
6961 @endif dejagnu
6963 .PHONY: maybe-clean-dejagnu clean-dejagnu
6964 maybe-clean-dejagnu:
6965 @if dejagnu
6966 maybe-clean-dejagnu: clean-dejagnu
6968 clean-dejagnu:
6969 @: $(MAKE); $(unstage)
6970 @[ -f ./dejagnu/Makefile ] || exit 0; \
6971 r=`${PWD_COMMAND}`; export r; \
6972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6973 $(HOST_EXPORTS) \
6974 for flag in $(EXTRA_HOST_FLAGS) ; do \
6975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6976 done; \
6977 echo "Doing clean in dejagnu" ; \
6978 (cd $(HOST_SUBDIR)/dejagnu && \
6979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6981 "RANLIB=$${RANLIB}" \
6982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6983 clean) \
6984 || exit 1
6986 @endif dejagnu
6988 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6989 maybe-distclean-dejagnu:
6990 @if dejagnu
6991 maybe-distclean-dejagnu: distclean-dejagnu
6993 distclean-dejagnu:
6994 @: $(MAKE); $(unstage)
6995 @[ -f ./dejagnu/Makefile ] || exit 0; \
6996 r=`${PWD_COMMAND}`; export r; \
6997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6998 $(HOST_EXPORTS) \
6999 for flag in $(EXTRA_HOST_FLAGS) ; do \
7000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7001 done; \
7002 echo "Doing distclean in dejagnu" ; \
7003 (cd $(HOST_SUBDIR)/dejagnu && \
7004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7006 "RANLIB=$${RANLIB}" \
7007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7008 distclean) \
7009 || exit 1
7011 @endif dejagnu
7013 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7014 maybe-maintainer-clean-dejagnu:
7015 @if dejagnu
7016 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7018 maintainer-clean-dejagnu:
7019 @: $(MAKE); $(unstage)
7020 @[ -f ./dejagnu/Makefile ] || exit 0; \
7021 r=`${PWD_COMMAND}`; export r; \
7022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7023 $(HOST_EXPORTS) \
7024 for flag in $(EXTRA_HOST_FLAGS) ; do \
7025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7026 done; \
7027 echo "Doing maintainer-clean in dejagnu" ; \
7028 (cd $(HOST_SUBDIR)/dejagnu && \
7029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7031 "RANLIB=$${RANLIB}" \
7032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7033 maintainer-clean) \
7034 || exit 1
7036 @endif dejagnu
7040 .PHONY: configure-etc maybe-configure-etc
7041 maybe-configure-etc:
7042 @if gcc-bootstrap
7043 configure-etc: stage_current
7044 @endif gcc-bootstrap
7045 @if etc
7046 maybe-configure-etc: configure-etc
7047 configure-etc:
7048 @: $(MAKE); $(unstage)
7049 @r=`${PWD_COMMAND}`; export r; \
7050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7051 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
7052 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
7053 $(HOST_EXPORTS) \
7054 echo Configuring in $(HOST_SUBDIR)/etc; \
7055 cd "$(HOST_SUBDIR)/etc" || exit 1; \
7056 case $(srcdir) in \
7057 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7058 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
7059 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7060 esac; \
7061 module_srcdir=etc; \
7062 $(SHELL) \
7063 $$s/$$module_srcdir/configure \
7064 --srcdir=$${topdir}/$$module_srcdir \
7065 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7066 --target=${target_alias} \
7067 || exit 1
7068 @endif etc
7074 .PHONY: all-etc maybe-all-etc
7075 maybe-all-etc:
7076 @if gcc-bootstrap
7077 all-etc: stage_current
7078 @endif gcc-bootstrap
7079 @if etc
7080 TARGET-etc=all
7081 maybe-all-etc: all-etc
7082 all-etc: configure-etc
7083 @: $(MAKE); $(unstage)
7084 @r=`${PWD_COMMAND}`; export r; \
7085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7086 $(HOST_EXPORTS) \
7087 (cd $(HOST_SUBDIR)/etc && \
7088 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7089 $(TARGET-etc))
7090 @endif etc
7095 .PHONY: check-etc maybe-check-etc
7096 maybe-check-etc:
7097 @if etc
7098 maybe-check-etc: check-etc
7100 check-etc:
7101 @: $(MAKE); $(unstage)
7102 @r=`${PWD_COMMAND}`; export r; \
7103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7104 $(HOST_EXPORTS) \
7105 (cd $(HOST_SUBDIR)/etc && \
7106 $(MAKE) $(FLAGS_TO_PASS) check)
7108 @endif etc
7110 .PHONY: install-etc maybe-install-etc
7111 maybe-install-etc:
7112 @if etc
7113 maybe-install-etc: install-etc
7115 install-etc: installdirs
7116 @: $(MAKE); $(unstage)
7117 @r=`${PWD_COMMAND}`; export r; \
7118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7119 $(HOST_EXPORTS) \
7120 (cd $(HOST_SUBDIR)/etc && \
7121 $(MAKE) $(FLAGS_TO_PASS) install)
7123 @endif etc
7125 .PHONY: install-strip-etc maybe-install-strip-etc
7126 maybe-install-strip-etc:
7127 @if etc
7128 maybe-install-strip-etc: install-strip-etc
7130 install-strip-etc: installdirs
7131 @: $(MAKE); $(unstage)
7132 @r=`${PWD_COMMAND}`; export r; \
7133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7134 $(HOST_EXPORTS) \
7135 (cd $(HOST_SUBDIR)/etc && \
7136 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7138 @endif etc
7140 # Other targets (info, dvi, pdf, etc.)
7142 .PHONY: maybe-info-etc info-etc
7143 maybe-info-etc:
7144 @if etc
7145 maybe-info-etc: info-etc
7147 info-etc: \
7148 configure-etc
7149 @: $(MAKE); $(unstage)
7150 @[ -f ./etc/Makefile ] || exit 0; \
7151 r=`${PWD_COMMAND}`; export r; \
7152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7153 $(HOST_EXPORTS) \
7154 for flag in $(EXTRA_HOST_FLAGS) ; do \
7155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7156 done; \
7157 echo "Doing info in etc" ; \
7158 (cd $(HOST_SUBDIR)/etc && \
7159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7161 "RANLIB=$${RANLIB}" \
7162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7163 info) \
7164 || exit 1
7166 @endif etc
7168 .PHONY: maybe-dvi-etc dvi-etc
7169 maybe-dvi-etc:
7170 @if etc
7171 maybe-dvi-etc: dvi-etc
7173 dvi-etc: \
7174 configure-etc
7175 @: $(MAKE); $(unstage)
7176 @[ -f ./etc/Makefile ] || exit 0; \
7177 r=`${PWD_COMMAND}`; export r; \
7178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7179 $(HOST_EXPORTS) \
7180 for flag in $(EXTRA_HOST_FLAGS) ; do \
7181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7182 done; \
7183 echo "Doing dvi in etc" ; \
7184 (cd $(HOST_SUBDIR)/etc && \
7185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7187 "RANLIB=$${RANLIB}" \
7188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7189 dvi) \
7190 || exit 1
7192 @endif etc
7194 .PHONY: maybe-pdf-etc pdf-etc
7195 maybe-pdf-etc:
7196 @if etc
7197 maybe-pdf-etc: pdf-etc
7199 pdf-etc: \
7200 configure-etc
7201 @: $(MAKE); $(unstage)
7202 @[ -f ./etc/Makefile ] || exit 0; \
7203 r=`${PWD_COMMAND}`; export r; \
7204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7205 $(HOST_EXPORTS) \
7206 for flag in $(EXTRA_HOST_FLAGS) ; do \
7207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7208 done; \
7209 echo "Doing pdf in etc" ; \
7210 (cd $(HOST_SUBDIR)/etc && \
7211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7213 "RANLIB=$${RANLIB}" \
7214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7215 pdf) \
7216 || exit 1
7218 @endif etc
7220 .PHONY: maybe-html-etc html-etc
7221 maybe-html-etc:
7222 @if etc
7223 maybe-html-etc: html-etc
7225 html-etc: \
7226 configure-etc
7227 @: $(MAKE); $(unstage)
7228 @[ -f ./etc/Makefile ] || exit 0; \
7229 r=`${PWD_COMMAND}`; export r; \
7230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7231 $(HOST_EXPORTS) \
7232 for flag in $(EXTRA_HOST_FLAGS) ; do \
7233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7234 done; \
7235 echo "Doing html in etc" ; \
7236 (cd $(HOST_SUBDIR)/etc && \
7237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7239 "RANLIB=$${RANLIB}" \
7240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7241 html) \
7242 || exit 1
7244 @endif etc
7246 .PHONY: maybe-TAGS-etc TAGS-etc
7247 maybe-TAGS-etc:
7248 @if etc
7249 maybe-TAGS-etc: TAGS-etc
7251 TAGS-etc: \
7252 configure-etc
7253 @: $(MAKE); $(unstage)
7254 @[ -f ./etc/Makefile ] || exit 0; \
7255 r=`${PWD_COMMAND}`; export r; \
7256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7257 $(HOST_EXPORTS) \
7258 for flag in $(EXTRA_HOST_FLAGS) ; do \
7259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7260 done; \
7261 echo "Doing TAGS in etc" ; \
7262 (cd $(HOST_SUBDIR)/etc && \
7263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7265 "RANLIB=$${RANLIB}" \
7266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7267 TAGS) \
7268 || exit 1
7270 @endif etc
7272 .PHONY: maybe-install-info-etc install-info-etc
7273 maybe-install-info-etc:
7274 @if etc
7275 maybe-install-info-etc: install-info-etc
7277 install-info-etc: \
7278 configure-etc \
7279 info-etc
7280 @: $(MAKE); $(unstage)
7281 @[ -f ./etc/Makefile ] || exit 0; \
7282 r=`${PWD_COMMAND}`; export r; \
7283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7284 $(HOST_EXPORTS) \
7285 for flag in $(EXTRA_HOST_FLAGS) ; do \
7286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7287 done; \
7288 echo "Doing install-info in etc" ; \
7289 (cd $(HOST_SUBDIR)/etc && \
7290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7292 "RANLIB=$${RANLIB}" \
7293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7294 install-info) \
7295 || exit 1
7297 @endif etc
7299 .PHONY: maybe-install-pdf-etc install-pdf-etc
7300 maybe-install-pdf-etc:
7301 @if etc
7302 maybe-install-pdf-etc: install-pdf-etc
7304 install-pdf-etc: \
7305 configure-etc \
7306 pdf-etc
7307 @: $(MAKE); $(unstage)
7308 @[ -f ./etc/Makefile ] || exit 0; \
7309 r=`${PWD_COMMAND}`; export r; \
7310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7311 $(HOST_EXPORTS) \
7312 for flag in $(EXTRA_HOST_FLAGS) ; do \
7313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7314 done; \
7315 echo "Doing install-pdf in etc" ; \
7316 (cd $(HOST_SUBDIR)/etc && \
7317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7319 "RANLIB=$${RANLIB}" \
7320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7321 install-pdf) \
7322 || exit 1
7324 @endif etc
7326 .PHONY: maybe-install-html-etc install-html-etc
7327 maybe-install-html-etc:
7328 @if etc
7329 maybe-install-html-etc: install-html-etc
7331 install-html-etc: \
7332 configure-etc \
7333 html-etc
7334 @: $(MAKE); $(unstage)
7335 @[ -f ./etc/Makefile ] || exit 0; \
7336 r=`${PWD_COMMAND}`; export r; \
7337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7338 $(HOST_EXPORTS) \
7339 for flag in $(EXTRA_HOST_FLAGS) ; do \
7340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7341 done; \
7342 echo "Doing install-html in etc" ; \
7343 (cd $(HOST_SUBDIR)/etc && \
7344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7346 "RANLIB=$${RANLIB}" \
7347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7348 install-html) \
7349 || exit 1
7351 @endif etc
7353 .PHONY: maybe-installcheck-etc installcheck-etc
7354 maybe-installcheck-etc:
7355 @if etc
7356 maybe-installcheck-etc: installcheck-etc
7358 installcheck-etc: \
7359 configure-etc
7360 @: $(MAKE); $(unstage)
7361 @[ -f ./etc/Makefile ] || exit 0; \
7362 r=`${PWD_COMMAND}`; export r; \
7363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7364 $(HOST_EXPORTS) \
7365 for flag in $(EXTRA_HOST_FLAGS) ; do \
7366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7367 done; \
7368 echo "Doing installcheck in etc" ; \
7369 (cd $(HOST_SUBDIR)/etc && \
7370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7372 "RANLIB=$${RANLIB}" \
7373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7374 installcheck) \
7375 || exit 1
7377 @endif etc
7379 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7380 maybe-mostlyclean-etc:
7381 @if etc
7382 maybe-mostlyclean-etc: mostlyclean-etc
7384 mostlyclean-etc:
7385 @: $(MAKE); $(unstage)
7386 @[ -f ./etc/Makefile ] || exit 0; \
7387 r=`${PWD_COMMAND}`; export r; \
7388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7389 $(HOST_EXPORTS) \
7390 for flag in $(EXTRA_HOST_FLAGS) ; do \
7391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7392 done; \
7393 echo "Doing mostlyclean in etc" ; \
7394 (cd $(HOST_SUBDIR)/etc && \
7395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7397 "RANLIB=$${RANLIB}" \
7398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7399 mostlyclean) \
7400 || exit 1
7402 @endif etc
7404 .PHONY: maybe-clean-etc clean-etc
7405 maybe-clean-etc:
7406 @if etc
7407 maybe-clean-etc: clean-etc
7409 clean-etc:
7410 @: $(MAKE); $(unstage)
7411 @[ -f ./etc/Makefile ] || exit 0; \
7412 r=`${PWD_COMMAND}`; export r; \
7413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7414 $(HOST_EXPORTS) \
7415 for flag in $(EXTRA_HOST_FLAGS) ; do \
7416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7417 done; \
7418 echo "Doing clean in etc" ; \
7419 (cd $(HOST_SUBDIR)/etc && \
7420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7422 "RANLIB=$${RANLIB}" \
7423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7424 clean) \
7425 || exit 1
7427 @endif etc
7429 .PHONY: maybe-distclean-etc distclean-etc
7430 maybe-distclean-etc:
7431 @if etc
7432 maybe-distclean-etc: distclean-etc
7434 distclean-etc:
7435 @: $(MAKE); $(unstage)
7436 @[ -f ./etc/Makefile ] || exit 0; \
7437 r=`${PWD_COMMAND}`; export r; \
7438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7439 $(HOST_EXPORTS) \
7440 for flag in $(EXTRA_HOST_FLAGS) ; do \
7441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7442 done; \
7443 echo "Doing distclean in etc" ; \
7444 (cd $(HOST_SUBDIR)/etc && \
7445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7447 "RANLIB=$${RANLIB}" \
7448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7449 distclean) \
7450 || exit 1
7452 @endif etc
7454 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7455 maybe-maintainer-clean-etc:
7456 @if etc
7457 maybe-maintainer-clean-etc: maintainer-clean-etc
7459 maintainer-clean-etc:
7460 @: $(MAKE); $(unstage)
7461 @[ -f ./etc/Makefile ] || exit 0; \
7462 r=`${PWD_COMMAND}`; export r; \
7463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7464 $(HOST_EXPORTS) \
7465 for flag in $(EXTRA_HOST_FLAGS) ; do \
7466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7467 done; \
7468 echo "Doing maintainer-clean in etc" ; \
7469 (cd $(HOST_SUBDIR)/etc && \
7470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7472 "RANLIB=$${RANLIB}" \
7473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7474 maintainer-clean) \
7475 || exit 1
7477 @endif etc
7481 .PHONY: configure-fastjar maybe-configure-fastjar
7482 maybe-configure-fastjar:
7483 @if gcc-bootstrap
7484 configure-fastjar: stage_current
7485 @endif gcc-bootstrap
7486 @if fastjar
7487 maybe-configure-fastjar: configure-fastjar
7488 configure-fastjar:
7489 @: $(MAKE); $(unstage)
7490 @r=`${PWD_COMMAND}`; export r; \
7491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7492 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
7493 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
7494 $(HOST_EXPORTS) \
7495 echo Configuring in $(HOST_SUBDIR)/fastjar; \
7496 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
7497 case $(srcdir) in \
7498 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7499 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
7500 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7501 esac; \
7502 module_srcdir=fastjar; \
7503 $(SHELL) \
7504 $$s/$$module_srcdir/configure \
7505 --srcdir=$${topdir}/$$module_srcdir \
7506 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7507 --target=${target_alias} \
7508 || exit 1
7509 @endif fastjar
7515 .PHONY: all-fastjar maybe-all-fastjar
7516 maybe-all-fastjar:
7517 @if gcc-bootstrap
7518 all-fastjar: stage_current
7519 @endif gcc-bootstrap
7520 @if fastjar
7521 TARGET-fastjar=all
7522 maybe-all-fastjar: all-fastjar
7523 all-fastjar: configure-fastjar
7524 @: $(MAKE); $(unstage)
7525 @r=`${PWD_COMMAND}`; export r; \
7526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7527 $(HOST_EXPORTS) \
7528 (cd $(HOST_SUBDIR)/fastjar && \
7529 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7530 $(TARGET-fastjar))
7531 @endif fastjar
7536 .PHONY: check-fastjar maybe-check-fastjar
7537 maybe-check-fastjar:
7538 @if fastjar
7539 maybe-check-fastjar: check-fastjar
7541 # This module is only tested in a native toolchain.
7542 check-fastjar:
7543 @: $(MAKE); $(unstage)
7544 @if [ '$(host)' = '$(target)' ] ; then \
7545 r=`${PWD_COMMAND}`; export r; \
7546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7547 $(HOST_EXPORTS) \
7548 (cd $(HOST_SUBDIR)/fastjar && \
7549 $(MAKE) $(FLAGS_TO_PASS) check); \
7552 @endif fastjar
7554 .PHONY: install-fastjar maybe-install-fastjar
7555 maybe-install-fastjar:
7556 @if fastjar
7557 maybe-install-fastjar: install-fastjar
7559 install-fastjar: installdirs
7560 @: $(MAKE); $(unstage)
7561 @r=`${PWD_COMMAND}`; export r; \
7562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7563 $(HOST_EXPORTS) \
7564 (cd $(HOST_SUBDIR)/fastjar && \
7565 $(MAKE) $(FLAGS_TO_PASS) install)
7567 @endif fastjar
7569 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
7570 maybe-install-strip-fastjar:
7571 @if fastjar
7572 maybe-install-strip-fastjar: install-strip-fastjar
7574 install-strip-fastjar: installdirs
7575 @: $(MAKE); $(unstage)
7576 @r=`${PWD_COMMAND}`; export r; \
7577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7578 $(HOST_EXPORTS) \
7579 (cd $(HOST_SUBDIR)/fastjar && \
7580 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7582 @endif fastjar
7584 # Other targets (info, dvi, pdf, etc.)
7586 .PHONY: maybe-info-fastjar info-fastjar
7587 maybe-info-fastjar:
7588 @if fastjar
7589 maybe-info-fastjar: info-fastjar
7591 info-fastjar: \
7592 configure-fastjar
7593 @: $(MAKE); $(unstage)
7594 @[ -f ./fastjar/Makefile ] || exit 0; \
7595 r=`${PWD_COMMAND}`; export r; \
7596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7597 $(HOST_EXPORTS) \
7598 for flag in $(EXTRA_HOST_FLAGS) ; do \
7599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7600 done; \
7601 echo "Doing info in fastjar" ; \
7602 (cd $(HOST_SUBDIR)/fastjar && \
7603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7605 "RANLIB=$${RANLIB}" \
7606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7607 info) \
7608 || exit 1
7610 @endif fastjar
7612 .PHONY: maybe-dvi-fastjar dvi-fastjar
7613 maybe-dvi-fastjar:
7614 @if fastjar
7615 maybe-dvi-fastjar: dvi-fastjar
7617 dvi-fastjar: \
7618 configure-fastjar
7619 @: $(MAKE); $(unstage)
7620 @[ -f ./fastjar/Makefile ] || exit 0; \
7621 r=`${PWD_COMMAND}`; export r; \
7622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7623 $(HOST_EXPORTS) \
7624 for flag in $(EXTRA_HOST_FLAGS) ; do \
7625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7626 done; \
7627 echo "Doing dvi in fastjar" ; \
7628 (cd $(HOST_SUBDIR)/fastjar && \
7629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7631 "RANLIB=$${RANLIB}" \
7632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7633 dvi) \
7634 || exit 1
7636 @endif fastjar
7638 .PHONY: maybe-pdf-fastjar pdf-fastjar
7639 maybe-pdf-fastjar:
7640 @if fastjar
7641 maybe-pdf-fastjar: pdf-fastjar
7643 pdf-fastjar: \
7644 configure-fastjar
7645 @: $(MAKE); $(unstage)
7646 @[ -f ./fastjar/Makefile ] || exit 0; \
7647 r=`${PWD_COMMAND}`; export r; \
7648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7649 $(HOST_EXPORTS) \
7650 for flag in $(EXTRA_HOST_FLAGS) ; do \
7651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7652 done; \
7653 echo "Doing pdf in fastjar" ; \
7654 (cd $(HOST_SUBDIR)/fastjar && \
7655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7657 "RANLIB=$${RANLIB}" \
7658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7659 pdf) \
7660 || exit 1
7662 @endif fastjar
7664 .PHONY: maybe-html-fastjar html-fastjar
7665 maybe-html-fastjar:
7666 @if fastjar
7667 maybe-html-fastjar: html-fastjar
7669 html-fastjar: \
7670 configure-fastjar
7671 @: $(MAKE); $(unstage)
7672 @[ -f ./fastjar/Makefile ] || exit 0; \
7673 r=`${PWD_COMMAND}`; export r; \
7674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7675 $(HOST_EXPORTS) \
7676 for flag in $(EXTRA_HOST_FLAGS) ; do \
7677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7678 done; \
7679 echo "Doing html in fastjar" ; \
7680 (cd $(HOST_SUBDIR)/fastjar && \
7681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7683 "RANLIB=$${RANLIB}" \
7684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7685 html) \
7686 || exit 1
7688 @endif fastjar
7690 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7691 maybe-TAGS-fastjar:
7692 @if fastjar
7693 maybe-TAGS-fastjar: TAGS-fastjar
7695 TAGS-fastjar: \
7696 configure-fastjar
7697 @: $(MAKE); $(unstage)
7698 @[ -f ./fastjar/Makefile ] || exit 0; \
7699 r=`${PWD_COMMAND}`; export r; \
7700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7701 $(HOST_EXPORTS) \
7702 for flag in $(EXTRA_HOST_FLAGS) ; do \
7703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7704 done; \
7705 echo "Doing TAGS in fastjar" ; \
7706 (cd $(HOST_SUBDIR)/fastjar && \
7707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7709 "RANLIB=$${RANLIB}" \
7710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7711 TAGS) \
7712 || exit 1
7714 @endif fastjar
7716 .PHONY: maybe-install-info-fastjar install-info-fastjar
7717 maybe-install-info-fastjar:
7718 @if fastjar
7719 maybe-install-info-fastjar: install-info-fastjar
7721 install-info-fastjar: \
7722 configure-fastjar \
7723 info-fastjar
7724 @: $(MAKE); $(unstage)
7725 @[ -f ./fastjar/Makefile ] || exit 0; \
7726 r=`${PWD_COMMAND}`; export r; \
7727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7728 $(HOST_EXPORTS) \
7729 for flag in $(EXTRA_HOST_FLAGS) ; do \
7730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7731 done; \
7732 echo "Doing install-info in fastjar" ; \
7733 (cd $(HOST_SUBDIR)/fastjar && \
7734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7736 "RANLIB=$${RANLIB}" \
7737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7738 install-info) \
7739 || exit 1
7741 @endif fastjar
7743 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
7744 maybe-install-pdf-fastjar:
7745 @if fastjar
7746 maybe-install-pdf-fastjar: install-pdf-fastjar
7748 install-pdf-fastjar: \
7749 configure-fastjar \
7750 pdf-fastjar
7751 @: $(MAKE); $(unstage)
7752 @[ -f ./fastjar/Makefile ] || exit 0; \
7753 r=`${PWD_COMMAND}`; export r; \
7754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7755 $(HOST_EXPORTS) \
7756 for flag in $(EXTRA_HOST_FLAGS) ; do \
7757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7758 done; \
7759 echo "Doing install-pdf in fastjar" ; \
7760 (cd $(HOST_SUBDIR)/fastjar && \
7761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7763 "RANLIB=$${RANLIB}" \
7764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7765 install-pdf) \
7766 || exit 1
7768 @endif fastjar
7770 .PHONY: maybe-install-html-fastjar install-html-fastjar
7771 maybe-install-html-fastjar:
7772 @if fastjar
7773 maybe-install-html-fastjar: install-html-fastjar
7775 install-html-fastjar: \
7776 configure-fastjar \
7777 html-fastjar
7778 @: $(MAKE); $(unstage)
7779 @[ -f ./fastjar/Makefile ] || exit 0; \
7780 r=`${PWD_COMMAND}`; export r; \
7781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7782 $(HOST_EXPORTS) \
7783 for flag in $(EXTRA_HOST_FLAGS) ; do \
7784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7785 done; \
7786 echo "Doing install-html in fastjar" ; \
7787 (cd $(HOST_SUBDIR)/fastjar && \
7788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7790 "RANLIB=$${RANLIB}" \
7791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7792 install-html) \
7793 || exit 1
7795 @endif fastjar
7797 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7798 maybe-installcheck-fastjar:
7799 @if fastjar
7800 maybe-installcheck-fastjar: installcheck-fastjar
7802 installcheck-fastjar: \
7803 configure-fastjar
7804 @: $(MAKE); $(unstage)
7805 @[ -f ./fastjar/Makefile ] || exit 0; \
7806 r=`${PWD_COMMAND}`; export r; \
7807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7808 $(HOST_EXPORTS) \
7809 for flag in $(EXTRA_HOST_FLAGS) ; do \
7810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7811 done; \
7812 echo "Doing installcheck in fastjar" ; \
7813 (cd $(HOST_SUBDIR)/fastjar && \
7814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7816 "RANLIB=$${RANLIB}" \
7817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7818 installcheck) \
7819 || exit 1
7821 @endif fastjar
7823 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7824 maybe-mostlyclean-fastjar:
7825 @if fastjar
7826 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7828 mostlyclean-fastjar:
7829 @: $(MAKE); $(unstage)
7830 @[ -f ./fastjar/Makefile ] || exit 0; \
7831 r=`${PWD_COMMAND}`; export r; \
7832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7833 $(HOST_EXPORTS) \
7834 for flag in $(EXTRA_HOST_FLAGS) ; do \
7835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7836 done; \
7837 echo "Doing mostlyclean in fastjar" ; \
7838 (cd $(HOST_SUBDIR)/fastjar && \
7839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7841 "RANLIB=$${RANLIB}" \
7842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7843 mostlyclean) \
7844 || exit 1
7846 @endif fastjar
7848 .PHONY: maybe-clean-fastjar clean-fastjar
7849 maybe-clean-fastjar:
7850 @if fastjar
7851 maybe-clean-fastjar: clean-fastjar
7853 clean-fastjar:
7854 @: $(MAKE); $(unstage)
7855 @[ -f ./fastjar/Makefile ] || exit 0; \
7856 r=`${PWD_COMMAND}`; export r; \
7857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7858 $(HOST_EXPORTS) \
7859 for flag in $(EXTRA_HOST_FLAGS) ; do \
7860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7861 done; \
7862 echo "Doing clean in fastjar" ; \
7863 (cd $(HOST_SUBDIR)/fastjar && \
7864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7866 "RANLIB=$${RANLIB}" \
7867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7868 clean) \
7869 || exit 1
7871 @endif fastjar
7873 .PHONY: maybe-distclean-fastjar distclean-fastjar
7874 maybe-distclean-fastjar:
7875 @if fastjar
7876 maybe-distclean-fastjar: distclean-fastjar
7878 distclean-fastjar:
7879 @: $(MAKE); $(unstage)
7880 @[ -f ./fastjar/Makefile ] || exit 0; \
7881 r=`${PWD_COMMAND}`; export r; \
7882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7883 $(HOST_EXPORTS) \
7884 for flag in $(EXTRA_HOST_FLAGS) ; do \
7885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7886 done; \
7887 echo "Doing distclean in fastjar" ; \
7888 (cd $(HOST_SUBDIR)/fastjar && \
7889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7891 "RANLIB=$${RANLIB}" \
7892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7893 distclean) \
7894 || exit 1
7896 @endif fastjar
7898 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7899 maybe-maintainer-clean-fastjar:
7900 @if fastjar
7901 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7903 maintainer-clean-fastjar:
7904 @: $(MAKE); $(unstage)
7905 @[ -f ./fastjar/Makefile ] || exit 0; \
7906 r=`${PWD_COMMAND}`; export r; \
7907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7908 $(HOST_EXPORTS) \
7909 for flag in $(EXTRA_HOST_FLAGS) ; do \
7910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7911 done; \
7912 echo "Doing maintainer-clean in fastjar" ; \
7913 (cd $(HOST_SUBDIR)/fastjar && \
7914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7916 "RANLIB=$${RANLIB}" \
7917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7918 maintainer-clean) \
7919 || exit 1
7921 @endif fastjar
7925 .PHONY: configure-fixincludes maybe-configure-fixincludes
7926 maybe-configure-fixincludes:
7927 @if gcc-bootstrap
7928 configure-fixincludes: stage_current
7929 @endif gcc-bootstrap
7930 @if fixincludes
7931 maybe-configure-fixincludes: configure-fixincludes
7932 configure-fixincludes:
7933 @r=`${PWD_COMMAND}`; export r; \
7934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7935 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7936 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7937 $(HOST_EXPORTS) \
7938 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
7939 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
7940 case $(srcdir) in \
7941 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7942 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7943 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7944 esac; \
7945 module_srcdir=fixincludes; \
7946 $(SHELL) \
7947 $$s/$$module_srcdir/configure \
7948 --srcdir=$${topdir}/$$module_srcdir \
7949 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7950 --target=${target_alias} \
7951 || exit 1
7952 @endif fixincludes
7956 .PHONY: configure-stage1-fixincludes maybe-configure-stage1-fixincludes
7957 maybe-configure-stage1-fixincludes:
7958 @if fixincludes-bootstrap
7959 maybe-configure-stage1-fixincludes: configure-stage1-fixincludes
7960 configure-stage1-fixincludes:
7961 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
7962 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
7963 @r=`${PWD_COMMAND}`; export r; \
7964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7965 TFLAGS="$(STAGE1_TFLAGS)"; \
7966 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7967 $(HOST_EXPORTS) \
7968 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
7969 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
7970 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
7971 echo Configuring stage 1 in $(HOST_SUBDIR)/fixincludes ; \
7972 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7973 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
7974 case $(srcdir) in \
7975 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7976 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7977 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7978 esac; \
7979 module_srcdir=fixincludes; \
7980 $(SHELL) $$s/$$module_srcdir/configure \
7981 --srcdir=$${topdir}/$$module_srcdir \
7982 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7983 --target=${target_alias} \
7985 $(STAGE1_CONFIGURE_FLAGS)
7986 @endif fixincludes-bootstrap
7988 .PHONY: configure-stage2-fixincludes maybe-configure-stage2-fixincludes
7989 maybe-configure-stage2-fixincludes:
7990 @if fixincludes-bootstrap
7991 maybe-configure-stage2-fixincludes: configure-stage2-fixincludes
7992 configure-stage2-fixincludes:
7993 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
7994 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
7995 @r=`${PWD_COMMAND}`; export r; \
7996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7997 TFLAGS="$(STAGE2_TFLAGS)"; \
7998 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7999 $(HOST_EXPORTS) \
8000 $(POSTSTAGE1_HOST_EXPORTS) \
8001 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8002 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8003 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8004 echo Configuring stage 2 in $(HOST_SUBDIR)/fixincludes ; \
8005 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
8006 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8007 case $(srcdir) in \
8008 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8009 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8010 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8011 esac; \
8012 module_srcdir=fixincludes; \
8013 $(SHELL) $$s/$$module_srcdir/configure \
8014 --srcdir=$${topdir}/$$module_srcdir \
8015 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8016 --target=${target_alias} \
8017 --with-build-libsubdir=$(HOST_SUBDIR) \
8018 $(STAGE2_CONFIGURE_FLAGS)
8019 @endif fixincludes-bootstrap
8021 .PHONY: configure-stage3-fixincludes maybe-configure-stage3-fixincludes
8022 maybe-configure-stage3-fixincludes:
8023 @if fixincludes-bootstrap
8024 maybe-configure-stage3-fixincludes: configure-stage3-fixincludes
8025 configure-stage3-fixincludes:
8026 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8027 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8028 @r=`${PWD_COMMAND}`; export r; \
8029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8030 TFLAGS="$(STAGE3_TFLAGS)"; \
8031 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8032 $(HOST_EXPORTS) \
8033 $(POSTSTAGE1_HOST_EXPORTS) \
8034 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8035 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8036 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8037 echo Configuring stage 3 in $(HOST_SUBDIR)/fixincludes ; \
8038 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
8039 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8040 case $(srcdir) in \
8041 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8042 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8043 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8044 esac; \
8045 module_srcdir=fixincludes; \
8046 $(SHELL) $$s/$$module_srcdir/configure \
8047 --srcdir=$${topdir}/$$module_srcdir \
8048 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8049 --target=${target_alias} \
8050 --with-build-libsubdir=$(HOST_SUBDIR) \
8051 $(STAGE3_CONFIGURE_FLAGS)
8052 @endif fixincludes-bootstrap
8054 .PHONY: configure-stage4-fixincludes maybe-configure-stage4-fixincludes
8055 maybe-configure-stage4-fixincludes:
8056 @if fixincludes-bootstrap
8057 maybe-configure-stage4-fixincludes: configure-stage4-fixincludes
8058 configure-stage4-fixincludes:
8059 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8060 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8061 @r=`${PWD_COMMAND}`; export r; \
8062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8063 TFLAGS="$(STAGE4_TFLAGS)"; \
8064 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8065 $(HOST_EXPORTS) \
8066 $(POSTSTAGE1_HOST_EXPORTS) \
8067 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8068 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8069 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8070 echo Configuring stage 4 in $(HOST_SUBDIR)/fixincludes ; \
8071 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
8072 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8073 case $(srcdir) in \
8074 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8075 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8076 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8077 esac; \
8078 module_srcdir=fixincludes; \
8079 $(SHELL) $$s/$$module_srcdir/configure \
8080 --srcdir=$${topdir}/$$module_srcdir \
8081 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8082 --target=${target_alias} \
8083 --with-build-libsubdir=$(HOST_SUBDIR) \
8084 $(STAGE4_CONFIGURE_FLAGS)
8085 @endif fixincludes-bootstrap
8087 .PHONY: configure-stageprofile-fixincludes maybe-configure-stageprofile-fixincludes
8088 maybe-configure-stageprofile-fixincludes:
8089 @if fixincludes-bootstrap
8090 maybe-configure-stageprofile-fixincludes: configure-stageprofile-fixincludes
8091 configure-stageprofile-fixincludes:
8092 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8093 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8094 @r=`${PWD_COMMAND}`; export r; \
8095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8096 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8097 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8098 $(HOST_EXPORTS) \
8099 $(POSTSTAGE1_HOST_EXPORTS) \
8100 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8101 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8102 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8103 echo Configuring stage profile in $(HOST_SUBDIR)/fixincludes ; \
8104 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
8105 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8106 case $(srcdir) in \
8107 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8108 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8109 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8110 esac; \
8111 module_srcdir=fixincludes; \
8112 $(SHELL) $$s/$$module_srcdir/configure \
8113 --srcdir=$${topdir}/$$module_srcdir \
8114 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8115 --target=${target_alias} \
8116 --with-build-libsubdir=$(HOST_SUBDIR) \
8117 $(STAGEprofile_CONFIGURE_FLAGS)
8118 @endif fixincludes-bootstrap
8120 .PHONY: configure-stagefeedback-fixincludes maybe-configure-stagefeedback-fixincludes
8121 maybe-configure-stagefeedback-fixincludes:
8122 @if fixincludes-bootstrap
8123 maybe-configure-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
8124 configure-stagefeedback-fixincludes:
8125 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8126 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8127 @r=`${PWD_COMMAND}`; export r; \
8128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8129 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8130 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8131 $(HOST_EXPORTS) \
8132 $(POSTSTAGE1_HOST_EXPORTS) \
8133 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8134 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8135 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8136 echo Configuring stage feedback in $(HOST_SUBDIR)/fixincludes ; \
8137 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
8138 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8139 case $(srcdir) in \
8140 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8141 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8142 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8143 esac; \
8144 module_srcdir=fixincludes; \
8145 $(SHELL) $$s/$$module_srcdir/configure \
8146 --srcdir=$${topdir}/$$module_srcdir \
8147 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8148 --target=${target_alias} \
8149 --with-build-libsubdir=$(HOST_SUBDIR) \
8150 $(STAGEfeedback_CONFIGURE_FLAGS)
8151 @endif fixincludes-bootstrap
8157 .PHONY: all-fixincludes maybe-all-fixincludes
8158 maybe-all-fixincludes:
8159 @if gcc-bootstrap
8160 all-fixincludes: stage_current
8161 @endif gcc-bootstrap
8162 @if fixincludes
8163 TARGET-fixincludes=all
8164 maybe-all-fixincludes: all-fixincludes
8165 all-fixincludes: configure-fixincludes
8166 @r=`${PWD_COMMAND}`; export r; \
8167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8168 $(HOST_EXPORTS) \
8169 (cd $(HOST_SUBDIR)/fixincludes && \
8170 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8171 $(TARGET-fixincludes))
8172 @endif fixincludes
8176 .PHONY: all-stage1-fixincludes maybe-all-stage1-fixincludes
8177 .PHONY: clean-stage1-fixincludes maybe-clean-stage1-fixincludes
8178 maybe-all-stage1-fixincludes:
8179 maybe-clean-stage1-fixincludes:
8180 @if fixincludes-bootstrap
8181 maybe-all-stage1-fixincludes: all-stage1-fixincludes
8182 all-stage1: all-stage1-fixincludes
8183 TARGET-stage1-fixincludes = $(TARGET-fixincludes)
8184 all-stage1-fixincludes: configure-stage1-fixincludes
8185 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8186 @r=`${PWD_COMMAND}`; export r; \
8187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8188 TFLAGS="$(STAGE1_TFLAGS)"; \
8189 $(HOST_EXPORTS) \
8190 cd $(HOST_SUBDIR)/fixincludes && \
8191 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8192 CFLAGS="$(STAGE1_CFLAGS)" \
8193 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
8194 LIBCFLAGS="$(LIBCFLAGS)" \
8195 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8196 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8197 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8198 $(EXTRA_HOST_FLAGS) \
8199 $(STAGE1_FLAGS_TO_PASS) \
8200 TFLAGS="$(STAGE1_TFLAGS)" \
8201 $(TARGET-stage1-fixincludes)
8203 maybe-clean-stage1-fixincludes: clean-stage1-fixincludes
8204 clean-stage1: clean-stage1-fixincludes
8205 clean-stage1-fixincludes:
8206 @if [ $(current_stage) = stage1 ]; then \
8207 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8208 else \
8209 [ -f $(HOST_SUBDIR)/stage1-fixincludes/Makefile ] || exit 0; \
8210 $(MAKE) stage1-start; \
8211 fi; \
8212 cd $(HOST_SUBDIR)/fixincludes && \
8213 $(MAKE) $(EXTRA_HOST_FLAGS) \
8214 $(STAGE1_FLAGS_TO_PASS) clean
8215 @endif fixincludes-bootstrap
8218 .PHONY: all-stage2-fixincludes maybe-all-stage2-fixincludes
8219 .PHONY: clean-stage2-fixincludes maybe-clean-stage2-fixincludes
8220 maybe-all-stage2-fixincludes:
8221 maybe-clean-stage2-fixincludes:
8222 @if fixincludes-bootstrap
8223 maybe-all-stage2-fixincludes: all-stage2-fixincludes
8224 all-stage2: all-stage2-fixincludes
8225 TARGET-stage2-fixincludes = $(TARGET-fixincludes)
8226 all-stage2-fixincludes: configure-stage2-fixincludes
8227 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8228 @r=`${PWD_COMMAND}`; export r; \
8229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8230 TFLAGS="$(STAGE2_TFLAGS)"; \
8231 $(HOST_EXPORTS) \
8232 $(POSTSTAGE1_HOST_EXPORTS) \
8233 cd $(HOST_SUBDIR)/fixincludes && \
8234 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8235 CFLAGS="$(STAGE2_CFLAGS)" \
8236 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
8237 LIBCFLAGS="$(STAGE2_CFLAGS)" \
8238 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8239 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8240 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8241 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8242 TFLAGS="$(STAGE2_TFLAGS)" \
8243 $(TARGET-stage2-fixincludes)
8245 maybe-clean-stage2-fixincludes: clean-stage2-fixincludes
8246 clean-stage2: clean-stage2-fixincludes
8247 clean-stage2-fixincludes:
8248 @if [ $(current_stage) = stage2 ]; then \
8249 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8250 else \
8251 [ -f $(HOST_SUBDIR)/stage2-fixincludes/Makefile ] || exit 0; \
8252 $(MAKE) stage2-start; \
8253 fi; \
8254 cd $(HOST_SUBDIR)/fixincludes && \
8255 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8256 @endif fixincludes-bootstrap
8259 .PHONY: all-stage3-fixincludes maybe-all-stage3-fixincludes
8260 .PHONY: clean-stage3-fixincludes maybe-clean-stage3-fixincludes
8261 maybe-all-stage3-fixincludes:
8262 maybe-clean-stage3-fixincludes:
8263 @if fixincludes-bootstrap
8264 maybe-all-stage3-fixincludes: all-stage3-fixincludes
8265 all-stage3: all-stage3-fixincludes
8266 TARGET-stage3-fixincludes = $(TARGET-fixincludes)
8267 all-stage3-fixincludes: configure-stage3-fixincludes
8268 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8269 @r=`${PWD_COMMAND}`; export r; \
8270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8271 TFLAGS="$(STAGE3_TFLAGS)"; \
8272 $(HOST_EXPORTS) \
8273 $(POSTSTAGE1_HOST_EXPORTS) \
8274 cd $(HOST_SUBDIR)/fixincludes && \
8275 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8276 CFLAGS="$(STAGE3_CFLAGS)" \
8277 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
8278 LIBCFLAGS="$(STAGE3_CFLAGS)" \
8279 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8280 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8281 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8282 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8283 TFLAGS="$(STAGE3_TFLAGS)" \
8284 $(TARGET-stage3-fixincludes)
8286 maybe-clean-stage3-fixincludes: clean-stage3-fixincludes
8287 clean-stage3: clean-stage3-fixincludes
8288 clean-stage3-fixincludes:
8289 @if [ $(current_stage) = stage3 ]; then \
8290 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8291 else \
8292 [ -f $(HOST_SUBDIR)/stage3-fixincludes/Makefile ] || exit 0; \
8293 $(MAKE) stage3-start; \
8294 fi; \
8295 cd $(HOST_SUBDIR)/fixincludes && \
8296 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8297 @endif fixincludes-bootstrap
8300 .PHONY: all-stage4-fixincludes maybe-all-stage4-fixincludes
8301 .PHONY: clean-stage4-fixincludes maybe-clean-stage4-fixincludes
8302 maybe-all-stage4-fixincludes:
8303 maybe-clean-stage4-fixincludes:
8304 @if fixincludes-bootstrap
8305 maybe-all-stage4-fixincludes: all-stage4-fixincludes
8306 all-stage4: all-stage4-fixincludes
8307 TARGET-stage4-fixincludes = $(TARGET-fixincludes)
8308 all-stage4-fixincludes: configure-stage4-fixincludes
8309 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8310 @r=`${PWD_COMMAND}`; export r; \
8311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8312 TFLAGS="$(STAGE4_TFLAGS)"; \
8313 $(HOST_EXPORTS) \
8314 $(POSTSTAGE1_HOST_EXPORTS) \
8315 cd $(HOST_SUBDIR)/fixincludes && \
8316 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8317 CFLAGS="$(STAGE4_CFLAGS)" \
8318 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
8319 LIBCFLAGS="$(STAGE4_CFLAGS)" \
8320 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8321 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8322 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8323 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8324 TFLAGS="$(STAGE4_TFLAGS)" \
8325 $(TARGET-stage4-fixincludes)
8327 maybe-clean-stage4-fixincludes: clean-stage4-fixincludes
8328 clean-stage4: clean-stage4-fixincludes
8329 clean-stage4-fixincludes:
8330 @if [ $(current_stage) = stage4 ]; then \
8331 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8332 else \
8333 [ -f $(HOST_SUBDIR)/stage4-fixincludes/Makefile ] || exit 0; \
8334 $(MAKE) stage4-start; \
8335 fi; \
8336 cd $(HOST_SUBDIR)/fixincludes && \
8337 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8338 @endif fixincludes-bootstrap
8341 .PHONY: all-stageprofile-fixincludes maybe-all-stageprofile-fixincludes
8342 .PHONY: clean-stageprofile-fixincludes maybe-clean-stageprofile-fixincludes
8343 maybe-all-stageprofile-fixincludes:
8344 maybe-clean-stageprofile-fixincludes:
8345 @if fixincludes-bootstrap
8346 maybe-all-stageprofile-fixincludes: all-stageprofile-fixincludes
8347 all-stageprofile: all-stageprofile-fixincludes
8348 TARGET-stageprofile-fixincludes = $(TARGET-fixincludes)
8349 all-stageprofile-fixincludes: configure-stageprofile-fixincludes
8350 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8351 @r=`${PWD_COMMAND}`; export r; \
8352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8353 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8354 $(HOST_EXPORTS) \
8355 $(POSTSTAGE1_HOST_EXPORTS) \
8356 cd $(HOST_SUBDIR)/fixincludes && \
8357 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8358 CFLAGS="$(STAGEprofile_CFLAGS)" \
8359 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
8360 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
8361 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8362 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8363 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8364 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8365 TFLAGS="$(STAGEprofile_TFLAGS)" \
8366 $(TARGET-stageprofile-fixincludes)
8368 maybe-clean-stageprofile-fixincludes: clean-stageprofile-fixincludes
8369 clean-stageprofile: clean-stageprofile-fixincludes
8370 clean-stageprofile-fixincludes:
8371 @if [ $(current_stage) = stageprofile ]; then \
8372 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8373 else \
8374 [ -f $(HOST_SUBDIR)/stageprofile-fixincludes/Makefile ] || exit 0; \
8375 $(MAKE) stageprofile-start; \
8376 fi; \
8377 cd $(HOST_SUBDIR)/fixincludes && \
8378 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8379 @endif fixincludes-bootstrap
8382 .PHONY: all-stagefeedback-fixincludes maybe-all-stagefeedback-fixincludes
8383 .PHONY: clean-stagefeedback-fixincludes maybe-clean-stagefeedback-fixincludes
8384 maybe-all-stagefeedback-fixincludes:
8385 maybe-clean-stagefeedback-fixincludes:
8386 @if fixincludes-bootstrap
8387 maybe-all-stagefeedback-fixincludes: all-stagefeedback-fixincludes
8388 all-stagefeedback: all-stagefeedback-fixincludes
8389 TARGET-stagefeedback-fixincludes = $(TARGET-fixincludes)
8390 all-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
8391 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8392 @r=`${PWD_COMMAND}`; export r; \
8393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8394 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8395 $(HOST_EXPORTS) \
8396 $(POSTSTAGE1_HOST_EXPORTS) \
8397 cd $(HOST_SUBDIR)/fixincludes && \
8398 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8399 CFLAGS="$(STAGEfeedback_CFLAGS)" \
8400 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
8401 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
8402 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8403 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8404 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8405 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8406 TFLAGS="$(STAGEfeedback_TFLAGS)" \
8407 $(TARGET-stagefeedback-fixincludes)
8409 maybe-clean-stagefeedback-fixincludes: clean-stagefeedback-fixincludes
8410 clean-stagefeedback: clean-stagefeedback-fixincludes
8411 clean-stagefeedback-fixincludes:
8412 @if [ $(current_stage) = stagefeedback ]; then \
8413 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8414 else \
8415 [ -f $(HOST_SUBDIR)/stagefeedback-fixincludes/Makefile ] || exit 0; \
8416 $(MAKE) stagefeedback-start; \
8417 fi; \
8418 cd $(HOST_SUBDIR)/fixincludes && \
8419 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8420 @endif fixincludes-bootstrap
8426 .PHONY: check-fixincludes maybe-check-fixincludes
8427 maybe-check-fixincludes:
8428 @if fixincludes
8429 maybe-check-fixincludes: check-fixincludes
8431 check-fixincludes:
8432 @: $(MAKE); $(unstage)
8433 @r=`${PWD_COMMAND}`; export r; \
8434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8435 $(HOST_EXPORTS) \
8436 (cd $(HOST_SUBDIR)/fixincludes && \
8437 $(MAKE) $(FLAGS_TO_PASS) check)
8439 @endif fixincludes
8441 .PHONY: install-fixincludes maybe-install-fixincludes
8442 maybe-install-fixincludes:
8443 @if fixincludes
8444 maybe-install-fixincludes: install-fixincludes
8446 install-fixincludes: installdirs
8447 @: $(MAKE); $(unstage)
8448 @r=`${PWD_COMMAND}`; export r; \
8449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8450 $(HOST_EXPORTS) \
8451 (cd $(HOST_SUBDIR)/fixincludes && \
8452 $(MAKE) $(FLAGS_TO_PASS) install)
8454 @endif fixincludes
8456 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
8457 maybe-install-strip-fixincludes:
8458 @if fixincludes
8459 maybe-install-strip-fixincludes: install-strip-fixincludes
8461 install-strip-fixincludes: installdirs
8462 @: $(MAKE); $(unstage)
8463 @r=`${PWD_COMMAND}`; export r; \
8464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8465 $(HOST_EXPORTS) \
8466 (cd $(HOST_SUBDIR)/fixincludes && \
8467 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8469 @endif fixincludes
8471 # Other targets (info, dvi, pdf, etc.)
8473 .PHONY: maybe-info-fixincludes info-fixincludes
8474 maybe-info-fixincludes:
8475 @if fixincludes
8476 maybe-info-fixincludes: info-fixincludes
8478 info-fixincludes: \
8479 configure-fixincludes
8480 @[ -f ./fixincludes/Makefile ] || exit 0; \
8481 r=`${PWD_COMMAND}`; export r; \
8482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8483 $(HOST_EXPORTS) \
8484 for flag in $(EXTRA_HOST_FLAGS) ; do \
8485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8486 done; \
8487 echo "Doing info in fixincludes" ; \
8488 (cd $(HOST_SUBDIR)/fixincludes && \
8489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8491 "RANLIB=$${RANLIB}" \
8492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8493 info) \
8494 || exit 1
8496 @endif fixincludes
8498 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
8499 maybe-dvi-fixincludes:
8500 @if fixincludes
8501 maybe-dvi-fixincludes: dvi-fixincludes
8503 dvi-fixincludes: \
8504 configure-fixincludes
8505 @[ -f ./fixincludes/Makefile ] || exit 0; \
8506 r=`${PWD_COMMAND}`; export r; \
8507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8508 $(HOST_EXPORTS) \
8509 for flag in $(EXTRA_HOST_FLAGS) ; do \
8510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8511 done; \
8512 echo "Doing dvi in fixincludes" ; \
8513 (cd $(HOST_SUBDIR)/fixincludes && \
8514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8516 "RANLIB=$${RANLIB}" \
8517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8518 dvi) \
8519 || exit 1
8521 @endif fixincludes
8523 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
8524 maybe-pdf-fixincludes:
8525 @if fixincludes
8526 maybe-pdf-fixincludes: pdf-fixincludes
8528 pdf-fixincludes: \
8529 configure-fixincludes
8530 @[ -f ./fixincludes/Makefile ] || exit 0; \
8531 r=`${PWD_COMMAND}`; export r; \
8532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8533 $(HOST_EXPORTS) \
8534 for flag in $(EXTRA_HOST_FLAGS) ; do \
8535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8536 done; \
8537 echo "Doing pdf in fixincludes" ; \
8538 (cd $(HOST_SUBDIR)/fixincludes && \
8539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8541 "RANLIB=$${RANLIB}" \
8542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8543 pdf) \
8544 || exit 1
8546 @endif fixincludes
8548 .PHONY: maybe-html-fixincludes html-fixincludes
8549 maybe-html-fixincludes:
8550 @if fixincludes
8551 maybe-html-fixincludes: html-fixincludes
8553 html-fixincludes: \
8554 configure-fixincludes
8555 @[ -f ./fixincludes/Makefile ] || exit 0; \
8556 r=`${PWD_COMMAND}`; export r; \
8557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8558 $(HOST_EXPORTS) \
8559 for flag in $(EXTRA_HOST_FLAGS) ; do \
8560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8561 done; \
8562 echo "Doing html in fixincludes" ; \
8563 (cd $(HOST_SUBDIR)/fixincludes && \
8564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8566 "RANLIB=$${RANLIB}" \
8567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8568 html) \
8569 || exit 1
8571 @endif fixincludes
8573 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
8574 maybe-TAGS-fixincludes:
8575 @if fixincludes
8576 maybe-TAGS-fixincludes: TAGS-fixincludes
8578 # fixincludes doesn't support TAGS.
8579 TAGS-fixincludes:
8581 @endif fixincludes
8583 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
8584 maybe-install-info-fixincludes:
8585 @if fixincludes
8586 maybe-install-info-fixincludes: install-info-fixincludes
8588 install-info-fixincludes: \
8589 configure-fixincludes \
8590 info-fixincludes
8591 @[ -f ./fixincludes/Makefile ] || exit 0; \
8592 r=`${PWD_COMMAND}`; export r; \
8593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8594 $(HOST_EXPORTS) \
8595 for flag in $(EXTRA_HOST_FLAGS) ; do \
8596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8597 done; \
8598 echo "Doing install-info in fixincludes" ; \
8599 (cd $(HOST_SUBDIR)/fixincludes && \
8600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8602 "RANLIB=$${RANLIB}" \
8603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8604 install-info) \
8605 || exit 1
8607 @endif fixincludes
8609 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
8610 maybe-install-pdf-fixincludes:
8611 @if fixincludes
8612 maybe-install-pdf-fixincludes: install-pdf-fixincludes
8614 install-pdf-fixincludes: \
8615 configure-fixincludes \
8616 pdf-fixincludes
8617 @[ -f ./fixincludes/Makefile ] || exit 0; \
8618 r=`${PWD_COMMAND}`; export r; \
8619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8620 $(HOST_EXPORTS) \
8621 for flag in $(EXTRA_HOST_FLAGS) ; do \
8622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8623 done; \
8624 echo "Doing install-pdf in fixincludes" ; \
8625 (cd $(HOST_SUBDIR)/fixincludes && \
8626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8628 "RANLIB=$${RANLIB}" \
8629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8630 install-pdf) \
8631 || exit 1
8633 @endif fixincludes
8635 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
8636 maybe-install-html-fixincludes:
8637 @if fixincludes
8638 maybe-install-html-fixincludes: install-html-fixincludes
8640 install-html-fixincludes: \
8641 configure-fixincludes \
8642 html-fixincludes
8643 @[ -f ./fixincludes/Makefile ] || exit 0; \
8644 r=`${PWD_COMMAND}`; export r; \
8645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8646 $(HOST_EXPORTS) \
8647 for flag in $(EXTRA_HOST_FLAGS) ; do \
8648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8649 done; \
8650 echo "Doing install-html in fixincludes" ; \
8651 (cd $(HOST_SUBDIR)/fixincludes && \
8652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8654 "RANLIB=$${RANLIB}" \
8655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8656 install-html) \
8657 || exit 1
8659 @endif fixincludes
8661 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8662 maybe-installcheck-fixincludes:
8663 @if fixincludes
8664 maybe-installcheck-fixincludes: installcheck-fixincludes
8666 installcheck-fixincludes: \
8667 configure-fixincludes
8668 @[ -f ./fixincludes/Makefile ] || exit 0; \
8669 r=`${PWD_COMMAND}`; export r; \
8670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8671 $(HOST_EXPORTS) \
8672 for flag in $(EXTRA_HOST_FLAGS) ; do \
8673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8674 done; \
8675 echo "Doing installcheck in fixincludes" ; \
8676 (cd $(HOST_SUBDIR)/fixincludes && \
8677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8679 "RANLIB=$${RANLIB}" \
8680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8681 installcheck) \
8682 || exit 1
8684 @endif fixincludes
8686 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8687 maybe-mostlyclean-fixincludes:
8688 @if fixincludes
8689 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8691 mostlyclean-fixincludes:
8692 @[ -f ./fixincludes/Makefile ] || exit 0; \
8693 r=`${PWD_COMMAND}`; export r; \
8694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8695 $(HOST_EXPORTS) \
8696 for flag in $(EXTRA_HOST_FLAGS) ; do \
8697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8698 done; \
8699 echo "Doing mostlyclean in fixincludes" ; \
8700 (cd $(HOST_SUBDIR)/fixincludes && \
8701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8703 "RANLIB=$${RANLIB}" \
8704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8705 mostlyclean) \
8706 || exit 1
8708 @endif fixincludes
8710 .PHONY: maybe-clean-fixincludes clean-fixincludes
8711 maybe-clean-fixincludes:
8712 @if fixincludes
8713 maybe-clean-fixincludes: clean-fixincludes
8715 clean-fixincludes:
8716 @[ -f ./fixincludes/Makefile ] || exit 0; \
8717 r=`${PWD_COMMAND}`; export r; \
8718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8719 $(HOST_EXPORTS) \
8720 for flag in $(EXTRA_HOST_FLAGS) ; do \
8721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8722 done; \
8723 echo "Doing clean in fixincludes" ; \
8724 (cd $(HOST_SUBDIR)/fixincludes && \
8725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8727 "RANLIB=$${RANLIB}" \
8728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8729 clean) \
8730 || exit 1
8732 @endif fixincludes
8734 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8735 maybe-distclean-fixincludes:
8736 @if fixincludes
8737 maybe-distclean-fixincludes: distclean-fixincludes
8739 distclean-fixincludes:
8740 @[ -f ./fixincludes/Makefile ] || exit 0; \
8741 r=`${PWD_COMMAND}`; export r; \
8742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8743 $(HOST_EXPORTS) \
8744 for flag in $(EXTRA_HOST_FLAGS) ; do \
8745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8746 done; \
8747 echo "Doing distclean in fixincludes" ; \
8748 (cd $(HOST_SUBDIR)/fixincludes && \
8749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8751 "RANLIB=$${RANLIB}" \
8752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8753 distclean) \
8754 || exit 1
8756 @endif fixincludes
8758 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8759 maybe-maintainer-clean-fixincludes:
8760 @if fixincludes
8761 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8763 maintainer-clean-fixincludes:
8764 @[ -f ./fixincludes/Makefile ] || exit 0; \
8765 r=`${PWD_COMMAND}`; export r; \
8766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8767 $(HOST_EXPORTS) \
8768 for flag in $(EXTRA_HOST_FLAGS) ; do \
8769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8770 done; \
8771 echo "Doing maintainer-clean in fixincludes" ; \
8772 (cd $(HOST_SUBDIR)/fixincludes && \
8773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8775 "RANLIB=$${RANLIB}" \
8776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8777 maintainer-clean) \
8778 || exit 1
8780 @endif fixincludes
8784 .PHONY: configure-flex maybe-configure-flex
8785 maybe-configure-flex:
8786 @if gcc-bootstrap
8787 configure-flex: stage_current
8788 @endif gcc-bootstrap
8789 @if flex
8790 maybe-configure-flex: configure-flex
8791 configure-flex:
8792 @: $(MAKE); $(unstage)
8793 @r=`${PWD_COMMAND}`; export r; \
8794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8795 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8796 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
8797 $(HOST_EXPORTS) \
8798 echo Configuring in $(HOST_SUBDIR)/flex; \
8799 cd "$(HOST_SUBDIR)/flex" || exit 1; \
8800 case $(srcdir) in \
8801 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8802 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8803 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8804 esac; \
8805 module_srcdir=flex; \
8806 $(SHELL) \
8807 $$s/$$module_srcdir/configure \
8808 --srcdir=$${topdir}/$$module_srcdir \
8809 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8810 --target=${target_alias} \
8811 || exit 1
8812 @endif flex
8818 .PHONY: all-flex maybe-all-flex
8819 maybe-all-flex:
8820 @if gcc-bootstrap
8821 all-flex: stage_current
8822 @endif gcc-bootstrap
8823 @if flex
8824 TARGET-flex=all
8825 maybe-all-flex: all-flex
8826 all-flex: configure-flex
8827 @: $(MAKE); $(unstage)
8828 @r=`${PWD_COMMAND}`; export r; \
8829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8830 $(HOST_EXPORTS) \
8831 (cd $(HOST_SUBDIR)/flex && \
8832 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8833 $(TARGET-flex))
8834 @endif flex
8839 .PHONY: check-flex maybe-check-flex
8840 maybe-check-flex:
8841 @if flex
8842 maybe-check-flex: check-flex
8844 # This module is only tested in a native toolchain.
8845 check-flex:
8846 @: $(MAKE); $(unstage)
8847 @if [ '$(host)' = '$(target)' ] ; then \
8848 r=`${PWD_COMMAND}`; export r; \
8849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8850 $(HOST_EXPORTS) \
8851 (cd $(HOST_SUBDIR)/flex && \
8852 $(MAKE) $(FLAGS_TO_PASS) check); \
8855 @endif flex
8857 .PHONY: install-flex maybe-install-flex
8858 maybe-install-flex:
8859 @if flex
8860 maybe-install-flex: install-flex
8862 install-flex: installdirs
8863 @: $(MAKE); $(unstage)
8864 @r=`${PWD_COMMAND}`; export r; \
8865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8866 $(HOST_EXPORTS) \
8867 (cd $(HOST_SUBDIR)/flex && \
8868 $(MAKE) $(FLAGS_TO_PASS) install)
8870 @endif flex
8872 .PHONY: install-strip-flex maybe-install-strip-flex
8873 maybe-install-strip-flex:
8874 @if flex
8875 maybe-install-strip-flex: install-strip-flex
8877 install-strip-flex: installdirs
8878 @: $(MAKE); $(unstage)
8879 @r=`${PWD_COMMAND}`; export r; \
8880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8881 $(HOST_EXPORTS) \
8882 (cd $(HOST_SUBDIR)/flex && \
8883 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8885 @endif flex
8887 # Other targets (info, dvi, pdf, etc.)
8889 .PHONY: maybe-info-flex info-flex
8890 maybe-info-flex:
8891 @if flex
8892 maybe-info-flex: info-flex
8894 info-flex: \
8895 configure-flex
8896 @: $(MAKE); $(unstage)
8897 @[ -f ./flex/Makefile ] || exit 0; \
8898 r=`${PWD_COMMAND}`; export r; \
8899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8900 $(HOST_EXPORTS) \
8901 for flag in $(EXTRA_HOST_FLAGS) ; do \
8902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8903 done; \
8904 echo "Doing info in flex" ; \
8905 (cd $(HOST_SUBDIR)/flex && \
8906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8908 "RANLIB=$${RANLIB}" \
8909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8910 info) \
8911 || exit 1
8913 @endif flex
8915 .PHONY: maybe-dvi-flex dvi-flex
8916 maybe-dvi-flex:
8917 @if flex
8918 maybe-dvi-flex: dvi-flex
8920 dvi-flex: \
8921 configure-flex
8922 @: $(MAKE); $(unstage)
8923 @[ -f ./flex/Makefile ] || exit 0; \
8924 r=`${PWD_COMMAND}`; export r; \
8925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8926 $(HOST_EXPORTS) \
8927 for flag in $(EXTRA_HOST_FLAGS) ; do \
8928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8929 done; \
8930 echo "Doing dvi in flex" ; \
8931 (cd $(HOST_SUBDIR)/flex && \
8932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8934 "RANLIB=$${RANLIB}" \
8935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8936 dvi) \
8937 || exit 1
8939 @endif flex
8941 .PHONY: maybe-pdf-flex pdf-flex
8942 maybe-pdf-flex:
8943 @if flex
8944 maybe-pdf-flex: pdf-flex
8946 pdf-flex: \
8947 configure-flex
8948 @: $(MAKE); $(unstage)
8949 @[ -f ./flex/Makefile ] || exit 0; \
8950 r=`${PWD_COMMAND}`; export r; \
8951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8952 $(HOST_EXPORTS) \
8953 for flag in $(EXTRA_HOST_FLAGS) ; do \
8954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8955 done; \
8956 echo "Doing pdf in flex" ; \
8957 (cd $(HOST_SUBDIR)/flex && \
8958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8960 "RANLIB=$${RANLIB}" \
8961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8962 pdf) \
8963 || exit 1
8965 @endif flex
8967 .PHONY: maybe-html-flex html-flex
8968 maybe-html-flex:
8969 @if flex
8970 maybe-html-flex: html-flex
8972 html-flex: \
8973 configure-flex
8974 @: $(MAKE); $(unstage)
8975 @[ -f ./flex/Makefile ] || exit 0; \
8976 r=`${PWD_COMMAND}`; export r; \
8977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8978 $(HOST_EXPORTS) \
8979 for flag in $(EXTRA_HOST_FLAGS) ; do \
8980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8981 done; \
8982 echo "Doing html in flex" ; \
8983 (cd $(HOST_SUBDIR)/flex && \
8984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8986 "RANLIB=$${RANLIB}" \
8987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8988 html) \
8989 || exit 1
8991 @endif flex
8993 .PHONY: maybe-TAGS-flex TAGS-flex
8994 maybe-TAGS-flex:
8995 @if flex
8996 maybe-TAGS-flex: TAGS-flex
8998 TAGS-flex: \
8999 configure-flex
9000 @: $(MAKE); $(unstage)
9001 @[ -f ./flex/Makefile ] || exit 0; \
9002 r=`${PWD_COMMAND}`; export r; \
9003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9004 $(HOST_EXPORTS) \
9005 for flag in $(EXTRA_HOST_FLAGS) ; do \
9006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9007 done; \
9008 echo "Doing TAGS in flex" ; \
9009 (cd $(HOST_SUBDIR)/flex && \
9010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9012 "RANLIB=$${RANLIB}" \
9013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9014 TAGS) \
9015 || exit 1
9017 @endif flex
9019 .PHONY: maybe-install-info-flex install-info-flex
9020 maybe-install-info-flex:
9021 @if flex
9022 maybe-install-info-flex: install-info-flex
9024 install-info-flex: \
9025 configure-flex \
9026 info-flex
9027 @: $(MAKE); $(unstage)
9028 @[ -f ./flex/Makefile ] || exit 0; \
9029 r=`${PWD_COMMAND}`; export r; \
9030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9031 $(HOST_EXPORTS) \
9032 for flag in $(EXTRA_HOST_FLAGS) ; do \
9033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9034 done; \
9035 echo "Doing install-info in flex" ; \
9036 (cd $(HOST_SUBDIR)/flex && \
9037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9039 "RANLIB=$${RANLIB}" \
9040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9041 install-info) \
9042 || exit 1
9044 @endif flex
9046 .PHONY: maybe-install-pdf-flex install-pdf-flex
9047 maybe-install-pdf-flex:
9048 @if flex
9049 maybe-install-pdf-flex: install-pdf-flex
9051 install-pdf-flex: \
9052 configure-flex \
9053 pdf-flex
9054 @: $(MAKE); $(unstage)
9055 @[ -f ./flex/Makefile ] || exit 0; \
9056 r=`${PWD_COMMAND}`; export r; \
9057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9058 $(HOST_EXPORTS) \
9059 for flag in $(EXTRA_HOST_FLAGS) ; do \
9060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9061 done; \
9062 echo "Doing install-pdf in flex" ; \
9063 (cd $(HOST_SUBDIR)/flex && \
9064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9066 "RANLIB=$${RANLIB}" \
9067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9068 install-pdf) \
9069 || exit 1
9071 @endif flex
9073 .PHONY: maybe-install-html-flex install-html-flex
9074 maybe-install-html-flex:
9075 @if flex
9076 maybe-install-html-flex: install-html-flex
9078 install-html-flex: \
9079 configure-flex \
9080 html-flex
9081 @: $(MAKE); $(unstage)
9082 @[ -f ./flex/Makefile ] || exit 0; \
9083 r=`${PWD_COMMAND}`; export r; \
9084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9085 $(HOST_EXPORTS) \
9086 for flag in $(EXTRA_HOST_FLAGS) ; do \
9087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9088 done; \
9089 echo "Doing install-html in flex" ; \
9090 (cd $(HOST_SUBDIR)/flex && \
9091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9093 "RANLIB=$${RANLIB}" \
9094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9095 install-html) \
9096 || exit 1
9098 @endif flex
9100 .PHONY: maybe-installcheck-flex installcheck-flex
9101 maybe-installcheck-flex:
9102 @if flex
9103 maybe-installcheck-flex: installcheck-flex
9105 installcheck-flex: \
9106 configure-flex
9107 @: $(MAKE); $(unstage)
9108 @[ -f ./flex/Makefile ] || exit 0; \
9109 r=`${PWD_COMMAND}`; export r; \
9110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9111 $(HOST_EXPORTS) \
9112 for flag in $(EXTRA_HOST_FLAGS) ; do \
9113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9114 done; \
9115 echo "Doing installcheck in flex" ; \
9116 (cd $(HOST_SUBDIR)/flex && \
9117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9119 "RANLIB=$${RANLIB}" \
9120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9121 installcheck) \
9122 || exit 1
9124 @endif flex
9126 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
9127 maybe-mostlyclean-flex:
9128 @if flex
9129 maybe-mostlyclean-flex: mostlyclean-flex
9131 mostlyclean-flex:
9132 @: $(MAKE); $(unstage)
9133 @[ -f ./flex/Makefile ] || exit 0; \
9134 r=`${PWD_COMMAND}`; export r; \
9135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9136 $(HOST_EXPORTS) \
9137 for flag in $(EXTRA_HOST_FLAGS) ; do \
9138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9139 done; \
9140 echo "Doing mostlyclean in flex" ; \
9141 (cd $(HOST_SUBDIR)/flex && \
9142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9144 "RANLIB=$${RANLIB}" \
9145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9146 mostlyclean) \
9147 || exit 1
9149 @endif flex
9151 .PHONY: maybe-clean-flex clean-flex
9152 maybe-clean-flex:
9153 @if flex
9154 maybe-clean-flex: clean-flex
9156 clean-flex:
9157 @: $(MAKE); $(unstage)
9158 @[ -f ./flex/Makefile ] || exit 0; \
9159 r=`${PWD_COMMAND}`; export r; \
9160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9161 $(HOST_EXPORTS) \
9162 for flag in $(EXTRA_HOST_FLAGS) ; do \
9163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9164 done; \
9165 echo "Doing clean in flex" ; \
9166 (cd $(HOST_SUBDIR)/flex && \
9167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9169 "RANLIB=$${RANLIB}" \
9170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9171 clean) \
9172 || exit 1
9174 @endif flex
9176 .PHONY: maybe-distclean-flex distclean-flex
9177 maybe-distclean-flex:
9178 @if flex
9179 maybe-distclean-flex: distclean-flex
9181 distclean-flex:
9182 @: $(MAKE); $(unstage)
9183 @[ -f ./flex/Makefile ] || exit 0; \
9184 r=`${PWD_COMMAND}`; export r; \
9185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9186 $(HOST_EXPORTS) \
9187 for flag in $(EXTRA_HOST_FLAGS) ; do \
9188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9189 done; \
9190 echo "Doing distclean in flex" ; \
9191 (cd $(HOST_SUBDIR)/flex && \
9192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9194 "RANLIB=$${RANLIB}" \
9195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9196 distclean) \
9197 || exit 1
9199 @endif flex
9201 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
9202 maybe-maintainer-clean-flex:
9203 @if flex
9204 maybe-maintainer-clean-flex: maintainer-clean-flex
9206 maintainer-clean-flex:
9207 @: $(MAKE); $(unstage)
9208 @[ -f ./flex/Makefile ] || exit 0; \
9209 r=`${PWD_COMMAND}`; export r; \
9210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9211 $(HOST_EXPORTS) \
9212 for flag in $(EXTRA_HOST_FLAGS) ; do \
9213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9214 done; \
9215 echo "Doing maintainer-clean in flex" ; \
9216 (cd $(HOST_SUBDIR)/flex && \
9217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9219 "RANLIB=$${RANLIB}" \
9220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9221 maintainer-clean) \
9222 || exit 1
9224 @endif flex
9228 .PHONY: configure-gas maybe-configure-gas
9229 maybe-configure-gas:
9230 @if gcc-bootstrap
9231 configure-gas: stage_current
9232 @endif gcc-bootstrap
9233 @if gas
9234 maybe-configure-gas: configure-gas
9235 configure-gas:
9236 @r=`${PWD_COMMAND}`; export r; \
9237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9238 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9239 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9240 $(HOST_EXPORTS) \
9241 echo Configuring in $(HOST_SUBDIR)/gas; \
9242 cd "$(HOST_SUBDIR)/gas" || exit 1; \
9243 case $(srcdir) in \
9244 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9245 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9246 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9247 esac; \
9248 module_srcdir=gas; \
9249 $(SHELL) \
9250 $$s/$$module_srcdir/configure \
9251 --srcdir=$${topdir}/$$module_srcdir \
9252 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9253 --target=${target_alias} \
9254 || exit 1
9255 @endif gas
9259 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
9260 maybe-configure-stage1-gas:
9261 @if gas-bootstrap
9262 maybe-configure-stage1-gas: configure-stage1-gas
9263 configure-stage1-gas:
9264 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9265 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9266 @r=`${PWD_COMMAND}`; export r; \
9267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9268 TFLAGS="$(STAGE1_TFLAGS)"; \
9269 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9270 $(HOST_EXPORTS) \
9271 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
9272 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
9273 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
9274 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
9275 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9276 cd $(HOST_SUBDIR)/gas || exit 1; \
9277 case $(srcdir) in \
9278 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9279 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9280 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9281 esac; \
9282 module_srcdir=gas; \
9283 $(SHELL) $$s/$$module_srcdir/configure \
9284 --srcdir=$${topdir}/$$module_srcdir \
9285 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9286 --target=${target_alias} \
9288 $(STAGE1_CONFIGURE_FLAGS)
9289 @endif gas-bootstrap
9291 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
9292 maybe-configure-stage2-gas:
9293 @if gas-bootstrap
9294 maybe-configure-stage2-gas: configure-stage2-gas
9295 configure-stage2-gas:
9296 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9297 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9298 @r=`${PWD_COMMAND}`; export r; \
9299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9300 TFLAGS="$(STAGE2_TFLAGS)"; \
9301 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9302 $(HOST_EXPORTS) \
9303 $(POSTSTAGE1_HOST_EXPORTS) \
9304 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
9305 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
9306 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
9307 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
9308 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9309 cd $(HOST_SUBDIR)/gas || exit 1; \
9310 case $(srcdir) in \
9311 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9312 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9313 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9314 esac; \
9315 module_srcdir=gas; \
9316 $(SHELL) $$s/$$module_srcdir/configure \
9317 --srcdir=$${topdir}/$$module_srcdir \
9318 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9319 --target=${target_alias} \
9320 --with-build-libsubdir=$(HOST_SUBDIR) \
9321 $(STAGE2_CONFIGURE_FLAGS)
9322 @endif gas-bootstrap
9324 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
9325 maybe-configure-stage3-gas:
9326 @if gas-bootstrap
9327 maybe-configure-stage3-gas: configure-stage3-gas
9328 configure-stage3-gas:
9329 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9330 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9331 @r=`${PWD_COMMAND}`; export r; \
9332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9333 TFLAGS="$(STAGE3_TFLAGS)"; \
9334 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9335 $(HOST_EXPORTS) \
9336 $(POSTSTAGE1_HOST_EXPORTS) \
9337 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
9338 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
9339 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
9340 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
9341 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9342 cd $(HOST_SUBDIR)/gas || exit 1; \
9343 case $(srcdir) in \
9344 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9345 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9346 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9347 esac; \
9348 module_srcdir=gas; \
9349 $(SHELL) $$s/$$module_srcdir/configure \
9350 --srcdir=$${topdir}/$$module_srcdir \
9351 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9352 --target=${target_alias} \
9353 --with-build-libsubdir=$(HOST_SUBDIR) \
9354 $(STAGE3_CONFIGURE_FLAGS)
9355 @endif gas-bootstrap
9357 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
9358 maybe-configure-stage4-gas:
9359 @if gas-bootstrap
9360 maybe-configure-stage4-gas: configure-stage4-gas
9361 configure-stage4-gas:
9362 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9363 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9364 @r=`${PWD_COMMAND}`; export r; \
9365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9366 TFLAGS="$(STAGE4_TFLAGS)"; \
9367 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9368 $(HOST_EXPORTS) \
9369 $(POSTSTAGE1_HOST_EXPORTS) \
9370 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
9371 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
9372 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
9373 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
9374 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9375 cd $(HOST_SUBDIR)/gas || exit 1; \
9376 case $(srcdir) in \
9377 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9378 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9379 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9380 esac; \
9381 module_srcdir=gas; \
9382 $(SHELL) $$s/$$module_srcdir/configure \
9383 --srcdir=$${topdir}/$$module_srcdir \
9384 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9385 --target=${target_alias} \
9386 --with-build-libsubdir=$(HOST_SUBDIR) \
9387 $(STAGE4_CONFIGURE_FLAGS)
9388 @endif gas-bootstrap
9390 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
9391 maybe-configure-stageprofile-gas:
9392 @if gas-bootstrap
9393 maybe-configure-stageprofile-gas: configure-stageprofile-gas
9394 configure-stageprofile-gas:
9395 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9396 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9397 @r=`${PWD_COMMAND}`; export r; \
9398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9399 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9400 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9401 $(HOST_EXPORTS) \
9402 $(POSTSTAGE1_HOST_EXPORTS) \
9403 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
9404 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
9405 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
9406 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
9407 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9408 cd $(HOST_SUBDIR)/gas || exit 1; \
9409 case $(srcdir) in \
9410 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9411 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9412 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9413 esac; \
9414 module_srcdir=gas; \
9415 $(SHELL) $$s/$$module_srcdir/configure \
9416 --srcdir=$${topdir}/$$module_srcdir \
9417 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9418 --target=${target_alias} \
9419 --with-build-libsubdir=$(HOST_SUBDIR) \
9420 $(STAGEprofile_CONFIGURE_FLAGS)
9421 @endif gas-bootstrap
9423 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
9424 maybe-configure-stagefeedback-gas:
9425 @if gas-bootstrap
9426 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
9427 configure-stagefeedback-gas:
9428 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9429 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9430 @r=`${PWD_COMMAND}`; export r; \
9431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9432 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9433 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9434 $(HOST_EXPORTS) \
9435 $(POSTSTAGE1_HOST_EXPORTS) \
9436 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9437 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9438 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9439 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
9440 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9441 cd $(HOST_SUBDIR)/gas || exit 1; \
9442 case $(srcdir) in \
9443 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9444 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9445 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9446 esac; \
9447 module_srcdir=gas; \
9448 $(SHELL) $$s/$$module_srcdir/configure \
9449 --srcdir=$${topdir}/$$module_srcdir \
9450 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9451 --target=${target_alias} \
9452 --with-build-libsubdir=$(HOST_SUBDIR) \
9453 $(STAGEfeedback_CONFIGURE_FLAGS)
9454 @endif gas-bootstrap
9460 .PHONY: all-gas maybe-all-gas
9461 maybe-all-gas:
9462 @if gcc-bootstrap
9463 all-gas: stage_current
9464 @endif gcc-bootstrap
9465 @if gas
9466 TARGET-gas=all
9467 maybe-all-gas: all-gas
9468 all-gas: configure-gas
9469 @r=`${PWD_COMMAND}`; export r; \
9470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9471 $(HOST_EXPORTS) \
9472 (cd $(HOST_SUBDIR)/gas && \
9473 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9474 $(TARGET-gas))
9475 @endif gas
9479 .PHONY: all-stage1-gas maybe-all-stage1-gas
9480 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
9481 maybe-all-stage1-gas:
9482 maybe-clean-stage1-gas:
9483 @if gas-bootstrap
9484 maybe-all-stage1-gas: all-stage1-gas
9485 all-stage1: all-stage1-gas
9486 TARGET-stage1-gas = $(TARGET-gas)
9487 all-stage1-gas: configure-stage1-gas
9488 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9489 @r=`${PWD_COMMAND}`; export r; \
9490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9491 TFLAGS="$(STAGE1_TFLAGS)"; \
9492 $(HOST_EXPORTS) \
9493 cd $(HOST_SUBDIR)/gas && \
9494 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9495 CFLAGS="$(STAGE1_CFLAGS)" \
9496 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9497 LIBCFLAGS="$(LIBCFLAGS)" \
9498 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9499 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9500 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9501 $(EXTRA_HOST_FLAGS) \
9502 $(STAGE1_FLAGS_TO_PASS) \
9503 TFLAGS="$(STAGE1_TFLAGS)" \
9504 $(TARGET-stage1-gas)
9506 maybe-clean-stage1-gas: clean-stage1-gas
9507 clean-stage1: clean-stage1-gas
9508 clean-stage1-gas:
9509 @if [ $(current_stage) = stage1 ]; then \
9510 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9511 else \
9512 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
9513 $(MAKE) stage1-start; \
9514 fi; \
9515 cd $(HOST_SUBDIR)/gas && \
9516 $(MAKE) $(EXTRA_HOST_FLAGS) \
9517 $(STAGE1_FLAGS_TO_PASS) clean
9518 @endif gas-bootstrap
9521 .PHONY: all-stage2-gas maybe-all-stage2-gas
9522 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
9523 maybe-all-stage2-gas:
9524 maybe-clean-stage2-gas:
9525 @if gas-bootstrap
9526 maybe-all-stage2-gas: all-stage2-gas
9527 all-stage2: all-stage2-gas
9528 TARGET-stage2-gas = $(TARGET-gas)
9529 all-stage2-gas: configure-stage2-gas
9530 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9531 @r=`${PWD_COMMAND}`; export r; \
9532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9533 TFLAGS="$(STAGE2_TFLAGS)"; \
9534 $(HOST_EXPORTS) \
9535 $(POSTSTAGE1_HOST_EXPORTS) \
9536 cd $(HOST_SUBDIR)/gas && \
9537 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9538 CFLAGS="$(STAGE2_CFLAGS)" \
9539 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9540 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9541 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9542 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9543 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9544 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9545 TFLAGS="$(STAGE2_TFLAGS)" \
9546 $(TARGET-stage2-gas)
9548 maybe-clean-stage2-gas: clean-stage2-gas
9549 clean-stage2: clean-stage2-gas
9550 clean-stage2-gas:
9551 @if [ $(current_stage) = stage2 ]; then \
9552 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9553 else \
9554 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
9555 $(MAKE) stage2-start; \
9556 fi; \
9557 cd $(HOST_SUBDIR)/gas && \
9558 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9559 @endif gas-bootstrap
9562 .PHONY: all-stage3-gas maybe-all-stage3-gas
9563 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
9564 maybe-all-stage3-gas:
9565 maybe-clean-stage3-gas:
9566 @if gas-bootstrap
9567 maybe-all-stage3-gas: all-stage3-gas
9568 all-stage3: all-stage3-gas
9569 TARGET-stage3-gas = $(TARGET-gas)
9570 all-stage3-gas: configure-stage3-gas
9571 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9572 @r=`${PWD_COMMAND}`; export r; \
9573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9574 TFLAGS="$(STAGE3_TFLAGS)"; \
9575 $(HOST_EXPORTS) \
9576 $(POSTSTAGE1_HOST_EXPORTS) \
9577 cd $(HOST_SUBDIR)/gas && \
9578 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9579 CFLAGS="$(STAGE3_CFLAGS)" \
9580 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9581 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9582 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9583 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9584 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9585 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9586 TFLAGS="$(STAGE3_TFLAGS)" \
9587 $(TARGET-stage3-gas)
9589 maybe-clean-stage3-gas: clean-stage3-gas
9590 clean-stage3: clean-stage3-gas
9591 clean-stage3-gas:
9592 @if [ $(current_stage) = stage3 ]; then \
9593 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9594 else \
9595 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
9596 $(MAKE) stage3-start; \
9597 fi; \
9598 cd $(HOST_SUBDIR)/gas && \
9599 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9600 @endif gas-bootstrap
9603 .PHONY: all-stage4-gas maybe-all-stage4-gas
9604 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
9605 maybe-all-stage4-gas:
9606 maybe-clean-stage4-gas:
9607 @if gas-bootstrap
9608 maybe-all-stage4-gas: all-stage4-gas
9609 all-stage4: all-stage4-gas
9610 TARGET-stage4-gas = $(TARGET-gas)
9611 all-stage4-gas: configure-stage4-gas
9612 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9613 @r=`${PWD_COMMAND}`; export r; \
9614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9615 TFLAGS="$(STAGE4_TFLAGS)"; \
9616 $(HOST_EXPORTS) \
9617 $(POSTSTAGE1_HOST_EXPORTS) \
9618 cd $(HOST_SUBDIR)/gas && \
9619 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9620 CFLAGS="$(STAGE4_CFLAGS)" \
9621 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9622 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9623 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9624 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9625 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9626 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9627 TFLAGS="$(STAGE4_TFLAGS)" \
9628 $(TARGET-stage4-gas)
9630 maybe-clean-stage4-gas: clean-stage4-gas
9631 clean-stage4: clean-stage4-gas
9632 clean-stage4-gas:
9633 @if [ $(current_stage) = stage4 ]; then \
9634 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9635 else \
9636 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
9637 $(MAKE) stage4-start; \
9638 fi; \
9639 cd $(HOST_SUBDIR)/gas && \
9640 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9641 @endif gas-bootstrap
9644 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
9645 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
9646 maybe-all-stageprofile-gas:
9647 maybe-clean-stageprofile-gas:
9648 @if gas-bootstrap
9649 maybe-all-stageprofile-gas: all-stageprofile-gas
9650 all-stageprofile: all-stageprofile-gas
9651 TARGET-stageprofile-gas = $(TARGET-gas)
9652 all-stageprofile-gas: configure-stageprofile-gas
9653 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9654 @r=`${PWD_COMMAND}`; export r; \
9655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9656 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9657 $(HOST_EXPORTS) \
9658 $(POSTSTAGE1_HOST_EXPORTS) \
9659 cd $(HOST_SUBDIR)/gas && \
9660 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9661 CFLAGS="$(STAGEprofile_CFLAGS)" \
9662 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9663 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9664 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9665 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9666 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9667 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9668 TFLAGS="$(STAGEprofile_TFLAGS)" \
9669 $(TARGET-stageprofile-gas)
9671 maybe-clean-stageprofile-gas: clean-stageprofile-gas
9672 clean-stageprofile: clean-stageprofile-gas
9673 clean-stageprofile-gas:
9674 @if [ $(current_stage) = stageprofile ]; then \
9675 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9676 else \
9677 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
9678 $(MAKE) stageprofile-start; \
9679 fi; \
9680 cd $(HOST_SUBDIR)/gas && \
9681 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9682 @endif gas-bootstrap
9685 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
9686 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
9687 maybe-all-stagefeedback-gas:
9688 maybe-clean-stagefeedback-gas:
9689 @if gas-bootstrap
9690 maybe-all-stagefeedback-gas: all-stagefeedback-gas
9691 all-stagefeedback: all-stagefeedback-gas
9692 TARGET-stagefeedback-gas = $(TARGET-gas)
9693 all-stagefeedback-gas: configure-stagefeedback-gas
9694 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9695 @r=`${PWD_COMMAND}`; export r; \
9696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9697 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9698 $(HOST_EXPORTS) \
9699 $(POSTSTAGE1_HOST_EXPORTS) \
9700 cd $(HOST_SUBDIR)/gas && \
9701 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9702 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9703 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9704 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9705 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9706 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9707 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9708 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9709 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9710 $(TARGET-stagefeedback-gas)
9712 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
9713 clean-stagefeedback: clean-stagefeedback-gas
9714 clean-stagefeedback-gas:
9715 @if [ $(current_stage) = stagefeedback ]; then \
9716 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9717 else \
9718 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
9719 $(MAKE) stagefeedback-start; \
9720 fi; \
9721 cd $(HOST_SUBDIR)/gas && \
9722 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9723 @endif gas-bootstrap
9729 .PHONY: check-gas maybe-check-gas
9730 maybe-check-gas:
9731 @if gas
9732 maybe-check-gas: check-gas
9734 check-gas:
9735 @: $(MAKE); $(unstage)
9736 @r=`${PWD_COMMAND}`; export r; \
9737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9738 $(HOST_EXPORTS) \
9739 (cd $(HOST_SUBDIR)/gas && \
9740 $(MAKE) $(FLAGS_TO_PASS) check)
9742 @endif gas
9744 .PHONY: install-gas maybe-install-gas
9745 maybe-install-gas:
9746 @if gas
9747 maybe-install-gas: install-gas
9749 install-gas: installdirs
9750 @: $(MAKE); $(unstage)
9751 @r=`${PWD_COMMAND}`; export r; \
9752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9753 $(HOST_EXPORTS) \
9754 (cd $(HOST_SUBDIR)/gas && \
9755 $(MAKE) $(FLAGS_TO_PASS) install)
9757 @endif gas
9759 .PHONY: install-strip-gas maybe-install-strip-gas
9760 maybe-install-strip-gas:
9761 @if gas
9762 maybe-install-strip-gas: install-strip-gas
9764 install-strip-gas: installdirs
9765 @: $(MAKE); $(unstage)
9766 @r=`${PWD_COMMAND}`; export r; \
9767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9768 $(HOST_EXPORTS) \
9769 (cd $(HOST_SUBDIR)/gas && \
9770 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9772 @endif gas
9774 # Other targets (info, dvi, pdf, etc.)
9776 .PHONY: maybe-info-gas info-gas
9777 maybe-info-gas:
9778 @if gas
9779 maybe-info-gas: info-gas
9781 info-gas: \
9782 configure-gas
9783 @[ -f ./gas/Makefile ] || exit 0; \
9784 r=`${PWD_COMMAND}`; export r; \
9785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9786 $(HOST_EXPORTS) \
9787 for flag in $(EXTRA_HOST_FLAGS) ; do \
9788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9789 done; \
9790 echo "Doing info in gas" ; \
9791 (cd $(HOST_SUBDIR)/gas && \
9792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9794 "RANLIB=$${RANLIB}" \
9795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9796 info) \
9797 || exit 1
9799 @endif gas
9801 .PHONY: maybe-dvi-gas dvi-gas
9802 maybe-dvi-gas:
9803 @if gas
9804 maybe-dvi-gas: dvi-gas
9806 dvi-gas: \
9807 configure-gas
9808 @[ -f ./gas/Makefile ] || exit 0; \
9809 r=`${PWD_COMMAND}`; export r; \
9810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9811 $(HOST_EXPORTS) \
9812 for flag in $(EXTRA_HOST_FLAGS) ; do \
9813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9814 done; \
9815 echo "Doing dvi in gas" ; \
9816 (cd $(HOST_SUBDIR)/gas && \
9817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9819 "RANLIB=$${RANLIB}" \
9820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9821 dvi) \
9822 || exit 1
9824 @endif gas
9826 .PHONY: maybe-pdf-gas pdf-gas
9827 maybe-pdf-gas:
9828 @if gas
9829 maybe-pdf-gas: pdf-gas
9831 pdf-gas: \
9832 configure-gas
9833 @[ -f ./gas/Makefile ] || exit 0; \
9834 r=`${PWD_COMMAND}`; export r; \
9835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9836 $(HOST_EXPORTS) \
9837 for flag in $(EXTRA_HOST_FLAGS) ; do \
9838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9839 done; \
9840 echo "Doing pdf in gas" ; \
9841 (cd $(HOST_SUBDIR)/gas && \
9842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9844 "RANLIB=$${RANLIB}" \
9845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9846 pdf) \
9847 || exit 1
9849 @endif gas
9851 .PHONY: maybe-html-gas html-gas
9852 maybe-html-gas:
9853 @if gas
9854 maybe-html-gas: html-gas
9856 html-gas: \
9857 configure-gas
9858 @[ -f ./gas/Makefile ] || exit 0; \
9859 r=`${PWD_COMMAND}`; export r; \
9860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9861 $(HOST_EXPORTS) \
9862 for flag in $(EXTRA_HOST_FLAGS) ; do \
9863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9864 done; \
9865 echo "Doing html in gas" ; \
9866 (cd $(HOST_SUBDIR)/gas && \
9867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9869 "RANLIB=$${RANLIB}" \
9870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9871 html) \
9872 || exit 1
9874 @endif gas
9876 .PHONY: maybe-TAGS-gas TAGS-gas
9877 maybe-TAGS-gas:
9878 @if gas
9879 maybe-TAGS-gas: TAGS-gas
9881 TAGS-gas: \
9882 configure-gas
9883 @[ -f ./gas/Makefile ] || exit 0; \
9884 r=`${PWD_COMMAND}`; export r; \
9885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9886 $(HOST_EXPORTS) \
9887 for flag in $(EXTRA_HOST_FLAGS) ; do \
9888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9889 done; \
9890 echo "Doing TAGS in gas" ; \
9891 (cd $(HOST_SUBDIR)/gas && \
9892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9894 "RANLIB=$${RANLIB}" \
9895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9896 TAGS) \
9897 || exit 1
9899 @endif gas
9901 .PHONY: maybe-install-info-gas install-info-gas
9902 maybe-install-info-gas:
9903 @if gas
9904 maybe-install-info-gas: install-info-gas
9906 install-info-gas: \
9907 configure-gas \
9908 info-gas
9909 @[ -f ./gas/Makefile ] || exit 0; \
9910 r=`${PWD_COMMAND}`; export r; \
9911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9912 $(HOST_EXPORTS) \
9913 for flag in $(EXTRA_HOST_FLAGS) ; do \
9914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9915 done; \
9916 echo "Doing install-info in gas" ; \
9917 (cd $(HOST_SUBDIR)/gas && \
9918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9920 "RANLIB=$${RANLIB}" \
9921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9922 install-info) \
9923 || exit 1
9925 @endif gas
9927 .PHONY: maybe-install-pdf-gas install-pdf-gas
9928 maybe-install-pdf-gas:
9929 @if gas
9930 maybe-install-pdf-gas: install-pdf-gas
9932 install-pdf-gas: \
9933 configure-gas \
9934 pdf-gas
9935 @[ -f ./gas/Makefile ] || exit 0; \
9936 r=`${PWD_COMMAND}`; export r; \
9937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9938 $(HOST_EXPORTS) \
9939 for flag in $(EXTRA_HOST_FLAGS) ; do \
9940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9941 done; \
9942 echo "Doing install-pdf in gas" ; \
9943 (cd $(HOST_SUBDIR)/gas && \
9944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9946 "RANLIB=$${RANLIB}" \
9947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9948 install-pdf) \
9949 || exit 1
9951 @endif gas
9953 .PHONY: maybe-install-html-gas install-html-gas
9954 maybe-install-html-gas:
9955 @if gas
9956 maybe-install-html-gas: install-html-gas
9958 install-html-gas: \
9959 configure-gas \
9960 html-gas
9961 @[ -f ./gas/Makefile ] || exit 0; \
9962 r=`${PWD_COMMAND}`; export r; \
9963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9964 $(HOST_EXPORTS) \
9965 for flag in $(EXTRA_HOST_FLAGS) ; do \
9966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9967 done; \
9968 echo "Doing install-html in gas" ; \
9969 (cd $(HOST_SUBDIR)/gas && \
9970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9972 "RANLIB=$${RANLIB}" \
9973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9974 install-html) \
9975 || exit 1
9977 @endif gas
9979 .PHONY: maybe-installcheck-gas installcheck-gas
9980 maybe-installcheck-gas:
9981 @if gas
9982 maybe-installcheck-gas: installcheck-gas
9984 installcheck-gas: \
9985 configure-gas
9986 @[ -f ./gas/Makefile ] || exit 0; \
9987 r=`${PWD_COMMAND}`; export r; \
9988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9989 $(HOST_EXPORTS) \
9990 for flag in $(EXTRA_HOST_FLAGS) ; do \
9991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9992 done; \
9993 echo "Doing installcheck in gas" ; \
9994 (cd $(HOST_SUBDIR)/gas && \
9995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9997 "RANLIB=$${RANLIB}" \
9998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9999 installcheck) \
10000 || exit 1
10002 @endif gas
10004 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
10005 maybe-mostlyclean-gas:
10006 @if gas
10007 maybe-mostlyclean-gas: mostlyclean-gas
10009 mostlyclean-gas:
10010 @[ -f ./gas/Makefile ] || exit 0; \
10011 r=`${PWD_COMMAND}`; export r; \
10012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10013 $(HOST_EXPORTS) \
10014 for flag in $(EXTRA_HOST_FLAGS) ; do \
10015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10016 done; \
10017 echo "Doing mostlyclean in gas" ; \
10018 (cd $(HOST_SUBDIR)/gas && \
10019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10021 "RANLIB=$${RANLIB}" \
10022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10023 mostlyclean) \
10024 || exit 1
10026 @endif gas
10028 .PHONY: maybe-clean-gas clean-gas
10029 maybe-clean-gas:
10030 @if gas
10031 maybe-clean-gas: clean-gas
10033 clean-gas:
10034 @[ -f ./gas/Makefile ] || exit 0; \
10035 r=`${PWD_COMMAND}`; export r; \
10036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10037 $(HOST_EXPORTS) \
10038 for flag in $(EXTRA_HOST_FLAGS) ; do \
10039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10040 done; \
10041 echo "Doing clean in gas" ; \
10042 (cd $(HOST_SUBDIR)/gas && \
10043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10045 "RANLIB=$${RANLIB}" \
10046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10047 clean) \
10048 || exit 1
10050 @endif gas
10052 .PHONY: maybe-distclean-gas distclean-gas
10053 maybe-distclean-gas:
10054 @if gas
10055 maybe-distclean-gas: distclean-gas
10057 distclean-gas:
10058 @[ -f ./gas/Makefile ] || exit 0; \
10059 r=`${PWD_COMMAND}`; export r; \
10060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10061 $(HOST_EXPORTS) \
10062 for flag in $(EXTRA_HOST_FLAGS) ; do \
10063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10064 done; \
10065 echo "Doing distclean in gas" ; \
10066 (cd $(HOST_SUBDIR)/gas && \
10067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10069 "RANLIB=$${RANLIB}" \
10070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10071 distclean) \
10072 || exit 1
10074 @endif gas
10076 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
10077 maybe-maintainer-clean-gas:
10078 @if gas
10079 maybe-maintainer-clean-gas: maintainer-clean-gas
10081 maintainer-clean-gas:
10082 @[ -f ./gas/Makefile ] || exit 0; \
10083 r=`${PWD_COMMAND}`; export r; \
10084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10085 $(HOST_EXPORTS) \
10086 for flag in $(EXTRA_HOST_FLAGS) ; do \
10087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10088 done; \
10089 echo "Doing maintainer-clean in gas" ; \
10090 (cd $(HOST_SUBDIR)/gas && \
10091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10093 "RANLIB=$${RANLIB}" \
10094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10095 maintainer-clean) \
10096 || exit 1
10098 @endif gas
10102 .PHONY: configure-gcc maybe-configure-gcc
10103 maybe-configure-gcc:
10104 @if gcc-bootstrap
10105 configure-gcc: stage_current
10106 @endif gcc-bootstrap
10107 @if gcc
10108 maybe-configure-gcc: configure-gcc
10109 configure-gcc:
10110 @r=`${PWD_COMMAND}`; export r; \
10111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10112 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10113 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10114 $(HOST_EXPORTS) \
10115 echo Configuring in $(HOST_SUBDIR)/gcc; \
10116 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
10117 case $(srcdir) in \
10118 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10119 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10120 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10121 esac; \
10122 module_srcdir=gcc; \
10123 $(SHELL) \
10124 $$s/$$module_srcdir/configure \
10125 --srcdir=$${topdir}/$$module_srcdir \
10126 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10127 --target=${target_alias} \
10128 || exit 1
10129 @endif gcc
10133 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
10134 maybe-configure-stage1-gcc:
10135 @if gcc-bootstrap
10136 maybe-configure-stage1-gcc: configure-stage1-gcc
10137 configure-stage1-gcc:
10138 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10139 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10140 @r=`${PWD_COMMAND}`; export r; \
10141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10142 TFLAGS="$(STAGE1_TFLAGS)"; \
10143 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10144 $(HOST_EXPORTS) \
10145 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10146 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10147 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10148 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
10149 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10150 cd $(HOST_SUBDIR)/gcc || exit 1; \
10151 case $(srcdir) in \
10152 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10153 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10154 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10155 esac; \
10156 module_srcdir=gcc; \
10157 $(SHELL) $$s/$$module_srcdir/configure \
10158 --srcdir=$${topdir}/$$module_srcdir \
10159 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10160 --target=${target_alias} \
10162 $(STAGE1_CONFIGURE_FLAGS)
10163 @endif gcc-bootstrap
10165 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
10166 maybe-configure-stage2-gcc:
10167 @if gcc-bootstrap
10168 maybe-configure-stage2-gcc: configure-stage2-gcc
10169 configure-stage2-gcc:
10170 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10171 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10172 @r=`${PWD_COMMAND}`; export r; \
10173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10174 TFLAGS="$(STAGE2_TFLAGS)"; \
10175 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10176 $(HOST_EXPORTS) \
10177 $(POSTSTAGE1_HOST_EXPORTS) \
10178 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10179 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10180 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10181 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
10182 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10183 cd $(HOST_SUBDIR)/gcc || exit 1; \
10184 case $(srcdir) in \
10185 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10186 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10187 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10188 esac; \
10189 module_srcdir=gcc; \
10190 $(SHELL) $$s/$$module_srcdir/configure \
10191 --srcdir=$${topdir}/$$module_srcdir \
10192 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10193 --target=${target_alias} \
10194 --with-build-libsubdir=$(HOST_SUBDIR) \
10195 $(STAGE2_CONFIGURE_FLAGS)
10196 @endif gcc-bootstrap
10198 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
10199 maybe-configure-stage3-gcc:
10200 @if gcc-bootstrap
10201 maybe-configure-stage3-gcc: configure-stage3-gcc
10202 configure-stage3-gcc:
10203 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10204 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10205 @r=`${PWD_COMMAND}`; export r; \
10206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10207 TFLAGS="$(STAGE3_TFLAGS)"; \
10208 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10209 $(HOST_EXPORTS) \
10210 $(POSTSTAGE1_HOST_EXPORTS) \
10211 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10212 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10213 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10214 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
10215 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10216 cd $(HOST_SUBDIR)/gcc || exit 1; \
10217 case $(srcdir) in \
10218 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10219 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10220 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10221 esac; \
10222 module_srcdir=gcc; \
10223 $(SHELL) $$s/$$module_srcdir/configure \
10224 --srcdir=$${topdir}/$$module_srcdir \
10225 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10226 --target=${target_alias} \
10227 --with-build-libsubdir=$(HOST_SUBDIR) \
10228 $(STAGE3_CONFIGURE_FLAGS)
10229 @endif gcc-bootstrap
10231 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
10232 maybe-configure-stage4-gcc:
10233 @if gcc-bootstrap
10234 maybe-configure-stage4-gcc: configure-stage4-gcc
10235 configure-stage4-gcc:
10236 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10237 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10238 @r=`${PWD_COMMAND}`; export r; \
10239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10240 TFLAGS="$(STAGE4_TFLAGS)"; \
10241 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10242 $(HOST_EXPORTS) \
10243 $(POSTSTAGE1_HOST_EXPORTS) \
10244 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10245 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10246 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10247 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
10248 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10249 cd $(HOST_SUBDIR)/gcc || exit 1; \
10250 case $(srcdir) in \
10251 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10252 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10253 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10254 esac; \
10255 module_srcdir=gcc; \
10256 $(SHELL) $$s/$$module_srcdir/configure \
10257 --srcdir=$${topdir}/$$module_srcdir \
10258 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10259 --target=${target_alias} \
10260 --with-build-libsubdir=$(HOST_SUBDIR) \
10261 $(STAGE4_CONFIGURE_FLAGS)
10262 @endif gcc-bootstrap
10264 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
10265 maybe-configure-stageprofile-gcc:
10266 @if gcc-bootstrap
10267 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
10268 configure-stageprofile-gcc:
10269 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10270 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10271 @r=`${PWD_COMMAND}`; export r; \
10272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10273 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10274 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10275 $(HOST_EXPORTS) \
10276 $(POSTSTAGE1_HOST_EXPORTS) \
10277 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10278 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10279 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10280 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
10281 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10282 cd $(HOST_SUBDIR)/gcc || exit 1; \
10283 case $(srcdir) in \
10284 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10285 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10286 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10287 esac; \
10288 module_srcdir=gcc; \
10289 $(SHELL) $$s/$$module_srcdir/configure \
10290 --srcdir=$${topdir}/$$module_srcdir \
10291 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10292 --target=${target_alias} \
10293 --with-build-libsubdir=$(HOST_SUBDIR) \
10294 $(STAGEprofile_CONFIGURE_FLAGS)
10295 @endif gcc-bootstrap
10297 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
10298 maybe-configure-stagefeedback-gcc:
10299 @if gcc-bootstrap
10300 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
10301 configure-stagefeedback-gcc:
10302 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10303 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10304 @r=`${PWD_COMMAND}`; export r; \
10305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10306 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10307 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10308 $(HOST_EXPORTS) \
10309 $(POSTSTAGE1_HOST_EXPORTS) \
10310 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10311 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10312 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10313 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
10314 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10315 cd $(HOST_SUBDIR)/gcc || exit 1; \
10316 case $(srcdir) in \
10317 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10318 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10319 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10320 esac; \
10321 module_srcdir=gcc; \
10322 $(SHELL) $$s/$$module_srcdir/configure \
10323 --srcdir=$${topdir}/$$module_srcdir \
10324 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10325 --target=${target_alias} \
10326 --with-build-libsubdir=$(HOST_SUBDIR) \
10327 $(STAGEfeedback_CONFIGURE_FLAGS)
10328 @endif gcc-bootstrap
10334 .PHONY: all-gcc maybe-all-gcc
10335 maybe-all-gcc:
10336 @if gcc-bootstrap
10337 all-gcc: stage_current
10338 @endif gcc-bootstrap
10339 @if gcc
10340 TARGET-gcc=all
10341 maybe-all-gcc: all-gcc
10342 all-gcc: configure-gcc
10343 @r=`${PWD_COMMAND}`; export r; \
10344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10345 $(HOST_EXPORTS) \
10346 (cd $(HOST_SUBDIR)/gcc && \
10347 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10348 $(TARGET-gcc))
10349 @endif gcc
10353 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
10354 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
10355 maybe-all-stage1-gcc:
10356 maybe-clean-stage1-gcc:
10357 @if gcc-bootstrap
10358 maybe-all-stage1-gcc: all-stage1-gcc
10359 all-stage1: all-stage1-gcc
10360 TARGET-stage1-gcc = $(TARGET-gcc)
10361 all-stage1-gcc: configure-stage1-gcc
10362 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10363 @r=`${PWD_COMMAND}`; export r; \
10364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10365 TFLAGS="$(STAGE1_TFLAGS)"; \
10366 $(HOST_EXPORTS) \
10367 cd $(HOST_SUBDIR)/gcc && \
10368 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10369 CFLAGS="$(STAGE1_CFLAGS)" \
10370 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10371 LIBCFLAGS="$(LIBCFLAGS)" \
10372 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10373 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10374 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10375 $(EXTRA_HOST_FLAGS) \
10376 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10377 TFLAGS="$(STAGE1_TFLAGS)" \
10378 $(TARGET-stage1-gcc)
10380 maybe-clean-stage1-gcc: clean-stage1-gcc
10381 clean-stage1: clean-stage1-gcc
10382 clean-stage1-gcc:
10383 @if [ $(current_stage) = stage1 ]; then \
10384 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10385 else \
10386 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
10387 $(MAKE) stage1-start; \
10388 fi; \
10389 cd $(HOST_SUBDIR)/gcc && \
10390 $(MAKE) $(EXTRA_HOST_FLAGS) \
10391 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10392 @endif gcc-bootstrap
10395 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
10396 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
10397 maybe-all-stage2-gcc:
10398 maybe-clean-stage2-gcc:
10399 @if gcc-bootstrap
10400 maybe-all-stage2-gcc: all-stage2-gcc
10401 all-stage2: all-stage2-gcc
10402 TARGET-stage2-gcc = $(TARGET-gcc)
10403 all-stage2-gcc: configure-stage2-gcc
10404 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10405 @r=`${PWD_COMMAND}`; export r; \
10406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10407 TFLAGS="$(STAGE2_TFLAGS)"; \
10408 $(HOST_EXPORTS) \
10409 $(POSTSTAGE1_HOST_EXPORTS) \
10410 cd $(HOST_SUBDIR)/gcc && \
10411 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10412 CFLAGS="$(STAGE2_CFLAGS)" \
10413 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10414 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10415 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10416 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10417 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10418 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10419 TFLAGS="$(STAGE2_TFLAGS)" \
10420 $(TARGET-stage2-gcc)
10422 maybe-clean-stage2-gcc: clean-stage2-gcc
10423 clean-stage2: clean-stage2-gcc
10424 clean-stage2-gcc:
10425 @if [ $(current_stage) = stage2 ]; then \
10426 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10427 else \
10428 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
10429 $(MAKE) stage2-start; \
10430 fi; \
10431 cd $(HOST_SUBDIR)/gcc && \
10432 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10433 @endif gcc-bootstrap
10436 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
10437 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
10438 maybe-all-stage3-gcc:
10439 maybe-clean-stage3-gcc:
10440 @if gcc-bootstrap
10441 maybe-all-stage3-gcc: all-stage3-gcc
10442 all-stage3: all-stage3-gcc
10443 TARGET-stage3-gcc = $(TARGET-gcc)
10444 all-stage3-gcc: configure-stage3-gcc
10445 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10446 @r=`${PWD_COMMAND}`; export r; \
10447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10448 TFLAGS="$(STAGE3_TFLAGS)"; \
10449 $(HOST_EXPORTS) \
10450 $(POSTSTAGE1_HOST_EXPORTS) \
10451 cd $(HOST_SUBDIR)/gcc && \
10452 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10453 CFLAGS="$(STAGE3_CFLAGS)" \
10454 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10455 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10456 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10457 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10458 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10459 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10460 TFLAGS="$(STAGE3_TFLAGS)" \
10461 $(TARGET-stage3-gcc)
10463 maybe-clean-stage3-gcc: clean-stage3-gcc
10464 clean-stage3: clean-stage3-gcc
10465 clean-stage3-gcc:
10466 @if [ $(current_stage) = stage3 ]; then \
10467 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10468 else \
10469 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
10470 $(MAKE) stage3-start; \
10471 fi; \
10472 cd $(HOST_SUBDIR)/gcc && \
10473 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10474 @endif gcc-bootstrap
10477 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
10478 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
10479 maybe-all-stage4-gcc:
10480 maybe-clean-stage4-gcc:
10481 @if gcc-bootstrap
10482 maybe-all-stage4-gcc: all-stage4-gcc
10483 all-stage4: all-stage4-gcc
10484 TARGET-stage4-gcc = $(TARGET-gcc)
10485 all-stage4-gcc: configure-stage4-gcc
10486 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10487 @r=`${PWD_COMMAND}`; export r; \
10488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10489 TFLAGS="$(STAGE4_TFLAGS)"; \
10490 $(HOST_EXPORTS) \
10491 $(POSTSTAGE1_HOST_EXPORTS) \
10492 cd $(HOST_SUBDIR)/gcc && \
10493 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10494 CFLAGS="$(STAGE4_CFLAGS)" \
10495 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10496 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10497 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10498 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10499 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10500 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10501 TFLAGS="$(STAGE4_TFLAGS)" \
10502 $(TARGET-stage4-gcc)
10504 maybe-clean-stage4-gcc: clean-stage4-gcc
10505 clean-stage4: clean-stage4-gcc
10506 clean-stage4-gcc:
10507 @if [ $(current_stage) = stage4 ]; then \
10508 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10509 else \
10510 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
10511 $(MAKE) stage4-start; \
10512 fi; \
10513 cd $(HOST_SUBDIR)/gcc && \
10514 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10515 @endif gcc-bootstrap
10518 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
10519 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
10520 maybe-all-stageprofile-gcc:
10521 maybe-clean-stageprofile-gcc:
10522 @if gcc-bootstrap
10523 maybe-all-stageprofile-gcc: all-stageprofile-gcc
10524 all-stageprofile: all-stageprofile-gcc
10525 TARGET-stageprofile-gcc = $(TARGET-gcc)
10526 all-stageprofile-gcc: configure-stageprofile-gcc
10527 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10528 @r=`${PWD_COMMAND}`; export r; \
10529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10530 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10531 $(HOST_EXPORTS) \
10532 $(POSTSTAGE1_HOST_EXPORTS) \
10533 cd $(HOST_SUBDIR)/gcc && \
10534 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10535 CFLAGS="$(STAGEprofile_CFLAGS)" \
10536 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10537 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10538 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10539 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10540 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10541 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10542 TFLAGS="$(STAGEprofile_TFLAGS)" \
10543 $(TARGET-stageprofile-gcc)
10545 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
10546 clean-stageprofile: clean-stageprofile-gcc
10547 clean-stageprofile-gcc:
10548 @if [ $(current_stage) = stageprofile ]; then \
10549 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10550 else \
10551 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
10552 $(MAKE) stageprofile-start; \
10553 fi; \
10554 cd $(HOST_SUBDIR)/gcc && \
10555 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10556 @endif gcc-bootstrap
10559 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
10560 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
10561 maybe-all-stagefeedback-gcc:
10562 maybe-clean-stagefeedback-gcc:
10563 @if gcc-bootstrap
10564 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
10565 all-stagefeedback: all-stagefeedback-gcc
10566 TARGET-stagefeedback-gcc = $(TARGET-gcc)
10567 all-stagefeedback-gcc: configure-stagefeedback-gcc
10568 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10569 @r=`${PWD_COMMAND}`; export r; \
10570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10571 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10572 $(HOST_EXPORTS) \
10573 $(POSTSTAGE1_HOST_EXPORTS) \
10574 cd $(HOST_SUBDIR)/gcc && \
10575 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10576 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10577 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10578 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10579 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10580 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10581 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10582 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10583 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10584 $(TARGET-stagefeedback-gcc)
10586 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
10587 clean-stagefeedback: clean-stagefeedback-gcc
10588 clean-stagefeedback-gcc:
10589 @if [ $(current_stage) = stagefeedback ]; then \
10590 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10591 else \
10592 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
10593 $(MAKE) stagefeedback-start; \
10594 fi; \
10595 cd $(HOST_SUBDIR)/gcc && \
10596 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10597 @endif gcc-bootstrap
10603 .PHONY: check-gcc maybe-check-gcc
10604 maybe-check-gcc:
10605 @if gcc
10606 maybe-check-gcc: check-gcc
10608 check-gcc:
10609 @: $(MAKE); $(unstage)
10610 @r=`${PWD_COMMAND}`; export r; \
10611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10612 $(HOST_EXPORTS) \
10613 (cd $(HOST_SUBDIR)/gcc && \
10614 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
10616 @endif gcc
10618 .PHONY: install-gcc maybe-install-gcc
10619 maybe-install-gcc:
10620 @if gcc
10621 maybe-install-gcc: install-gcc
10623 install-gcc: installdirs
10624 @: $(MAKE); $(unstage)
10625 @r=`${PWD_COMMAND}`; export r; \
10626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10627 $(HOST_EXPORTS) \
10628 (cd $(HOST_SUBDIR)/gcc && \
10629 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
10631 @endif gcc
10633 .PHONY: install-strip-gcc maybe-install-strip-gcc
10634 maybe-install-strip-gcc:
10635 @if gcc
10636 maybe-install-strip-gcc: install-strip-gcc
10638 install-strip-gcc: installdirs
10639 @: $(MAKE); $(unstage)
10640 @r=`${PWD_COMMAND}`; export r; \
10641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10642 $(HOST_EXPORTS) \
10643 (cd $(HOST_SUBDIR)/gcc && \
10644 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
10646 @endif gcc
10648 # Other targets (info, dvi, pdf, etc.)
10650 .PHONY: maybe-info-gcc info-gcc
10651 maybe-info-gcc:
10652 @if gcc
10653 maybe-info-gcc: info-gcc
10655 info-gcc: \
10656 configure-gcc
10657 @[ -f ./gcc/Makefile ] || exit 0; \
10658 r=`${PWD_COMMAND}`; export r; \
10659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10660 $(HOST_EXPORTS) \
10661 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10663 done; \
10664 echo "Doing info in gcc" ; \
10665 (cd $(HOST_SUBDIR)/gcc && \
10666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10668 "RANLIB=$${RANLIB}" \
10669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10670 info) \
10671 || exit 1
10673 @endif gcc
10675 .PHONY: maybe-dvi-gcc dvi-gcc
10676 maybe-dvi-gcc:
10677 @if gcc
10678 maybe-dvi-gcc: dvi-gcc
10680 dvi-gcc: \
10681 configure-gcc
10682 @[ -f ./gcc/Makefile ] || exit 0; \
10683 r=`${PWD_COMMAND}`; export r; \
10684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10685 $(HOST_EXPORTS) \
10686 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10688 done; \
10689 echo "Doing dvi in gcc" ; \
10690 (cd $(HOST_SUBDIR)/gcc && \
10691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10693 "RANLIB=$${RANLIB}" \
10694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10695 dvi) \
10696 || exit 1
10698 @endif gcc
10700 .PHONY: maybe-pdf-gcc pdf-gcc
10701 maybe-pdf-gcc:
10702 @if gcc
10703 maybe-pdf-gcc: pdf-gcc
10705 pdf-gcc: \
10706 configure-gcc
10707 @[ -f ./gcc/Makefile ] || exit 0; \
10708 r=`${PWD_COMMAND}`; export r; \
10709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10710 $(HOST_EXPORTS) \
10711 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10713 done; \
10714 echo "Doing pdf in gcc" ; \
10715 (cd $(HOST_SUBDIR)/gcc && \
10716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10718 "RANLIB=$${RANLIB}" \
10719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10720 pdf) \
10721 || exit 1
10723 @endif gcc
10725 .PHONY: maybe-html-gcc html-gcc
10726 maybe-html-gcc:
10727 @if gcc
10728 maybe-html-gcc: html-gcc
10730 html-gcc: \
10731 configure-gcc
10732 @[ -f ./gcc/Makefile ] || exit 0; \
10733 r=`${PWD_COMMAND}`; export r; \
10734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10735 $(HOST_EXPORTS) \
10736 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10738 done; \
10739 echo "Doing html in gcc" ; \
10740 (cd $(HOST_SUBDIR)/gcc && \
10741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10743 "RANLIB=$${RANLIB}" \
10744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10745 html) \
10746 || exit 1
10748 @endif gcc
10750 .PHONY: maybe-TAGS-gcc TAGS-gcc
10751 maybe-TAGS-gcc:
10752 @if gcc
10753 maybe-TAGS-gcc: TAGS-gcc
10755 TAGS-gcc: \
10756 configure-gcc
10757 @[ -f ./gcc/Makefile ] || exit 0; \
10758 r=`${PWD_COMMAND}`; export r; \
10759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10760 $(HOST_EXPORTS) \
10761 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10763 done; \
10764 echo "Doing TAGS in gcc" ; \
10765 (cd $(HOST_SUBDIR)/gcc && \
10766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10768 "RANLIB=$${RANLIB}" \
10769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10770 TAGS) \
10771 || exit 1
10773 @endif gcc
10775 .PHONY: maybe-install-info-gcc install-info-gcc
10776 maybe-install-info-gcc:
10777 @if gcc
10778 maybe-install-info-gcc: install-info-gcc
10780 install-info-gcc: \
10781 configure-gcc \
10782 info-gcc
10783 @[ -f ./gcc/Makefile ] || exit 0; \
10784 r=`${PWD_COMMAND}`; export r; \
10785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10786 $(HOST_EXPORTS) \
10787 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10789 done; \
10790 echo "Doing install-info in gcc" ; \
10791 (cd $(HOST_SUBDIR)/gcc && \
10792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10794 "RANLIB=$${RANLIB}" \
10795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10796 install-info) \
10797 || exit 1
10799 @endif gcc
10801 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
10802 maybe-install-pdf-gcc:
10803 @if gcc
10804 maybe-install-pdf-gcc: install-pdf-gcc
10806 install-pdf-gcc: \
10807 configure-gcc \
10808 pdf-gcc
10809 @[ -f ./gcc/Makefile ] || exit 0; \
10810 r=`${PWD_COMMAND}`; export r; \
10811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10812 $(HOST_EXPORTS) \
10813 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10815 done; \
10816 echo "Doing install-pdf in gcc" ; \
10817 (cd $(HOST_SUBDIR)/gcc && \
10818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10820 "RANLIB=$${RANLIB}" \
10821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10822 install-pdf) \
10823 || exit 1
10825 @endif gcc
10827 .PHONY: maybe-install-html-gcc install-html-gcc
10828 maybe-install-html-gcc:
10829 @if gcc
10830 maybe-install-html-gcc: install-html-gcc
10832 install-html-gcc: \
10833 configure-gcc \
10834 html-gcc
10835 @[ -f ./gcc/Makefile ] || exit 0; \
10836 r=`${PWD_COMMAND}`; export r; \
10837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10838 $(HOST_EXPORTS) \
10839 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10841 done; \
10842 echo "Doing install-html in gcc" ; \
10843 (cd $(HOST_SUBDIR)/gcc && \
10844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10846 "RANLIB=$${RANLIB}" \
10847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10848 install-html) \
10849 || exit 1
10851 @endif gcc
10853 .PHONY: maybe-installcheck-gcc installcheck-gcc
10854 maybe-installcheck-gcc:
10855 @if gcc
10856 maybe-installcheck-gcc: installcheck-gcc
10858 installcheck-gcc: \
10859 configure-gcc
10860 @[ -f ./gcc/Makefile ] || exit 0; \
10861 r=`${PWD_COMMAND}`; export r; \
10862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10863 $(HOST_EXPORTS) \
10864 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10866 done; \
10867 echo "Doing installcheck in gcc" ; \
10868 (cd $(HOST_SUBDIR)/gcc && \
10869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10871 "RANLIB=$${RANLIB}" \
10872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10873 installcheck) \
10874 || exit 1
10876 @endif gcc
10878 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
10879 maybe-mostlyclean-gcc:
10880 @if gcc
10881 maybe-mostlyclean-gcc: mostlyclean-gcc
10883 mostlyclean-gcc:
10884 @[ -f ./gcc/Makefile ] || exit 0; \
10885 r=`${PWD_COMMAND}`; export r; \
10886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10887 $(HOST_EXPORTS) \
10888 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10890 done; \
10891 echo "Doing mostlyclean in gcc" ; \
10892 (cd $(HOST_SUBDIR)/gcc && \
10893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10895 "RANLIB=$${RANLIB}" \
10896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10897 mostlyclean) \
10898 || exit 1
10900 @endif gcc
10902 .PHONY: maybe-clean-gcc clean-gcc
10903 maybe-clean-gcc:
10904 @if gcc
10905 maybe-clean-gcc: clean-gcc
10907 clean-gcc:
10908 @[ -f ./gcc/Makefile ] || exit 0; \
10909 r=`${PWD_COMMAND}`; export r; \
10910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10911 $(HOST_EXPORTS) \
10912 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10914 done; \
10915 echo "Doing clean in gcc" ; \
10916 (cd $(HOST_SUBDIR)/gcc && \
10917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10919 "RANLIB=$${RANLIB}" \
10920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10921 clean) \
10922 || exit 1
10924 @endif gcc
10926 .PHONY: maybe-distclean-gcc distclean-gcc
10927 maybe-distclean-gcc:
10928 @if gcc
10929 maybe-distclean-gcc: distclean-gcc
10931 distclean-gcc:
10932 @[ -f ./gcc/Makefile ] || exit 0; \
10933 r=`${PWD_COMMAND}`; export r; \
10934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10935 $(HOST_EXPORTS) \
10936 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10938 done; \
10939 echo "Doing distclean in gcc" ; \
10940 (cd $(HOST_SUBDIR)/gcc && \
10941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10943 "RANLIB=$${RANLIB}" \
10944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10945 distclean) \
10946 || exit 1
10948 @endif gcc
10950 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
10951 maybe-maintainer-clean-gcc:
10952 @if gcc
10953 maybe-maintainer-clean-gcc: maintainer-clean-gcc
10955 maintainer-clean-gcc:
10956 @[ -f ./gcc/Makefile ] || exit 0; \
10957 r=`${PWD_COMMAND}`; export r; \
10958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10959 $(HOST_EXPORTS) \
10960 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10962 done; \
10963 echo "Doing maintainer-clean in gcc" ; \
10964 (cd $(HOST_SUBDIR)/gcc && \
10965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10967 "RANLIB=$${RANLIB}" \
10968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10969 maintainer-clean) \
10970 || exit 1
10972 @endif gcc
10976 .PHONY: configure-gmp maybe-configure-gmp
10977 maybe-configure-gmp:
10978 @if gcc-bootstrap
10979 configure-gmp: stage_current
10980 @endif gcc-bootstrap
10981 @if gmp
10982 maybe-configure-gmp: configure-gmp
10983 configure-gmp:
10984 @r=`${PWD_COMMAND}`; export r; \
10985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10986 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10987 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10988 $(HOST_EXPORTS) \
10989 echo Configuring in $(HOST_SUBDIR)/gmp; \
10990 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
10991 case $(srcdir) in \
10992 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10993 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10994 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10995 esac; \
10996 module_srcdir=gmp; \
10997 $(SHELL) \
10998 $$s/$$module_srcdir/configure \
10999 --srcdir=$${topdir}/$$module_srcdir \
11000 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11001 --target=none-${host_vendor}-${host_os} --disable-shared LEX="touch lex.yy.c" \
11002 || exit 1
11003 @endif gmp
11007 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
11008 maybe-configure-stage1-gmp:
11009 @if gmp-bootstrap
11010 maybe-configure-stage1-gmp: configure-stage1-gmp
11011 configure-stage1-gmp:
11012 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11013 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11014 @r=`${PWD_COMMAND}`; export r; \
11015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11016 TFLAGS="$(STAGE1_TFLAGS)"; \
11017 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11018 $(HOST_EXPORTS) \
11019 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11020 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11021 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11022 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
11023 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11024 cd $(HOST_SUBDIR)/gmp || exit 1; \
11025 case $(srcdir) in \
11026 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11027 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11028 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11029 esac; \
11030 module_srcdir=gmp; \
11031 $(SHELL) $$s/$$module_srcdir/configure \
11032 --srcdir=$${topdir}/$$module_srcdir \
11033 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11034 --target=none-${host_vendor}-${host_os} \
11036 $(STAGE1_CONFIGURE_FLAGS) \
11037 --disable-shared LEX="touch lex.yy.c"
11038 @endif gmp-bootstrap
11040 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
11041 maybe-configure-stage2-gmp:
11042 @if gmp-bootstrap
11043 maybe-configure-stage2-gmp: configure-stage2-gmp
11044 configure-stage2-gmp:
11045 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11046 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11047 @r=`${PWD_COMMAND}`; export r; \
11048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11049 TFLAGS="$(STAGE2_TFLAGS)"; \
11050 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11051 $(HOST_EXPORTS) \
11052 $(POSTSTAGE1_HOST_EXPORTS) \
11053 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11054 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11055 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11056 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
11057 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11058 cd $(HOST_SUBDIR)/gmp || exit 1; \
11059 case $(srcdir) in \
11060 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11061 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11062 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11063 esac; \
11064 module_srcdir=gmp; \
11065 $(SHELL) $$s/$$module_srcdir/configure \
11066 --srcdir=$${topdir}/$$module_srcdir \
11067 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11068 --target=none-${host_vendor}-${host_os} \
11069 --with-build-libsubdir=$(HOST_SUBDIR) \
11070 $(STAGE2_CONFIGURE_FLAGS) \
11071 --disable-shared LEX="touch lex.yy.c"
11072 @endif gmp-bootstrap
11074 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
11075 maybe-configure-stage3-gmp:
11076 @if gmp-bootstrap
11077 maybe-configure-stage3-gmp: configure-stage3-gmp
11078 configure-stage3-gmp:
11079 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11080 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11081 @r=`${PWD_COMMAND}`; export r; \
11082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11083 TFLAGS="$(STAGE3_TFLAGS)"; \
11084 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11085 $(HOST_EXPORTS) \
11086 $(POSTSTAGE1_HOST_EXPORTS) \
11087 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11088 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11089 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11090 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
11091 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11092 cd $(HOST_SUBDIR)/gmp || exit 1; \
11093 case $(srcdir) in \
11094 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11095 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11096 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11097 esac; \
11098 module_srcdir=gmp; \
11099 $(SHELL) $$s/$$module_srcdir/configure \
11100 --srcdir=$${topdir}/$$module_srcdir \
11101 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11102 --target=none-${host_vendor}-${host_os} \
11103 --with-build-libsubdir=$(HOST_SUBDIR) \
11104 $(STAGE3_CONFIGURE_FLAGS) \
11105 --disable-shared LEX="touch lex.yy.c"
11106 @endif gmp-bootstrap
11108 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
11109 maybe-configure-stage4-gmp:
11110 @if gmp-bootstrap
11111 maybe-configure-stage4-gmp: configure-stage4-gmp
11112 configure-stage4-gmp:
11113 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11114 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11115 @r=`${PWD_COMMAND}`; export r; \
11116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11117 TFLAGS="$(STAGE4_TFLAGS)"; \
11118 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11119 $(HOST_EXPORTS) \
11120 $(POSTSTAGE1_HOST_EXPORTS) \
11121 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11122 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11123 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11124 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
11125 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11126 cd $(HOST_SUBDIR)/gmp || exit 1; \
11127 case $(srcdir) in \
11128 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11129 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11130 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11131 esac; \
11132 module_srcdir=gmp; \
11133 $(SHELL) $$s/$$module_srcdir/configure \
11134 --srcdir=$${topdir}/$$module_srcdir \
11135 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11136 --target=none-${host_vendor}-${host_os} \
11137 --with-build-libsubdir=$(HOST_SUBDIR) \
11138 $(STAGE4_CONFIGURE_FLAGS) \
11139 --disable-shared LEX="touch lex.yy.c"
11140 @endif gmp-bootstrap
11142 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
11143 maybe-configure-stageprofile-gmp:
11144 @if gmp-bootstrap
11145 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
11146 configure-stageprofile-gmp:
11147 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11148 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11149 @r=`${PWD_COMMAND}`; export r; \
11150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11151 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11152 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11153 $(HOST_EXPORTS) \
11154 $(POSTSTAGE1_HOST_EXPORTS) \
11155 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11156 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11157 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11158 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
11159 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11160 cd $(HOST_SUBDIR)/gmp || exit 1; \
11161 case $(srcdir) in \
11162 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11163 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11164 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11165 esac; \
11166 module_srcdir=gmp; \
11167 $(SHELL) $$s/$$module_srcdir/configure \
11168 --srcdir=$${topdir}/$$module_srcdir \
11169 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11170 --target=none-${host_vendor}-${host_os} \
11171 --with-build-libsubdir=$(HOST_SUBDIR) \
11172 $(STAGEprofile_CONFIGURE_FLAGS) \
11173 --disable-shared LEX="touch lex.yy.c"
11174 @endif gmp-bootstrap
11176 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
11177 maybe-configure-stagefeedback-gmp:
11178 @if gmp-bootstrap
11179 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
11180 configure-stagefeedback-gmp:
11181 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11182 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11183 @r=`${PWD_COMMAND}`; export r; \
11184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11185 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11186 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11187 $(HOST_EXPORTS) \
11188 $(POSTSTAGE1_HOST_EXPORTS) \
11189 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11190 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11191 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11192 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
11193 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11194 cd $(HOST_SUBDIR)/gmp || exit 1; \
11195 case $(srcdir) in \
11196 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11197 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11198 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11199 esac; \
11200 module_srcdir=gmp; \
11201 $(SHELL) $$s/$$module_srcdir/configure \
11202 --srcdir=$${topdir}/$$module_srcdir \
11203 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11204 --target=none-${host_vendor}-${host_os} \
11205 --with-build-libsubdir=$(HOST_SUBDIR) \
11206 $(STAGEfeedback_CONFIGURE_FLAGS) \
11207 --disable-shared LEX="touch lex.yy.c"
11208 @endif gmp-bootstrap
11214 .PHONY: all-gmp maybe-all-gmp
11215 maybe-all-gmp:
11216 @if gcc-bootstrap
11217 all-gmp: stage_current
11218 @endif gcc-bootstrap
11219 @if gmp
11220 TARGET-gmp=all
11221 maybe-all-gmp: all-gmp
11222 all-gmp: configure-gmp
11223 @r=`${PWD_COMMAND}`; export r; \
11224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11225 $(HOST_EXPORTS) \
11226 (cd $(HOST_SUBDIR)/gmp && \
11227 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
11228 $(TARGET-gmp))
11229 @endif gmp
11233 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
11234 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
11235 maybe-all-stage1-gmp:
11236 maybe-clean-stage1-gmp:
11237 @if gmp-bootstrap
11238 maybe-all-stage1-gmp: all-stage1-gmp
11239 all-stage1: all-stage1-gmp
11240 TARGET-stage1-gmp = $(TARGET-gmp)
11241 all-stage1-gmp: configure-stage1-gmp
11242 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11243 @r=`${PWD_COMMAND}`; export r; \
11244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11245 TFLAGS="$(STAGE1_TFLAGS)"; \
11246 $(HOST_EXPORTS) \
11247 cd $(HOST_SUBDIR)/gmp && \
11248 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11249 CFLAGS="$(STAGE1_CFLAGS)" \
11250 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11251 LIBCFLAGS="$(LIBCFLAGS)" \
11252 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11253 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11254 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11255 $(EXTRA_HOST_FLAGS) \
11256 $(STAGE1_FLAGS_TO_PASS) \
11257 TFLAGS="$(STAGE1_TFLAGS)" \
11258 $(TARGET-stage1-gmp)
11260 maybe-clean-stage1-gmp: clean-stage1-gmp
11261 clean-stage1: clean-stage1-gmp
11262 clean-stage1-gmp:
11263 @if [ $(current_stage) = stage1 ]; then \
11264 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11265 else \
11266 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
11267 $(MAKE) stage1-start; \
11268 fi; \
11269 cd $(HOST_SUBDIR)/gmp && \
11270 $(MAKE) $(EXTRA_HOST_FLAGS) \
11271 $(STAGE1_FLAGS_TO_PASS) clean
11272 @endif gmp-bootstrap
11275 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
11276 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
11277 maybe-all-stage2-gmp:
11278 maybe-clean-stage2-gmp:
11279 @if gmp-bootstrap
11280 maybe-all-stage2-gmp: all-stage2-gmp
11281 all-stage2: all-stage2-gmp
11282 TARGET-stage2-gmp = $(TARGET-gmp)
11283 all-stage2-gmp: configure-stage2-gmp
11284 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11285 @r=`${PWD_COMMAND}`; export r; \
11286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11287 TFLAGS="$(STAGE2_TFLAGS)"; \
11288 $(HOST_EXPORTS) \
11289 $(POSTSTAGE1_HOST_EXPORTS) \
11290 cd $(HOST_SUBDIR)/gmp && \
11291 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11292 CFLAGS="$(STAGE2_CFLAGS)" \
11293 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11294 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11295 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11296 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11297 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11298 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11299 TFLAGS="$(STAGE2_TFLAGS)" \
11300 $(TARGET-stage2-gmp)
11302 maybe-clean-stage2-gmp: clean-stage2-gmp
11303 clean-stage2: clean-stage2-gmp
11304 clean-stage2-gmp:
11305 @if [ $(current_stage) = stage2 ]; then \
11306 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11307 else \
11308 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
11309 $(MAKE) stage2-start; \
11310 fi; \
11311 cd $(HOST_SUBDIR)/gmp && \
11312 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11313 @endif gmp-bootstrap
11316 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
11317 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
11318 maybe-all-stage3-gmp:
11319 maybe-clean-stage3-gmp:
11320 @if gmp-bootstrap
11321 maybe-all-stage3-gmp: all-stage3-gmp
11322 all-stage3: all-stage3-gmp
11323 TARGET-stage3-gmp = $(TARGET-gmp)
11324 all-stage3-gmp: configure-stage3-gmp
11325 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11326 @r=`${PWD_COMMAND}`; export r; \
11327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11328 TFLAGS="$(STAGE3_TFLAGS)"; \
11329 $(HOST_EXPORTS) \
11330 $(POSTSTAGE1_HOST_EXPORTS) \
11331 cd $(HOST_SUBDIR)/gmp && \
11332 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11333 CFLAGS="$(STAGE3_CFLAGS)" \
11334 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11335 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11336 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11337 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11338 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11339 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11340 TFLAGS="$(STAGE3_TFLAGS)" \
11341 $(TARGET-stage3-gmp)
11343 maybe-clean-stage3-gmp: clean-stage3-gmp
11344 clean-stage3: clean-stage3-gmp
11345 clean-stage3-gmp:
11346 @if [ $(current_stage) = stage3 ]; then \
11347 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11348 else \
11349 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
11350 $(MAKE) stage3-start; \
11351 fi; \
11352 cd $(HOST_SUBDIR)/gmp && \
11353 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11354 @endif gmp-bootstrap
11357 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
11358 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
11359 maybe-all-stage4-gmp:
11360 maybe-clean-stage4-gmp:
11361 @if gmp-bootstrap
11362 maybe-all-stage4-gmp: all-stage4-gmp
11363 all-stage4: all-stage4-gmp
11364 TARGET-stage4-gmp = $(TARGET-gmp)
11365 all-stage4-gmp: configure-stage4-gmp
11366 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11367 @r=`${PWD_COMMAND}`; export r; \
11368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11369 TFLAGS="$(STAGE4_TFLAGS)"; \
11370 $(HOST_EXPORTS) \
11371 $(POSTSTAGE1_HOST_EXPORTS) \
11372 cd $(HOST_SUBDIR)/gmp && \
11373 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11374 CFLAGS="$(STAGE4_CFLAGS)" \
11375 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11376 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11377 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11378 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11379 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11380 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11381 TFLAGS="$(STAGE4_TFLAGS)" \
11382 $(TARGET-stage4-gmp)
11384 maybe-clean-stage4-gmp: clean-stage4-gmp
11385 clean-stage4: clean-stage4-gmp
11386 clean-stage4-gmp:
11387 @if [ $(current_stage) = stage4 ]; then \
11388 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11389 else \
11390 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
11391 $(MAKE) stage4-start; \
11392 fi; \
11393 cd $(HOST_SUBDIR)/gmp && \
11394 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11395 @endif gmp-bootstrap
11398 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
11399 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
11400 maybe-all-stageprofile-gmp:
11401 maybe-clean-stageprofile-gmp:
11402 @if gmp-bootstrap
11403 maybe-all-stageprofile-gmp: all-stageprofile-gmp
11404 all-stageprofile: all-stageprofile-gmp
11405 TARGET-stageprofile-gmp = $(TARGET-gmp)
11406 all-stageprofile-gmp: configure-stageprofile-gmp
11407 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11408 @r=`${PWD_COMMAND}`; export r; \
11409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11410 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11411 $(HOST_EXPORTS) \
11412 $(POSTSTAGE1_HOST_EXPORTS) \
11413 cd $(HOST_SUBDIR)/gmp && \
11414 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11415 CFLAGS="$(STAGEprofile_CFLAGS)" \
11416 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11417 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11418 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11419 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11420 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11421 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11422 TFLAGS="$(STAGEprofile_TFLAGS)" \
11423 $(TARGET-stageprofile-gmp)
11425 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
11426 clean-stageprofile: clean-stageprofile-gmp
11427 clean-stageprofile-gmp:
11428 @if [ $(current_stage) = stageprofile ]; then \
11429 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11430 else \
11431 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
11432 $(MAKE) stageprofile-start; \
11433 fi; \
11434 cd $(HOST_SUBDIR)/gmp && \
11435 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11436 @endif gmp-bootstrap
11439 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
11440 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
11441 maybe-all-stagefeedback-gmp:
11442 maybe-clean-stagefeedback-gmp:
11443 @if gmp-bootstrap
11444 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
11445 all-stagefeedback: all-stagefeedback-gmp
11446 TARGET-stagefeedback-gmp = $(TARGET-gmp)
11447 all-stagefeedback-gmp: configure-stagefeedback-gmp
11448 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11449 @r=`${PWD_COMMAND}`; export r; \
11450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11451 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11452 $(HOST_EXPORTS) \
11453 $(POSTSTAGE1_HOST_EXPORTS) \
11454 cd $(HOST_SUBDIR)/gmp && \
11455 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11456 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11457 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11458 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11459 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11460 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11461 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11462 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11463 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11464 $(TARGET-stagefeedback-gmp)
11466 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
11467 clean-stagefeedback: clean-stagefeedback-gmp
11468 clean-stagefeedback-gmp:
11469 @if [ $(current_stage) = stagefeedback ]; then \
11470 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11471 else \
11472 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
11473 $(MAKE) stagefeedback-start; \
11474 fi; \
11475 cd $(HOST_SUBDIR)/gmp && \
11476 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11477 @endif gmp-bootstrap
11483 .PHONY: check-gmp maybe-check-gmp
11484 maybe-check-gmp:
11485 @if gmp
11486 maybe-check-gmp: check-gmp
11488 check-gmp:
11489 @: $(MAKE); $(unstage)
11490 @r=`${PWD_COMMAND}`; export r; \
11491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11492 $(HOST_EXPORTS) \
11493 (cd $(HOST_SUBDIR)/gmp && \
11494 $(MAKE) $(FLAGS_TO_PASS) check)
11496 @endif gmp
11498 .PHONY: install-gmp maybe-install-gmp
11499 maybe-install-gmp:
11500 @if gmp
11501 maybe-install-gmp: install-gmp
11503 install-gmp:
11505 @endif gmp
11507 .PHONY: install-strip-gmp maybe-install-strip-gmp
11508 maybe-install-strip-gmp:
11509 @if gmp
11510 maybe-install-strip-gmp: install-strip-gmp
11512 install-strip-gmp:
11514 @endif gmp
11516 # Other targets (info, dvi, pdf, etc.)
11518 .PHONY: maybe-info-gmp info-gmp
11519 maybe-info-gmp:
11520 @if gmp
11521 maybe-info-gmp: info-gmp
11523 info-gmp: \
11524 configure-gmp
11525 @[ -f ./gmp/Makefile ] || exit 0; \
11526 r=`${PWD_COMMAND}`; export r; \
11527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11528 $(HOST_EXPORTS) \
11529 for flag in $(EXTRA_HOST_FLAGS) ; do \
11530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11531 done; \
11532 echo "Doing info in gmp" ; \
11533 (cd $(HOST_SUBDIR)/gmp && \
11534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11536 "RANLIB=$${RANLIB}" \
11537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11538 info) \
11539 || exit 1
11541 @endif gmp
11543 .PHONY: maybe-dvi-gmp dvi-gmp
11544 maybe-dvi-gmp:
11545 @if gmp
11546 maybe-dvi-gmp: dvi-gmp
11548 dvi-gmp: \
11549 configure-gmp
11550 @[ -f ./gmp/Makefile ] || exit 0; \
11551 r=`${PWD_COMMAND}`; export r; \
11552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11553 $(HOST_EXPORTS) \
11554 for flag in $(EXTRA_HOST_FLAGS) ; do \
11555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11556 done; \
11557 echo "Doing dvi in gmp" ; \
11558 (cd $(HOST_SUBDIR)/gmp && \
11559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11561 "RANLIB=$${RANLIB}" \
11562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11563 dvi) \
11564 || exit 1
11566 @endif gmp
11568 .PHONY: maybe-pdf-gmp pdf-gmp
11569 maybe-pdf-gmp:
11570 @if gmp
11571 maybe-pdf-gmp: pdf-gmp
11573 pdf-gmp: \
11574 configure-gmp
11575 @[ -f ./gmp/Makefile ] || exit 0; \
11576 r=`${PWD_COMMAND}`; export r; \
11577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11578 $(HOST_EXPORTS) \
11579 for flag in $(EXTRA_HOST_FLAGS) ; do \
11580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11581 done; \
11582 echo "Doing pdf in gmp" ; \
11583 (cd $(HOST_SUBDIR)/gmp && \
11584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11586 "RANLIB=$${RANLIB}" \
11587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11588 pdf) \
11589 || exit 1
11591 @endif gmp
11593 .PHONY: maybe-html-gmp html-gmp
11594 maybe-html-gmp:
11595 @if gmp
11596 maybe-html-gmp: html-gmp
11598 html-gmp: \
11599 configure-gmp
11600 @[ -f ./gmp/Makefile ] || exit 0; \
11601 r=`${PWD_COMMAND}`; export r; \
11602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11603 $(HOST_EXPORTS) \
11604 for flag in $(EXTRA_HOST_FLAGS) ; do \
11605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11606 done; \
11607 echo "Doing html in gmp" ; \
11608 (cd $(HOST_SUBDIR)/gmp && \
11609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11611 "RANLIB=$${RANLIB}" \
11612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11613 html) \
11614 || exit 1
11616 @endif gmp
11618 .PHONY: maybe-TAGS-gmp TAGS-gmp
11619 maybe-TAGS-gmp:
11620 @if gmp
11621 maybe-TAGS-gmp: TAGS-gmp
11623 TAGS-gmp: \
11624 configure-gmp
11625 @[ -f ./gmp/Makefile ] || exit 0; \
11626 r=`${PWD_COMMAND}`; export r; \
11627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11628 $(HOST_EXPORTS) \
11629 for flag in $(EXTRA_HOST_FLAGS) ; do \
11630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11631 done; \
11632 echo "Doing TAGS in gmp" ; \
11633 (cd $(HOST_SUBDIR)/gmp && \
11634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11636 "RANLIB=$${RANLIB}" \
11637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11638 TAGS) \
11639 || exit 1
11641 @endif gmp
11643 .PHONY: maybe-install-info-gmp install-info-gmp
11644 maybe-install-info-gmp:
11645 @if gmp
11646 maybe-install-info-gmp: install-info-gmp
11648 install-info-gmp: \
11649 configure-gmp \
11650 info-gmp
11651 @[ -f ./gmp/Makefile ] || exit 0; \
11652 r=`${PWD_COMMAND}`; export r; \
11653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11654 $(HOST_EXPORTS) \
11655 for flag in $(EXTRA_HOST_FLAGS) ; do \
11656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11657 done; \
11658 echo "Doing install-info in gmp" ; \
11659 (cd $(HOST_SUBDIR)/gmp && \
11660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11662 "RANLIB=$${RANLIB}" \
11663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11664 install-info) \
11665 || exit 1
11667 @endif gmp
11669 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
11670 maybe-install-pdf-gmp:
11671 @if gmp
11672 maybe-install-pdf-gmp: install-pdf-gmp
11674 install-pdf-gmp: \
11675 configure-gmp \
11676 pdf-gmp
11677 @[ -f ./gmp/Makefile ] || exit 0; \
11678 r=`${PWD_COMMAND}`; export r; \
11679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11680 $(HOST_EXPORTS) \
11681 for flag in $(EXTRA_HOST_FLAGS) ; do \
11682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11683 done; \
11684 echo "Doing install-pdf in gmp" ; \
11685 (cd $(HOST_SUBDIR)/gmp && \
11686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11688 "RANLIB=$${RANLIB}" \
11689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11690 install-pdf) \
11691 || exit 1
11693 @endif gmp
11695 .PHONY: maybe-install-html-gmp install-html-gmp
11696 maybe-install-html-gmp:
11697 @if gmp
11698 maybe-install-html-gmp: install-html-gmp
11700 install-html-gmp: \
11701 configure-gmp \
11702 html-gmp
11703 @[ -f ./gmp/Makefile ] || exit 0; \
11704 r=`${PWD_COMMAND}`; export r; \
11705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11706 $(HOST_EXPORTS) \
11707 for flag in $(EXTRA_HOST_FLAGS) ; do \
11708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11709 done; \
11710 echo "Doing install-html in gmp" ; \
11711 (cd $(HOST_SUBDIR)/gmp && \
11712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11714 "RANLIB=$${RANLIB}" \
11715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11716 install-html) \
11717 || exit 1
11719 @endif gmp
11721 .PHONY: maybe-installcheck-gmp installcheck-gmp
11722 maybe-installcheck-gmp:
11723 @if gmp
11724 maybe-installcheck-gmp: installcheck-gmp
11726 installcheck-gmp: \
11727 configure-gmp
11728 @[ -f ./gmp/Makefile ] || exit 0; \
11729 r=`${PWD_COMMAND}`; export r; \
11730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11731 $(HOST_EXPORTS) \
11732 for flag in $(EXTRA_HOST_FLAGS) ; do \
11733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11734 done; \
11735 echo "Doing installcheck in gmp" ; \
11736 (cd $(HOST_SUBDIR)/gmp && \
11737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11739 "RANLIB=$${RANLIB}" \
11740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11741 installcheck) \
11742 || exit 1
11744 @endif gmp
11746 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
11747 maybe-mostlyclean-gmp:
11748 @if gmp
11749 maybe-mostlyclean-gmp: mostlyclean-gmp
11751 mostlyclean-gmp:
11752 @[ -f ./gmp/Makefile ] || exit 0; \
11753 r=`${PWD_COMMAND}`; export r; \
11754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11755 $(HOST_EXPORTS) \
11756 for flag in $(EXTRA_HOST_FLAGS) ; do \
11757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11758 done; \
11759 echo "Doing mostlyclean in gmp" ; \
11760 (cd $(HOST_SUBDIR)/gmp && \
11761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11763 "RANLIB=$${RANLIB}" \
11764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11765 mostlyclean) \
11766 || exit 1
11768 @endif gmp
11770 .PHONY: maybe-clean-gmp clean-gmp
11771 maybe-clean-gmp:
11772 @if gmp
11773 maybe-clean-gmp: clean-gmp
11775 clean-gmp:
11776 @[ -f ./gmp/Makefile ] || exit 0; \
11777 r=`${PWD_COMMAND}`; export r; \
11778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11779 $(HOST_EXPORTS) \
11780 for flag in $(EXTRA_HOST_FLAGS) ; do \
11781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11782 done; \
11783 echo "Doing clean in gmp" ; \
11784 (cd $(HOST_SUBDIR)/gmp && \
11785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11787 "RANLIB=$${RANLIB}" \
11788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11789 clean) \
11790 || exit 1
11792 @endif gmp
11794 .PHONY: maybe-distclean-gmp distclean-gmp
11795 maybe-distclean-gmp:
11796 @if gmp
11797 maybe-distclean-gmp: distclean-gmp
11799 distclean-gmp:
11800 @[ -f ./gmp/Makefile ] || exit 0; \
11801 r=`${PWD_COMMAND}`; export r; \
11802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11803 $(HOST_EXPORTS) \
11804 for flag in $(EXTRA_HOST_FLAGS) ; do \
11805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11806 done; \
11807 echo "Doing distclean in gmp" ; \
11808 (cd $(HOST_SUBDIR)/gmp && \
11809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11811 "RANLIB=$${RANLIB}" \
11812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11813 distclean) \
11814 || exit 1
11816 @endif gmp
11818 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
11819 maybe-maintainer-clean-gmp:
11820 @if gmp
11821 maybe-maintainer-clean-gmp: maintainer-clean-gmp
11823 maintainer-clean-gmp:
11824 @[ -f ./gmp/Makefile ] || exit 0; \
11825 r=`${PWD_COMMAND}`; export r; \
11826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11827 $(HOST_EXPORTS) \
11828 for flag in $(EXTRA_HOST_FLAGS) ; do \
11829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11830 done; \
11831 echo "Doing maintainer-clean in gmp" ; \
11832 (cd $(HOST_SUBDIR)/gmp && \
11833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11835 "RANLIB=$${RANLIB}" \
11836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11837 maintainer-clean) \
11838 || exit 1
11840 @endif gmp
11844 .PHONY: configure-mpfr maybe-configure-mpfr
11845 maybe-configure-mpfr:
11846 @if gcc-bootstrap
11847 configure-mpfr: stage_current
11848 @endif gcc-bootstrap
11849 @if mpfr
11850 maybe-configure-mpfr: configure-mpfr
11851 configure-mpfr:
11852 @r=`${PWD_COMMAND}`; export r; \
11853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11854 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11855 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11856 $(HOST_EXPORTS) \
11857 echo Configuring in $(HOST_SUBDIR)/mpfr; \
11858 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
11859 case $(srcdir) in \
11860 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11861 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11862 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11863 esac; \
11864 module_srcdir=mpfr; \
11865 $(SHELL) \
11866 $$s/$$module_srcdir/configure \
11867 --srcdir=$${topdir}/$$module_srcdir \
11868 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11869 --target=${target_alias} --disable-shared @extra_mpfr_configure_flags@ \
11870 || exit 1
11871 @endif mpfr
11875 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
11876 maybe-configure-stage1-mpfr:
11877 @if mpfr-bootstrap
11878 maybe-configure-stage1-mpfr: configure-stage1-mpfr
11879 configure-stage1-mpfr:
11880 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11881 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11882 @r=`${PWD_COMMAND}`; export r; \
11883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11884 TFLAGS="$(STAGE1_TFLAGS)"; \
11885 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11886 $(HOST_EXPORTS) \
11887 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11888 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11889 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11890 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
11891 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11892 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11893 case $(srcdir) in \
11894 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11895 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11896 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11897 esac; \
11898 module_srcdir=mpfr; \
11899 $(SHELL) $$s/$$module_srcdir/configure \
11900 --srcdir=$${topdir}/$$module_srcdir \
11901 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11902 --target=${target_alias} \
11904 $(STAGE1_CONFIGURE_FLAGS) \
11905 --disable-shared @extra_mpfr_configure_flags@
11906 @endif mpfr-bootstrap
11908 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
11909 maybe-configure-stage2-mpfr:
11910 @if mpfr-bootstrap
11911 maybe-configure-stage2-mpfr: configure-stage2-mpfr
11912 configure-stage2-mpfr:
11913 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11914 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11915 @r=`${PWD_COMMAND}`; export r; \
11916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11917 TFLAGS="$(STAGE2_TFLAGS)"; \
11918 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11919 $(HOST_EXPORTS) \
11920 $(POSTSTAGE1_HOST_EXPORTS) \
11921 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11922 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11923 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11924 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
11925 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11926 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11927 case $(srcdir) in \
11928 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11929 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11930 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11931 esac; \
11932 module_srcdir=mpfr; \
11933 $(SHELL) $$s/$$module_srcdir/configure \
11934 --srcdir=$${topdir}/$$module_srcdir \
11935 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11936 --target=${target_alias} \
11937 --with-build-libsubdir=$(HOST_SUBDIR) \
11938 $(STAGE2_CONFIGURE_FLAGS) \
11939 --disable-shared @extra_mpfr_configure_flags@
11940 @endif mpfr-bootstrap
11942 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
11943 maybe-configure-stage3-mpfr:
11944 @if mpfr-bootstrap
11945 maybe-configure-stage3-mpfr: configure-stage3-mpfr
11946 configure-stage3-mpfr:
11947 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11948 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11949 @r=`${PWD_COMMAND}`; export r; \
11950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11951 TFLAGS="$(STAGE3_TFLAGS)"; \
11952 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11953 $(HOST_EXPORTS) \
11954 $(POSTSTAGE1_HOST_EXPORTS) \
11955 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11956 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11957 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11958 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
11959 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11960 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11961 case $(srcdir) in \
11962 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11963 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11964 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11965 esac; \
11966 module_srcdir=mpfr; \
11967 $(SHELL) $$s/$$module_srcdir/configure \
11968 --srcdir=$${topdir}/$$module_srcdir \
11969 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11970 --target=${target_alias} \
11971 --with-build-libsubdir=$(HOST_SUBDIR) \
11972 $(STAGE3_CONFIGURE_FLAGS) \
11973 --disable-shared @extra_mpfr_configure_flags@
11974 @endif mpfr-bootstrap
11976 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
11977 maybe-configure-stage4-mpfr:
11978 @if mpfr-bootstrap
11979 maybe-configure-stage4-mpfr: configure-stage4-mpfr
11980 configure-stage4-mpfr:
11981 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11982 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11983 @r=`${PWD_COMMAND}`; export r; \
11984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11985 TFLAGS="$(STAGE4_TFLAGS)"; \
11986 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11987 $(HOST_EXPORTS) \
11988 $(POSTSTAGE1_HOST_EXPORTS) \
11989 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11990 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11991 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11992 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
11993 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11994 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11995 case $(srcdir) in \
11996 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11997 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11998 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11999 esac; \
12000 module_srcdir=mpfr; \
12001 $(SHELL) $$s/$$module_srcdir/configure \
12002 --srcdir=$${topdir}/$$module_srcdir \
12003 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12004 --target=${target_alias} \
12005 --with-build-libsubdir=$(HOST_SUBDIR) \
12006 $(STAGE4_CONFIGURE_FLAGS) \
12007 --disable-shared @extra_mpfr_configure_flags@
12008 @endif mpfr-bootstrap
12010 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
12011 maybe-configure-stageprofile-mpfr:
12012 @if mpfr-bootstrap
12013 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
12014 configure-stageprofile-mpfr:
12015 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12016 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
12017 @r=`${PWD_COMMAND}`; export r; \
12018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12019 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12020 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
12021 $(HOST_EXPORTS) \
12022 $(POSTSTAGE1_HOST_EXPORTS) \
12023 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12024 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12025 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12026 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
12027 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
12028 cd $(HOST_SUBDIR)/mpfr || exit 1; \
12029 case $(srcdir) in \
12030 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12031 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
12032 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12033 esac; \
12034 module_srcdir=mpfr; \
12035 $(SHELL) $$s/$$module_srcdir/configure \
12036 --srcdir=$${topdir}/$$module_srcdir \
12037 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12038 --target=${target_alias} \
12039 --with-build-libsubdir=$(HOST_SUBDIR) \
12040 $(STAGEprofile_CONFIGURE_FLAGS) \
12041 --disable-shared @extra_mpfr_configure_flags@
12042 @endif mpfr-bootstrap
12044 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
12045 maybe-configure-stagefeedback-mpfr:
12046 @if mpfr-bootstrap
12047 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
12048 configure-stagefeedback-mpfr:
12049 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12050 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
12051 @r=`${PWD_COMMAND}`; export r; \
12052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12053 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12054 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
12055 $(HOST_EXPORTS) \
12056 $(POSTSTAGE1_HOST_EXPORTS) \
12057 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12058 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12059 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12060 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
12061 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
12062 cd $(HOST_SUBDIR)/mpfr || exit 1; \
12063 case $(srcdir) in \
12064 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12065 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
12066 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12067 esac; \
12068 module_srcdir=mpfr; \
12069 $(SHELL) $$s/$$module_srcdir/configure \
12070 --srcdir=$${topdir}/$$module_srcdir \
12071 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12072 --target=${target_alias} \
12073 --with-build-libsubdir=$(HOST_SUBDIR) \
12074 $(STAGEfeedback_CONFIGURE_FLAGS) \
12075 --disable-shared @extra_mpfr_configure_flags@
12076 @endif mpfr-bootstrap
12082 .PHONY: all-mpfr maybe-all-mpfr
12083 maybe-all-mpfr:
12084 @if gcc-bootstrap
12085 all-mpfr: stage_current
12086 @endif gcc-bootstrap
12087 @if mpfr
12088 TARGET-mpfr=all
12089 maybe-all-mpfr: all-mpfr
12090 all-mpfr: configure-mpfr
12091 @r=`${PWD_COMMAND}`; export r; \
12092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12093 $(HOST_EXPORTS) \
12094 (cd $(HOST_SUBDIR)/mpfr && \
12095 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
12096 $(TARGET-mpfr))
12097 @endif mpfr
12101 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
12102 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
12103 maybe-all-stage1-mpfr:
12104 maybe-clean-stage1-mpfr:
12105 @if mpfr-bootstrap
12106 maybe-all-stage1-mpfr: all-stage1-mpfr
12107 all-stage1: all-stage1-mpfr
12108 TARGET-stage1-mpfr = $(TARGET-mpfr)
12109 all-stage1-mpfr: configure-stage1-mpfr
12110 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12111 @r=`${PWD_COMMAND}`; export r; \
12112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12113 TFLAGS="$(STAGE1_TFLAGS)"; \
12114 $(HOST_EXPORTS) \
12115 cd $(HOST_SUBDIR)/mpfr && \
12116 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12117 CFLAGS="$(STAGE1_CFLAGS)" \
12118 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12119 LIBCFLAGS="$(LIBCFLAGS)" \
12120 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12121 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12122 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12123 $(EXTRA_HOST_FLAGS) \
12124 $(STAGE1_FLAGS_TO_PASS) \
12125 TFLAGS="$(STAGE1_TFLAGS)" \
12126 $(TARGET-stage1-mpfr)
12128 maybe-clean-stage1-mpfr: clean-stage1-mpfr
12129 clean-stage1: clean-stage1-mpfr
12130 clean-stage1-mpfr:
12131 @if [ $(current_stage) = stage1 ]; then \
12132 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12133 else \
12134 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
12135 $(MAKE) stage1-start; \
12136 fi; \
12137 cd $(HOST_SUBDIR)/mpfr && \
12138 $(MAKE) $(EXTRA_HOST_FLAGS) \
12139 $(STAGE1_FLAGS_TO_PASS) clean
12140 @endif mpfr-bootstrap
12143 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
12144 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
12145 maybe-all-stage2-mpfr:
12146 maybe-clean-stage2-mpfr:
12147 @if mpfr-bootstrap
12148 maybe-all-stage2-mpfr: all-stage2-mpfr
12149 all-stage2: all-stage2-mpfr
12150 TARGET-stage2-mpfr = $(TARGET-mpfr)
12151 all-stage2-mpfr: configure-stage2-mpfr
12152 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12153 @r=`${PWD_COMMAND}`; export r; \
12154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12155 TFLAGS="$(STAGE2_TFLAGS)"; \
12156 $(HOST_EXPORTS) \
12157 $(POSTSTAGE1_HOST_EXPORTS) \
12158 cd $(HOST_SUBDIR)/mpfr && \
12159 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12160 CFLAGS="$(STAGE2_CFLAGS)" \
12161 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12162 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12163 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12164 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12165 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12166 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12167 TFLAGS="$(STAGE2_TFLAGS)" \
12168 $(TARGET-stage2-mpfr)
12170 maybe-clean-stage2-mpfr: clean-stage2-mpfr
12171 clean-stage2: clean-stage2-mpfr
12172 clean-stage2-mpfr:
12173 @if [ $(current_stage) = stage2 ]; then \
12174 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12175 else \
12176 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
12177 $(MAKE) stage2-start; \
12178 fi; \
12179 cd $(HOST_SUBDIR)/mpfr && \
12180 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12181 @endif mpfr-bootstrap
12184 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
12185 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
12186 maybe-all-stage3-mpfr:
12187 maybe-clean-stage3-mpfr:
12188 @if mpfr-bootstrap
12189 maybe-all-stage3-mpfr: all-stage3-mpfr
12190 all-stage3: all-stage3-mpfr
12191 TARGET-stage3-mpfr = $(TARGET-mpfr)
12192 all-stage3-mpfr: configure-stage3-mpfr
12193 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12194 @r=`${PWD_COMMAND}`; export r; \
12195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12196 TFLAGS="$(STAGE3_TFLAGS)"; \
12197 $(HOST_EXPORTS) \
12198 $(POSTSTAGE1_HOST_EXPORTS) \
12199 cd $(HOST_SUBDIR)/mpfr && \
12200 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12201 CFLAGS="$(STAGE3_CFLAGS)" \
12202 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12203 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12204 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12205 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12206 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12207 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12208 TFLAGS="$(STAGE3_TFLAGS)" \
12209 $(TARGET-stage3-mpfr)
12211 maybe-clean-stage3-mpfr: clean-stage3-mpfr
12212 clean-stage3: clean-stage3-mpfr
12213 clean-stage3-mpfr:
12214 @if [ $(current_stage) = stage3 ]; then \
12215 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12216 else \
12217 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
12218 $(MAKE) stage3-start; \
12219 fi; \
12220 cd $(HOST_SUBDIR)/mpfr && \
12221 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12222 @endif mpfr-bootstrap
12225 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
12226 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
12227 maybe-all-stage4-mpfr:
12228 maybe-clean-stage4-mpfr:
12229 @if mpfr-bootstrap
12230 maybe-all-stage4-mpfr: all-stage4-mpfr
12231 all-stage4: all-stage4-mpfr
12232 TARGET-stage4-mpfr = $(TARGET-mpfr)
12233 all-stage4-mpfr: configure-stage4-mpfr
12234 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12235 @r=`${PWD_COMMAND}`; export r; \
12236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12237 TFLAGS="$(STAGE4_TFLAGS)"; \
12238 $(HOST_EXPORTS) \
12239 $(POSTSTAGE1_HOST_EXPORTS) \
12240 cd $(HOST_SUBDIR)/mpfr && \
12241 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12242 CFLAGS="$(STAGE4_CFLAGS)" \
12243 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12244 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12245 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12246 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12247 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12248 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12249 TFLAGS="$(STAGE4_TFLAGS)" \
12250 $(TARGET-stage4-mpfr)
12252 maybe-clean-stage4-mpfr: clean-stage4-mpfr
12253 clean-stage4: clean-stage4-mpfr
12254 clean-stage4-mpfr:
12255 @if [ $(current_stage) = stage4 ]; then \
12256 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12257 else \
12258 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
12259 $(MAKE) stage4-start; \
12260 fi; \
12261 cd $(HOST_SUBDIR)/mpfr && \
12262 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12263 @endif mpfr-bootstrap
12266 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
12267 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
12268 maybe-all-stageprofile-mpfr:
12269 maybe-clean-stageprofile-mpfr:
12270 @if mpfr-bootstrap
12271 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
12272 all-stageprofile: all-stageprofile-mpfr
12273 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
12274 all-stageprofile-mpfr: configure-stageprofile-mpfr
12275 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12276 @r=`${PWD_COMMAND}`; export r; \
12277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12278 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12279 $(HOST_EXPORTS) \
12280 $(POSTSTAGE1_HOST_EXPORTS) \
12281 cd $(HOST_SUBDIR)/mpfr && \
12282 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12283 CFLAGS="$(STAGEprofile_CFLAGS)" \
12284 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12285 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12286 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12287 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12288 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12289 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12290 TFLAGS="$(STAGEprofile_TFLAGS)" \
12291 $(TARGET-stageprofile-mpfr)
12293 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
12294 clean-stageprofile: clean-stageprofile-mpfr
12295 clean-stageprofile-mpfr:
12296 @if [ $(current_stage) = stageprofile ]; then \
12297 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12298 else \
12299 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
12300 $(MAKE) stageprofile-start; \
12301 fi; \
12302 cd $(HOST_SUBDIR)/mpfr && \
12303 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12304 @endif mpfr-bootstrap
12307 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
12308 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
12309 maybe-all-stagefeedback-mpfr:
12310 maybe-clean-stagefeedback-mpfr:
12311 @if mpfr-bootstrap
12312 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
12313 all-stagefeedback: all-stagefeedback-mpfr
12314 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
12315 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
12316 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12317 @r=`${PWD_COMMAND}`; export r; \
12318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12319 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12320 $(HOST_EXPORTS) \
12321 $(POSTSTAGE1_HOST_EXPORTS) \
12322 cd $(HOST_SUBDIR)/mpfr && \
12323 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12324 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12325 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12326 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12327 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12328 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12329 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12330 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12331 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12332 $(TARGET-stagefeedback-mpfr)
12334 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
12335 clean-stagefeedback: clean-stagefeedback-mpfr
12336 clean-stagefeedback-mpfr:
12337 @if [ $(current_stage) = stagefeedback ]; then \
12338 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12339 else \
12340 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
12341 $(MAKE) stagefeedback-start; \
12342 fi; \
12343 cd $(HOST_SUBDIR)/mpfr && \
12344 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12345 @endif mpfr-bootstrap
12351 .PHONY: check-mpfr maybe-check-mpfr
12352 maybe-check-mpfr:
12353 @if mpfr
12354 maybe-check-mpfr: check-mpfr
12356 check-mpfr:
12357 @: $(MAKE); $(unstage)
12358 @r=`${PWD_COMMAND}`; export r; \
12359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12360 $(HOST_EXPORTS) \
12361 (cd $(HOST_SUBDIR)/mpfr && \
12362 $(MAKE) $(FLAGS_TO_PASS) check)
12364 @endif mpfr
12366 .PHONY: install-mpfr maybe-install-mpfr
12367 maybe-install-mpfr:
12368 @if mpfr
12369 maybe-install-mpfr: install-mpfr
12371 install-mpfr:
12373 @endif mpfr
12375 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
12376 maybe-install-strip-mpfr:
12377 @if mpfr
12378 maybe-install-strip-mpfr: install-strip-mpfr
12380 install-strip-mpfr:
12382 @endif mpfr
12384 # Other targets (info, dvi, pdf, etc.)
12386 .PHONY: maybe-info-mpfr info-mpfr
12387 maybe-info-mpfr:
12388 @if mpfr
12389 maybe-info-mpfr: info-mpfr
12391 info-mpfr: \
12392 configure-mpfr
12393 @[ -f ./mpfr/Makefile ] || exit 0; \
12394 r=`${PWD_COMMAND}`; export r; \
12395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12396 $(HOST_EXPORTS) \
12397 for flag in $(EXTRA_HOST_FLAGS) ; do \
12398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12399 done; \
12400 echo "Doing info in mpfr" ; \
12401 (cd $(HOST_SUBDIR)/mpfr && \
12402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12404 "RANLIB=$${RANLIB}" \
12405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12406 info) \
12407 || exit 1
12409 @endif mpfr
12411 .PHONY: maybe-dvi-mpfr dvi-mpfr
12412 maybe-dvi-mpfr:
12413 @if mpfr
12414 maybe-dvi-mpfr: dvi-mpfr
12416 dvi-mpfr: \
12417 configure-mpfr
12418 @[ -f ./mpfr/Makefile ] || exit 0; \
12419 r=`${PWD_COMMAND}`; export r; \
12420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12421 $(HOST_EXPORTS) \
12422 for flag in $(EXTRA_HOST_FLAGS) ; do \
12423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12424 done; \
12425 echo "Doing dvi in mpfr" ; \
12426 (cd $(HOST_SUBDIR)/mpfr && \
12427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12429 "RANLIB=$${RANLIB}" \
12430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12431 dvi) \
12432 || exit 1
12434 @endif mpfr
12436 .PHONY: maybe-pdf-mpfr pdf-mpfr
12437 maybe-pdf-mpfr:
12438 @if mpfr
12439 maybe-pdf-mpfr: pdf-mpfr
12441 pdf-mpfr: \
12442 configure-mpfr
12443 @[ -f ./mpfr/Makefile ] || exit 0; \
12444 r=`${PWD_COMMAND}`; export r; \
12445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12446 $(HOST_EXPORTS) \
12447 for flag in $(EXTRA_HOST_FLAGS) ; do \
12448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12449 done; \
12450 echo "Doing pdf in mpfr" ; \
12451 (cd $(HOST_SUBDIR)/mpfr && \
12452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12454 "RANLIB=$${RANLIB}" \
12455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12456 pdf) \
12457 || exit 1
12459 @endif mpfr
12461 .PHONY: maybe-html-mpfr html-mpfr
12462 maybe-html-mpfr:
12463 @if mpfr
12464 maybe-html-mpfr: html-mpfr
12466 html-mpfr: \
12467 configure-mpfr
12468 @[ -f ./mpfr/Makefile ] || exit 0; \
12469 r=`${PWD_COMMAND}`; export r; \
12470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12471 $(HOST_EXPORTS) \
12472 for flag in $(EXTRA_HOST_FLAGS) ; do \
12473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12474 done; \
12475 echo "Doing html in mpfr" ; \
12476 (cd $(HOST_SUBDIR)/mpfr && \
12477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12479 "RANLIB=$${RANLIB}" \
12480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12481 html) \
12482 || exit 1
12484 @endif mpfr
12486 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
12487 maybe-TAGS-mpfr:
12488 @if mpfr
12489 maybe-TAGS-mpfr: TAGS-mpfr
12491 TAGS-mpfr: \
12492 configure-mpfr
12493 @[ -f ./mpfr/Makefile ] || exit 0; \
12494 r=`${PWD_COMMAND}`; export r; \
12495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12496 $(HOST_EXPORTS) \
12497 for flag in $(EXTRA_HOST_FLAGS) ; do \
12498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12499 done; \
12500 echo "Doing TAGS in mpfr" ; \
12501 (cd $(HOST_SUBDIR)/mpfr && \
12502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12504 "RANLIB=$${RANLIB}" \
12505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12506 TAGS) \
12507 || exit 1
12509 @endif mpfr
12511 .PHONY: maybe-install-info-mpfr install-info-mpfr
12512 maybe-install-info-mpfr:
12513 @if mpfr
12514 maybe-install-info-mpfr: install-info-mpfr
12516 install-info-mpfr: \
12517 configure-mpfr \
12518 info-mpfr
12519 @[ -f ./mpfr/Makefile ] || exit 0; \
12520 r=`${PWD_COMMAND}`; export r; \
12521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12522 $(HOST_EXPORTS) \
12523 for flag in $(EXTRA_HOST_FLAGS) ; do \
12524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12525 done; \
12526 echo "Doing install-info in mpfr" ; \
12527 (cd $(HOST_SUBDIR)/mpfr && \
12528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12530 "RANLIB=$${RANLIB}" \
12531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12532 install-info) \
12533 || exit 1
12535 @endif mpfr
12537 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
12538 maybe-install-pdf-mpfr:
12539 @if mpfr
12540 maybe-install-pdf-mpfr: install-pdf-mpfr
12542 install-pdf-mpfr: \
12543 configure-mpfr \
12544 pdf-mpfr
12545 @[ -f ./mpfr/Makefile ] || exit 0; \
12546 r=`${PWD_COMMAND}`; export r; \
12547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12548 $(HOST_EXPORTS) \
12549 for flag in $(EXTRA_HOST_FLAGS) ; do \
12550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12551 done; \
12552 echo "Doing install-pdf in mpfr" ; \
12553 (cd $(HOST_SUBDIR)/mpfr && \
12554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12556 "RANLIB=$${RANLIB}" \
12557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12558 install-pdf) \
12559 || exit 1
12561 @endif mpfr
12563 .PHONY: maybe-install-html-mpfr install-html-mpfr
12564 maybe-install-html-mpfr:
12565 @if mpfr
12566 maybe-install-html-mpfr: install-html-mpfr
12568 install-html-mpfr: \
12569 configure-mpfr \
12570 html-mpfr
12571 @[ -f ./mpfr/Makefile ] || exit 0; \
12572 r=`${PWD_COMMAND}`; export r; \
12573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12574 $(HOST_EXPORTS) \
12575 for flag in $(EXTRA_HOST_FLAGS) ; do \
12576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12577 done; \
12578 echo "Doing install-html in mpfr" ; \
12579 (cd $(HOST_SUBDIR)/mpfr && \
12580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12582 "RANLIB=$${RANLIB}" \
12583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12584 install-html) \
12585 || exit 1
12587 @endif mpfr
12589 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
12590 maybe-installcheck-mpfr:
12591 @if mpfr
12592 maybe-installcheck-mpfr: installcheck-mpfr
12594 installcheck-mpfr: \
12595 configure-mpfr
12596 @[ -f ./mpfr/Makefile ] || exit 0; \
12597 r=`${PWD_COMMAND}`; export r; \
12598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12599 $(HOST_EXPORTS) \
12600 for flag in $(EXTRA_HOST_FLAGS) ; do \
12601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12602 done; \
12603 echo "Doing installcheck in mpfr" ; \
12604 (cd $(HOST_SUBDIR)/mpfr && \
12605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12607 "RANLIB=$${RANLIB}" \
12608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12609 installcheck) \
12610 || exit 1
12612 @endif mpfr
12614 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
12615 maybe-mostlyclean-mpfr:
12616 @if mpfr
12617 maybe-mostlyclean-mpfr: mostlyclean-mpfr
12619 mostlyclean-mpfr:
12620 @[ -f ./mpfr/Makefile ] || exit 0; \
12621 r=`${PWD_COMMAND}`; export r; \
12622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12623 $(HOST_EXPORTS) \
12624 for flag in $(EXTRA_HOST_FLAGS) ; do \
12625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12626 done; \
12627 echo "Doing mostlyclean in mpfr" ; \
12628 (cd $(HOST_SUBDIR)/mpfr && \
12629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12631 "RANLIB=$${RANLIB}" \
12632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12633 mostlyclean) \
12634 || exit 1
12636 @endif mpfr
12638 .PHONY: maybe-clean-mpfr clean-mpfr
12639 maybe-clean-mpfr:
12640 @if mpfr
12641 maybe-clean-mpfr: clean-mpfr
12643 clean-mpfr:
12644 @[ -f ./mpfr/Makefile ] || exit 0; \
12645 r=`${PWD_COMMAND}`; export r; \
12646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12647 $(HOST_EXPORTS) \
12648 for flag in $(EXTRA_HOST_FLAGS) ; do \
12649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12650 done; \
12651 echo "Doing clean in mpfr" ; \
12652 (cd $(HOST_SUBDIR)/mpfr && \
12653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12655 "RANLIB=$${RANLIB}" \
12656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12657 clean) \
12658 || exit 1
12660 @endif mpfr
12662 .PHONY: maybe-distclean-mpfr distclean-mpfr
12663 maybe-distclean-mpfr:
12664 @if mpfr
12665 maybe-distclean-mpfr: distclean-mpfr
12667 distclean-mpfr:
12668 @[ -f ./mpfr/Makefile ] || exit 0; \
12669 r=`${PWD_COMMAND}`; export r; \
12670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12671 $(HOST_EXPORTS) \
12672 for flag in $(EXTRA_HOST_FLAGS) ; do \
12673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12674 done; \
12675 echo "Doing distclean in mpfr" ; \
12676 (cd $(HOST_SUBDIR)/mpfr && \
12677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12679 "RANLIB=$${RANLIB}" \
12680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12681 distclean) \
12682 || exit 1
12684 @endif mpfr
12686 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
12687 maybe-maintainer-clean-mpfr:
12688 @if mpfr
12689 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
12691 maintainer-clean-mpfr:
12692 @[ -f ./mpfr/Makefile ] || exit 0; \
12693 r=`${PWD_COMMAND}`; export r; \
12694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12695 $(HOST_EXPORTS) \
12696 for flag in $(EXTRA_HOST_FLAGS) ; do \
12697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12698 done; \
12699 echo "Doing maintainer-clean in mpfr" ; \
12700 (cd $(HOST_SUBDIR)/mpfr && \
12701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12703 "RANLIB=$${RANLIB}" \
12704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12705 maintainer-clean) \
12706 || exit 1
12708 @endif mpfr
12712 .PHONY: configure-mpc maybe-configure-mpc
12713 maybe-configure-mpc:
12714 @if gcc-bootstrap
12715 configure-mpc: stage_current
12716 @endif gcc-bootstrap
12717 @if mpc
12718 maybe-configure-mpc: configure-mpc
12719 configure-mpc:
12720 @r=`${PWD_COMMAND}`; export r; \
12721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12722 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12723 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12724 $(HOST_EXPORTS) \
12725 echo Configuring in $(HOST_SUBDIR)/mpc; \
12726 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
12727 case $(srcdir) in \
12728 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12729 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12730 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12731 esac; \
12732 module_srcdir=mpc; \
12733 $(SHELL) \
12734 $$s/$$module_srcdir/configure \
12735 --srcdir=$${topdir}/$$module_srcdir \
12736 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12737 --target=${target_alias} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
12738 || exit 1
12739 @endif mpc
12743 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
12744 maybe-configure-stage1-mpc:
12745 @if mpc-bootstrap
12746 maybe-configure-stage1-mpc: configure-stage1-mpc
12747 configure-stage1-mpc:
12748 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12749 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12750 @r=`${PWD_COMMAND}`; export r; \
12751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12752 TFLAGS="$(STAGE1_TFLAGS)"; \
12753 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12754 $(HOST_EXPORTS) \
12755 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12756 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12757 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12758 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc ; \
12759 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12760 cd $(HOST_SUBDIR)/mpc || exit 1; \
12761 case $(srcdir) in \
12762 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12763 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12764 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12765 esac; \
12766 module_srcdir=mpc; \
12767 $(SHELL) $$s/$$module_srcdir/configure \
12768 --srcdir=$${topdir}/$$module_srcdir \
12769 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12770 --target=${target_alias} \
12772 $(STAGE1_CONFIGURE_FLAGS) \
12773 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12774 @endif mpc-bootstrap
12776 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
12777 maybe-configure-stage2-mpc:
12778 @if mpc-bootstrap
12779 maybe-configure-stage2-mpc: configure-stage2-mpc
12780 configure-stage2-mpc:
12781 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12782 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12783 @r=`${PWD_COMMAND}`; export r; \
12784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12785 TFLAGS="$(STAGE2_TFLAGS)"; \
12786 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12787 $(HOST_EXPORTS) \
12788 $(POSTSTAGE1_HOST_EXPORTS) \
12789 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12790 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12791 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12792 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc ; \
12793 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12794 cd $(HOST_SUBDIR)/mpc || exit 1; \
12795 case $(srcdir) in \
12796 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12797 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12798 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12799 esac; \
12800 module_srcdir=mpc; \
12801 $(SHELL) $$s/$$module_srcdir/configure \
12802 --srcdir=$${topdir}/$$module_srcdir \
12803 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12804 --target=${target_alias} \
12805 --with-build-libsubdir=$(HOST_SUBDIR) \
12806 $(STAGE2_CONFIGURE_FLAGS) \
12807 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12808 @endif mpc-bootstrap
12810 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
12811 maybe-configure-stage3-mpc:
12812 @if mpc-bootstrap
12813 maybe-configure-stage3-mpc: configure-stage3-mpc
12814 configure-stage3-mpc:
12815 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12816 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12817 @r=`${PWD_COMMAND}`; export r; \
12818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12819 TFLAGS="$(STAGE3_TFLAGS)"; \
12820 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12821 $(HOST_EXPORTS) \
12822 $(POSTSTAGE1_HOST_EXPORTS) \
12823 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12824 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12825 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12826 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc ; \
12827 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12828 cd $(HOST_SUBDIR)/mpc || exit 1; \
12829 case $(srcdir) in \
12830 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12831 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12832 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12833 esac; \
12834 module_srcdir=mpc; \
12835 $(SHELL) $$s/$$module_srcdir/configure \
12836 --srcdir=$${topdir}/$$module_srcdir \
12837 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12838 --target=${target_alias} \
12839 --with-build-libsubdir=$(HOST_SUBDIR) \
12840 $(STAGE3_CONFIGURE_FLAGS) \
12841 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12842 @endif mpc-bootstrap
12844 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
12845 maybe-configure-stage4-mpc:
12846 @if mpc-bootstrap
12847 maybe-configure-stage4-mpc: configure-stage4-mpc
12848 configure-stage4-mpc:
12849 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12850 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12851 @r=`${PWD_COMMAND}`; export r; \
12852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12853 TFLAGS="$(STAGE4_TFLAGS)"; \
12854 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12855 $(HOST_EXPORTS) \
12856 $(POSTSTAGE1_HOST_EXPORTS) \
12857 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12858 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12859 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12860 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc ; \
12861 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12862 cd $(HOST_SUBDIR)/mpc || exit 1; \
12863 case $(srcdir) in \
12864 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12865 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12866 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12867 esac; \
12868 module_srcdir=mpc; \
12869 $(SHELL) $$s/$$module_srcdir/configure \
12870 --srcdir=$${topdir}/$$module_srcdir \
12871 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12872 --target=${target_alias} \
12873 --with-build-libsubdir=$(HOST_SUBDIR) \
12874 $(STAGE4_CONFIGURE_FLAGS) \
12875 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12876 @endif mpc-bootstrap
12878 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
12879 maybe-configure-stageprofile-mpc:
12880 @if mpc-bootstrap
12881 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
12882 configure-stageprofile-mpc:
12883 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12884 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12885 @r=`${PWD_COMMAND}`; export r; \
12886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12887 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12888 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12889 $(HOST_EXPORTS) \
12890 $(POSTSTAGE1_HOST_EXPORTS) \
12891 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12892 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12893 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12894 echo Configuring stage profile in $(HOST_SUBDIR)/mpc ; \
12895 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12896 cd $(HOST_SUBDIR)/mpc || exit 1; \
12897 case $(srcdir) in \
12898 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12899 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12900 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12901 esac; \
12902 module_srcdir=mpc; \
12903 $(SHELL) $$s/$$module_srcdir/configure \
12904 --srcdir=$${topdir}/$$module_srcdir \
12905 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12906 --target=${target_alias} \
12907 --with-build-libsubdir=$(HOST_SUBDIR) \
12908 $(STAGEprofile_CONFIGURE_FLAGS) \
12909 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12910 @endif mpc-bootstrap
12912 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
12913 maybe-configure-stagefeedback-mpc:
12914 @if mpc-bootstrap
12915 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
12916 configure-stagefeedback-mpc:
12917 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12918 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12919 @r=`${PWD_COMMAND}`; export r; \
12920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12921 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12922 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12923 $(HOST_EXPORTS) \
12924 $(POSTSTAGE1_HOST_EXPORTS) \
12925 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12926 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12927 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12928 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc ; \
12929 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12930 cd $(HOST_SUBDIR)/mpc || exit 1; \
12931 case $(srcdir) in \
12932 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12933 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12934 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12935 esac; \
12936 module_srcdir=mpc; \
12937 $(SHELL) $$s/$$module_srcdir/configure \
12938 --srcdir=$${topdir}/$$module_srcdir \
12939 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12940 --target=${target_alias} \
12941 --with-build-libsubdir=$(HOST_SUBDIR) \
12942 $(STAGEfeedback_CONFIGURE_FLAGS) \
12943 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12944 @endif mpc-bootstrap
12950 .PHONY: all-mpc maybe-all-mpc
12951 maybe-all-mpc:
12952 @if gcc-bootstrap
12953 all-mpc: stage_current
12954 @endif gcc-bootstrap
12955 @if mpc
12956 TARGET-mpc=all
12957 maybe-all-mpc: all-mpc
12958 all-mpc: configure-mpc
12959 @r=`${PWD_COMMAND}`; export r; \
12960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12961 $(HOST_EXPORTS) \
12962 (cd $(HOST_SUBDIR)/mpc && \
12963 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
12964 $(TARGET-mpc))
12965 @endif mpc
12969 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
12970 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
12971 maybe-all-stage1-mpc:
12972 maybe-clean-stage1-mpc:
12973 @if mpc-bootstrap
12974 maybe-all-stage1-mpc: all-stage1-mpc
12975 all-stage1: all-stage1-mpc
12976 TARGET-stage1-mpc = $(TARGET-mpc)
12977 all-stage1-mpc: configure-stage1-mpc
12978 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12979 @r=`${PWD_COMMAND}`; export r; \
12980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12981 TFLAGS="$(STAGE1_TFLAGS)"; \
12982 $(HOST_EXPORTS) \
12983 cd $(HOST_SUBDIR)/mpc && \
12984 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12985 CFLAGS="$(STAGE1_CFLAGS)" \
12986 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12987 LIBCFLAGS="$(LIBCFLAGS)" \
12988 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12989 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12990 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12991 $(EXTRA_HOST_FLAGS) \
12992 $(STAGE1_FLAGS_TO_PASS) \
12993 TFLAGS="$(STAGE1_TFLAGS)" \
12994 $(TARGET-stage1-mpc)
12996 maybe-clean-stage1-mpc: clean-stage1-mpc
12997 clean-stage1: clean-stage1-mpc
12998 clean-stage1-mpc:
12999 @if [ $(current_stage) = stage1 ]; then \
13000 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13001 else \
13002 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
13003 $(MAKE) stage1-start; \
13004 fi; \
13005 cd $(HOST_SUBDIR)/mpc && \
13006 $(MAKE) $(EXTRA_HOST_FLAGS) \
13007 $(STAGE1_FLAGS_TO_PASS) clean
13008 @endif mpc-bootstrap
13011 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
13012 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
13013 maybe-all-stage2-mpc:
13014 maybe-clean-stage2-mpc:
13015 @if mpc-bootstrap
13016 maybe-all-stage2-mpc: all-stage2-mpc
13017 all-stage2: all-stage2-mpc
13018 TARGET-stage2-mpc = $(TARGET-mpc)
13019 all-stage2-mpc: configure-stage2-mpc
13020 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13021 @r=`${PWD_COMMAND}`; export r; \
13022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13023 TFLAGS="$(STAGE2_TFLAGS)"; \
13024 $(HOST_EXPORTS) \
13025 $(POSTSTAGE1_HOST_EXPORTS) \
13026 cd $(HOST_SUBDIR)/mpc && \
13027 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13028 CFLAGS="$(STAGE2_CFLAGS)" \
13029 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13030 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13031 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13032 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13033 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13034 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13035 TFLAGS="$(STAGE2_TFLAGS)" \
13036 $(TARGET-stage2-mpc)
13038 maybe-clean-stage2-mpc: clean-stage2-mpc
13039 clean-stage2: clean-stage2-mpc
13040 clean-stage2-mpc:
13041 @if [ $(current_stage) = stage2 ]; then \
13042 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13043 else \
13044 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
13045 $(MAKE) stage2-start; \
13046 fi; \
13047 cd $(HOST_SUBDIR)/mpc && \
13048 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13049 @endif mpc-bootstrap
13052 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
13053 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
13054 maybe-all-stage3-mpc:
13055 maybe-clean-stage3-mpc:
13056 @if mpc-bootstrap
13057 maybe-all-stage3-mpc: all-stage3-mpc
13058 all-stage3: all-stage3-mpc
13059 TARGET-stage3-mpc = $(TARGET-mpc)
13060 all-stage3-mpc: configure-stage3-mpc
13061 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13062 @r=`${PWD_COMMAND}`; export r; \
13063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13064 TFLAGS="$(STAGE3_TFLAGS)"; \
13065 $(HOST_EXPORTS) \
13066 $(POSTSTAGE1_HOST_EXPORTS) \
13067 cd $(HOST_SUBDIR)/mpc && \
13068 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13069 CFLAGS="$(STAGE3_CFLAGS)" \
13070 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13071 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13072 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13073 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13074 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13075 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13076 TFLAGS="$(STAGE3_TFLAGS)" \
13077 $(TARGET-stage3-mpc)
13079 maybe-clean-stage3-mpc: clean-stage3-mpc
13080 clean-stage3: clean-stage3-mpc
13081 clean-stage3-mpc:
13082 @if [ $(current_stage) = stage3 ]; then \
13083 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13084 else \
13085 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
13086 $(MAKE) stage3-start; \
13087 fi; \
13088 cd $(HOST_SUBDIR)/mpc && \
13089 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13090 @endif mpc-bootstrap
13093 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
13094 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
13095 maybe-all-stage4-mpc:
13096 maybe-clean-stage4-mpc:
13097 @if mpc-bootstrap
13098 maybe-all-stage4-mpc: all-stage4-mpc
13099 all-stage4: all-stage4-mpc
13100 TARGET-stage4-mpc = $(TARGET-mpc)
13101 all-stage4-mpc: configure-stage4-mpc
13102 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13103 @r=`${PWD_COMMAND}`; export r; \
13104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13105 TFLAGS="$(STAGE4_TFLAGS)"; \
13106 $(HOST_EXPORTS) \
13107 $(POSTSTAGE1_HOST_EXPORTS) \
13108 cd $(HOST_SUBDIR)/mpc && \
13109 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13110 CFLAGS="$(STAGE4_CFLAGS)" \
13111 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13112 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13113 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13114 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13115 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13116 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13117 TFLAGS="$(STAGE4_TFLAGS)" \
13118 $(TARGET-stage4-mpc)
13120 maybe-clean-stage4-mpc: clean-stage4-mpc
13121 clean-stage4: clean-stage4-mpc
13122 clean-stage4-mpc:
13123 @if [ $(current_stage) = stage4 ]; then \
13124 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13125 else \
13126 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
13127 $(MAKE) stage4-start; \
13128 fi; \
13129 cd $(HOST_SUBDIR)/mpc && \
13130 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13131 @endif mpc-bootstrap
13134 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
13135 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
13136 maybe-all-stageprofile-mpc:
13137 maybe-clean-stageprofile-mpc:
13138 @if mpc-bootstrap
13139 maybe-all-stageprofile-mpc: all-stageprofile-mpc
13140 all-stageprofile: all-stageprofile-mpc
13141 TARGET-stageprofile-mpc = $(TARGET-mpc)
13142 all-stageprofile-mpc: configure-stageprofile-mpc
13143 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13144 @r=`${PWD_COMMAND}`; export r; \
13145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13146 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13147 $(HOST_EXPORTS) \
13148 $(POSTSTAGE1_HOST_EXPORTS) \
13149 cd $(HOST_SUBDIR)/mpc && \
13150 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13151 CFLAGS="$(STAGEprofile_CFLAGS)" \
13152 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13153 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13154 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13155 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13156 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13157 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13158 TFLAGS="$(STAGEprofile_TFLAGS)" \
13159 $(TARGET-stageprofile-mpc)
13161 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
13162 clean-stageprofile: clean-stageprofile-mpc
13163 clean-stageprofile-mpc:
13164 @if [ $(current_stage) = stageprofile ]; then \
13165 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13166 else \
13167 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
13168 $(MAKE) stageprofile-start; \
13169 fi; \
13170 cd $(HOST_SUBDIR)/mpc && \
13171 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13172 @endif mpc-bootstrap
13175 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
13176 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
13177 maybe-all-stagefeedback-mpc:
13178 maybe-clean-stagefeedback-mpc:
13179 @if mpc-bootstrap
13180 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
13181 all-stagefeedback: all-stagefeedback-mpc
13182 TARGET-stagefeedback-mpc = $(TARGET-mpc)
13183 all-stagefeedback-mpc: configure-stagefeedback-mpc
13184 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13185 @r=`${PWD_COMMAND}`; export r; \
13186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13187 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13188 $(HOST_EXPORTS) \
13189 $(POSTSTAGE1_HOST_EXPORTS) \
13190 cd $(HOST_SUBDIR)/mpc && \
13191 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13192 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13193 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13194 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13195 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13196 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13197 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13198 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13199 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13200 $(TARGET-stagefeedback-mpc)
13202 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
13203 clean-stagefeedback: clean-stagefeedback-mpc
13204 clean-stagefeedback-mpc:
13205 @if [ $(current_stage) = stagefeedback ]; then \
13206 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13207 else \
13208 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
13209 $(MAKE) stagefeedback-start; \
13210 fi; \
13211 cd $(HOST_SUBDIR)/mpc && \
13212 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13213 @endif mpc-bootstrap
13219 .PHONY: check-mpc maybe-check-mpc
13220 maybe-check-mpc:
13221 @if mpc
13222 maybe-check-mpc: check-mpc
13224 check-mpc:
13225 @: $(MAKE); $(unstage)
13226 @r=`${PWD_COMMAND}`; export r; \
13227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13228 $(HOST_EXPORTS) \
13229 (cd $(HOST_SUBDIR)/mpc && \
13230 $(MAKE) $(FLAGS_TO_PASS) check)
13232 @endif mpc
13234 .PHONY: install-mpc maybe-install-mpc
13235 maybe-install-mpc:
13236 @if mpc
13237 maybe-install-mpc: install-mpc
13239 install-mpc:
13241 @endif mpc
13243 .PHONY: install-strip-mpc maybe-install-strip-mpc
13244 maybe-install-strip-mpc:
13245 @if mpc
13246 maybe-install-strip-mpc: install-strip-mpc
13248 install-strip-mpc:
13250 @endif mpc
13252 # Other targets (info, dvi, pdf, etc.)
13254 .PHONY: maybe-info-mpc info-mpc
13255 maybe-info-mpc:
13256 @if mpc
13257 maybe-info-mpc: info-mpc
13259 info-mpc: \
13260 configure-mpc
13261 @[ -f ./mpc/Makefile ] || exit 0; \
13262 r=`${PWD_COMMAND}`; export r; \
13263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13264 $(HOST_EXPORTS) \
13265 for flag in $(EXTRA_HOST_FLAGS) ; do \
13266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13267 done; \
13268 echo "Doing info in mpc" ; \
13269 (cd $(HOST_SUBDIR)/mpc && \
13270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13272 "RANLIB=$${RANLIB}" \
13273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13274 info) \
13275 || exit 1
13277 @endif mpc
13279 .PHONY: maybe-dvi-mpc dvi-mpc
13280 maybe-dvi-mpc:
13281 @if mpc
13282 maybe-dvi-mpc: dvi-mpc
13284 dvi-mpc: \
13285 configure-mpc
13286 @[ -f ./mpc/Makefile ] || exit 0; \
13287 r=`${PWD_COMMAND}`; export r; \
13288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13289 $(HOST_EXPORTS) \
13290 for flag in $(EXTRA_HOST_FLAGS) ; do \
13291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13292 done; \
13293 echo "Doing dvi in mpc" ; \
13294 (cd $(HOST_SUBDIR)/mpc && \
13295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13297 "RANLIB=$${RANLIB}" \
13298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13299 dvi) \
13300 || exit 1
13302 @endif mpc
13304 .PHONY: maybe-pdf-mpc pdf-mpc
13305 maybe-pdf-mpc:
13306 @if mpc
13307 maybe-pdf-mpc: pdf-mpc
13309 pdf-mpc: \
13310 configure-mpc
13311 @[ -f ./mpc/Makefile ] || exit 0; \
13312 r=`${PWD_COMMAND}`; export r; \
13313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13314 $(HOST_EXPORTS) \
13315 for flag in $(EXTRA_HOST_FLAGS) ; do \
13316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13317 done; \
13318 echo "Doing pdf in mpc" ; \
13319 (cd $(HOST_SUBDIR)/mpc && \
13320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13322 "RANLIB=$${RANLIB}" \
13323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13324 pdf) \
13325 || exit 1
13327 @endif mpc
13329 .PHONY: maybe-html-mpc html-mpc
13330 maybe-html-mpc:
13331 @if mpc
13332 maybe-html-mpc: html-mpc
13334 html-mpc: \
13335 configure-mpc
13336 @[ -f ./mpc/Makefile ] || exit 0; \
13337 r=`${PWD_COMMAND}`; export r; \
13338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13339 $(HOST_EXPORTS) \
13340 for flag in $(EXTRA_HOST_FLAGS) ; do \
13341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13342 done; \
13343 echo "Doing html in mpc" ; \
13344 (cd $(HOST_SUBDIR)/mpc && \
13345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13347 "RANLIB=$${RANLIB}" \
13348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13349 html) \
13350 || exit 1
13352 @endif mpc
13354 .PHONY: maybe-TAGS-mpc TAGS-mpc
13355 maybe-TAGS-mpc:
13356 @if mpc
13357 maybe-TAGS-mpc: TAGS-mpc
13359 TAGS-mpc: \
13360 configure-mpc
13361 @[ -f ./mpc/Makefile ] || exit 0; \
13362 r=`${PWD_COMMAND}`; export r; \
13363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13364 $(HOST_EXPORTS) \
13365 for flag in $(EXTRA_HOST_FLAGS) ; do \
13366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13367 done; \
13368 echo "Doing TAGS in mpc" ; \
13369 (cd $(HOST_SUBDIR)/mpc && \
13370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13372 "RANLIB=$${RANLIB}" \
13373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13374 TAGS) \
13375 || exit 1
13377 @endif mpc
13379 .PHONY: maybe-install-info-mpc install-info-mpc
13380 maybe-install-info-mpc:
13381 @if mpc
13382 maybe-install-info-mpc: install-info-mpc
13384 install-info-mpc: \
13385 configure-mpc \
13386 info-mpc
13387 @[ -f ./mpc/Makefile ] || exit 0; \
13388 r=`${PWD_COMMAND}`; export r; \
13389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13390 $(HOST_EXPORTS) \
13391 for flag in $(EXTRA_HOST_FLAGS) ; do \
13392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13393 done; \
13394 echo "Doing install-info in mpc" ; \
13395 (cd $(HOST_SUBDIR)/mpc && \
13396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13398 "RANLIB=$${RANLIB}" \
13399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13400 install-info) \
13401 || exit 1
13403 @endif mpc
13405 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
13406 maybe-install-pdf-mpc:
13407 @if mpc
13408 maybe-install-pdf-mpc: install-pdf-mpc
13410 install-pdf-mpc: \
13411 configure-mpc \
13412 pdf-mpc
13413 @[ -f ./mpc/Makefile ] || exit 0; \
13414 r=`${PWD_COMMAND}`; export r; \
13415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13416 $(HOST_EXPORTS) \
13417 for flag in $(EXTRA_HOST_FLAGS) ; do \
13418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13419 done; \
13420 echo "Doing install-pdf in mpc" ; \
13421 (cd $(HOST_SUBDIR)/mpc && \
13422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13424 "RANLIB=$${RANLIB}" \
13425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13426 install-pdf) \
13427 || exit 1
13429 @endif mpc
13431 .PHONY: maybe-install-html-mpc install-html-mpc
13432 maybe-install-html-mpc:
13433 @if mpc
13434 maybe-install-html-mpc: install-html-mpc
13436 install-html-mpc: \
13437 configure-mpc \
13438 html-mpc
13439 @[ -f ./mpc/Makefile ] || exit 0; \
13440 r=`${PWD_COMMAND}`; export r; \
13441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13442 $(HOST_EXPORTS) \
13443 for flag in $(EXTRA_HOST_FLAGS) ; do \
13444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13445 done; \
13446 echo "Doing install-html in mpc" ; \
13447 (cd $(HOST_SUBDIR)/mpc && \
13448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13450 "RANLIB=$${RANLIB}" \
13451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13452 install-html) \
13453 || exit 1
13455 @endif mpc
13457 .PHONY: maybe-installcheck-mpc installcheck-mpc
13458 maybe-installcheck-mpc:
13459 @if mpc
13460 maybe-installcheck-mpc: installcheck-mpc
13462 installcheck-mpc: \
13463 configure-mpc
13464 @[ -f ./mpc/Makefile ] || exit 0; \
13465 r=`${PWD_COMMAND}`; export r; \
13466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13467 $(HOST_EXPORTS) \
13468 for flag in $(EXTRA_HOST_FLAGS) ; do \
13469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13470 done; \
13471 echo "Doing installcheck in mpc" ; \
13472 (cd $(HOST_SUBDIR)/mpc && \
13473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13475 "RANLIB=$${RANLIB}" \
13476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13477 installcheck) \
13478 || exit 1
13480 @endif mpc
13482 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
13483 maybe-mostlyclean-mpc:
13484 @if mpc
13485 maybe-mostlyclean-mpc: mostlyclean-mpc
13487 mostlyclean-mpc:
13488 @[ -f ./mpc/Makefile ] || exit 0; \
13489 r=`${PWD_COMMAND}`; export r; \
13490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13491 $(HOST_EXPORTS) \
13492 for flag in $(EXTRA_HOST_FLAGS) ; do \
13493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13494 done; \
13495 echo "Doing mostlyclean in mpc" ; \
13496 (cd $(HOST_SUBDIR)/mpc && \
13497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13499 "RANLIB=$${RANLIB}" \
13500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13501 mostlyclean) \
13502 || exit 1
13504 @endif mpc
13506 .PHONY: maybe-clean-mpc clean-mpc
13507 maybe-clean-mpc:
13508 @if mpc
13509 maybe-clean-mpc: clean-mpc
13511 clean-mpc:
13512 @[ -f ./mpc/Makefile ] || exit 0; \
13513 r=`${PWD_COMMAND}`; export r; \
13514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13515 $(HOST_EXPORTS) \
13516 for flag in $(EXTRA_HOST_FLAGS) ; do \
13517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13518 done; \
13519 echo "Doing clean in mpc" ; \
13520 (cd $(HOST_SUBDIR)/mpc && \
13521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13523 "RANLIB=$${RANLIB}" \
13524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13525 clean) \
13526 || exit 1
13528 @endif mpc
13530 .PHONY: maybe-distclean-mpc distclean-mpc
13531 maybe-distclean-mpc:
13532 @if mpc
13533 maybe-distclean-mpc: distclean-mpc
13535 distclean-mpc:
13536 @[ -f ./mpc/Makefile ] || exit 0; \
13537 r=`${PWD_COMMAND}`; export r; \
13538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13539 $(HOST_EXPORTS) \
13540 for flag in $(EXTRA_HOST_FLAGS) ; do \
13541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13542 done; \
13543 echo "Doing distclean in mpc" ; \
13544 (cd $(HOST_SUBDIR)/mpc && \
13545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13547 "RANLIB=$${RANLIB}" \
13548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13549 distclean) \
13550 || exit 1
13552 @endif mpc
13554 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
13555 maybe-maintainer-clean-mpc:
13556 @if mpc
13557 maybe-maintainer-clean-mpc: maintainer-clean-mpc
13559 maintainer-clean-mpc:
13560 @[ -f ./mpc/Makefile ] || exit 0; \
13561 r=`${PWD_COMMAND}`; export r; \
13562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13563 $(HOST_EXPORTS) \
13564 for flag in $(EXTRA_HOST_FLAGS) ; do \
13565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13566 done; \
13567 echo "Doing maintainer-clean in mpc" ; \
13568 (cd $(HOST_SUBDIR)/mpc && \
13569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13571 "RANLIB=$${RANLIB}" \
13572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13573 maintainer-clean) \
13574 || exit 1
13576 @endif mpc
13580 .PHONY: configure-isl maybe-configure-isl
13581 maybe-configure-isl:
13582 @if gcc-bootstrap
13583 configure-isl: stage_current
13584 @endif gcc-bootstrap
13585 @if isl
13586 maybe-configure-isl: configure-isl
13587 configure-isl:
13588 @r=`${PWD_COMMAND}`; export r; \
13589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13590 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13591 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13592 $(HOST_EXPORTS) \
13593 echo Configuring in $(HOST_SUBDIR)/isl; \
13594 cd "$(HOST_SUBDIR)/isl" || exit 1; \
13595 case $(srcdir) in \
13596 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13597 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13598 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13599 esac; \
13600 module_srcdir=isl; \
13601 $(SHELL) \
13602 $$s/$$module_srcdir/configure \
13603 --srcdir=$${topdir}/$$module_srcdir \
13604 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13605 --target=${target_alias} --disable-shared @extra_isl_gmp_configure_flags@ \
13606 || exit 1
13607 @endif isl
13611 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
13612 maybe-configure-stage1-isl:
13613 @if isl-bootstrap
13614 maybe-configure-stage1-isl: configure-stage1-isl
13615 configure-stage1-isl:
13616 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13617 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13618 @r=`${PWD_COMMAND}`; export r; \
13619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13620 TFLAGS="$(STAGE1_TFLAGS)"; \
13621 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13622 $(HOST_EXPORTS) \
13623 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13624 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13625 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13626 echo Configuring stage 1 in $(HOST_SUBDIR)/isl ; \
13627 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13628 cd $(HOST_SUBDIR)/isl || exit 1; \
13629 case $(srcdir) in \
13630 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13631 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13632 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13633 esac; \
13634 module_srcdir=isl; \
13635 $(SHELL) $$s/$$module_srcdir/configure \
13636 --srcdir=$${topdir}/$$module_srcdir \
13637 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13638 --target=${target_alias} \
13640 $(STAGE1_CONFIGURE_FLAGS) \
13641 --disable-shared @extra_isl_gmp_configure_flags@
13642 @endif isl-bootstrap
13644 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
13645 maybe-configure-stage2-isl:
13646 @if isl-bootstrap
13647 maybe-configure-stage2-isl: configure-stage2-isl
13648 configure-stage2-isl:
13649 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13650 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13651 @r=`${PWD_COMMAND}`; export r; \
13652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13653 TFLAGS="$(STAGE2_TFLAGS)"; \
13654 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13655 $(HOST_EXPORTS) \
13656 $(POSTSTAGE1_HOST_EXPORTS) \
13657 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13658 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13659 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13660 echo Configuring stage 2 in $(HOST_SUBDIR)/isl ; \
13661 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13662 cd $(HOST_SUBDIR)/isl || exit 1; \
13663 case $(srcdir) in \
13664 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13665 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13666 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13667 esac; \
13668 module_srcdir=isl; \
13669 $(SHELL) $$s/$$module_srcdir/configure \
13670 --srcdir=$${topdir}/$$module_srcdir \
13671 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13672 --target=${target_alias} \
13673 --with-build-libsubdir=$(HOST_SUBDIR) \
13674 $(STAGE2_CONFIGURE_FLAGS) \
13675 --disable-shared @extra_isl_gmp_configure_flags@
13676 @endif isl-bootstrap
13678 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
13679 maybe-configure-stage3-isl:
13680 @if isl-bootstrap
13681 maybe-configure-stage3-isl: configure-stage3-isl
13682 configure-stage3-isl:
13683 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13684 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13685 @r=`${PWD_COMMAND}`; export r; \
13686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13687 TFLAGS="$(STAGE3_TFLAGS)"; \
13688 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13689 $(HOST_EXPORTS) \
13690 $(POSTSTAGE1_HOST_EXPORTS) \
13691 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13692 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13693 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13694 echo Configuring stage 3 in $(HOST_SUBDIR)/isl ; \
13695 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13696 cd $(HOST_SUBDIR)/isl || exit 1; \
13697 case $(srcdir) in \
13698 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13699 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13700 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13701 esac; \
13702 module_srcdir=isl; \
13703 $(SHELL) $$s/$$module_srcdir/configure \
13704 --srcdir=$${topdir}/$$module_srcdir \
13705 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13706 --target=${target_alias} \
13707 --with-build-libsubdir=$(HOST_SUBDIR) \
13708 $(STAGE3_CONFIGURE_FLAGS) \
13709 --disable-shared @extra_isl_gmp_configure_flags@
13710 @endif isl-bootstrap
13712 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
13713 maybe-configure-stage4-isl:
13714 @if isl-bootstrap
13715 maybe-configure-stage4-isl: configure-stage4-isl
13716 configure-stage4-isl:
13717 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13718 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13719 @r=`${PWD_COMMAND}`; export r; \
13720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13721 TFLAGS="$(STAGE4_TFLAGS)"; \
13722 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13723 $(HOST_EXPORTS) \
13724 $(POSTSTAGE1_HOST_EXPORTS) \
13725 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13726 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13727 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13728 echo Configuring stage 4 in $(HOST_SUBDIR)/isl ; \
13729 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13730 cd $(HOST_SUBDIR)/isl || exit 1; \
13731 case $(srcdir) in \
13732 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13733 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13734 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13735 esac; \
13736 module_srcdir=isl; \
13737 $(SHELL) $$s/$$module_srcdir/configure \
13738 --srcdir=$${topdir}/$$module_srcdir \
13739 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13740 --target=${target_alias} \
13741 --with-build-libsubdir=$(HOST_SUBDIR) \
13742 $(STAGE4_CONFIGURE_FLAGS) \
13743 --disable-shared @extra_isl_gmp_configure_flags@
13744 @endif isl-bootstrap
13746 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
13747 maybe-configure-stageprofile-isl:
13748 @if isl-bootstrap
13749 maybe-configure-stageprofile-isl: configure-stageprofile-isl
13750 configure-stageprofile-isl:
13751 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13752 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13753 @r=`${PWD_COMMAND}`; export r; \
13754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13755 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13756 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13757 $(HOST_EXPORTS) \
13758 $(POSTSTAGE1_HOST_EXPORTS) \
13759 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13760 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13761 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13762 echo Configuring stage profile in $(HOST_SUBDIR)/isl ; \
13763 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13764 cd $(HOST_SUBDIR)/isl || exit 1; \
13765 case $(srcdir) in \
13766 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13767 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13768 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13769 esac; \
13770 module_srcdir=isl; \
13771 $(SHELL) $$s/$$module_srcdir/configure \
13772 --srcdir=$${topdir}/$$module_srcdir \
13773 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13774 --target=${target_alias} \
13775 --with-build-libsubdir=$(HOST_SUBDIR) \
13776 $(STAGEprofile_CONFIGURE_FLAGS) \
13777 --disable-shared @extra_isl_gmp_configure_flags@
13778 @endif isl-bootstrap
13780 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
13781 maybe-configure-stagefeedback-isl:
13782 @if isl-bootstrap
13783 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
13784 configure-stagefeedback-isl:
13785 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13786 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13787 @r=`${PWD_COMMAND}`; export r; \
13788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13789 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13790 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13791 $(HOST_EXPORTS) \
13792 $(POSTSTAGE1_HOST_EXPORTS) \
13793 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13794 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13795 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13796 echo Configuring stage feedback in $(HOST_SUBDIR)/isl ; \
13797 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13798 cd $(HOST_SUBDIR)/isl || exit 1; \
13799 case $(srcdir) in \
13800 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13801 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13802 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13803 esac; \
13804 module_srcdir=isl; \
13805 $(SHELL) $$s/$$module_srcdir/configure \
13806 --srcdir=$${topdir}/$$module_srcdir \
13807 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13808 --target=${target_alias} \
13809 --with-build-libsubdir=$(HOST_SUBDIR) \
13810 $(STAGEfeedback_CONFIGURE_FLAGS) \
13811 --disable-shared @extra_isl_gmp_configure_flags@
13812 @endif isl-bootstrap
13818 .PHONY: all-isl maybe-all-isl
13819 maybe-all-isl:
13820 @if gcc-bootstrap
13821 all-isl: stage_current
13822 @endif gcc-bootstrap
13823 @if isl
13824 TARGET-isl=all
13825 maybe-all-isl: all-isl
13826 all-isl: configure-isl
13827 @r=`${PWD_COMMAND}`; export r; \
13828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13829 $(HOST_EXPORTS) \
13830 (cd $(HOST_SUBDIR)/isl && \
13831 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
13832 $(TARGET-isl))
13833 @endif isl
13837 .PHONY: all-stage1-isl maybe-all-stage1-isl
13838 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
13839 maybe-all-stage1-isl:
13840 maybe-clean-stage1-isl:
13841 @if isl-bootstrap
13842 maybe-all-stage1-isl: all-stage1-isl
13843 all-stage1: all-stage1-isl
13844 TARGET-stage1-isl = $(TARGET-isl)
13845 all-stage1-isl: configure-stage1-isl
13846 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13847 @r=`${PWD_COMMAND}`; export r; \
13848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13849 TFLAGS="$(STAGE1_TFLAGS)"; \
13850 $(HOST_EXPORTS) \
13851 cd $(HOST_SUBDIR)/isl && \
13852 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13853 CFLAGS="$(STAGE1_CFLAGS)" \
13854 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13855 LIBCFLAGS="$(LIBCFLAGS)" \
13856 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13857 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13858 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13859 $(EXTRA_HOST_FLAGS) \
13860 $(STAGE1_FLAGS_TO_PASS) V=1 \
13861 TFLAGS="$(STAGE1_TFLAGS)" \
13862 $(TARGET-stage1-isl)
13864 maybe-clean-stage1-isl: clean-stage1-isl
13865 clean-stage1: clean-stage1-isl
13866 clean-stage1-isl:
13867 @if [ $(current_stage) = stage1 ]; then \
13868 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13869 else \
13870 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
13871 $(MAKE) stage1-start; \
13872 fi; \
13873 cd $(HOST_SUBDIR)/isl && \
13874 $(MAKE) $(EXTRA_HOST_FLAGS) \
13875 $(STAGE1_FLAGS_TO_PASS) V=1 clean
13876 @endif isl-bootstrap
13879 .PHONY: all-stage2-isl maybe-all-stage2-isl
13880 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
13881 maybe-all-stage2-isl:
13882 maybe-clean-stage2-isl:
13883 @if isl-bootstrap
13884 maybe-all-stage2-isl: all-stage2-isl
13885 all-stage2: all-stage2-isl
13886 TARGET-stage2-isl = $(TARGET-isl)
13887 all-stage2-isl: configure-stage2-isl
13888 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13889 @r=`${PWD_COMMAND}`; export r; \
13890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13891 TFLAGS="$(STAGE2_TFLAGS)"; \
13892 $(HOST_EXPORTS) \
13893 $(POSTSTAGE1_HOST_EXPORTS) \
13894 cd $(HOST_SUBDIR)/isl && \
13895 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13896 CFLAGS="$(STAGE2_CFLAGS)" \
13897 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13898 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13899 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13900 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13901 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13902 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13903 TFLAGS="$(STAGE2_TFLAGS)" \
13904 $(TARGET-stage2-isl)
13906 maybe-clean-stage2-isl: clean-stage2-isl
13907 clean-stage2: clean-stage2-isl
13908 clean-stage2-isl:
13909 @if [ $(current_stage) = stage2 ]; then \
13910 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13911 else \
13912 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
13913 $(MAKE) stage2-start; \
13914 fi; \
13915 cd $(HOST_SUBDIR)/isl && \
13916 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13917 @endif isl-bootstrap
13920 .PHONY: all-stage3-isl maybe-all-stage3-isl
13921 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
13922 maybe-all-stage3-isl:
13923 maybe-clean-stage3-isl:
13924 @if isl-bootstrap
13925 maybe-all-stage3-isl: all-stage3-isl
13926 all-stage3: all-stage3-isl
13927 TARGET-stage3-isl = $(TARGET-isl)
13928 all-stage3-isl: configure-stage3-isl
13929 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13930 @r=`${PWD_COMMAND}`; export r; \
13931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13932 TFLAGS="$(STAGE3_TFLAGS)"; \
13933 $(HOST_EXPORTS) \
13934 $(POSTSTAGE1_HOST_EXPORTS) \
13935 cd $(HOST_SUBDIR)/isl && \
13936 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13937 CFLAGS="$(STAGE3_CFLAGS)" \
13938 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13939 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13940 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13941 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13942 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13943 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13944 TFLAGS="$(STAGE3_TFLAGS)" \
13945 $(TARGET-stage3-isl)
13947 maybe-clean-stage3-isl: clean-stage3-isl
13948 clean-stage3: clean-stage3-isl
13949 clean-stage3-isl:
13950 @if [ $(current_stage) = stage3 ]; then \
13951 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13952 else \
13953 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
13954 $(MAKE) stage3-start; \
13955 fi; \
13956 cd $(HOST_SUBDIR)/isl && \
13957 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13958 @endif isl-bootstrap
13961 .PHONY: all-stage4-isl maybe-all-stage4-isl
13962 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
13963 maybe-all-stage4-isl:
13964 maybe-clean-stage4-isl:
13965 @if isl-bootstrap
13966 maybe-all-stage4-isl: all-stage4-isl
13967 all-stage4: all-stage4-isl
13968 TARGET-stage4-isl = $(TARGET-isl)
13969 all-stage4-isl: configure-stage4-isl
13970 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13971 @r=`${PWD_COMMAND}`; export r; \
13972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13973 TFLAGS="$(STAGE4_TFLAGS)"; \
13974 $(HOST_EXPORTS) \
13975 $(POSTSTAGE1_HOST_EXPORTS) \
13976 cd $(HOST_SUBDIR)/isl && \
13977 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13978 CFLAGS="$(STAGE4_CFLAGS)" \
13979 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13980 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13981 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13982 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13983 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13984 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13985 TFLAGS="$(STAGE4_TFLAGS)" \
13986 $(TARGET-stage4-isl)
13988 maybe-clean-stage4-isl: clean-stage4-isl
13989 clean-stage4: clean-stage4-isl
13990 clean-stage4-isl:
13991 @if [ $(current_stage) = stage4 ]; then \
13992 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13993 else \
13994 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
13995 $(MAKE) stage4-start; \
13996 fi; \
13997 cd $(HOST_SUBDIR)/isl && \
13998 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13999 @endif isl-bootstrap
14002 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
14003 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
14004 maybe-all-stageprofile-isl:
14005 maybe-clean-stageprofile-isl:
14006 @if isl-bootstrap
14007 maybe-all-stageprofile-isl: all-stageprofile-isl
14008 all-stageprofile: all-stageprofile-isl
14009 TARGET-stageprofile-isl = $(TARGET-isl)
14010 all-stageprofile-isl: configure-stageprofile-isl
14011 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14012 @r=`${PWD_COMMAND}`; export r; \
14013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14014 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14015 $(HOST_EXPORTS) \
14016 $(POSTSTAGE1_HOST_EXPORTS) \
14017 cd $(HOST_SUBDIR)/isl && \
14018 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14019 CFLAGS="$(STAGEprofile_CFLAGS)" \
14020 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14021 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14022 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14023 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14024 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14025 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
14026 TFLAGS="$(STAGEprofile_TFLAGS)" \
14027 $(TARGET-stageprofile-isl)
14029 maybe-clean-stageprofile-isl: clean-stageprofile-isl
14030 clean-stageprofile: clean-stageprofile-isl
14031 clean-stageprofile-isl:
14032 @if [ $(current_stage) = stageprofile ]; then \
14033 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
14034 else \
14035 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
14036 $(MAKE) stageprofile-start; \
14037 fi; \
14038 cd $(HOST_SUBDIR)/isl && \
14039 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
14040 @endif isl-bootstrap
14043 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
14044 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
14045 maybe-all-stagefeedback-isl:
14046 maybe-clean-stagefeedback-isl:
14047 @if isl-bootstrap
14048 maybe-all-stagefeedback-isl: all-stagefeedback-isl
14049 all-stagefeedback: all-stagefeedback-isl
14050 TARGET-stagefeedback-isl = $(TARGET-isl)
14051 all-stagefeedback-isl: configure-stagefeedback-isl
14052 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14053 @r=`${PWD_COMMAND}`; export r; \
14054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14055 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14056 $(HOST_EXPORTS) \
14057 $(POSTSTAGE1_HOST_EXPORTS) \
14058 cd $(HOST_SUBDIR)/isl && \
14059 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14060 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14061 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14062 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14063 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14064 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14065 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14066 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
14067 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14068 $(TARGET-stagefeedback-isl)
14070 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
14071 clean-stagefeedback: clean-stagefeedback-isl
14072 clean-stagefeedback-isl:
14073 @if [ $(current_stage) = stagefeedback ]; then \
14074 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
14075 else \
14076 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
14077 $(MAKE) stagefeedback-start; \
14078 fi; \
14079 cd $(HOST_SUBDIR)/isl && \
14080 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
14081 @endif isl-bootstrap
14087 .PHONY: check-isl maybe-check-isl
14088 maybe-check-isl:
14089 @if isl
14090 maybe-check-isl: check-isl
14092 check-isl:
14093 @: $(MAKE); $(unstage)
14094 @r=`${PWD_COMMAND}`; export r; \
14095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14096 $(HOST_EXPORTS) \
14097 (cd $(HOST_SUBDIR)/isl && \
14098 $(MAKE) $(FLAGS_TO_PASS) V=1 check)
14100 @endif isl
14102 .PHONY: install-isl maybe-install-isl
14103 maybe-install-isl:
14104 @if isl
14105 maybe-install-isl: install-isl
14107 install-isl:
14109 @endif isl
14111 .PHONY: install-strip-isl maybe-install-strip-isl
14112 maybe-install-strip-isl:
14113 @if isl
14114 maybe-install-strip-isl: install-strip-isl
14116 install-strip-isl:
14118 @endif isl
14120 # Other targets (info, dvi, pdf, etc.)
14122 .PHONY: maybe-info-isl info-isl
14123 maybe-info-isl:
14124 @if isl
14125 maybe-info-isl: info-isl
14127 info-isl: \
14128 configure-isl
14129 @[ -f ./isl/Makefile ] || exit 0; \
14130 r=`${PWD_COMMAND}`; export r; \
14131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14132 $(HOST_EXPORTS) \
14133 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14135 done; \
14136 echo "Doing info in isl" ; \
14137 (cd $(HOST_SUBDIR)/isl && \
14138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14140 "RANLIB=$${RANLIB}" \
14141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14142 info) \
14143 || exit 1
14145 @endif isl
14147 .PHONY: maybe-dvi-isl dvi-isl
14148 maybe-dvi-isl:
14149 @if isl
14150 maybe-dvi-isl: dvi-isl
14152 dvi-isl: \
14153 configure-isl
14154 @[ -f ./isl/Makefile ] || exit 0; \
14155 r=`${PWD_COMMAND}`; export r; \
14156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14157 $(HOST_EXPORTS) \
14158 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14160 done; \
14161 echo "Doing dvi in isl" ; \
14162 (cd $(HOST_SUBDIR)/isl && \
14163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14165 "RANLIB=$${RANLIB}" \
14166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14167 dvi) \
14168 || exit 1
14170 @endif isl
14172 .PHONY: maybe-pdf-isl pdf-isl
14173 maybe-pdf-isl:
14174 @if isl
14175 maybe-pdf-isl: pdf-isl
14177 pdf-isl: \
14178 configure-isl
14179 @[ -f ./isl/Makefile ] || exit 0; \
14180 r=`${PWD_COMMAND}`; export r; \
14181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14182 $(HOST_EXPORTS) \
14183 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14185 done; \
14186 echo "Doing pdf in isl" ; \
14187 (cd $(HOST_SUBDIR)/isl && \
14188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14190 "RANLIB=$${RANLIB}" \
14191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14192 pdf) \
14193 || exit 1
14195 @endif isl
14197 .PHONY: maybe-html-isl html-isl
14198 maybe-html-isl:
14199 @if isl
14200 maybe-html-isl: html-isl
14202 html-isl: \
14203 configure-isl
14204 @[ -f ./isl/Makefile ] || exit 0; \
14205 r=`${PWD_COMMAND}`; export r; \
14206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14207 $(HOST_EXPORTS) \
14208 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14210 done; \
14211 echo "Doing html in isl" ; \
14212 (cd $(HOST_SUBDIR)/isl && \
14213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14215 "RANLIB=$${RANLIB}" \
14216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14217 html) \
14218 || exit 1
14220 @endif isl
14222 .PHONY: maybe-TAGS-isl TAGS-isl
14223 maybe-TAGS-isl:
14224 @if isl
14225 maybe-TAGS-isl: TAGS-isl
14227 TAGS-isl: \
14228 configure-isl
14229 @[ -f ./isl/Makefile ] || exit 0; \
14230 r=`${PWD_COMMAND}`; export r; \
14231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14232 $(HOST_EXPORTS) \
14233 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14235 done; \
14236 echo "Doing TAGS in isl" ; \
14237 (cd $(HOST_SUBDIR)/isl && \
14238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14240 "RANLIB=$${RANLIB}" \
14241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14242 TAGS) \
14243 || exit 1
14245 @endif isl
14247 .PHONY: maybe-install-info-isl install-info-isl
14248 maybe-install-info-isl:
14249 @if isl
14250 maybe-install-info-isl: install-info-isl
14252 install-info-isl: \
14253 configure-isl \
14254 info-isl
14255 @[ -f ./isl/Makefile ] || exit 0; \
14256 r=`${PWD_COMMAND}`; export r; \
14257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14258 $(HOST_EXPORTS) \
14259 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14261 done; \
14262 echo "Doing install-info in isl" ; \
14263 (cd $(HOST_SUBDIR)/isl && \
14264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14266 "RANLIB=$${RANLIB}" \
14267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14268 install-info) \
14269 || exit 1
14271 @endif isl
14273 .PHONY: maybe-install-pdf-isl install-pdf-isl
14274 maybe-install-pdf-isl:
14275 @if isl
14276 maybe-install-pdf-isl: install-pdf-isl
14278 install-pdf-isl: \
14279 configure-isl \
14280 pdf-isl
14281 @[ -f ./isl/Makefile ] || exit 0; \
14282 r=`${PWD_COMMAND}`; export r; \
14283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14284 $(HOST_EXPORTS) \
14285 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14287 done; \
14288 echo "Doing install-pdf in isl" ; \
14289 (cd $(HOST_SUBDIR)/isl && \
14290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14292 "RANLIB=$${RANLIB}" \
14293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14294 install-pdf) \
14295 || exit 1
14297 @endif isl
14299 .PHONY: maybe-install-html-isl install-html-isl
14300 maybe-install-html-isl:
14301 @if isl
14302 maybe-install-html-isl: install-html-isl
14304 install-html-isl: \
14305 configure-isl \
14306 html-isl
14307 @[ -f ./isl/Makefile ] || exit 0; \
14308 r=`${PWD_COMMAND}`; export r; \
14309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14310 $(HOST_EXPORTS) \
14311 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14313 done; \
14314 echo "Doing install-html in isl" ; \
14315 (cd $(HOST_SUBDIR)/isl && \
14316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14318 "RANLIB=$${RANLIB}" \
14319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14320 install-html) \
14321 || exit 1
14323 @endif isl
14325 .PHONY: maybe-installcheck-isl installcheck-isl
14326 maybe-installcheck-isl:
14327 @if isl
14328 maybe-installcheck-isl: installcheck-isl
14330 installcheck-isl: \
14331 configure-isl
14332 @[ -f ./isl/Makefile ] || exit 0; \
14333 r=`${PWD_COMMAND}`; export r; \
14334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14335 $(HOST_EXPORTS) \
14336 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14338 done; \
14339 echo "Doing installcheck in isl" ; \
14340 (cd $(HOST_SUBDIR)/isl && \
14341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14343 "RANLIB=$${RANLIB}" \
14344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14345 installcheck) \
14346 || exit 1
14348 @endif isl
14350 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
14351 maybe-mostlyclean-isl:
14352 @if isl
14353 maybe-mostlyclean-isl: mostlyclean-isl
14355 mostlyclean-isl:
14356 @[ -f ./isl/Makefile ] || exit 0; \
14357 r=`${PWD_COMMAND}`; export r; \
14358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14359 $(HOST_EXPORTS) \
14360 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14362 done; \
14363 echo "Doing mostlyclean in isl" ; \
14364 (cd $(HOST_SUBDIR)/isl && \
14365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14367 "RANLIB=$${RANLIB}" \
14368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14369 mostlyclean) \
14370 || exit 1
14372 @endif isl
14374 .PHONY: maybe-clean-isl clean-isl
14375 maybe-clean-isl:
14376 @if isl
14377 maybe-clean-isl: clean-isl
14379 clean-isl:
14380 @[ -f ./isl/Makefile ] || exit 0; \
14381 r=`${PWD_COMMAND}`; export r; \
14382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14383 $(HOST_EXPORTS) \
14384 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14386 done; \
14387 echo "Doing clean in isl" ; \
14388 (cd $(HOST_SUBDIR)/isl && \
14389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14391 "RANLIB=$${RANLIB}" \
14392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14393 clean) \
14394 || exit 1
14396 @endif isl
14398 .PHONY: maybe-distclean-isl distclean-isl
14399 maybe-distclean-isl:
14400 @if isl
14401 maybe-distclean-isl: distclean-isl
14403 distclean-isl:
14404 @[ -f ./isl/Makefile ] || exit 0; \
14405 r=`${PWD_COMMAND}`; export r; \
14406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14407 $(HOST_EXPORTS) \
14408 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14410 done; \
14411 echo "Doing distclean in isl" ; \
14412 (cd $(HOST_SUBDIR)/isl && \
14413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14415 "RANLIB=$${RANLIB}" \
14416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14417 distclean) \
14418 || exit 1
14420 @endif isl
14422 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
14423 maybe-maintainer-clean-isl:
14424 @if isl
14425 maybe-maintainer-clean-isl: maintainer-clean-isl
14427 maintainer-clean-isl:
14428 @[ -f ./isl/Makefile ] || exit 0; \
14429 r=`${PWD_COMMAND}`; export r; \
14430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14431 $(HOST_EXPORTS) \
14432 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14434 done; \
14435 echo "Doing maintainer-clean in isl" ; \
14436 (cd $(HOST_SUBDIR)/isl && \
14437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14439 "RANLIB=$${RANLIB}" \
14440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14441 maintainer-clean) \
14442 || exit 1
14444 @endif isl
14448 .PHONY: configure-libelf maybe-configure-libelf
14449 maybe-configure-libelf:
14450 @if gcc-bootstrap
14451 configure-libelf: stage_current
14452 @endif gcc-bootstrap
14453 @if libelf
14454 maybe-configure-libelf: configure-libelf
14455 configure-libelf:
14456 @r=`${PWD_COMMAND}`; export r; \
14457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14458 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14459 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14460 $(HOST_EXPORTS) \
14461 echo Configuring in $(HOST_SUBDIR)/libelf; \
14462 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
14463 case $(srcdir) in \
14464 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14465 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14466 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14467 esac; \
14468 module_srcdir=libelf; \
14469 $(SHELL) \
14470 $$s/$$module_srcdir/configure \
14471 --srcdir=$${topdir}/$$module_srcdir \
14472 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14473 --target=${target_alias} --disable-shared \
14474 || exit 1
14475 @endif libelf
14479 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
14480 maybe-configure-stage1-libelf:
14481 @if libelf-bootstrap
14482 maybe-configure-stage1-libelf: configure-stage1-libelf
14483 configure-stage1-libelf:
14484 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14485 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14486 @r=`${PWD_COMMAND}`; export r; \
14487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14488 TFLAGS="$(STAGE1_TFLAGS)"; \
14489 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14490 $(HOST_EXPORTS) \
14491 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14492 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14493 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14494 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf ; \
14495 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14496 cd $(HOST_SUBDIR)/libelf || exit 1; \
14497 case $(srcdir) in \
14498 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14499 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14500 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14501 esac; \
14502 module_srcdir=libelf; \
14503 $(SHELL) $$s/$$module_srcdir/configure \
14504 --srcdir=$${topdir}/$$module_srcdir \
14505 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14506 --target=${target_alias} \
14508 $(STAGE1_CONFIGURE_FLAGS) \
14509 --disable-shared
14510 @endif libelf-bootstrap
14512 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
14513 maybe-configure-stage2-libelf:
14514 @if libelf-bootstrap
14515 maybe-configure-stage2-libelf: configure-stage2-libelf
14516 configure-stage2-libelf:
14517 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14518 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14519 @r=`${PWD_COMMAND}`; export r; \
14520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14521 TFLAGS="$(STAGE2_TFLAGS)"; \
14522 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14523 $(HOST_EXPORTS) \
14524 $(POSTSTAGE1_HOST_EXPORTS) \
14525 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14526 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14527 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14528 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf ; \
14529 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14530 cd $(HOST_SUBDIR)/libelf || exit 1; \
14531 case $(srcdir) in \
14532 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14533 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14534 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14535 esac; \
14536 module_srcdir=libelf; \
14537 $(SHELL) $$s/$$module_srcdir/configure \
14538 --srcdir=$${topdir}/$$module_srcdir \
14539 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14540 --target=${target_alias} \
14541 --with-build-libsubdir=$(HOST_SUBDIR) \
14542 $(STAGE2_CONFIGURE_FLAGS) \
14543 --disable-shared
14544 @endif libelf-bootstrap
14546 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
14547 maybe-configure-stage3-libelf:
14548 @if libelf-bootstrap
14549 maybe-configure-stage3-libelf: configure-stage3-libelf
14550 configure-stage3-libelf:
14551 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14552 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14553 @r=`${PWD_COMMAND}`; export r; \
14554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14555 TFLAGS="$(STAGE3_TFLAGS)"; \
14556 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14557 $(HOST_EXPORTS) \
14558 $(POSTSTAGE1_HOST_EXPORTS) \
14559 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14560 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14561 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14562 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf ; \
14563 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14564 cd $(HOST_SUBDIR)/libelf || exit 1; \
14565 case $(srcdir) in \
14566 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14567 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14568 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14569 esac; \
14570 module_srcdir=libelf; \
14571 $(SHELL) $$s/$$module_srcdir/configure \
14572 --srcdir=$${topdir}/$$module_srcdir \
14573 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14574 --target=${target_alias} \
14575 --with-build-libsubdir=$(HOST_SUBDIR) \
14576 $(STAGE3_CONFIGURE_FLAGS) \
14577 --disable-shared
14578 @endif libelf-bootstrap
14580 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
14581 maybe-configure-stage4-libelf:
14582 @if libelf-bootstrap
14583 maybe-configure-stage4-libelf: configure-stage4-libelf
14584 configure-stage4-libelf:
14585 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14586 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14587 @r=`${PWD_COMMAND}`; export r; \
14588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14589 TFLAGS="$(STAGE4_TFLAGS)"; \
14590 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14591 $(HOST_EXPORTS) \
14592 $(POSTSTAGE1_HOST_EXPORTS) \
14593 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14594 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14595 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14596 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf ; \
14597 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14598 cd $(HOST_SUBDIR)/libelf || exit 1; \
14599 case $(srcdir) in \
14600 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14601 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14602 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14603 esac; \
14604 module_srcdir=libelf; \
14605 $(SHELL) $$s/$$module_srcdir/configure \
14606 --srcdir=$${topdir}/$$module_srcdir \
14607 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14608 --target=${target_alias} \
14609 --with-build-libsubdir=$(HOST_SUBDIR) \
14610 $(STAGE4_CONFIGURE_FLAGS) \
14611 --disable-shared
14612 @endif libelf-bootstrap
14614 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
14615 maybe-configure-stageprofile-libelf:
14616 @if libelf-bootstrap
14617 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
14618 configure-stageprofile-libelf:
14619 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14620 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14621 @r=`${PWD_COMMAND}`; export r; \
14622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14623 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14624 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14625 $(HOST_EXPORTS) \
14626 $(POSTSTAGE1_HOST_EXPORTS) \
14627 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14628 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14629 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14630 echo Configuring stage profile in $(HOST_SUBDIR)/libelf ; \
14631 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14632 cd $(HOST_SUBDIR)/libelf || exit 1; \
14633 case $(srcdir) in \
14634 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14635 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14636 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14637 esac; \
14638 module_srcdir=libelf; \
14639 $(SHELL) $$s/$$module_srcdir/configure \
14640 --srcdir=$${topdir}/$$module_srcdir \
14641 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14642 --target=${target_alias} \
14643 --with-build-libsubdir=$(HOST_SUBDIR) \
14644 $(STAGEprofile_CONFIGURE_FLAGS) \
14645 --disable-shared
14646 @endif libelf-bootstrap
14648 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
14649 maybe-configure-stagefeedback-libelf:
14650 @if libelf-bootstrap
14651 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
14652 configure-stagefeedback-libelf:
14653 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14654 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14655 @r=`${PWD_COMMAND}`; export r; \
14656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14657 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14658 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14659 $(HOST_EXPORTS) \
14660 $(POSTSTAGE1_HOST_EXPORTS) \
14661 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14662 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14663 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14664 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf ; \
14665 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14666 cd $(HOST_SUBDIR)/libelf || exit 1; \
14667 case $(srcdir) in \
14668 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14669 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14670 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14671 esac; \
14672 module_srcdir=libelf; \
14673 $(SHELL) $$s/$$module_srcdir/configure \
14674 --srcdir=$${topdir}/$$module_srcdir \
14675 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14676 --target=${target_alias} \
14677 --with-build-libsubdir=$(HOST_SUBDIR) \
14678 $(STAGEfeedback_CONFIGURE_FLAGS) \
14679 --disable-shared
14680 @endif libelf-bootstrap
14686 .PHONY: all-libelf maybe-all-libelf
14687 maybe-all-libelf:
14688 @if gcc-bootstrap
14689 all-libelf: stage_current
14690 @endif gcc-bootstrap
14691 @if libelf
14692 TARGET-libelf=all
14693 maybe-all-libelf: all-libelf
14694 all-libelf: configure-libelf
14695 @r=`${PWD_COMMAND}`; export r; \
14696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14697 $(HOST_EXPORTS) \
14698 (cd $(HOST_SUBDIR)/libelf && \
14699 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
14700 $(TARGET-libelf))
14701 @endif libelf
14705 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
14706 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
14707 maybe-all-stage1-libelf:
14708 maybe-clean-stage1-libelf:
14709 @if libelf-bootstrap
14710 maybe-all-stage1-libelf: all-stage1-libelf
14711 all-stage1: all-stage1-libelf
14712 TARGET-stage1-libelf = $(TARGET-libelf)
14713 all-stage1-libelf: configure-stage1-libelf
14714 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14715 @r=`${PWD_COMMAND}`; export r; \
14716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14717 TFLAGS="$(STAGE1_TFLAGS)"; \
14718 $(HOST_EXPORTS) \
14719 cd $(HOST_SUBDIR)/libelf && \
14720 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14721 CFLAGS="$(STAGE1_CFLAGS)" \
14722 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14723 LIBCFLAGS="$(LIBCFLAGS)" \
14724 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14725 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14726 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14727 $(EXTRA_HOST_FLAGS) \
14728 $(STAGE1_FLAGS_TO_PASS) \
14729 TFLAGS="$(STAGE1_TFLAGS)" \
14730 $(TARGET-stage1-libelf)
14732 maybe-clean-stage1-libelf: clean-stage1-libelf
14733 clean-stage1: clean-stage1-libelf
14734 clean-stage1-libelf:
14735 @if [ $(current_stage) = stage1 ]; then \
14736 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14737 else \
14738 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
14739 $(MAKE) stage1-start; \
14740 fi; \
14741 cd $(HOST_SUBDIR)/libelf && \
14742 $(MAKE) $(EXTRA_HOST_FLAGS) \
14743 $(STAGE1_FLAGS_TO_PASS) clean
14744 @endif libelf-bootstrap
14747 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
14748 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
14749 maybe-all-stage2-libelf:
14750 maybe-clean-stage2-libelf:
14751 @if libelf-bootstrap
14752 maybe-all-stage2-libelf: all-stage2-libelf
14753 all-stage2: all-stage2-libelf
14754 TARGET-stage2-libelf = $(TARGET-libelf)
14755 all-stage2-libelf: configure-stage2-libelf
14756 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14757 @r=`${PWD_COMMAND}`; export r; \
14758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14759 TFLAGS="$(STAGE2_TFLAGS)"; \
14760 $(HOST_EXPORTS) \
14761 $(POSTSTAGE1_HOST_EXPORTS) \
14762 cd $(HOST_SUBDIR)/libelf && \
14763 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14764 CFLAGS="$(STAGE2_CFLAGS)" \
14765 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14766 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14767 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14768 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14769 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14770 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14771 TFLAGS="$(STAGE2_TFLAGS)" \
14772 $(TARGET-stage2-libelf)
14774 maybe-clean-stage2-libelf: clean-stage2-libelf
14775 clean-stage2: clean-stage2-libelf
14776 clean-stage2-libelf:
14777 @if [ $(current_stage) = stage2 ]; then \
14778 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14779 else \
14780 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
14781 $(MAKE) stage2-start; \
14782 fi; \
14783 cd $(HOST_SUBDIR)/libelf && \
14784 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14785 @endif libelf-bootstrap
14788 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
14789 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
14790 maybe-all-stage3-libelf:
14791 maybe-clean-stage3-libelf:
14792 @if libelf-bootstrap
14793 maybe-all-stage3-libelf: all-stage3-libelf
14794 all-stage3: all-stage3-libelf
14795 TARGET-stage3-libelf = $(TARGET-libelf)
14796 all-stage3-libelf: configure-stage3-libelf
14797 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14798 @r=`${PWD_COMMAND}`; export r; \
14799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14800 TFLAGS="$(STAGE3_TFLAGS)"; \
14801 $(HOST_EXPORTS) \
14802 $(POSTSTAGE1_HOST_EXPORTS) \
14803 cd $(HOST_SUBDIR)/libelf && \
14804 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14805 CFLAGS="$(STAGE3_CFLAGS)" \
14806 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14807 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14808 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14809 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14810 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14811 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14812 TFLAGS="$(STAGE3_TFLAGS)" \
14813 $(TARGET-stage3-libelf)
14815 maybe-clean-stage3-libelf: clean-stage3-libelf
14816 clean-stage3: clean-stage3-libelf
14817 clean-stage3-libelf:
14818 @if [ $(current_stage) = stage3 ]; then \
14819 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14820 else \
14821 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
14822 $(MAKE) stage3-start; \
14823 fi; \
14824 cd $(HOST_SUBDIR)/libelf && \
14825 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14826 @endif libelf-bootstrap
14829 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
14830 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
14831 maybe-all-stage4-libelf:
14832 maybe-clean-stage4-libelf:
14833 @if libelf-bootstrap
14834 maybe-all-stage4-libelf: all-stage4-libelf
14835 all-stage4: all-stage4-libelf
14836 TARGET-stage4-libelf = $(TARGET-libelf)
14837 all-stage4-libelf: configure-stage4-libelf
14838 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14839 @r=`${PWD_COMMAND}`; export r; \
14840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14841 TFLAGS="$(STAGE4_TFLAGS)"; \
14842 $(HOST_EXPORTS) \
14843 $(POSTSTAGE1_HOST_EXPORTS) \
14844 cd $(HOST_SUBDIR)/libelf && \
14845 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14846 CFLAGS="$(STAGE4_CFLAGS)" \
14847 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14848 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14849 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14850 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14851 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14852 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14853 TFLAGS="$(STAGE4_TFLAGS)" \
14854 $(TARGET-stage4-libelf)
14856 maybe-clean-stage4-libelf: clean-stage4-libelf
14857 clean-stage4: clean-stage4-libelf
14858 clean-stage4-libelf:
14859 @if [ $(current_stage) = stage4 ]; then \
14860 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14861 else \
14862 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
14863 $(MAKE) stage4-start; \
14864 fi; \
14865 cd $(HOST_SUBDIR)/libelf && \
14866 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14867 @endif libelf-bootstrap
14870 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
14871 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
14872 maybe-all-stageprofile-libelf:
14873 maybe-clean-stageprofile-libelf:
14874 @if libelf-bootstrap
14875 maybe-all-stageprofile-libelf: all-stageprofile-libelf
14876 all-stageprofile: all-stageprofile-libelf
14877 TARGET-stageprofile-libelf = $(TARGET-libelf)
14878 all-stageprofile-libelf: configure-stageprofile-libelf
14879 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14880 @r=`${PWD_COMMAND}`; export r; \
14881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14882 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14883 $(HOST_EXPORTS) \
14884 $(POSTSTAGE1_HOST_EXPORTS) \
14885 cd $(HOST_SUBDIR)/libelf && \
14886 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14887 CFLAGS="$(STAGEprofile_CFLAGS)" \
14888 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14889 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14890 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14891 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14892 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14893 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14894 TFLAGS="$(STAGEprofile_TFLAGS)" \
14895 $(TARGET-stageprofile-libelf)
14897 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
14898 clean-stageprofile: clean-stageprofile-libelf
14899 clean-stageprofile-libelf:
14900 @if [ $(current_stage) = stageprofile ]; then \
14901 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14902 else \
14903 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
14904 $(MAKE) stageprofile-start; \
14905 fi; \
14906 cd $(HOST_SUBDIR)/libelf && \
14907 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14908 @endif libelf-bootstrap
14911 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
14912 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
14913 maybe-all-stagefeedback-libelf:
14914 maybe-clean-stagefeedback-libelf:
14915 @if libelf-bootstrap
14916 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
14917 all-stagefeedback: all-stagefeedback-libelf
14918 TARGET-stagefeedback-libelf = $(TARGET-libelf)
14919 all-stagefeedback-libelf: configure-stagefeedback-libelf
14920 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14921 @r=`${PWD_COMMAND}`; export r; \
14922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14923 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14924 $(HOST_EXPORTS) \
14925 $(POSTSTAGE1_HOST_EXPORTS) \
14926 cd $(HOST_SUBDIR)/libelf && \
14927 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14928 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14929 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14930 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14931 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14932 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14933 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14934 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14935 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14936 $(TARGET-stagefeedback-libelf)
14938 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
14939 clean-stagefeedback: clean-stagefeedback-libelf
14940 clean-stagefeedback-libelf:
14941 @if [ $(current_stage) = stagefeedback ]; then \
14942 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14943 else \
14944 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
14945 $(MAKE) stagefeedback-start; \
14946 fi; \
14947 cd $(HOST_SUBDIR)/libelf && \
14948 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14949 @endif libelf-bootstrap
14955 .PHONY: check-libelf maybe-check-libelf
14956 maybe-check-libelf:
14957 @if libelf
14958 maybe-check-libelf: check-libelf
14960 check-libelf:
14961 @: $(MAKE); $(unstage)
14962 @r=`${PWD_COMMAND}`; export r; \
14963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14964 $(HOST_EXPORTS) \
14965 (cd $(HOST_SUBDIR)/libelf && \
14966 $(MAKE) $(FLAGS_TO_PASS) check)
14968 @endif libelf
14970 .PHONY: install-libelf maybe-install-libelf
14971 maybe-install-libelf:
14972 @if libelf
14973 maybe-install-libelf: install-libelf
14975 install-libelf:
14977 @endif libelf
14979 .PHONY: install-strip-libelf maybe-install-strip-libelf
14980 maybe-install-strip-libelf:
14981 @if libelf
14982 maybe-install-strip-libelf: install-strip-libelf
14984 install-strip-libelf:
14986 @endif libelf
14988 # Other targets (info, dvi, pdf, etc.)
14990 .PHONY: maybe-info-libelf info-libelf
14991 maybe-info-libelf:
14992 @if libelf
14993 maybe-info-libelf: info-libelf
14995 info-libelf: \
14996 configure-libelf
14997 @[ -f ./libelf/Makefile ] || exit 0; \
14998 r=`${PWD_COMMAND}`; export r; \
14999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15000 $(HOST_EXPORTS) \
15001 for flag in $(EXTRA_HOST_FLAGS) ; do \
15002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15003 done; \
15004 echo "Doing info in libelf" ; \
15005 (cd $(HOST_SUBDIR)/libelf && \
15006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15008 "RANLIB=$${RANLIB}" \
15009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15010 info) \
15011 || exit 1
15013 @endif libelf
15015 .PHONY: maybe-dvi-libelf dvi-libelf
15016 maybe-dvi-libelf:
15017 @if libelf
15018 maybe-dvi-libelf: dvi-libelf
15020 dvi-libelf: \
15021 configure-libelf
15022 @[ -f ./libelf/Makefile ] || exit 0; \
15023 r=`${PWD_COMMAND}`; export r; \
15024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15025 $(HOST_EXPORTS) \
15026 for flag in $(EXTRA_HOST_FLAGS) ; do \
15027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15028 done; \
15029 echo "Doing dvi in libelf" ; \
15030 (cd $(HOST_SUBDIR)/libelf && \
15031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15033 "RANLIB=$${RANLIB}" \
15034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15035 dvi) \
15036 || exit 1
15038 @endif libelf
15040 .PHONY: maybe-pdf-libelf pdf-libelf
15041 maybe-pdf-libelf:
15042 @if libelf
15043 maybe-pdf-libelf: pdf-libelf
15045 pdf-libelf: \
15046 configure-libelf
15047 @[ -f ./libelf/Makefile ] || exit 0; \
15048 r=`${PWD_COMMAND}`; export r; \
15049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15050 $(HOST_EXPORTS) \
15051 for flag in $(EXTRA_HOST_FLAGS) ; do \
15052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15053 done; \
15054 echo "Doing pdf in libelf" ; \
15055 (cd $(HOST_SUBDIR)/libelf && \
15056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15058 "RANLIB=$${RANLIB}" \
15059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15060 pdf) \
15061 || exit 1
15063 @endif libelf
15065 .PHONY: maybe-html-libelf html-libelf
15066 maybe-html-libelf:
15067 @if libelf
15068 maybe-html-libelf: html-libelf
15070 html-libelf: \
15071 configure-libelf
15072 @[ -f ./libelf/Makefile ] || exit 0; \
15073 r=`${PWD_COMMAND}`; export r; \
15074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15075 $(HOST_EXPORTS) \
15076 for flag in $(EXTRA_HOST_FLAGS) ; do \
15077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15078 done; \
15079 echo "Doing html in libelf" ; \
15080 (cd $(HOST_SUBDIR)/libelf && \
15081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15083 "RANLIB=$${RANLIB}" \
15084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15085 html) \
15086 || exit 1
15088 @endif libelf
15090 .PHONY: maybe-TAGS-libelf TAGS-libelf
15091 maybe-TAGS-libelf:
15092 @if libelf
15093 maybe-TAGS-libelf: TAGS-libelf
15095 TAGS-libelf: \
15096 configure-libelf
15097 @[ -f ./libelf/Makefile ] || exit 0; \
15098 r=`${PWD_COMMAND}`; export r; \
15099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15100 $(HOST_EXPORTS) \
15101 for flag in $(EXTRA_HOST_FLAGS) ; do \
15102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15103 done; \
15104 echo "Doing TAGS in libelf" ; \
15105 (cd $(HOST_SUBDIR)/libelf && \
15106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15108 "RANLIB=$${RANLIB}" \
15109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15110 TAGS) \
15111 || exit 1
15113 @endif libelf
15115 .PHONY: maybe-install-info-libelf install-info-libelf
15116 maybe-install-info-libelf:
15117 @if libelf
15118 maybe-install-info-libelf: install-info-libelf
15120 install-info-libelf: \
15121 configure-libelf \
15122 info-libelf
15123 @[ -f ./libelf/Makefile ] || exit 0; \
15124 r=`${PWD_COMMAND}`; export r; \
15125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15126 $(HOST_EXPORTS) \
15127 for flag in $(EXTRA_HOST_FLAGS) ; do \
15128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15129 done; \
15130 echo "Doing install-info in libelf" ; \
15131 (cd $(HOST_SUBDIR)/libelf && \
15132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15134 "RANLIB=$${RANLIB}" \
15135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15136 install-info) \
15137 || exit 1
15139 @endif libelf
15141 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
15142 maybe-install-pdf-libelf:
15143 @if libelf
15144 maybe-install-pdf-libelf: install-pdf-libelf
15146 install-pdf-libelf: \
15147 configure-libelf \
15148 pdf-libelf
15149 @[ -f ./libelf/Makefile ] || exit 0; \
15150 r=`${PWD_COMMAND}`; export r; \
15151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15152 $(HOST_EXPORTS) \
15153 for flag in $(EXTRA_HOST_FLAGS) ; do \
15154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15155 done; \
15156 echo "Doing install-pdf in libelf" ; \
15157 (cd $(HOST_SUBDIR)/libelf && \
15158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15160 "RANLIB=$${RANLIB}" \
15161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15162 install-pdf) \
15163 || exit 1
15165 @endif libelf
15167 .PHONY: maybe-install-html-libelf install-html-libelf
15168 maybe-install-html-libelf:
15169 @if libelf
15170 maybe-install-html-libelf: install-html-libelf
15172 install-html-libelf: \
15173 configure-libelf \
15174 html-libelf
15175 @[ -f ./libelf/Makefile ] || exit 0; \
15176 r=`${PWD_COMMAND}`; export r; \
15177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15178 $(HOST_EXPORTS) \
15179 for flag in $(EXTRA_HOST_FLAGS) ; do \
15180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15181 done; \
15182 echo "Doing install-html in libelf" ; \
15183 (cd $(HOST_SUBDIR)/libelf && \
15184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15186 "RANLIB=$${RANLIB}" \
15187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15188 install-html) \
15189 || exit 1
15191 @endif libelf
15193 .PHONY: maybe-installcheck-libelf installcheck-libelf
15194 maybe-installcheck-libelf:
15195 @if libelf
15196 maybe-installcheck-libelf: installcheck-libelf
15198 installcheck-libelf: \
15199 configure-libelf
15200 @[ -f ./libelf/Makefile ] || exit 0; \
15201 r=`${PWD_COMMAND}`; export r; \
15202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15203 $(HOST_EXPORTS) \
15204 for flag in $(EXTRA_HOST_FLAGS) ; do \
15205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15206 done; \
15207 echo "Doing installcheck in libelf" ; \
15208 (cd $(HOST_SUBDIR)/libelf && \
15209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15211 "RANLIB=$${RANLIB}" \
15212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15213 installcheck) \
15214 || exit 1
15216 @endif libelf
15218 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
15219 maybe-mostlyclean-libelf:
15220 @if libelf
15221 maybe-mostlyclean-libelf: mostlyclean-libelf
15223 mostlyclean-libelf:
15224 @[ -f ./libelf/Makefile ] || exit 0; \
15225 r=`${PWD_COMMAND}`; export r; \
15226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15227 $(HOST_EXPORTS) \
15228 for flag in $(EXTRA_HOST_FLAGS) ; do \
15229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15230 done; \
15231 echo "Doing mostlyclean in libelf" ; \
15232 (cd $(HOST_SUBDIR)/libelf && \
15233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15235 "RANLIB=$${RANLIB}" \
15236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15237 mostlyclean) \
15238 || exit 1
15240 @endif libelf
15242 .PHONY: maybe-clean-libelf clean-libelf
15243 maybe-clean-libelf:
15244 @if libelf
15245 maybe-clean-libelf: clean-libelf
15247 clean-libelf:
15248 @[ -f ./libelf/Makefile ] || exit 0; \
15249 r=`${PWD_COMMAND}`; export r; \
15250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15251 $(HOST_EXPORTS) \
15252 for flag in $(EXTRA_HOST_FLAGS) ; do \
15253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15254 done; \
15255 echo "Doing clean in libelf" ; \
15256 (cd $(HOST_SUBDIR)/libelf && \
15257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15259 "RANLIB=$${RANLIB}" \
15260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15261 clean) \
15262 || exit 1
15264 @endif libelf
15266 .PHONY: maybe-distclean-libelf distclean-libelf
15267 maybe-distclean-libelf:
15268 @if libelf
15269 maybe-distclean-libelf: distclean-libelf
15271 distclean-libelf:
15272 @[ -f ./libelf/Makefile ] || exit 0; \
15273 r=`${PWD_COMMAND}`; export r; \
15274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15275 $(HOST_EXPORTS) \
15276 for flag in $(EXTRA_HOST_FLAGS) ; do \
15277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15278 done; \
15279 echo "Doing distclean in libelf" ; \
15280 (cd $(HOST_SUBDIR)/libelf && \
15281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15283 "RANLIB=$${RANLIB}" \
15284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15285 distclean) \
15286 || exit 1
15288 @endif libelf
15290 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
15291 maybe-maintainer-clean-libelf:
15292 @if libelf
15293 maybe-maintainer-clean-libelf: maintainer-clean-libelf
15295 maintainer-clean-libelf:
15296 @[ -f ./libelf/Makefile ] || exit 0; \
15297 r=`${PWD_COMMAND}`; export r; \
15298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15299 $(HOST_EXPORTS) \
15300 for flag in $(EXTRA_HOST_FLAGS) ; do \
15301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15302 done; \
15303 echo "Doing maintainer-clean in libelf" ; \
15304 (cd $(HOST_SUBDIR)/libelf && \
15305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15307 "RANLIB=$${RANLIB}" \
15308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15309 maintainer-clean) \
15310 || exit 1
15312 @endif libelf
15316 .PHONY: configure-gold maybe-configure-gold
15317 maybe-configure-gold:
15318 @if gcc-bootstrap
15319 configure-gold: stage_current
15320 @endif gcc-bootstrap
15321 @if gold
15322 maybe-configure-gold: configure-gold
15323 configure-gold:
15324 @r=`${PWD_COMMAND}`; export r; \
15325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15326 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15327 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15328 $(HOST_EXPORTS) \
15329 echo Configuring in $(HOST_SUBDIR)/gold; \
15330 cd "$(HOST_SUBDIR)/gold" || exit 1; \
15331 case $(srcdir) in \
15332 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15333 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15334 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15335 esac; \
15336 module_srcdir=gold; \
15337 $(SHELL) \
15338 $$s/$$module_srcdir/configure \
15339 --srcdir=$${topdir}/$$module_srcdir \
15340 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15341 --target=${target_alias} \
15342 || exit 1
15343 @endif gold
15347 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
15348 maybe-configure-stage1-gold:
15349 @if gold-bootstrap
15350 maybe-configure-stage1-gold: configure-stage1-gold
15351 configure-stage1-gold:
15352 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15353 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15354 @r=`${PWD_COMMAND}`; export r; \
15355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15356 TFLAGS="$(STAGE1_TFLAGS)"; \
15357 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15358 $(HOST_EXPORTS) \
15359 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15360 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15361 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15362 echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \
15363 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15364 cd $(HOST_SUBDIR)/gold || exit 1; \
15365 case $(srcdir) in \
15366 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15367 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15368 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15369 esac; \
15370 module_srcdir=gold; \
15371 $(SHELL) $$s/$$module_srcdir/configure \
15372 --srcdir=$${topdir}/$$module_srcdir \
15373 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15374 --target=${target_alias} \
15376 $(STAGE1_CONFIGURE_FLAGS)
15377 @endif gold-bootstrap
15379 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
15380 maybe-configure-stage2-gold:
15381 @if gold-bootstrap
15382 maybe-configure-stage2-gold: configure-stage2-gold
15383 configure-stage2-gold:
15384 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15385 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15386 @r=`${PWD_COMMAND}`; export r; \
15387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15388 TFLAGS="$(STAGE2_TFLAGS)"; \
15389 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15390 $(HOST_EXPORTS) \
15391 $(POSTSTAGE1_HOST_EXPORTS) \
15392 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15393 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15394 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15395 echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \
15396 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15397 cd $(HOST_SUBDIR)/gold || exit 1; \
15398 case $(srcdir) in \
15399 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15400 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15401 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15402 esac; \
15403 module_srcdir=gold; \
15404 $(SHELL) $$s/$$module_srcdir/configure \
15405 --srcdir=$${topdir}/$$module_srcdir \
15406 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15407 --target=${target_alias} \
15408 --with-build-libsubdir=$(HOST_SUBDIR) \
15409 $(STAGE2_CONFIGURE_FLAGS)
15410 @endif gold-bootstrap
15412 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
15413 maybe-configure-stage3-gold:
15414 @if gold-bootstrap
15415 maybe-configure-stage3-gold: configure-stage3-gold
15416 configure-stage3-gold:
15417 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15418 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15419 @r=`${PWD_COMMAND}`; export r; \
15420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15421 TFLAGS="$(STAGE3_TFLAGS)"; \
15422 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15423 $(HOST_EXPORTS) \
15424 $(POSTSTAGE1_HOST_EXPORTS) \
15425 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15426 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15427 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15428 echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \
15429 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15430 cd $(HOST_SUBDIR)/gold || exit 1; \
15431 case $(srcdir) in \
15432 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15433 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15434 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15435 esac; \
15436 module_srcdir=gold; \
15437 $(SHELL) $$s/$$module_srcdir/configure \
15438 --srcdir=$${topdir}/$$module_srcdir \
15439 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15440 --target=${target_alias} \
15441 --with-build-libsubdir=$(HOST_SUBDIR) \
15442 $(STAGE3_CONFIGURE_FLAGS)
15443 @endif gold-bootstrap
15445 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
15446 maybe-configure-stage4-gold:
15447 @if gold-bootstrap
15448 maybe-configure-stage4-gold: configure-stage4-gold
15449 configure-stage4-gold:
15450 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15451 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15452 @r=`${PWD_COMMAND}`; export r; \
15453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15454 TFLAGS="$(STAGE4_TFLAGS)"; \
15455 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15456 $(HOST_EXPORTS) \
15457 $(POSTSTAGE1_HOST_EXPORTS) \
15458 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15459 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15460 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15461 echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \
15462 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15463 cd $(HOST_SUBDIR)/gold || exit 1; \
15464 case $(srcdir) in \
15465 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15466 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15467 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15468 esac; \
15469 module_srcdir=gold; \
15470 $(SHELL) $$s/$$module_srcdir/configure \
15471 --srcdir=$${topdir}/$$module_srcdir \
15472 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15473 --target=${target_alias} \
15474 --with-build-libsubdir=$(HOST_SUBDIR) \
15475 $(STAGE4_CONFIGURE_FLAGS)
15476 @endif gold-bootstrap
15478 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
15479 maybe-configure-stageprofile-gold:
15480 @if gold-bootstrap
15481 maybe-configure-stageprofile-gold: configure-stageprofile-gold
15482 configure-stageprofile-gold:
15483 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15484 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15485 @r=`${PWD_COMMAND}`; export r; \
15486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15487 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15488 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15489 $(HOST_EXPORTS) \
15490 $(POSTSTAGE1_HOST_EXPORTS) \
15491 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15492 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15493 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15494 echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \
15495 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15496 cd $(HOST_SUBDIR)/gold || exit 1; \
15497 case $(srcdir) in \
15498 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15499 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15500 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15501 esac; \
15502 module_srcdir=gold; \
15503 $(SHELL) $$s/$$module_srcdir/configure \
15504 --srcdir=$${topdir}/$$module_srcdir \
15505 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15506 --target=${target_alias} \
15507 --with-build-libsubdir=$(HOST_SUBDIR) \
15508 $(STAGEprofile_CONFIGURE_FLAGS)
15509 @endif gold-bootstrap
15511 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
15512 maybe-configure-stagefeedback-gold:
15513 @if gold-bootstrap
15514 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
15515 configure-stagefeedback-gold:
15516 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15517 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15518 @r=`${PWD_COMMAND}`; export r; \
15519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15520 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15521 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15522 $(HOST_EXPORTS) \
15523 $(POSTSTAGE1_HOST_EXPORTS) \
15524 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15525 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15526 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15527 echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \
15528 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15529 cd $(HOST_SUBDIR)/gold || exit 1; \
15530 case $(srcdir) in \
15531 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15532 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15533 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15534 esac; \
15535 module_srcdir=gold; \
15536 $(SHELL) $$s/$$module_srcdir/configure \
15537 --srcdir=$${topdir}/$$module_srcdir \
15538 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15539 --target=${target_alias} \
15540 --with-build-libsubdir=$(HOST_SUBDIR) \
15541 $(STAGEfeedback_CONFIGURE_FLAGS)
15542 @endif gold-bootstrap
15548 .PHONY: all-gold maybe-all-gold
15549 maybe-all-gold:
15550 @if gcc-bootstrap
15551 all-gold: stage_current
15552 @endif gcc-bootstrap
15553 @if gold
15554 TARGET-gold=all
15555 maybe-all-gold: all-gold
15556 all-gold: configure-gold
15557 @r=`${PWD_COMMAND}`; export r; \
15558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15559 $(HOST_EXPORTS) \
15560 (cd $(HOST_SUBDIR)/gold && \
15561 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
15562 $(TARGET-gold))
15563 @endif gold
15567 .PHONY: all-stage1-gold maybe-all-stage1-gold
15568 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
15569 maybe-all-stage1-gold:
15570 maybe-clean-stage1-gold:
15571 @if gold-bootstrap
15572 maybe-all-stage1-gold: all-stage1-gold
15573 all-stage1: all-stage1-gold
15574 TARGET-stage1-gold = $(TARGET-gold)
15575 all-stage1-gold: configure-stage1-gold
15576 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15577 @r=`${PWD_COMMAND}`; export r; \
15578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15579 TFLAGS="$(STAGE1_TFLAGS)"; \
15580 $(HOST_EXPORTS) \
15581 cd $(HOST_SUBDIR)/gold && \
15582 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15583 CFLAGS="$(STAGE1_CFLAGS)" \
15584 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15585 LIBCFLAGS="$(LIBCFLAGS)" \
15586 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15587 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15588 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15589 $(EXTRA_HOST_FLAGS) \
15590 $(STAGE1_FLAGS_TO_PASS) \
15591 TFLAGS="$(STAGE1_TFLAGS)" \
15592 $(TARGET-stage1-gold)
15594 maybe-clean-stage1-gold: clean-stage1-gold
15595 clean-stage1: clean-stage1-gold
15596 clean-stage1-gold:
15597 @if [ $(current_stage) = stage1 ]; then \
15598 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15599 else \
15600 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
15601 $(MAKE) stage1-start; \
15602 fi; \
15603 cd $(HOST_SUBDIR)/gold && \
15604 $(MAKE) $(EXTRA_HOST_FLAGS) \
15605 $(STAGE1_FLAGS_TO_PASS) clean
15606 @endif gold-bootstrap
15609 .PHONY: all-stage2-gold maybe-all-stage2-gold
15610 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
15611 maybe-all-stage2-gold:
15612 maybe-clean-stage2-gold:
15613 @if gold-bootstrap
15614 maybe-all-stage2-gold: all-stage2-gold
15615 all-stage2: all-stage2-gold
15616 TARGET-stage2-gold = $(TARGET-gold)
15617 all-stage2-gold: configure-stage2-gold
15618 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15619 @r=`${PWD_COMMAND}`; export r; \
15620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15621 TFLAGS="$(STAGE2_TFLAGS)"; \
15622 $(HOST_EXPORTS) \
15623 $(POSTSTAGE1_HOST_EXPORTS) \
15624 cd $(HOST_SUBDIR)/gold && \
15625 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15626 CFLAGS="$(STAGE2_CFLAGS)" \
15627 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15628 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15629 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15630 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15631 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15632 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15633 TFLAGS="$(STAGE2_TFLAGS)" \
15634 $(TARGET-stage2-gold)
15636 maybe-clean-stage2-gold: clean-stage2-gold
15637 clean-stage2: clean-stage2-gold
15638 clean-stage2-gold:
15639 @if [ $(current_stage) = stage2 ]; then \
15640 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15641 else \
15642 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
15643 $(MAKE) stage2-start; \
15644 fi; \
15645 cd $(HOST_SUBDIR)/gold && \
15646 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15647 @endif gold-bootstrap
15650 .PHONY: all-stage3-gold maybe-all-stage3-gold
15651 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
15652 maybe-all-stage3-gold:
15653 maybe-clean-stage3-gold:
15654 @if gold-bootstrap
15655 maybe-all-stage3-gold: all-stage3-gold
15656 all-stage3: all-stage3-gold
15657 TARGET-stage3-gold = $(TARGET-gold)
15658 all-stage3-gold: configure-stage3-gold
15659 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15660 @r=`${PWD_COMMAND}`; export r; \
15661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15662 TFLAGS="$(STAGE3_TFLAGS)"; \
15663 $(HOST_EXPORTS) \
15664 $(POSTSTAGE1_HOST_EXPORTS) \
15665 cd $(HOST_SUBDIR)/gold && \
15666 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15667 CFLAGS="$(STAGE3_CFLAGS)" \
15668 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15669 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15670 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15671 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15672 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15673 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15674 TFLAGS="$(STAGE3_TFLAGS)" \
15675 $(TARGET-stage3-gold)
15677 maybe-clean-stage3-gold: clean-stage3-gold
15678 clean-stage3: clean-stage3-gold
15679 clean-stage3-gold:
15680 @if [ $(current_stage) = stage3 ]; then \
15681 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15682 else \
15683 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
15684 $(MAKE) stage3-start; \
15685 fi; \
15686 cd $(HOST_SUBDIR)/gold && \
15687 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15688 @endif gold-bootstrap
15691 .PHONY: all-stage4-gold maybe-all-stage4-gold
15692 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
15693 maybe-all-stage4-gold:
15694 maybe-clean-stage4-gold:
15695 @if gold-bootstrap
15696 maybe-all-stage4-gold: all-stage4-gold
15697 all-stage4: all-stage4-gold
15698 TARGET-stage4-gold = $(TARGET-gold)
15699 all-stage4-gold: configure-stage4-gold
15700 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15701 @r=`${PWD_COMMAND}`; export r; \
15702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15703 TFLAGS="$(STAGE4_TFLAGS)"; \
15704 $(HOST_EXPORTS) \
15705 $(POSTSTAGE1_HOST_EXPORTS) \
15706 cd $(HOST_SUBDIR)/gold && \
15707 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15708 CFLAGS="$(STAGE4_CFLAGS)" \
15709 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15710 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15711 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15712 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15713 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15714 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15715 TFLAGS="$(STAGE4_TFLAGS)" \
15716 $(TARGET-stage4-gold)
15718 maybe-clean-stage4-gold: clean-stage4-gold
15719 clean-stage4: clean-stage4-gold
15720 clean-stage4-gold:
15721 @if [ $(current_stage) = stage4 ]; then \
15722 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15723 else \
15724 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
15725 $(MAKE) stage4-start; \
15726 fi; \
15727 cd $(HOST_SUBDIR)/gold && \
15728 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15729 @endif gold-bootstrap
15732 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
15733 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
15734 maybe-all-stageprofile-gold:
15735 maybe-clean-stageprofile-gold:
15736 @if gold-bootstrap
15737 maybe-all-stageprofile-gold: all-stageprofile-gold
15738 all-stageprofile: all-stageprofile-gold
15739 TARGET-stageprofile-gold = $(TARGET-gold)
15740 all-stageprofile-gold: configure-stageprofile-gold
15741 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15742 @r=`${PWD_COMMAND}`; export r; \
15743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15744 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15745 $(HOST_EXPORTS) \
15746 $(POSTSTAGE1_HOST_EXPORTS) \
15747 cd $(HOST_SUBDIR)/gold && \
15748 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15749 CFLAGS="$(STAGEprofile_CFLAGS)" \
15750 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15751 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15752 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15753 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15754 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15755 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15756 TFLAGS="$(STAGEprofile_TFLAGS)" \
15757 $(TARGET-stageprofile-gold)
15759 maybe-clean-stageprofile-gold: clean-stageprofile-gold
15760 clean-stageprofile: clean-stageprofile-gold
15761 clean-stageprofile-gold:
15762 @if [ $(current_stage) = stageprofile ]; then \
15763 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15764 else \
15765 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
15766 $(MAKE) stageprofile-start; \
15767 fi; \
15768 cd $(HOST_SUBDIR)/gold && \
15769 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15770 @endif gold-bootstrap
15773 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
15774 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
15775 maybe-all-stagefeedback-gold:
15776 maybe-clean-stagefeedback-gold:
15777 @if gold-bootstrap
15778 maybe-all-stagefeedback-gold: all-stagefeedback-gold
15779 all-stagefeedback: all-stagefeedback-gold
15780 TARGET-stagefeedback-gold = $(TARGET-gold)
15781 all-stagefeedback-gold: configure-stagefeedback-gold
15782 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15783 @r=`${PWD_COMMAND}`; export r; \
15784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15785 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15786 $(HOST_EXPORTS) \
15787 $(POSTSTAGE1_HOST_EXPORTS) \
15788 cd $(HOST_SUBDIR)/gold && \
15789 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15790 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15791 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15792 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15793 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15794 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15795 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15796 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15797 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15798 $(TARGET-stagefeedback-gold)
15800 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
15801 clean-stagefeedback: clean-stagefeedback-gold
15802 clean-stagefeedback-gold:
15803 @if [ $(current_stage) = stagefeedback ]; then \
15804 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15805 else \
15806 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
15807 $(MAKE) stagefeedback-start; \
15808 fi; \
15809 cd $(HOST_SUBDIR)/gold && \
15810 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15811 @endif gold-bootstrap
15817 .PHONY: check-gold maybe-check-gold
15818 maybe-check-gold:
15819 @if gold
15820 maybe-check-gold: check-gold
15822 check-gold:
15823 @: $(MAKE); $(unstage)
15824 @r=`${PWD_COMMAND}`; export r; \
15825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15826 $(HOST_EXPORTS) \
15827 (cd $(HOST_SUBDIR)/gold && \
15828 $(MAKE) $(FLAGS_TO_PASS) check)
15830 @endif gold
15832 .PHONY: install-gold maybe-install-gold
15833 maybe-install-gold:
15834 @if gold
15835 maybe-install-gold: install-gold
15837 install-gold: installdirs
15838 @: $(MAKE); $(unstage)
15839 @r=`${PWD_COMMAND}`; export r; \
15840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15841 $(HOST_EXPORTS) \
15842 (cd $(HOST_SUBDIR)/gold && \
15843 $(MAKE) $(FLAGS_TO_PASS) install)
15845 @endif gold
15847 .PHONY: install-strip-gold maybe-install-strip-gold
15848 maybe-install-strip-gold:
15849 @if gold
15850 maybe-install-strip-gold: install-strip-gold
15852 install-strip-gold: installdirs
15853 @: $(MAKE); $(unstage)
15854 @r=`${PWD_COMMAND}`; export r; \
15855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15856 $(HOST_EXPORTS) \
15857 (cd $(HOST_SUBDIR)/gold && \
15858 $(MAKE) $(FLAGS_TO_PASS) install-strip)
15860 @endif gold
15862 # Other targets (info, dvi, pdf, etc.)
15864 .PHONY: maybe-info-gold info-gold
15865 maybe-info-gold:
15866 @if gold
15867 maybe-info-gold: info-gold
15869 info-gold: \
15870 configure-gold
15871 @[ -f ./gold/Makefile ] || exit 0; \
15872 r=`${PWD_COMMAND}`; export r; \
15873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15874 $(HOST_EXPORTS) \
15875 for flag in $(EXTRA_HOST_FLAGS) ; do \
15876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15877 done; \
15878 echo "Doing info in gold" ; \
15879 (cd $(HOST_SUBDIR)/gold && \
15880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15882 "RANLIB=$${RANLIB}" \
15883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15884 info) \
15885 || exit 1
15887 @endif gold
15889 .PHONY: maybe-dvi-gold dvi-gold
15890 maybe-dvi-gold:
15891 @if gold
15892 maybe-dvi-gold: dvi-gold
15894 dvi-gold: \
15895 configure-gold
15896 @[ -f ./gold/Makefile ] || exit 0; \
15897 r=`${PWD_COMMAND}`; export r; \
15898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15899 $(HOST_EXPORTS) \
15900 for flag in $(EXTRA_HOST_FLAGS) ; do \
15901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15902 done; \
15903 echo "Doing dvi in gold" ; \
15904 (cd $(HOST_SUBDIR)/gold && \
15905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15907 "RANLIB=$${RANLIB}" \
15908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15909 dvi) \
15910 || exit 1
15912 @endif gold
15914 .PHONY: maybe-pdf-gold pdf-gold
15915 maybe-pdf-gold:
15916 @if gold
15917 maybe-pdf-gold: pdf-gold
15919 pdf-gold: \
15920 configure-gold
15921 @[ -f ./gold/Makefile ] || exit 0; \
15922 r=`${PWD_COMMAND}`; export r; \
15923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15924 $(HOST_EXPORTS) \
15925 for flag in $(EXTRA_HOST_FLAGS) ; do \
15926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15927 done; \
15928 echo "Doing pdf in gold" ; \
15929 (cd $(HOST_SUBDIR)/gold && \
15930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15932 "RANLIB=$${RANLIB}" \
15933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15934 pdf) \
15935 || exit 1
15937 @endif gold
15939 .PHONY: maybe-html-gold html-gold
15940 maybe-html-gold:
15941 @if gold
15942 maybe-html-gold: html-gold
15944 html-gold: \
15945 configure-gold
15946 @[ -f ./gold/Makefile ] || exit 0; \
15947 r=`${PWD_COMMAND}`; export r; \
15948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15949 $(HOST_EXPORTS) \
15950 for flag in $(EXTRA_HOST_FLAGS) ; do \
15951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15952 done; \
15953 echo "Doing html in gold" ; \
15954 (cd $(HOST_SUBDIR)/gold && \
15955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15957 "RANLIB=$${RANLIB}" \
15958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15959 html) \
15960 || exit 1
15962 @endif gold
15964 .PHONY: maybe-TAGS-gold TAGS-gold
15965 maybe-TAGS-gold:
15966 @if gold
15967 maybe-TAGS-gold: TAGS-gold
15969 TAGS-gold: \
15970 configure-gold
15971 @[ -f ./gold/Makefile ] || exit 0; \
15972 r=`${PWD_COMMAND}`; export r; \
15973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15974 $(HOST_EXPORTS) \
15975 for flag in $(EXTRA_HOST_FLAGS) ; do \
15976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15977 done; \
15978 echo "Doing TAGS in gold" ; \
15979 (cd $(HOST_SUBDIR)/gold && \
15980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15982 "RANLIB=$${RANLIB}" \
15983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15984 TAGS) \
15985 || exit 1
15987 @endif gold
15989 .PHONY: maybe-install-info-gold install-info-gold
15990 maybe-install-info-gold:
15991 @if gold
15992 maybe-install-info-gold: install-info-gold
15994 install-info-gold: \
15995 configure-gold \
15996 info-gold
15997 @[ -f ./gold/Makefile ] || exit 0; \
15998 r=`${PWD_COMMAND}`; export r; \
15999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16000 $(HOST_EXPORTS) \
16001 for flag in $(EXTRA_HOST_FLAGS) ; do \
16002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16003 done; \
16004 echo "Doing install-info in gold" ; \
16005 (cd $(HOST_SUBDIR)/gold && \
16006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16008 "RANLIB=$${RANLIB}" \
16009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16010 install-info) \
16011 || exit 1
16013 @endif gold
16015 .PHONY: maybe-install-pdf-gold install-pdf-gold
16016 maybe-install-pdf-gold:
16017 @if gold
16018 maybe-install-pdf-gold: install-pdf-gold
16020 install-pdf-gold: \
16021 configure-gold \
16022 pdf-gold
16023 @[ -f ./gold/Makefile ] || exit 0; \
16024 r=`${PWD_COMMAND}`; export r; \
16025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16026 $(HOST_EXPORTS) \
16027 for flag in $(EXTRA_HOST_FLAGS) ; do \
16028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16029 done; \
16030 echo "Doing install-pdf in gold" ; \
16031 (cd $(HOST_SUBDIR)/gold && \
16032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16034 "RANLIB=$${RANLIB}" \
16035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16036 install-pdf) \
16037 || exit 1
16039 @endif gold
16041 .PHONY: maybe-install-html-gold install-html-gold
16042 maybe-install-html-gold:
16043 @if gold
16044 maybe-install-html-gold: install-html-gold
16046 install-html-gold: \
16047 configure-gold \
16048 html-gold
16049 @[ -f ./gold/Makefile ] || exit 0; \
16050 r=`${PWD_COMMAND}`; export r; \
16051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16052 $(HOST_EXPORTS) \
16053 for flag in $(EXTRA_HOST_FLAGS) ; do \
16054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16055 done; \
16056 echo "Doing install-html in gold" ; \
16057 (cd $(HOST_SUBDIR)/gold && \
16058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16060 "RANLIB=$${RANLIB}" \
16061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16062 install-html) \
16063 || exit 1
16065 @endif gold
16067 .PHONY: maybe-installcheck-gold installcheck-gold
16068 maybe-installcheck-gold:
16069 @if gold
16070 maybe-installcheck-gold: installcheck-gold
16072 installcheck-gold: \
16073 configure-gold
16074 @[ -f ./gold/Makefile ] || exit 0; \
16075 r=`${PWD_COMMAND}`; export r; \
16076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16077 $(HOST_EXPORTS) \
16078 for flag in $(EXTRA_HOST_FLAGS) ; do \
16079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16080 done; \
16081 echo "Doing installcheck in gold" ; \
16082 (cd $(HOST_SUBDIR)/gold && \
16083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16085 "RANLIB=$${RANLIB}" \
16086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16087 installcheck) \
16088 || exit 1
16090 @endif gold
16092 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
16093 maybe-mostlyclean-gold:
16094 @if gold
16095 maybe-mostlyclean-gold: mostlyclean-gold
16097 mostlyclean-gold:
16098 @[ -f ./gold/Makefile ] || exit 0; \
16099 r=`${PWD_COMMAND}`; export r; \
16100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16101 $(HOST_EXPORTS) \
16102 for flag in $(EXTRA_HOST_FLAGS) ; do \
16103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16104 done; \
16105 echo "Doing mostlyclean in gold" ; \
16106 (cd $(HOST_SUBDIR)/gold && \
16107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16109 "RANLIB=$${RANLIB}" \
16110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16111 mostlyclean) \
16112 || exit 1
16114 @endif gold
16116 .PHONY: maybe-clean-gold clean-gold
16117 maybe-clean-gold:
16118 @if gold
16119 maybe-clean-gold: clean-gold
16121 clean-gold:
16122 @[ -f ./gold/Makefile ] || exit 0; \
16123 r=`${PWD_COMMAND}`; export r; \
16124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16125 $(HOST_EXPORTS) \
16126 for flag in $(EXTRA_HOST_FLAGS) ; do \
16127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16128 done; \
16129 echo "Doing clean in gold" ; \
16130 (cd $(HOST_SUBDIR)/gold && \
16131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16133 "RANLIB=$${RANLIB}" \
16134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16135 clean) \
16136 || exit 1
16138 @endif gold
16140 .PHONY: maybe-distclean-gold distclean-gold
16141 maybe-distclean-gold:
16142 @if gold
16143 maybe-distclean-gold: distclean-gold
16145 distclean-gold:
16146 @[ -f ./gold/Makefile ] || exit 0; \
16147 r=`${PWD_COMMAND}`; export r; \
16148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16149 $(HOST_EXPORTS) \
16150 for flag in $(EXTRA_HOST_FLAGS) ; do \
16151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16152 done; \
16153 echo "Doing distclean in gold" ; \
16154 (cd $(HOST_SUBDIR)/gold && \
16155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16157 "RANLIB=$${RANLIB}" \
16158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16159 distclean) \
16160 || exit 1
16162 @endif gold
16164 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
16165 maybe-maintainer-clean-gold:
16166 @if gold
16167 maybe-maintainer-clean-gold: maintainer-clean-gold
16169 maintainer-clean-gold:
16170 @[ -f ./gold/Makefile ] || exit 0; \
16171 r=`${PWD_COMMAND}`; export r; \
16172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16173 $(HOST_EXPORTS) \
16174 for flag in $(EXTRA_HOST_FLAGS) ; do \
16175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16176 done; \
16177 echo "Doing maintainer-clean in gold" ; \
16178 (cd $(HOST_SUBDIR)/gold && \
16179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16181 "RANLIB=$${RANLIB}" \
16182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16183 maintainer-clean) \
16184 || exit 1
16186 @endif gold
16190 .PHONY: configure-gprof maybe-configure-gprof
16191 maybe-configure-gprof:
16192 @if gcc-bootstrap
16193 configure-gprof: stage_current
16194 @endif gcc-bootstrap
16195 @if gprof
16196 maybe-configure-gprof: configure-gprof
16197 configure-gprof:
16198 @: $(MAKE); $(unstage)
16199 @r=`${PWD_COMMAND}`; export r; \
16200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16201 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
16202 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
16203 $(HOST_EXPORTS) \
16204 echo Configuring in $(HOST_SUBDIR)/gprof; \
16205 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
16206 case $(srcdir) in \
16207 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16208 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
16209 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16210 esac; \
16211 module_srcdir=gprof; \
16212 $(SHELL) \
16213 $$s/$$module_srcdir/configure \
16214 --srcdir=$${topdir}/$$module_srcdir \
16215 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16216 --target=${target_alias} \
16217 || exit 1
16218 @endif gprof
16224 .PHONY: all-gprof maybe-all-gprof
16225 maybe-all-gprof:
16226 @if gcc-bootstrap
16227 all-gprof: stage_current
16228 @endif gcc-bootstrap
16229 @if gprof
16230 TARGET-gprof=all
16231 maybe-all-gprof: all-gprof
16232 all-gprof: configure-gprof
16233 @: $(MAKE); $(unstage)
16234 @r=`${PWD_COMMAND}`; export r; \
16235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16236 $(HOST_EXPORTS) \
16237 (cd $(HOST_SUBDIR)/gprof && \
16238 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
16239 $(TARGET-gprof))
16240 @endif gprof
16245 .PHONY: check-gprof maybe-check-gprof
16246 maybe-check-gprof:
16247 @if gprof
16248 maybe-check-gprof: check-gprof
16250 check-gprof:
16251 @: $(MAKE); $(unstage)
16252 @r=`${PWD_COMMAND}`; export r; \
16253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16254 $(HOST_EXPORTS) \
16255 (cd $(HOST_SUBDIR)/gprof && \
16256 $(MAKE) $(FLAGS_TO_PASS) check)
16258 @endif gprof
16260 .PHONY: install-gprof maybe-install-gprof
16261 maybe-install-gprof:
16262 @if gprof
16263 maybe-install-gprof: install-gprof
16265 install-gprof: installdirs
16266 @: $(MAKE); $(unstage)
16267 @r=`${PWD_COMMAND}`; export r; \
16268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16269 $(HOST_EXPORTS) \
16270 (cd $(HOST_SUBDIR)/gprof && \
16271 $(MAKE) $(FLAGS_TO_PASS) install)
16273 @endif gprof
16275 .PHONY: install-strip-gprof maybe-install-strip-gprof
16276 maybe-install-strip-gprof:
16277 @if gprof
16278 maybe-install-strip-gprof: install-strip-gprof
16280 install-strip-gprof: installdirs
16281 @: $(MAKE); $(unstage)
16282 @r=`${PWD_COMMAND}`; export r; \
16283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16284 $(HOST_EXPORTS) \
16285 (cd $(HOST_SUBDIR)/gprof && \
16286 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16288 @endif gprof
16290 # Other targets (info, dvi, pdf, etc.)
16292 .PHONY: maybe-info-gprof info-gprof
16293 maybe-info-gprof:
16294 @if gprof
16295 maybe-info-gprof: info-gprof
16297 info-gprof: \
16298 configure-gprof
16299 @: $(MAKE); $(unstage)
16300 @[ -f ./gprof/Makefile ] || exit 0; \
16301 r=`${PWD_COMMAND}`; export r; \
16302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16303 $(HOST_EXPORTS) \
16304 for flag in $(EXTRA_HOST_FLAGS) ; do \
16305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16306 done; \
16307 echo "Doing info in gprof" ; \
16308 (cd $(HOST_SUBDIR)/gprof && \
16309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16311 "RANLIB=$${RANLIB}" \
16312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16313 info) \
16314 || exit 1
16316 @endif gprof
16318 .PHONY: maybe-dvi-gprof dvi-gprof
16319 maybe-dvi-gprof:
16320 @if gprof
16321 maybe-dvi-gprof: dvi-gprof
16323 dvi-gprof: \
16324 configure-gprof
16325 @: $(MAKE); $(unstage)
16326 @[ -f ./gprof/Makefile ] || exit 0; \
16327 r=`${PWD_COMMAND}`; export r; \
16328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16329 $(HOST_EXPORTS) \
16330 for flag in $(EXTRA_HOST_FLAGS) ; do \
16331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16332 done; \
16333 echo "Doing dvi in gprof" ; \
16334 (cd $(HOST_SUBDIR)/gprof && \
16335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16337 "RANLIB=$${RANLIB}" \
16338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16339 dvi) \
16340 || exit 1
16342 @endif gprof
16344 .PHONY: maybe-pdf-gprof pdf-gprof
16345 maybe-pdf-gprof:
16346 @if gprof
16347 maybe-pdf-gprof: pdf-gprof
16349 pdf-gprof: \
16350 configure-gprof
16351 @: $(MAKE); $(unstage)
16352 @[ -f ./gprof/Makefile ] || exit 0; \
16353 r=`${PWD_COMMAND}`; export r; \
16354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16355 $(HOST_EXPORTS) \
16356 for flag in $(EXTRA_HOST_FLAGS) ; do \
16357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16358 done; \
16359 echo "Doing pdf in gprof" ; \
16360 (cd $(HOST_SUBDIR)/gprof && \
16361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16363 "RANLIB=$${RANLIB}" \
16364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16365 pdf) \
16366 || exit 1
16368 @endif gprof
16370 .PHONY: maybe-html-gprof html-gprof
16371 maybe-html-gprof:
16372 @if gprof
16373 maybe-html-gprof: html-gprof
16375 html-gprof: \
16376 configure-gprof
16377 @: $(MAKE); $(unstage)
16378 @[ -f ./gprof/Makefile ] || exit 0; \
16379 r=`${PWD_COMMAND}`; export r; \
16380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16381 $(HOST_EXPORTS) \
16382 for flag in $(EXTRA_HOST_FLAGS) ; do \
16383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16384 done; \
16385 echo "Doing html in gprof" ; \
16386 (cd $(HOST_SUBDIR)/gprof && \
16387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16389 "RANLIB=$${RANLIB}" \
16390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16391 html) \
16392 || exit 1
16394 @endif gprof
16396 .PHONY: maybe-TAGS-gprof TAGS-gprof
16397 maybe-TAGS-gprof:
16398 @if gprof
16399 maybe-TAGS-gprof: TAGS-gprof
16401 TAGS-gprof: \
16402 configure-gprof
16403 @: $(MAKE); $(unstage)
16404 @[ -f ./gprof/Makefile ] || exit 0; \
16405 r=`${PWD_COMMAND}`; export r; \
16406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16407 $(HOST_EXPORTS) \
16408 for flag in $(EXTRA_HOST_FLAGS) ; do \
16409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16410 done; \
16411 echo "Doing TAGS in gprof" ; \
16412 (cd $(HOST_SUBDIR)/gprof && \
16413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16415 "RANLIB=$${RANLIB}" \
16416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16417 TAGS) \
16418 || exit 1
16420 @endif gprof
16422 .PHONY: maybe-install-info-gprof install-info-gprof
16423 maybe-install-info-gprof:
16424 @if gprof
16425 maybe-install-info-gprof: install-info-gprof
16427 install-info-gprof: \
16428 configure-gprof \
16429 info-gprof
16430 @: $(MAKE); $(unstage)
16431 @[ -f ./gprof/Makefile ] || exit 0; \
16432 r=`${PWD_COMMAND}`; export r; \
16433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16434 $(HOST_EXPORTS) \
16435 for flag in $(EXTRA_HOST_FLAGS) ; do \
16436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16437 done; \
16438 echo "Doing install-info in gprof" ; \
16439 (cd $(HOST_SUBDIR)/gprof && \
16440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16442 "RANLIB=$${RANLIB}" \
16443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16444 install-info) \
16445 || exit 1
16447 @endif gprof
16449 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
16450 maybe-install-pdf-gprof:
16451 @if gprof
16452 maybe-install-pdf-gprof: install-pdf-gprof
16454 install-pdf-gprof: \
16455 configure-gprof \
16456 pdf-gprof
16457 @: $(MAKE); $(unstage)
16458 @[ -f ./gprof/Makefile ] || exit 0; \
16459 r=`${PWD_COMMAND}`; export r; \
16460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16461 $(HOST_EXPORTS) \
16462 for flag in $(EXTRA_HOST_FLAGS) ; do \
16463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16464 done; \
16465 echo "Doing install-pdf in gprof" ; \
16466 (cd $(HOST_SUBDIR)/gprof && \
16467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16469 "RANLIB=$${RANLIB}" \
16470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16471 install-pdf) \
16472 || exit 1
16474 @endif gprof
16476 .PHONY: maybe-install-html-gprof install-html-gprof
16477 maybe-install-html-gprof:
16478 @if gprof
16479 maybe-install-html-gprof: install-html-gprof
16481 install-html-gprof: \
16482 configure-gprof \
16483 html-gprof
16484 @: $(MAKE); $(unstage)
16485 @[ -f ./gprof/Makefile ] || exit 0; \
16486 r=`${PWD_COMMAND}`; export r; \
16487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16488 $(HOST_EXPORTS) \
16489 for flag in $(EXTRA_HOST_FLAGS) ; do \
16490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16491 done; \
16492 echo "Doing install-html in gprof" ; \
16493 (cd $(HOST_SUBDIR)/gprof && \
16494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16496 "RANLIB=$${RANLIB}" \
16497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16498 install-html) \
16499 || exit 1
16501 @endif gprof
16503 .PHONY: maybe-installcheck-gprof installcheck-gprof
16504 maybe-installcheck-gprof:
16505 @if gprof
16506 maybe-installcheck-gprof: installcheck-gprof
16508 installcheck-gprof: \
16509 configure-gprof
16510 @: $(MAKE); $(unstage)
16511 @[ -f ./gprof/Makefile ] || exit 0; \
16512 r=`${PWD_COMMAND}`; export r; \
16513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16514 $(HOST_EXPORTS) \
16515 for flag in $(EXTRA_HOST_FLAGS) ; do \
16516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16517 done; \
16518 echo "Doing installcheck in gprof" ; \
16519 (cd $(HOST_SUBDIR)/gprof && \
16520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16522 "RANLIB=$${RANLIB}" \
16523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16524 installcheck) \
16525 || exit 1
16527 @endif gprof
16529 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
16530 maybe-mostlyclean-gprof:
16531 @if gprof
16532 maybe-mostlyclean-gprof: mostlyclean-gprof
16534 mostlyclean-gprof:
16535 @: $(MAKE); $(unstage)
16536 @[ -f ./gprof/Makefile ] || exit 0; \
16537 r=`${PWD_COMMAND}`; export r; \
16538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16539 $(HOST_EXPORTS) \
16540 for flag in $(EXTRA_HOST_FLAGS) ; do \
16541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16542 done; \
16543 echo "Doing mostlyclean in gprof" ; \
16544 (cd $(HOST_SUBDIR)/gprof && \
16545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16547 "RANLIB=$${RANLIB}" \
16548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16549 mostlyclean) \
16550 || exit 1
16552 @endif gprof
16554 .PHONY: maybe-clean-gprof clean-gprof
16555 maybe-clean-gprof:
16556 @if gprof
16557 maybe-clean-gprof: clean-gprof
16559 clean-gprof:
16560 @: $(MAKE); $(unstage)
16561 @[ -f ./gprof/Makefile ] || exit 0; \
16562 r=`${PWD_COMMAND}`; export r; \
16563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16564 $(HOST_EXPORTS) \
16565 for flag in $(EXTRA_HOST_FLAGS) ; do \
16566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16567 done; \
16568 echo "Doing clean in gprof" ; \
16569 (cd $(HOST_SUBDIR)/gprof && \
16570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16572 "RANLIB=$${RANLIB}" \
16573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16574 clean) \
16575 || exit 1
16577 @endif gprof
16579 .PHONY: maybe-distclean-gprof distclean-gprof
16580 maybe-distclean-gprof:
16581 @if gprof
16582 maybe-distclean-gprof: distclean-gprof
16584 distclean-gprof:
16585 @: $(MAKE); $(unstage)
16586 @[ -f ./gprof/Makefile ] || exit 0; \
16587 r=`${PWD_COMMAND}`; export r; \
16588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16589 $(HOST_EXPORTS) \
16590 for flag in $(EXTRA_HOST_FLAGS) ; do \
16591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16592 done; \
16593 echo "Doing distclean in gprof" ; \
16594 (cd $(HOST_SUBDIR)/gprof && \
16595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16597 "RANLIB=$${RANLIB}" \
16598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16599 distclean) \
16600 || exit 1
16602 @endif gprof
16604 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
16605 maybe-maintainer-clean-gprof:
16606 @if gprof
16607 maybe-maintainer-clean-gprof: maintainer-clean-gprof
16609 maintainer-clean-gprof:
16610 @: $(MAKE); $(unstage)
16611 @[ -f ./gprof/Makefile ] || exit 0; \
16612 r=`${PWD_COMMAND}`; export r; \
16613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16614 $(HOST_EXPORTS) \
16615 for flag in $(EXTRA_HOST_FLAGS) ; do \
16616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16617 done; \
16618 echo "Doing maintainer-clean in gprof" ; \
16619 (cd $(HOST_SUBDIR)/gprof && \
16620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16622 "RANLIB=$${RANLIB}" \
16623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16624 maintainer-clean) \
16625 || exit 1
16627 @endif gprof
16631 .PHONY: configure-intl maybe-configure-intl
16632 maybe-configure-intl:
16633 @if gcc-bootstrap
16634 configure-intl: stage_current
16635 @endif gcc-bootstrap
16636 @if intl
16637 maybe-configure-intl: configure-intl
16638 configure-intl:
16639 @r=`${PWD_COMMAND}`; export r; \
16640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16641 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16642 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16643 $(HOST_EXPORTS) \
16644 echo Configuring in $(HOST_SUBDIR)/intl; \
16645 cd "$(HOST_SUBDIR)/intl" || exit 1; \
16646 case $(srcdir) in \
16647 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16648 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16649 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16650 esac; \
16651 module_srcdir=intl; \
16652 $(SHELL) \
16653 $$s/$$module_srcdir/configure \
16654 --srcdir=$${topdir}/$$module_srcdir \
16655 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16656 --target=${target_alias} \
16657 || exit 1
16658 @endif intl
16662 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
16663 maybe-configure-stage1-intl:
16664 @if intl-bootstrap
16665 maybe-configure-stage1-intl: configure-stage1-intl
16666 configure-stage1-intl:
16667 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16668 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16669 @r=`${PWD_COMMAND}`; export r; \
16670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16671 TFLAGS="$(STAGE1_TFLAGS)"; \
16672 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16673 $(HOST_EXPORTS) \
16674 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16675 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16676 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16677 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
16678 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16679 cd $(HOST_SUBDIR)/intl || exit 1; \
16680 case $(srcdir) in \
16681 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16682 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16683 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16684 esac; \
16685 module_srcdir=intl; \
16686 $(SHELL) $$s/$$module_srcdir/configure \
16687 --srcdir=$${topdir}/$$module_srcdir \
16688 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16689 --target=${target_alias} \
16691 $(STAGE1_CONFIGURE_FLAGS)
16692 @endif intl-bootstrap
16694 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
16695 maybe-configure-stage2-intl:
16696 @if intl-bootstrap
16697 maybe-configure-stage2-intl: configure-stage2-intl
16698 configure-stage2-intl:
16699 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16700 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16701 @r=`${PWD_COMMAND}`; export r; \
16702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16703 TFLAGS="$(STAGE2_TFLAGS)"; \
16704 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16705 $(HOST_EXPORTS) \
16706 $(POSTSTAGE1_HOST_EXPORTS) \
16707 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16708 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16709 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16710 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
16711 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16712 cd $(HOST_SUBDIR)/intl || exit 1; \
16713 case $(srcdir) in \
16714 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16715 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16716 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16717 esac; \
16718 module_srcdir=intl; \
16719 $(SHELL) $$s/$$module_srcdir/configure \
16720 --srcdir=$${topdir}/$$module_srcdir \
16721 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16722 --target=${target_alias} \
16723 --with-build-libsubdir=$(HOST_SUBDIR) \
16724 $(STAGE2_CONFIGURE_FLAGS)
16725 @endif intl-bootstrap
16727 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
16728 maybe-configure-stage3-intl:
16729 @if intl-bootstrap
16730 maybe-configure-stage3-intl: configure-stage3-intl
16731 configure-stage3-intl:
16732 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16733 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16734 @r=`${PWD_COMMAND}`; export r; \
16735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16736 TFLAGS="$(STAGE3_TFLAGS)"; \
16737 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16738 $(HOST_EXPORTS) \
16739 $(POSTSTAGE1_HOST_EXPORTS) \
16740 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
16741 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
16742 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
16743 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
16744 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16745 cd $(HOST_SUBDIR)/intl || exit 1; \
16746 case $(srcdir) in \
16747 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16748 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16749 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16750 esac; \
16751 module_srcdir=intl; \
16752 $(SHELL) $$s/$$module_srcdir/configure \
16753 --srcdir=$${topdir}/$$module_srcdir \
16754 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16755 --target=${target_alias} \
16756 --with-build-libsubdir=$(HOST_SUBDIR) \
16757 $(STAGE3_CONFIGURE_FLAGS)
16758 @endif intl-bootstrap
16760 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
16761 maybe-configure-stage4-intl:
16762 @if intl-bootstrap
16763 maybe-configure-stage4-intl: configure-stage4-intl
16764 configure-stage4-intl:
16765 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16766 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16767 @r=`${PWD_COMMAND}`; export r; \
16768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16769 TFLAGS="$(STAGE4_TFLAGS)"; \
16770 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16771 $(HOST_EXPORTS) \
16772 $(POSTSTAGE1_HOST_EXPORTS) \
16773 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
16774 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
16775 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
16776 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
16777 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16778 cd $(HOST_SUBDIR)/intl || exit 1; \
16779 case $(srcdir) in \
16780 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16781 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16782 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16783 esac; \
16784 module_srcdir=intl; \
16785 $(SHELL) $$s/$$module_srcdir/configure \
16786 --srcdir=$${topdir}/$$module_srcdir \
16787 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16788 --target=${target_alias} \
16789 --with-build-libsubdir=$(HOST_SUBDIR) \
16790 $(STAGE4_CONFIGURE_FLAGS)
16791 @endif intl-bootstrap
16793 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
16794 maybe-configure-stageprofile-intl:
16795 @if intl-bootstrap
16796 maybe-configure-stageprofile-intl: configure-stageprofile-intl
16797 configure-stageprofile-intl:
16798 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16799 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16800 @r=`${PWD_COMMAND}`; export r; \
16801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16802 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16803 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16804 $(HOST_EXPORTS) \
16805 $(POSTSTAGE1_HOST_EXPORTS) \
16806 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
16807 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
16808 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
16809 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
16810 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16811 cd $(HOST_SUBDIR)/intl || exit 1; \
16812 case $(srcdir) in \
16813 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16814 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16815 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16816 esac; \
16817 module_srcdir=intl; \
16818 $(SHELL) $$s/$$module_srcdir/configure \
16819 --srcdir=$${topdir}/$$module_srcdir \
16820 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16821 --target=${target_alias} \
16822 --with-build-libsubdir=$(HOST_SUBDIR) \
16823 $(STAGEprofile_CONFIGURE_FLAGS)
16824 @endif intl-bootstrap
16826 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
16827 maybe-configure-stagefeedback-intl:
16828 @if intl-bootstrap
16829 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
16830 configure-stagefeedback-intl:
16831 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16832 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16833 @r=`${PWD_COMMAND}`; export r; \
16834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16835 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16836 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16837 $(HOST_EXPORTS) \
16838 $(POSTSTAGE1_HOST_EXPORTS) \
16839 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
16840 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
16841 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
16842 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
16843 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16844 cd $(HOST_SUBDIR)/intl || exit 1; \
16845 case $(srcdir) in \
16846 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16847 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16848 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16849 esac; \
16850 module_srcdir=intl; \
16851 $(SHELL) $$s/$$module_srcdir/configure \
16852 --srcdir=$${topdir}/$$module_srcdir \
16853 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16854 --target=${target_alias} \
16855 --with-build-libsubdir=$(HOST_SUBDIR) \
16856 $(STAGEfeedback_CONFIGURE_FLAGS)
16857 @endif intl-bootstrap
16863 .PHONY: all-intl maybe-all-intl
16864 maybe-all-intl:
16865 @if gcc-bootstrap
16866 all-intl: stage_current
16867 @endif gcc-bootstrap
16868 @if intl
16869 TARGET-intl=all
16870 maybe-all-intl: all-intl
16871 all-intl: configure-intl
16872 @r=`${PWD_COMMAND}`; export r; \
16873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16874 $(HOST_EXPORTS) \
16875 (cd $(HOST_SUBDIR)/intl && \
16876 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
16877 $(TARGET-intl))
16878 @endif intl
16882 .PHONY: all-stage1-intl maybe-all-stage1-intl
16883 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
16884 maybe-all-stage1-intl:
16885 maybe-clean-stage1-intl:
16886 @if intl-bootstrap
16887 maybe-all-stage1-intl: all-stage1-intl
16888 all-stage1: all-stage1-intl
16889 TARGET-stage1-intl = $(TARGET-intl)
16890 all-stage1-intl: configure-stage1-intl
16891 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16892 @r=`${PWD_COMMAND}`; export r; \
16893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16894 TFLAGS="$(STAGE1_TFLAGS)"; \
16895 $(HOST_EXPORTS) \
16896 cd $(HOST_SUBDIR)/intl && \
16897 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16898 CFLAGS="$(STAGE1_CFLAGS)" \
16899 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
16900 LIBCFLAGS="$(LIBCFLAGS)" \
16901 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16902 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16903 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16904 $(EXTRA_HOST_FLAGS) \
16905 $(STAGE1_FLAGS_TO_PASS) \
16906 TFLAGS="$(STAGE1_TFLAGS)" \
16907 $(TARGET-stage1-intl)
16909 maybe-clean-stage1-intl: clean-stage1-intl
16910 clean-stage1: clean-stage1-intl
16911 clean-stage1-intl:
16912 @if [ $(current_stage) = stage1 ]; then \
16913 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16914 else \
16915 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
16916 $(MAKE) stage1-start; \
16917 fi; \
16918 cd $(HOST_SUBDIR)/intl && \
16919 $(MAKE) $(EXTRA_HOST_FLAGS) \
16920 $(STAGE1_FLAGS_TO_PASS) clean
16921 @endif intl-bootstrap
16924 .PHONY: all-stage2-intl maybe-all-stage2-intl
16925 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
16926 maybe-all-stage2-intl:
16927 maybe-clean-stage2-intl:
16928 @if intl-bootstrap
16929 maybe-all-stage2-intl: all-stage2-intl
16930 all-stage2: all-stage2-intl
16931 TARGET-stage2-intl = $(TARGET-intl)
16932 all-stage2-intl: configure-stage2-intl
16933 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16934 @r=`${PWD_COMMAND}`; export r; \
16935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16936 TFLAGS="$(STAGE2_TFLAGS)"; \
16937 $(HOST_EXPORTS) \
16938 $(POSTSTAGE1_HOST_EXPORTS) \
16939 cd $(HOST_SUBDIR)/intl && \
16940 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16941 CFLAGS="$(STAGE2_CFLAGS)" \
16942 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
16943 LIBCFLAGS="$(STAGE2_CFLAGS)" \
16944 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16945 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16946 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16947 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16948 TFLAGS="$(STAGE2_TFLAGS)" \
16949 $(TARGET-stage2-intl)
16951 maybe-clean-stage2-intl: clean-stage2-intl
16952 clean-stage2: clean-stage2-intl
16953 clean-stage2-intl:
16954 @if [ $(current_stage) = stage2 ]; then \
16955 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16956 else \
16957 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
16958 $(MAKE) stage2-start; \
16959 fi; \
16960 cd $(HOST_SUBDIR)/intl && \
16961 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16962 @endif intl-bootstrap
16965 .PHONY: all-stage3-intl maybe-all-stage3-intl
16966 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
16967 maybe-all-stage3-intl:
16968 maybe-clean-stage3-intl:
16969 @if intl-bootstrap
16970 maybe-all-stage3-intl: all-stage3-intl
16971 all-stage3: all-stage3-intl
16972 TARGET-stage3-intl = $(TARGET-intl)
16973 all-stage3-intl: configure-stage3-intl
16974 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16975 @r=`${PWD_COMMAND}`; export r; \
16976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16977 TFLAGS="$(STAGE3_TFLAGS)"; \
16978 $(HOST_EXPORTS) \
16979 $(POSTSTAGE1_HOST_EXPORTS) \
16980 cd $(HOST_SUBDIR)/intl && \
16981 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16982 CFLAGS="$(STAGE3_CFLAGS)" \
16983 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
16984 LIBCFLAGS="$(STAGE3_CFLAGS)" \
16985 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16986 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16987 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16988 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16989 TFLAGS="$(STAGE3_TFLAGS)" \
16990 $(TARGET-stage3-intl)
16992 maybe-clean-stage3-intl: clean-stage3-intl
16993 clean-stage3: clean-stage3-intl
16994 clean-stage3-intl:
16995 @if [ $(current_stage) = stage3 ]; then \
16996 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16997 else \
16998 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
16999 $(MAKE) stage3-start; \
17000 fi; \
17001 cd $(HOST_SUBDIR)/intl && \
17002 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17003 @endif intl-bootstrap
17006 .PHONY: all-stage4-intl maybe-all-stage4-intl
17007 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
17008 maybe-all-stage4-intl:
17009 maybe-clean-stage4-intl:
17010 @if intl-bootstrap
17011 maybe-all-stage4-intl: all-stage4-intl
17012 all-stage4: all-stage4-intl
17013 TARGET-stage4-intl = $(TARGET-intl)
17014 all-stage4-intl: configure-stage4-intl
17015 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17016 @r=`${PWD_COMMAND}`; export r; \
17017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17018 TFLAGS="$(STAGE4_TFLAGS)"; \
17019 $(HOST_EXPORTS) \
17020 $(POSTSTAGE1_HOST_EXPORTS) \
17021 cd $(HOST_SUBDIR)/intl && \
17022 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17023 CFLAGS="$(STAGE4_CFLAGS)" \
17024 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17025 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17026 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17027 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17028 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17029 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17030 TFLAGS="$(STAGE4_TFLAGS)" \
17031 $(TARGET-stage4-intl)
17033 maybe-clean-stage4-intl: clean-stage4-intl
17034 clean-stage4: clean-stage4-intl
17035 clean-stage4-intl:
17036 @if [ $(current_stage) = stage4 ]; then \
17037 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17038 else \
17039 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
17040 $(MAKE) stage4-start; \
17041 fi; \
17042 cd $(HOST_SUBDIR)/intl && \
17043 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17044 @endif intl-bootstrap
17047 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
17048 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
17049 maybe-all-stageprofile-intl:
17050 maybe-clean-stageprofile-intl:
17051 @if intl-bootstrap
17052 maybe-all-stageprofile-intl: all-stageprofile-intl
17053 all-stageprofile: all-stageprofile-intl
17054 TARGET-stageprofile-intl = $(TARGET-intl)
17055 all-stageprofile-intl: configure-stageprofile-intl
17056 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17057 @r=`${PWD_COMMAND}`; export r; \
17058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17059 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17060 $(HOST_EXPORTS) \
17061 $(POSTSTAGE1_HOST_EXPORTS) \
17062 cd $(HOST_SUBDIR)/intl && \
17063 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17064 CFLAGS="$(STAGEprofile_CFLAGS)" \
17065 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17066 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17067 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17068 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17069 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17070 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17071 TFLAGS="$(STAGEprofile_TFLAGS)" \
17072 $(TARGET-stageprofile-intl)
17074 maybe-clean-stageprofile-intl: clean-stageprofile-intl
17075 clean-stageprofile: clean-stageprofile-intl
17076 clean-stageprofile-intl:
17077 @if [ $(current_stage) = stageprofile ]; then \
17078 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17079 else \
17080 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
17081 $(MAKE) stageprofile-start; \
17082 fi; \
17083 cd $(HOST_SUBDIR)/intl && \
17084 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17085 @endif intl-bootstrap
17088 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
17089 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
17090 maybe-all-stagefeedback-intl:
17091 maybe-clean-stagefeedback-intl:
17092 @if intl-bootstrap
17093 maybe-all-stagefeedback-intl: all-stagefeedback-intl
17094 all-stagefeedback: all-stagefeedback-intl
17095 TARGET-stagefeedback-intl = $(TARGET-intl)
17096 all-stagefeedback-intl: configure-stagefeedback-intl
17097 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17098 @r=`${PWD_COMMAND}`; export r; \
17099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17100 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17101 $(HOST_EXPORTS) \
17102 $(POSTSTAGE1_HOST_EXPORTS) \
17103 cd $(HOST_SUBDIR)/intl && \
17104 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17105 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17106 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17107 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17108 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17109 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17110 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17111 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17112 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17113 $(TARGET-stagefeedback-intl)
17115 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
17116 clean-stagefeedback: clean-stagefeedback-intl
17117 clean-stagefeedback-intl:
17118 @if [ $(current_stage) = stagefeedback ]; then \
17119 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17120 else \
17121 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
17122 $(MAKE) stagefeedback-start; \
17123 fi; \
17124 cd $(HOST_SUBDIR)/intl && \
17125 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17126 @endif intl-bootstrap
17132 .PHONY: check-intl maybe-check-intl
17133 maybe-check-intl:
17134 @if intl
17135 maybe-check-intl: check-intl
17137 check-intl:
17138 @: $(MAKE); $(unstage)
17139 @r=`${PWD_COMMAND}`; export r; \
17140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17141 $(HOST_EXPORTS) \
17142 (cd $(HOST_SUBDIR)/intl && \
17143 $(MAKE) $(FLAGS_TO_PASS) check)
17145 @endif intl
17147 .PHONY: install-intl maybe-install-intl
17148 maybe-install-intl:
17149 @if intl
17150 maybe-install-intl: install-intl
17152 install-intl: installdirs
17153 @: $(MAKE); $(unstage)
17154 @r=`${PWD_COMMAND}`; export r; \
17155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17156 $(HOST_EXPORTS) \
17157 (cd $(HOST_SUBDIR)/intl && \
17158 $(MAKE) $(FLAGS_TO_PASS) install)
17160 @endif intl
17162 .PHONY: install-strip-intl maybe-install-strip-intl
17163 maybe-install-strip-intl:
17164 @if intl
17165 maybe-install-strip-intl: install-strip-intl
17167 install-strip-intl: installdirs
17168 @: $(MAKE); $(unstage)
17169 @r=`${PWD_COMMAND}`; export r; \
17170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17171 $(HOST_EXPORTS) \
17172 (cd $(HOST_SUBDIR)/intl && \
17173 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17175 @endif intl
17177 # Other targets (info, dvi, pdf, etc.)
17179 .PHONY: maybe-info-intl info-intl
17180 maybe-info-intl:
17181 @if intl
17182 maybe-info-intl: info-intl
17184 info-intl: \
17185 configure-intl
17186 @[ -f ./intl/Makefile ] || exit 0; \
17187 r=`${PWD_COMMAND}`; export r; \
17188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17189 $(HOST_EXPORTS) \
17190 for flag in $(EXTRA_HOST_FLAGS) ; do \
17191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17192 done; \
17193 echo "Doing info in intl" ; \
17194 (cd $(HOST_SUBDIR)/intl && \
17195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17197 "RANLIB=$${RANLIB}" \
17198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17199 info) \
17200 || exit 1
17202 @endif intl
17204 .PHONY: maybe-dvi-intl dvi-intl
17205 maybe-dvi-intl:
17206 @if intl
17207 maybe-dvi-intl: dvi-intl
17209 dvi-intl: \
17210 configure-intl
17211 @[ -f ./intl/Makefile ] || exit 0; \
17212 r=`${PWD_COMMAND}`; export r; \
17213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17214 $(HOST_EXPORTS) \
17215 for flag in $(EXTRA_HOST_FLAGS) ; do \
17216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17217 done; \
17218 echo "Doing dvi in intl" ; \
17219 (cd $(HOST_SUBDIR)/intl && \
17220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17222 "RANLIB=$${RANLIB}" \
17223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17224 dvi) \
17225 || exit 1
17227 @endif intl
17229 .PHONY: maybe-pdf-intl pdf-intl
17230 maybe-pdf-intl:
17231 @if intl
17232 maybe-pdf-intl: pdf-intl
17234 pdf-intl: \
17235 configure-intl
17236 @[ -f ./intl/Makefile ] || exit 0; \
17237 r=`${PWD_COMMAND}`; export r; \
17238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17239 $(HOST_EXPORTS) \
17240 for flag in $(EXTRA_HOST_FLAGS) ; do \
17241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17242 done; \
17243 echo "Doing pdf in intl" ; \
17244 (cd $(HOST_SUBDIR)/intl && \
17245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17247 "RANLIB=$${RANLIB}" \
17248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17249 pdf) \
17250 || exit 1
17252 @endif intl
17254 .PHONY: maybe-html-intl html-intl
17255 maybe-html-intl:
17256 @if intl
17257 maybe-html-intl: html-intl
17259 html-intl: \
17260 configure-intl
17261 @[ -f ./intl/Makefile ] || exit 0; \
17262 r=`${PWD_COMMAND}`; export r; \
17263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17264 $(HOST_EXPORTS) \
17265 for flag in $(EXTRA_HOST_FLAGS) ; do \
17266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17267 done; \
17268 echo "Doing html in intl" ; \
17269 (cd $(HOST_SUBDIR)/intl && \
17270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17272 "RANLIB=$${RANLIB}" \
17273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17274 html) \
17275 || exit 1
17277 @endif intl
17279 .PHONY: maybe-TAGS-intl TAGS-intl
17280 maybe-TAGS-intl:
17281 @if intl
17282 maybe-TAGS-intl: TAGS-intl
17284 TAGS-intl: \
17285 configure-intl
17286 @[ -f ./intl/Makefile ] || exit 0; \
17287 r=`${PWD_COMMAND}`; export r; \
17288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17289 $(HOST_EXPORTS) \
17290 for flag in $(EXTRA_HOST_FLAGS) ; do \
17291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17292 done; \
17293 echo "Doing TAGS in intl" ; \
17294 (cd $(HOST_SUBDIR)/intl && \
17295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17297 "RANLIB=$${RANLIB}" \
17298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17299 TAGS) \
17300 || exit 1
17302 @endif intl
17304 .PHONY: maybe-install-info-intl install-info-intl
17305 maybe-install-info-intl:
17306 @if intl
17307 maybe-install-info-intl: install-info-intl
17309 install-info-intl: \
17310 configure-intl \
17311 info-intl
17312 @[ -f ./intl/Makefile ] || exit 0; \
17313 r=`${PWD_COMMAND}`; export r; \
17314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17315 $(HOST_EXPORTS) \
17316 for flag in $(EXTRA_HOST_FLAGS) ; do \
17317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17318 done; \
17319 echo "Doing install-info in intl" ; \
17320 (cd $(HOST_SUBDIR)/intl && \
17321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17323 "RANLIB=$${RANLIB}" \
17324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17325 install-info) \
17326 || exit 1
17328 @endif intl
17330 .PHONY: maybe-install-pdf-intl install-pdf-intl
17331 maybe-install-pdf-intl:
17332 @if intl
17333 maybe-install-pdf-intl: install-pdf-intl
17335 install-pdf-intl: \
17336 configure-intl \
17337 pdf-intl
17338 @[ -f ./intl/Makefile ] || exit 0; \
17339 r=`${PWD_COMMAND}`; export r; \
17340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17341 $(HOST_EXPORTS) \
17342 for flag in $(EXTRA_HOST_FLAGS) ; do \
17343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17344 done; \
17345 echo "Doing install-pdf in intl" ; \
17346 (cd $(HOST_SUBDIR)/intl && \
17347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17349 "RANLIB=$${RANLIB}" \
17350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17351 install-pdf) \
17352 || exit 1
17354 @endif intl
17356 .PHONY: maybe-install-html-intl install-html-intl
17357 maybe-install-html-intl:
17358 @if intl
17359 maybe-install-html-intl: install-html-intl
17361 install-html-intl: \
17362 configure-intl \
17363 html-intl
17364 @[ -f ./intl/Makefile ] || exit 0; \
17365 r=`${PWD_COMMAND}`; export r; \
17366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17367 $(HOST_EXPORTS) \
17368 for flag in $(EXTRA_HOST_FLAGS) ; do \
17369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17370 done; \
17371 echo "Doing install-html in intl" ; \
17372 (cd $(HOST_SUBDIR)/intl && \
17373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17375 "RANLIB=$${RANLIB}" \
17376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17377 install-html) \
17378 || exit 1
17380 @endif intl
17382 .PHONY: maybe-installcheck-intl installcheck-intl
17383 maybe-installcheck-intl:
17384 @if intl
17385 maybe-installcheck-intl: installcheck-intl
17387 installcheck-intl: \
17388 configure-intl
17389 @[ -f ./intl/Makefile ] || exit 0; \
17390 r=`${PWD_COMMAND}`; export r; \
17391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17392 $(HOST_EXPORTS) \
17393 for flag in $(EXTRA_HOST_FLAGS) ; do \
17394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17395 done; \
17396 echo "Doing installcheck in intl" ; \
17397 (cd $(HOST_SUBDIR)/intl && \
17398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17400 "RANLIB=$${RANLIB}" \
17401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17402 installcheck) \
17403 || exit 1
17405 @endif intl
17407 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
17408 maybe-mostlyclean-intl:
17409 @if intl
17410 maybe-mostlyclean-intl: mostlyclean-intl
17412 mostlyclean-intl:
17413 @[ -f ./intl/Makefile ] || exit 0; \
17414 r=`${PWD_COMMAND}`; export r; \
17415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17416 $(HOST_EXPORTS) \
17417 for flag in $(EXTRA_HOST_FLAGS) ; do \
17418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17419 done; \
17420 echo "Doing mostlyclean in intl" ; \
17421 (cd $(HOST_SUBDIR)/intl && \
17422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17424 "RANLIB=$${RANLIB}" \
17425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17426 mostlyclean) \
17427 || exit 1
17429 @endif intl
17431 .PHONY: maybe-clean-intl clean-intl
17432 maybe-clean-intl:
17433 @if intl
17434 maybe-clean-intl: clean-intl
17436 clean-intl:
17437 @[ -f ./intl/Makefile ] || exit 0; \
17438 r=`${PWD_COMMAND}`; export r; \
17439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17440 $(HOST_EXPORTS) \
17441 for flag in $(EXTRA_HOST_FLAGS) ; do \
17442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17443 done; \
17444 echo "Doing clean in intl" ; \
17445 (cd $(HOST_SUBDIR)/intl && \
17446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17448 "RANLIB=$${RANLIB}" \
17449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17450 clean) \
17451 || exit 1
17453 @endif intl
17455 .PHONY: maybe-distclean-intl distclean-intl
17456 maybe-distclean-intl:
17457 @if intl
17458 maybe-distclean-intl: distclean-intl
17460 distclean-intl:
17461 @[ -f ./intl/Makefile ] || exit 0; \
17462 r=`${PWD_COMMAND}`; export r; \
17463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17464 $(HOST_EXPORTS) \
17465 for flag in $(EXTRA_HOST_FLAGS) ; do \
17466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17467 done; \
17468 echo "Doing distclean in intl" ; \
17469 (cd $(HOST_SUBDIR)/intl && \
17470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17472 "RANLIB=$${RANLIB}" \
17473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17474 distclean) \
17475 || exit 1
17477 @endif intl
17479 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
17480 maybe-maintainer-clean-intl:
17481 @if intl
17482 maybe-maintainer-clean-intl: maintainer-clean-intl
17484 maintainer-clean-intl:
17485 @[ -f ./intl/Makefile ] || exit 0; \
17486 r=`${PWD_COMMAND}`; export r; \
17487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17488 $(HOST_EXPORTS) \
17489 for flag in $(EXTRA_HOST_FLAGS) ; do \
17490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17491 done; \
17492 echo "Doing maintainer-clean in intl" ; \
17493 (cd $(HOST_SUBDIR)/intl && \
17494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17496 "RANLIB=$${RANLIB}" \
17497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17498 maintainer-clean) \
17499 || exit 1
17501 @endif intl
17505 .PHONY: configure-tcl maybe-configure-tcl
17506 maybe-configure-tcl:
17507 @if gcc-bootstrap
17508 configure-tcl: stage_current
17509 @endif gcc-bootstrap
17510 @if tcl
17511 maybe-configure-tcl: configure-tcl
17512 configure-tcl:
17513 @: $(MAKE); $(unstage)
17514 @r=`${PWD_COMMAND}`; export r; \
17515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17516 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
17517 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
17518 $(HOST_EXPORTS) \
17519 echo Configuring in $(HOST_SUBDIR)/tcl; \
17520 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
17521 case $(srcdir) in \
17522 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17523 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
17524 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17525 esac; \
17526 module_srcdir=tcl; \
17527 $(SHELL) \
17528 $$s/$$module_srcdir/configure \
17529 --srcdir=$${topdir}/$$module_srcdir \
17530 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17531 --target=${target_alias} \
17532 || exit 1
17533 @endif tcl
17539 .PHONY: all-tcl maybe-all-tcl
17540 maybe-all-tcl:
17541 @if gcc-bootstrap
17542 all-tcl: stage_current
17543 @endif gcc-bootstrap
17544 @if tcl
17545 TARGET-tcl=all
17546 maybe-all-tcl: all-tcl
17547 all-tcl: configure-tcl
17548 @: $(MAKE); $(unstage)
17549 @r=`${PWD_COMMAND}`; export r; \
17550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17551 $(HOST_EXPORTS) \
17552 (cd $(HOST_SUBDIR)/tcl && \
17553 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17554 $(TARGET-tcl))
17555 @endif tcl
17560 .PHONY: check-tcl maybe-check-tcl
17561 maybe-check-tcl:
17562 @if tcl
17563 maybe-check-tcl: check-tcl
17565 check-tcl:
17566 @: $(MAKE); $(unstage)
17567 @r=`${PWD_COMMAND}`; export r; \
17568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17569 $(HOST_EXPORTS) \
17570 (cd $(HOST_SUBDIR)/tcl && \
17571 $(MAKE) $(FLAGS_TO_PASS) check)
17573 @endif tcl
17575 .PHONY: install-tcl maybe-install-tcl
17576 maybe-install-tcl:
17577 @if tcl
17578 maybe-install-tcl: install-tcl
17580 install-tcl: installdirs
17581 @: $(MAKE); $(unstage)
17582 @r=`${PWD_COMMAND}`; export r; \
17583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17584 $(HOST_EXPORTS) \
17585 (cd $(HOST_SUBDIR)/tcl && \
17586 $(MAKE) $(FLAGS_TO_PASS) install)
17588 @endif tcl
17590 .PHONY: install-strip-tcl maybe-install-strip-tcl
17591 maybe-install-strip-tcl:
17592 @if tcl
17593 maybe-install-strip-tcl: install-strip-tcl
17595 install-strip-tcl: installdirs
17596 @: $(MAKE); $(unstage)
17597 @r=`${PWD_COMMAND}`; export r; \
17598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17599 $(HOST_EXPORTS) \
17600 (cd $(HOST_SUBDIR)/tcl && \
17601 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17603 @endif tcl
17605 # Other targets (info, dvi, pdf, etc.)
17607 .PHONY: maybe-info-tcl info-tcl
17608 maybe-info-tcl:
17609 @if tcl
17610 maybe-info-tcl: info-tcl
17612 info-tcl: \
17613 configure-tcl
17614 @: $(MAKE); $(unstage)
17615 @[ -f ./tcl/Makefile ] || exit 0; \
17616 r=`${PWD_COMMAND}`; export r; \
17617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17618 $(HOST_EXPORTS) \
17619 for flag in $(EXTRA_HOST_FLAGS) ; do \
17620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17621 done; \
17622 echo "Doing info in tcl" ; \
17623 (cd $(HOST_SUBDIR)/tcl && \
17624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17626 "RANLIB=$${RANLIB}" \
17627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17628 info) \
17629 || exit 1
17631 @endif tcl
17633 .PHONY: maybe-dvi-tcl dvi-tcl
17634 maybe-dvi-tcl:
17635 @if tcl
17636 maybe-dvi-tcl: dvi-tcl
17638 dvi-tcl: \
17639 configure-tcl
17640 @: $(MAKE); $(unstage)
17641 @[ -f ./tcl/Makefile ] || exit 0; \
17642 r=`${PWD_COMMAND}`; export r; \
17643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17644 $(HOST_EXPORTS) \
17645 for flag in $(EXTRA_HOST_FLAGS) ; do \
17646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17647 done; \
17648 echo "Doing dvi in tcl" ; \
17649 (cd $(HOST_SUBDIR)/tcl && \
17650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17652 "RANLIB=$${RANLIB}" \
17653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17654 dvi) \
17655 || exit 1
17657 @endif tcl
17659 .PHONY: maybe-pdf-tcl pdf-tcl
17660 maybe-pdf-tcl:
17661 @if tcl
17662 maybe-pdf-tcl: pdf-tcl
17664 pdf-tcl: \
17665 configure-tcl
17666 @: $(MAKE); $(unstage)
17667 @[ -f ./tcl/Makefile ] || exit 0; \
17668 r=`${PWD_COMMAND}`; export r; \
17669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17670 $(HOST_EXPORTS) \
17671 for flag in $(EXTRA_HOST_FLAGS) ; do \
17672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17673 done; \
17674 echo "Doing pdf in tcl" ; \
17675 (cd $(HOST_SUBDIR)/tcl && \
17676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17678 "RANLIB=$${RANLIB}" \
17679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17680 pdf) \
17681 || exit 1
17683 @endif tcl
17685 .PHONY: maybe-html-tcl html-tcl
17686 maybe-html-tcl:
17687 @if tcl
17688 maybe-html-tcl: html-tcl
17690 html-tcl: \
17691 configure-tcl
17692 @: $(MAKE); $(unstage)
17693 @[ -f ./tcl/Makefile ] || exit 0; \
17694 r=`${PWD_COMMAND}`; export r; \
17695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17696 $(HOST_EXPORTS) \
17697 for flag in $(EXTRA_HOST_FLAGS) ; do \
17698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17699 done; \
17700 echo "Doing html in tcl" ; \
17701 (cd $(HOST_SUBDIR)/tcl && \
17702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17704 "RANLIB=$${RANLIB}" \
17705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17706 html) \
17707 || exit 1
17709 @endif tcl
17711 .PHONY: maybe-TAGS-tcl TAGS-tcl
17712 maybe-TAGS-tcl:
17713 @if tcl
17714 maybe-TAGS-tcl: TAGS-tcl
17716 TAGS-tcl: \
17717 configure-tcl
17718 @: $(MAKE); $(unstage)
17719 @[ -f ./tcl/Makefile ] || exit 0; \
17720 r=`${PWD_COMMAND}`; export r; \
17721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17722 $(HOST_EXPORTS) \
17723 for flag in $(EXTRA_HOST_FLAGS) ; do \
17724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17725 done; \
17726 echo "Doing TAGS in tcl" ; \
17727 (cd $(HOST_SUBDIR)/tcl && \
17728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17730 "RANLIB=$${RANLIB}" \
17731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17732 TAGS) \
17733 || exit 1
17735 @endif tcl
17737 .PHONY: maybe-install-info-tcl install-info-tcl
17738 maybe-install-info-tcl:
17739 @if tcl
17740 maybe-install-info-tcl: install-info-tcl
17742 install-info-tcl: \
17743 configure-tcl \
17744 info-tcl
17745 @: $(MAKE); $(unstage)
17746 @[ -f ./tcl/Makefile ] || exit 0; \
17747 r=`${PWD_COMMAND}`; export r; \
17748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17749 $(HOST_EXPORTS) \
17750 for flag in $(EXTRA_HOST_FLAGS) ; do \
17751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17752 done; \
17753 echo "Doing install-info in tcl" ; \
17754 (cd $(HOST_SUBDIR)/tcl && \
17755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17757 "RANLIB=$${RANLIB}" \
17758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17759 install-info) \
17760 || exit 1
17762 @endif tcl
17764 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
17765 maybe-install-pdf-tcl:
17766 @if tcl
17767 maybe-install-pdf-tcl: install-pdf-tcl
17769 install-pdf-tcl: \
17770 configure-tcl \
17771 pdf-tcl
17772 @: $(MAKE); $(unstage)
17773 @[ -f ./tcl/Makefile ] || exit 0; \
17774 r=`${PWD_COMMAND}`; export r; \
17775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17776 $(HOST_EXPORTS) \
17777 for flag in $(EXTRA_HOST_FLAGS) ; do \
17778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17779 done; \
17780 echo "Doing install-pdf in tcl" ; \
17781 (cd $(HOST_SUBDIR)/tcl && \
17782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17784 "RANLIB=$${RANLIB}" \
17785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17786 install-pdf) \
17787 || exit 1
17789 @endif tcl
17791 .PHONY: maybe-install-html-tcl install-html-tcl
17792 maybe-install-html-tcl:
17793 @if tcl
17794 maybe-install-html-tcl: install-html-tcl
17796 install-html-tcl: \
17797 configure-tcl \
17798 html-tcl
17799 @: $(MAKE); $(unstage)
17800 @[ -f ./tcl/Makefile ] || exit 0; \
17801 r=`${PWD_COMMAND}`; export r; \
17802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17803 $(HOST_EXPORTS) \
17804 for flag in $(EXTRA_HOST_FLAGS) ; do \
17805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17806 done; \
17807 echo "Doing install-html in tcl" ; \
17808 (cd $(HOST_SUBDIR)/tcl && \
17809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17811 "RANLIB=$${RANLIB}" \
17812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17813 install-html) \
17814 || exit 1
17816 @endif tcl
17818 .PHONY: maybe-installcheck-tcl installcheck-tcl
17819 maybe-installcheck-tcl:
17820 @if tcl
17821 maybe-installcheck-tcl: installcheck-tcl
17823 installcheck-tcl: \
17824 configure-tcl
17825 @: $(MAKE); $(unstage)
17826 @[ -f ./tcl/Makefile ] || exit 0; \
17827 r=`${PWD_COMMAND}`; export r; \
17828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17829 $(HOST_EXPORTS) \
17830 for flag in $(EXTRA_HOST_FLAGS) ; do \
17831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17832 done; \
17833 echo "Doing installcheck in tcl" ; \
17834 (cd $(HOST_SUBDIR)/tcl && \
17835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17837 "RANLIB=$${RANLIB}" \
17838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17839 installcheck) \
17840 || exit 1
17842 @endif tcl
17844 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
17845 maybe-mostlyclean-tcl:
17846 @if tcl
17847 maybe-mostlyclean-tcl: mostlyclean-tcl
17849 # tcl doesn't support mostlyclean.
17850 mostlyclean-tcl:
17852 @endif tcl
17854 .PHONY: maybe-clean-tcl clean-tcl
17855 maybe-clean-tcl:
17856 @if tcl
17857 maybe-clean-tcl: clean-tcl
17859 clean-tcl:
17860 @: $(MAKE); $(unstage)
17861 @[ -f ./tcl/Makefile ] || exit 0; \
17862 r=`${PWD_COMMAND}`; export r; \
17863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17864 $(HOST_EXPORTS) \
17865 for flag in $(EXTRA_HOST_FLAGS) ; do \
17866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17867 done; \
17868 echo "Doing clean in tcl" ; \
17869 (cd $(HOST_SUBDIR)/tcl && \
17870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17872 "RANLIB=$${RANLIB}" \
17873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17874 clean) \
17875 || exit 1
17877 @endif tcl
17879 .PHONY: maybe-distclean-tcl distclean-tcl
17880 maybe-distclean-tcl:
17881 @if tcl
17882 maybe-distclean-tcl: distclean-tcl
17884 distclean-tcl:
17885 @: $(MAKE); $(unstage)
17886 @[ -f ./tcl/Makefile ] || exit 0; \
17887 r=`${PWD_COMMAND}`; export r; \
17888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17889 $(HOST_EXPORTS) \
17890 for flag in $(EXTRA_HOST_FLAGS) ; do \
17891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17892 done; \
17893 echo "Doing distclean in tcl" ; \
17894 (cd $(HOST_SUBDIR)/tcl && \
17895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17897 "RANLIB=$${RANLIB}" \
17898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17899 distclean) \
17900 || exit 1
17902 @endif tcl
17904 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
17905 maybe-maintainer-clean-tcl:
17906 @if tcl
17907 maybe-maintainer-clean-tcl: maintainer-clean-tcl
17909 maintainer-clean-tcl:
17910 @: $(MAKE); $(unstage)
17911 @[ -f ./tcl/Makefile ] || exit 0; \
17912 r=`${PWD_COMMAND}`; export r; \
17913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17914 $(HOST_EXPORTS) \
17915 for flag in $(EXTRA_HOST_FLAGS) ; do \
17916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17917 done; \
17918 echo "Doing maintainer-clean in tcl" ; \
17919 (cd $(HOST_SUBDIR)/tcl && \
17920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17922 "RANLIB=$${RANLIB}" \
17923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17924 maintainer-clean) \
17925 || exit 1
17927 @endif tcl
17931 .PHONY: configure-itcl maybe-configure-itcl
17932 maybe-configure-itcl:
17933 @if gcc-bootstrap
17934 configure-itcl: stage_current
17935 @endif gcc-bootstrap
17936 @if itcl
17937 maybe-configure-itcl: configure-itcl
17938 configure-itcl:
17939 @: $(MAKE); $(unstage)
17940 @r=`${PWD_COMMAND}`; export r; \
17941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17942 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
17943 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
17944 $(HOST_EXPORTS) \
17945 echo Configuring in $(HOST_SUBDIR)/itcl; \
17946 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
17947 case $(srcdir) in \
17948 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17949 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
17950 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17951 esac; \
17952 module_srcdir=itcl; \
17953 $(SHELL) \
17954 $$s/$$module_srcdir/configure \
17955 --srcdir=$${topdir}/$$module_srcdir \
17956 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17957 --target=${target_alias} \
17958 || exit 1
17959 @endif itcl
17965 .PHONY: all-itcl maybe-all-itcl
17966 maybe-all-itcl:
17967 @if gcc-bootstrap
17968 all-itcl: stage_current
17969 @endif gcc-bootstrap
17970 @if itcl
17971 TARGET-itcl=all
17972 maybe-all-itcl: all-itcl
17973 all-itcl: configure-itcl
17974 @: $(MAKE); $(unstage)
17975 @r=`${PWD_COMMAND}`; export r; \
17976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17977 $(HOST_EXPORTS) \
17978 (cd $(HOST_SUBDIR)/itcl && \
17979 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17980 $(TARGET-itcl))
17981 @endif itcl
17986 .PHONY: check-itcl maybe-check-itcl
17987 maybe-check-itcl:
17988 @if itcl
17989 maybe-check-itcl: check-itcl
17991 check-itcl:
17992 @: $(MAKE); $(unstage)
17993 @r=`${PWD_COMMAND}`; export r; \
17994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17995 $(HOST_EXPORTS) \
17996 (cd $(HOST_SUBDIR)/itcl && \
17997 $(MAKE) $(FLAGS_TO_PASS) check)
17999 @endif itcl
18001 .PHONY: install-itcl maybe-install-itcl
18002 maybe-install-itcl:
18003 @if itcl
18004 maybe-install-itcl: install-itcl
18006 install-itcl: installdirs
18007 @: $(MAKE); $(unstage)
18008 @r=`${PWD_COMMAND}`; export r; \
18009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18010 $(HOST_EXPORTS) \
18011 (cd $(HOST_SUBDIR)/itcl && \
18012 $(MAKE) $(FLAGS_TO_PASS) install)
18014 @endif itcl
18016 .PHONY: install-strip-itcl maybe-install-strip-itcl
18017 maybe-install-strip-itcl:
18018 @if itcl
18019 maybe-install-strip-itcl: install-strip-itcl
18021 install-strip-itcl: installdirs
18022 @: $(MAKE); $(unstage)
18023 @r=`${PWD_COMMAND}`; export r; \
18024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18025 $(HOST_EXPORTS) \
18026 (cd $(HOST_SUBDIR)/itcl && \
18027 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18029 @endif itcl
18031 # Other targets (info, dvi, pdf, etc.)
18033 .PHONY: maybe-info-itcl info-itcl
18034 maybe-info-itcl:
18035 @if itcl
18036 maybe-info-itcl: info-itcl
18038 info-itcl: \
18039 configure-itcl
18040 @: $(MAKE); $(unstage)
18041 @[ -f ./itcl/Makefile ] || exit 0; \
18042 r=`${PWD_COMMAND}`; export r; \
18043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18044 $(HOST_EXPORTS) \
18045 for flag in $(EXTRA_HOST_FLAGS) ; do \
18046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18047 done; \
18048 echo "Doing info in itcl" ; \
18049 (cd $(HOST_SUBDIR)/itcl && \
18050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18052 "RANLIB=$${RANLIB}" \
18053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18054 info) \
18055 || exit 1
18057 @endif itcl
18059 .PHONY: maybe-dvi-itcl dvi-itcl
18060 maybe-dvi-itcl:
18061 @if itcl
18062 maybe-dvi-itcl: dvi-itcl
18064 dvi-itcl: \
18065 configure-itcl
18066 @: $(MAKE); $(unstage)
18067 @[ -f ./itcl/Makefile ] || exit 0; \
18068 r=`${PWD_COMMAND}`; export r; \
18069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18070 $(HOST_EXPORTS) \
18071 for flag in $(EXTRA_HOST_FLAGS) ; do \
18072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18073 done; \
18074 echo "Doing dvi in itcl" ; \
18075 (cd $(HOST_SUBDIR)/itcl && \
18076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18078 "RANLIB=$${RANLIB}" \
18079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18080 dvi) \
18081 || exit 1
18083 @endif itcl
18085 .PHONY: maybe-pdf-itcl pdf-itcl
18086 maybe-pdf-itcl:
18087 @if itcl
18088 maybe-pdf-itcl: pdf-itcl
18090 pdf-itcl: \
18091 configure-itcl
18092 @: $(MAKE); $(unstage)
18093 @[ -f ./itcl/Makefile ] || exit 0; \
18094 r=`${PWD_COMMAND}`; export r; \
18095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18096 $(HOST_EXPORTS) \
18097 for flag in $(EXTRA_HOST_FLAGS) ; do \
18098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18099 done; \
18100 echo "Doing pdf in itcl" ; \
18101 (cd $(HOST_SUBDIR)/itcl && \
18102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18104 "RANLIB=$${RANLIB}" \
18105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18106 pdf) \
18107 || exit 1
18109 @endif itcl
18111 .PHONY: maybe-html-itcl html-itcl
18112 maybe-html-itcl:
18113 @if itcl
18114 maybe-html-itcl: html-itcl
18116 html-itcl: \
18117 configure-itcl
18118 @: $(MAKE); $(unstage)
18119 @[ -f ./itcl/Makefile ] || exit 0; \
18120 r=`${PWD_COMMAND}`; export r; \
18121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18122 $(HOST_EXPORTS) \
18123 for flag in $(EXTRA_HOST_FLAGS) ; do \
18124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18125 done; \
18126 echo "Doing html in itcl" ; \
18127 (cd $(HOST_SUBDIR)/itcl && \
18128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18130 "RANLIB=$${RANLIB}" \
18131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18132 html) \
18133 || exit 1
18135 @endif itcl
18137 .PHONY: maybe-TAGS-itcl TAGS-itcl
18138 maybe-TAGS-itcl:
18139 @if itcl
18140 maybe-TAGS-itcl: TAGS-itcl
18142 TAGS-itcl: \
18143 configure-itcl
18144 @: $(MAKE); $(unstage)
18145 @[ -f ./itcl/Makefile ] || exit 0; \
18146 r=`${PWD_COMMAND}`; export r; \
18147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18148 $(HOST_EXPORTS) \
18149 for flag in $(EXTRA_HOST_FLAGS) ; do \
18150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18151 done; \
18152 echo "Doing TAGS in itcl" ; \
18153 (cd $(HOST_SUBDIR)/itcl && \
18154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18156 "RANLIB=$${RANLIB}" \
18157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18158 TAGS) \
18159 || exit 1
18161 @endif itcl
18163 .PHONY: maybe-install-info-itcl install-info-itcl
18164 maybe-install-info-itcl:
18165 @if itcl
18166 maybe-install-info-itcl: install-info-itcl
18168 install-info-itcl: \
18169 configure-itcl \
18170 info-itcl
18171 @: $(MAKE); $(unstage)
18172 @[ -f ./itcl/Makefile ] || exit 0; \
18173 r=`${PWD_COMMAND}`; export r; \
18174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18175 $(HOST_EXPORTS) \
18176 for flag in $(EXTRA_HOST_FLAGS) ; do \
18177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18178 done; \
18179 echo "Doing install-info in itcl" ; \
18180 (cd $(HOST_SUBDIR)/itcl && \
18181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18183 "RANLIB=$${RANLIB}" \
18184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18185 install-info) \
18186 || exit 1
18188 @endif itcl
18190 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
18191 maybe-install-pdf-itcl:
18192 @if itcl
18193 maybe-install-pdf-itcl: install-pdf-itcl
18195 install-pdf-itcl: \
18196 configure-itcl \
18197 pdf-itcl
18198 @: $(MAKE); $(unstage)
18199 @[ -f ./itcl/Makefile ] || exit 0; \
18200 r=`${PWD_COMMAND}`; export r; \
18201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18202 $(HOST_EXPORTS) \
18203 for flag in $(EXTRA_HOST_FLAGS) ; do \
18204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18205 done; \
18206 echo "Doing install-pdf in itcl" ; \
18207 (cd $(HOST_SUBDIR)/itcl && \
18208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18210 "RANLIB=$${RANLIB}" \
18211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18212 install-pdf) \
18213 || exit 1
18215 @endif itcl
18217 .PHONY: maybe-install-html-itcl install-html-itcl
18218 maybe-install-html-itcl:
18219 @if itcl
18220 maybe-install-html-itcl: install-html-itcl
18222 install-html-itcl: \
18223 configure-itcl \
18224 html-itcl
18225 @: $(MAKE); $(unstage)
18226 @[ -f ./itcl/Makefile ] || exit 0; \
18227 r=`${PWD_COMMAND}`; export r; \
18228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18229 $(HOST_EXPORTS) \
18230 for flag in $(EXTRA_HOST_FLAGS) ; do \
18231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18232 done; \
18233 echo "Doing install-html in itcl" ; \
18234 (cd $(HOST_SUBDIR)/itcl && \
18235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18237 "RANLIB=$${RANLIB}" \
18238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18239 install-html) \
18240 || exit 1
18242 @endif itcl
18244 .PHONY: maybe-installcheck-itcl installcheck-itcl
18245 maybe-installcheck-itcl:
18246 @if itcl
18247 maybe-installcheck-itcl: installcheck-itcl
18249 installcheck-itcl: \
18250 configure-itcl
18251 @: $(MAKE); $(unstage)
18252 @[ -f ./itcl/Makefile ] || exit 0; \
18253 r=`${PWD_COMMAND}`; export r; \
18254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18255 $(HOST_EXPORTS) \
18256 for flag in $(EXTRA_HOST_FLAGS) ; do \
18257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18258 done; \
18259 echo "Doing installcheck in itcl" ; \
18260 (cd $(HOST_SUBDIR)/itcl && \
18261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18263 "RANLIB=$${RANLIB}" \
18264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18265 installcheck) \
18266 || exit 1
18268 @endif itcl
18270 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
18271 maybe-mostlyclean-itcl:
18272 @if itcl
18273 maybe-mostlyclean-itcl: mostlyclean-itcl
18275 mostlyclean-itcl:
18276 @: $(MAKE); $(unstage)
18277 @[ -f ./itcl/Makefile ] || exit 0; \
18278 r=`${PWD_COMMAND}`; export r; \
18279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18280 $(HOST_EXPORTS) \
18281 for flag in $(EXTRA_HOST_FLAGS) ; do \
18282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18283 done; \
18284 echo "Doing mostlyclean in itcl" ; \
18285 (cd $(HOST_SUBDIR)/itcl && \
18286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18288 "RANLIB=$${RANLIB}" \
18289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18290 mostlyclean) \
18291 || exit 1
18293 @endif itcl
18295 .PHONY: maybe-clean-itcl clean-itcl
18296 maybe-clean-itcl:
18297 @if itcl
18298 maybe-clean-itcl: clean-itcl
18300 clean-itcl:
18301 @: $(MAKE); $(unstage)
18302 @[ -f ./itcl/Makefile ] || exit 0; \
18303 r=`${PWD_COMMAND}`; export r; \
18304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18305 $(HOST_EXPORTS) \
18306 for flag in $(EXTRA_HOST_FLAGS) ; do \
18307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18308 done; \
18309 echo "Doing clean in itcl" ; \
18310 (cd $(HOST_SUBDIR)/itcl && \
18311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18313 "RANLIB=$${RANLIB}" \
18314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18315 clean) \
18316 || exit 1
18318 @endif itcl
18320 .PHONY: maybe-distclean-itcl distclean-itcl
18321 maybe-distclean-itcl:
18322 @if itcl
18323 maybe-distclean-itcl: distclean-itcl
18325 distclean-itcl:
18326 @: $(MAKE); $(unstage)
18327 @[ -f ./itcl/Makefile ] || exit 0; \
18328 r=`${PWD_COMMAND}`; export r; \
18329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18330 $(HOST_EXPORTS) \
18331 for flag in $(EXTRA_HOST_FLAGS) ; do \
18332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18333 done; \
18334 echo "Doing distclean in itcl" ; \
18335 (cd $(HOST_SUBDIR)/itcl && \
18336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18338 "RANLIB=$${RANLIB}" \
18339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18340 distclean) \
18341 || exit 1
18343 @endif itcl
18345 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
18346 maybe-maintainer-clean-itcl:
18347 @if itcl
18348 maybe-maintainer-clean-itcl: maintainer-clean-itcl
18350 maintainer-clean-itcl:
18351 @: $(MAKE); $(unstage)
18352 @[ -f ./itcl/Makefile ] || exit 0; \
18353 r=`${PWD_COMMAND}`; export r; \
18354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18355 $(HOST_EXPORTS) \
18356 for flag in $(EXTRA_HOST_FLAGS) ; do \
18357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18358 done; \
18359 echo "Doing maintainer-clean in itcl" ; \
18360 (cd $(HOST_SUBDIR)/itcl && \
18361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18363 "RANLIB=$${RANLIB}" \
18364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18365 maintainer-clean) \
18366 || exit 1
18368 @endif itcl
18372 .PHONY: configure-ld maybe-configure-ld
18373 maybe-configure-ld:
18374 @if gcc-bootstrap
18375 configure-ld: stage_current
18376 @endif gcc-bootstrap
18377 @if ld
18378 maybe-configure-ld: configure-ld
18379 configure-ld:
18380 @r=`${PWD_COMMAND}`; export r; \
18381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18382 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18383 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18384 $(HOST_EXPORTS) \
18385 echo Configuring in $(HOST_SUBDIR)/ld; \
18386 cd "$(HOST_SUBDIR)/ld" || exit 1; \
18387 case $(srcdir) in \
18388 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18389 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18390 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18391 esac; \
18392 module_srcdir=ld; \
18393 $(SHELL) \
18394 $$s/$$module_srcdir/configure \
18395 --srcdir=$${topdir}/$$module_srcdir \
18396 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18397 --target=${target_alias} \
18398 || exit 1
18399 @endif ld
18403 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
18404 maybe-configure-stage1-ld:
18405 @if ld-bootstrap
18406 maybe-configure-stage1-ld: configure-stage1-ld
18407 configure-stage1-ld:
18408 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18409 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18410 @r=`${PWD_COMMAND}`; export r; \
18411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18412 TFLAGS="$(STAGE1_TFLAGS)"; \
18413 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18414 $(HOST_EXPORTS) \
18415 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18416 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18417 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18418 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
18419 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18420 cd $(HOST_SUBDIR)/ld || exit 1; \
18421 case $(srcdir) in \
18422 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18423 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18424 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18425 esac; \
18426 module_srcdir=ld; \
18427 $(SHELL) $$s/$$module_srcdir/configure \
18428 --srcdir=$${topdir}/$$module_srcdir \
18429 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18430 --target=${target_alias} \
18432 $(STAGE1_CONFIGURE_FLAGS)
18433 @endif ld-bootstrap
18435 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
18436 maybe-configure-stage2-ld:
18437 @if ld-bootstrap
18438 maybe-configure-stage2-ld: configure-stage2-ld
18439 configure-stage2-ld:
18440 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18441 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18442 @r=`${PWD_COMMAND}`; export r; \
18443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18444 TFLAGS="$(STAGE2_TFLAGS)"; \
18445 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18446 $(HOST_EXPORTS) \
18447 $(POSTSTAGE1_HOST_EXPORTS) \
18448 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18449 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18450 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18451 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
18452 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18453 cd $(HOST_SUBDIR)/ld || exit 1; \
18454 case $(srcdir) in \
18455 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18456 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18457 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18458 esac; \
18459 module_srcdir=ld; \
18460 $(SHELL) $$s/$$module_srcdir/configure \
18461 --srcdir=$${topdir}/$$module_srcdir \
18462 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18463 --target=${target_alias} \
18464 --with-build-libsubdir=$(HOST_SUBDIR) \
18465 $(STAGE2_CONFIGURE_FLAGS)
18466 @endif ld-bootstrap
18468 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
18469 maybe-configure-stage3-ld:
18470 @if ld-bootstrap
18471 maybe-configure-stage3-ld: configure-stage3-ld
18472 configure-stage3-ld:
18473 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18474 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18475 @r=`${PWD_COMMAND}`; export r; \
18476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18477 TFLAGS="$(STAGE3_TFLAGS)"; \
18478 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18479 $(HOST_EXPORTS) \
18480 $(POSTSTAGE1_HOST_EXPORTS) \
18481 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18482 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18483 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18484 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
18485 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18486 cd $(HOST_SUBDIR)/ld || exit 1; \
18487 case $(srcdir) in \
18488 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18489 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18490 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18491 esac; \
18492 module_srcdir=ld; \
18493 $(SHELL) $$s/$$module_srcdir/configure \
18494 --srcdir=$${topdir}/$$module_srcdir \
18495 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18496 --target=${target_alias} \
18497 --with-build-libsubdir=$(HOST_SUBDIR) \
18498 $(STAGE3_CONFIGURE_FLAGS)
18499 @endif ld-bootstrap
18501 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
18502 maybe-configure-stage4-ld:
18503 @if ld-bootstrap
18504 maybe-configure-stage4-ld: configure-stage4-ld
18505 configure-stage4-ld:
18506 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18507 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18508 @r=`${PWD_COMMAND}`; export r; \
18509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18510 TFLAGS="$(STAGE4_TFLAGS)"; \
18511 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18512 $(HOST_EXPORTS) \
18513 $(POSTSTAGE1_HOST_EXPORTS) \
18514 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18515 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18516 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18517 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
18518 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18519 cd $(HOST_SUBDIR)/ld || exit 1; \
18520 case $(srcdir) in \
18521 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18522 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18523 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18524 esac; \
18525 module_srcdir=ld; \
18526 $(SHELL) $$s/$$module_srcdir/configure \
18527 --srcdir=$${topdir}/$$module_srcdir \
18528 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18529 --target=${target_alias} \
18530 --with-build-libsubdir=$(HOST_SUBDIR) \
18531 $(STAGE4_CONFIGURE_FLAGS)
18532 @endif ld-bootstrap
18534 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
18535 maybe-configure-stageprofile-ld:
18536 @if ld-bootstrap
18537 maybe-configure-stageprofile-ld: configure-stageprofile-ld
18538 configure-stageprofile-ld:
18539 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18540 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18541 @r=`${PWD_COMMAND}`; export r; \
18542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18543 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18544 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18545 $(HOST_EXPORTS) \
18546 $(POSTSTAGE1_HOST_EXPORTS) \
18547 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18548 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18549 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18550 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
18551 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18552 cd $(HOST_SUBDIR)/ld || exit 1; \
18553 case $(srcdir) in \
18554 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18555 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18556 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18557 esac; \
18558 module_srcdir=ld; \
18559 $(SHELL) $$s/$$module_srcdir/configure \
18560 --srcdir=$${topdir}/$$module_srcdir \
18561 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18562 --target=${target_alias} \
18563 --with-build-libsubdir=$(HOST_SUBDIR) \
18564 $(STAGEprofile_CONFIGURE_FLAGS)
18565 @endif ld-bootstrap
18567 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
18568 maybe-configure-stagefeedback-ld:
18569 @if ld-bootstrap
18570 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
18571 configure-stagefeedback-ld:
18572 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18573 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18574 @r=`${PWD_COMMAND}`; export r; \
18575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18576 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18577 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18578 $(HOST_EXPORTS) \
18579 $(POSTSTAGE1_HOST_EXPORTS) \
18580 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18581 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18582 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18583 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
18584 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18585 cd $(HOST_SUBDIR)/ld || exit 1; \
18586 case $(srcdir) in \
18587 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18588 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18589 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18590 esac; \
18591 module_srcdir=ld; \
18592 $(SHELL) $$s/$$module_srcdir/configure \
18593 --srcdir=$${topdir}/$$module_srcdir \
18594 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18595 --target=${target_alias} \
18596 --with-build-libsubdir=$(HOST_SUBDIR) \
18597 $(STAGEfeedback_CONFIGURE_FLAGS)
18598 @endif ld-bootstrap
18604 .PHONY: all-ld maybe-all-ld
18605 maybe-all-ld:
18606 @if gcc-bootstrap
18607 all-ld: stage_current
18608 @endif gcc-bootstrap
18609 @if ld
18610 TARGET-ld=all
18611 maybe-all-ld: all-ld
18612 all-ld: configure-ld
18613 @r=`${PWD_COMMAND}`; export r; \
18614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18615 $(HOST_EXPORTS) \
18616 (cd $(HOST_SUBDIR)/ld && \
18617 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18618 $(TARGET-ld))
18619 @endif ld
18623 .PHONY: all-stage1-ld maybe-all-stage1-ld
18624 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
18625 maybe-all-stage1-ld:
18626 maybe-clean-stage1-ld:
18627 @if ld-bootstrap
18628 maybe-all-stage1-ld: all-stage1-ld
18629 all-stage1: all-stage1-ld
18630 TARGET-stage1-ld = $(TARGET-ld)
18631 all-stage1-ld: configure-stage1-ld
18632 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18633 @r=`${PWD_COMMAND}`; export r; \
18634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18635 TFLAGS="$(STAGE1_TFLAGS)"; \
18636 $(HOST_EXPORTS) \
18637 cd $(HOST_SUBDIR)/ld && \
18638 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18639 CFLAGS="$(STAGE1_CFLAGS)" \
18640 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18641 LIBCFLAGS="$(LIBCFLAGS)" \
18642 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18643 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18644 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18645 $(EXTRA_HOST_FLAGS) \
18646 $(STAGE1_FLAGS_TO_PASS) \
18647 TFLAGS="$(STAGE1_TFLAGS)" \
18648 $(TARGET-stage1-ld)
18650 maybe-clean-stage1-ld: clean-stage1-ld
18651 clean-stage1: clean-stage1-ld
18652 clean-stage1-ld:
18653 @if [ $(current_stage) = stage1 ]; then \
18654 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18655 else \
18656 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
18657 $(MAKE) stage1-start; \
18658 fi; \
18659 cd $(HOST_SUBDIR)/ld && \
18660 $(MAKE) $(EXTRA_HOST_FLAGS) \
18661 $(STAGE1_FLAGS_TO_PASS) clean
18662 @endif ld-bootstrap
18665 .PHONY: all-stage2-ld maybe-all-stage2-ld
18666 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
18667 maybe-all-stage2-ld:
18668 maybe-clean-stage2-ld:
18669 @if ld-bootstrap
18670 maybe-all-stage2-ld: all-stage2-ld
18671 all-stage2: all-stage2-ld
18672 TARGET-stage2-ld = $(TARGET-ld)
18673 all-stage2-ld: configure-stage2-ld
18674 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18675 @r=`${PWD_COMMAND}`; export r; \
18676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18677 TFLAGS="$(STAGE2_TFLAGS)"; \
18678 $(HOST_EXPORTS) \
18679 $(POSTSTAGE1_HOST_EXPORTS) \
18680 cd $(HOST_SUBDIR)/ld && \
18681 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18682 CFLAGS="$(STAGE2_CFLAGS)" \
18683 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18684 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18685 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18686 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18687 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18688 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18689 TFLAGS="$(STAGE2_TFLAGS)" \
18690 $(TARGET-stage2-ld)
18692 maybe-clean-stage2-ld: clean-stage2-ld
18693 clean-stage2: clean-stage2-ld
18694 clean-stage2-ld:
18695 @if [ $(current_stage) = stage2 ]; then \
18696 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18697 else \
18698 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
18699 $(MAKE) stage2-start; \
18700 fi; \
18701 cd $(HOST_SUBDIR)/ld && \
18702 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18703 @endif ld-bootstrap
18706 .PHONY: all-stage3-ld maybe-all-stage3-ld
18707 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
18708 maybe-all-stage3-ld:
18709 maybe-clean-stage3-ld:
18710 @if ld-bootstrap
18711 maybe-all-stage3-ld: all-stage3-ld
18712 all-stage3: all-stage3-ld
18713 TARGET-stage3-ld = $(TARGET-ld)
18714 all-stage3-ld: configure-stage3-ld
18715 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18716 @r=`${PWD_COMMAND}`; export r; \
18717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18718 TFLAGS="$(STAGE3_TFLAGS)"; \
18719 $(HOST_EXPORTS) \
18720 $(POSTSTAGE1_HOST_EXPORTS) \
18721 cd $(HOST_SUBDIR)/ld && \
18722 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18723 CFLAGS="$(STAGE3_CFLAGS)" \
18724 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
18725 LIBCFLAGS="$(STAGE3_CFLAGS)" \
18726 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18727 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18728 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18729 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18730 TFLAGS="$(STAGE3_TFLAGS)" \
18731 $(TARGET-stage3-ld)
18733 maybe-clean-stage3-ld: clean-stage3-ld
18734 clean-stage3: clean-stage3-ld
18735 clean-stage3-ld:
18736 @if [ $(current_stage) = stage3 ]; then \
18737 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18738 else \
18739 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
18740 $(MAKE) stage3-start; \
18741 fi; \
18742 cd $(HOST_SUBDIR)/ld && \
18743 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18744 @endif ld-bootstrap
18747 .PHONY: all-stage4-ld maybe-all-stage4-ld
18748 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
18749 maybe-all-stage4-ld:
18750 maybe-clean-stage4-ld:
18751 @if ld-bootstrap
18752 maybe-all-stage4-ld: all-stage4-ld
18753 all-stage4: all-stage4-ld
18754 TARGET-stage4-ld = $(TARGET-ld)
18755 all-stage4-ld: configure-stage4-ld
18756 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18757 @r=`${PWD_COMMAND}`; export r; \
18758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18759 TFLAGS="$(STAGE4_TFLAGS)"; \
18760 $(HOST_EXPORTS) \
18761 $(POSTSTAGE1_HOST_EXPORTS) \
18762 cd $(HOST_SUBDIR)/ld && \
18763 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18764 CFLAGS="$(STAGE4_CFLAGS)" \
18765 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
18766 LIBCFLAGS="$(STAGE4_CFLAGS)" \
18767 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18768 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18769 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18770 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18771 TFLAGS="$(STAGE4_TFLAGS)" \
18772 $(TARGET-stage4-ld)
18774 maybe-clean-stage4-ld: clean-stage4-ld
18775 clean-stage4: clean-stage4-ld
18776 clean-stage4-ld:
18777 @if [ $(current_stage) = stage4 ]; then \
18778 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18779 else \
18780 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
18781 $(MAKE) stage4-start; \
18782 fi; \
18783 cd $(HOST_SUBDIR)/ld && \
18784 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18785 @endif ld-bootstrap
18788 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
18789 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
18790 maybe-all-stageprofile-ld:
18791 maybe-clean-stageprofile-ld:
18792 @if ld-bootstrap
18793 maybe-all-stageprofile-ld: all-stageprofile-ld
18794 all-stageprofile: all-stageprofile-ld
18795 TARGET-stageprofile-ld = $(TARGET-ld)
18796 all-stageprofile-ld: configure-stageprofile-ld
18797 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18798 @r=`${PWD_COMMAND}`; export r; \
18799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18800 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18801 $(HOST_EXPORTS) \
18802 $(POSTSTAGE1_HOST_EXPORTS) \
18803 cd $(HOST_SUBDIR)/ld && \
18804 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18805 CFLAGS="$(STAGEprofile_CFLAGS)" \
18806 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
18807 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
18808 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18809 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18810 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18811 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18812 TFLAGS="$(STAGEprofile_TFLAGS)" \
18813 $(TARGET-stageprofile-ld)
18815 maybe-clean-stageprofile-ld: clean-stageprofile-ld
18816 clean-stageprofile: clean-stageprofile-ld
18817 clean-stageprofile-ld:
18818 @if [ $(current_stage) = stageprofile ]; then \
18819 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18820 else \
18821 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
18822 $(MAKE) stageprofile-start; \
18823 fi; \
18824 cd $(HOST_SUBDIR)/ld && \
18825 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18826 @endif ld-bootstrap
18829 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
18830 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
18831 maybe-all-stagefeedback-ld:
18832 maybe-clean-stagefeedback-ld:
18833 @if ld-bootstrap
18834 maybe-all-stagefeedback-ld: all-stagefeedback-ld
18835 all-stagefeedback: all-stagefeedback-ld
18836 TARGET-stagefeedback-ld = $(TARGET-ld)
18837 all-stagefeedback-ld: configure-stagefeedback-ld
18838 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18839 @r=`${PWD_COMMAND}`; export r; \
18840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18841 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18842 $(HOST_EXPORTS) \
18843 $(POSTSTAGE1_HOST_EXPORTS) \
18844 cd $(HOST_SUBDIR)/ld && \
18845 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18846 CFLAGS="$(STAGEfeedback_CFLAGS)" \
18847 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
18848 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
18849 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18850 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18851 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18852 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18853 TFLAGS="$(STAGEfeedback_TFLAGS)" \
18854 $(TARGET-stagefeedback-ld)
18856 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
18857 clean-stagefeedback: clean-stagefeedback-ld
18858 clean-stagefeedback-ld:
18859 @if [ $(current_stage) = stagefeedback ]; then \
18860 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18861 else \
18862 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
18863 $(MAKE) stagefeedback-start; \
18864 fi; \
18865 cd $(HOST_SUBDIR)/ld && \
18866 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18867 @endif ld-bootstrap
18873 .PHONY: check-ld maybe-check-ld
18874 maybe-check-ld:
18875 @if ld
18876 maybe-check-ld: check-ld
18878 check-ld:
18879 @: $(MAKE); $(unstage)
18880 @r=`${PWD_COMMAND}`; export r; \
18881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18882 $(HOST_EXPORTS) \
18883 (cd $(HOST_SUBDIR)/ld && \
18884 $(MAKE) $(FLAGS_TO_PASS) check)
18886 @endif ld
18888 .PHONY: install-ld maybe-install-ld
18889 maybe-install-ld:
18890 @if ld
18891 maybe-install-ld: install-ld
18893 install-ld: installdirs
18894 @: $(MAKE); $(unstage)
18895 @r=`${PWD_COMMAND}`; export r; \
18896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18897 $(HOST_EXPORTS) \
18898 (cd $(HOST_SUBDIR)/ld && \
18899 $(MAKE) $(FLAGS_TO_PASS) install)
18901 @endif ld
18903 .PHONY: install-strip-ld maybe-install-strip-ld
18904 maybe-install-strip-ld:
18905 @if ld
18906 maybe-install-strip-ld: install-strip-ld
18908 install-strip-ld: installdirs
18909 @: $(MAKE); $(unstage)
18910 @r=`${PWD_COMMAND}`; export r; \
18911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18912 $(HOST_EXPORTS) \
18913 (cd $(HOST_SUBDIR)/ld && \
18914 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18916 @endif ld
18918 # Other targets (info, dvi, pdf, etc.)
18920 .PHONY: maybe-info-ld info-ld
18921 maybe-info-ld:
18922 @if ld
18923 maybe-info-ld: info-ld
18925 info-ld: \
18926 configure-ld
18927 @[ -f ./ld/Makefile ] || exit 0; \
18928 r=`${PWD_COMMAND}`; export r; \
18929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18930 $(HOST_EXPORTS) \
18931 for flag in $(EXTRA_HOST_FLAGS) ; do \
18932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18933 done; \
18934 echo "Doing info in ld" ; \
18935 (cd $(HOST_SUBDIR)/ld && \
18936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18938 "RANLIB=$${RANLIB}" \
18939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18940 info) \
18941 || exit 1
18943 @endif ld
18945 .PHONY: maybe-dvi-ld dvi-ld
18946 maybe-dvi-ld:
18947 @if ld
18948 maybe-dvi-ld: dvi-ld
18950 dvi-ld: \
18951 configure-ld
18952 @[ -f ./ld/Makefile ] || exit 0; \
18953 r=`${PWD_COMMAND}`; export r; \
18954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18955 $(HOST_EXPORTS) \
18956 for flag in $(EXTRA_HOST_FLAGS) ; do \
18957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18958 done; \
18959 echo "Doing dvi in ld" ; \
18960 (cd $(HOST_SUBDIR)/ld && \
18961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18963 "RANLIB=$${RANLIB}" \
18964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18965 dvi) \
18966 || exit 1
18968 @endif ld
18970 .PHONY: maybe-pdf-ld pdf-ld
18971 maybe-pdf-ld:
18972 @if ld
18973 maybe-pdf-ld: pdf-ld
18975 pdf-ld: \
18976 configure-ld
18977 @[ -f ./ld/Makefile ] || exit 0; \
18978 r=`${PWD_COMMAND}`; export r; \
18979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18980 $(HOST_EXPORTS) \
18981 for flag in $(EXTRA_HOST_FLAGS) ; do \
18982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18983 done; \
18984 echo "Doing pdf in ld" ; \
18985 (cd $(HOST_SUBDIR)/ld && \
18986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18988 "RANLIB=$${RANLIB}" \
18989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18990 pdf) \
18991 || exit 1
18993 @endif ld
18995 .PHONY: maybe-html-ld html-ld
18996 maybe-html-ld:
18997 @if ld
18998 maybe-html-ld: html-ld
19000 html-ld: \
19001 configure-ld
19002 @[ -f ./ld/Makefile ] || exit 0; \
19003 r=`${PWD_COMMAND}`; export r; \
19004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19005 $(HOST_EXPORTS) \
19006 for flag in $(EXTRA_HOST_FLAGS) ; do \
19007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19008 done; \
19009 echo "Doing html in ld" ; \
19010 (cd $(HOST_SUBDIR)/ld && \
19011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19013 "RANLIB=$${RANLIB}" \
19014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19015 html) \
19016 || exit 1
19018 @endif ld
19020 .PHONY: maybe-TAGS-ld TAGS-ld
19021 maybe-TAGS-ld:
19022 @if ld
19023 maybe-TAGS-ld: TAGS-ld
19025 TAGS-ld: \
19026 configure-ld
19027 @[ -f ./ld/Makefile ] || exit 0; \
19028 r=`${PWD_COMMAND}`; export r; \
19029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19030 $(HOST_EXPORTS) \
19031 for flag in $(EXTRA_HOST_FLAGS) ; do \
19032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19033 done; \
19034 echo "Doing TAGS in ld" ; \
19035 (cd $(HOST_SUBDIR)/ld && \
19036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19038 "RANLIB=$${RANLIB}" \
19039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19040 TAGS) \
19041 || exit 1
19043 @endif ld
19045 .PHONY: maybe-install-info-ld install-info-ld
19046 maybe-install-info-ld:
19047 @if ld
19048 maybe-install-info-ld: install-info-ld
19050 install-info-ld: \
19051 configure-ld \
19052 info-ld
19053 @[ -f ./ld/Makefile ] || exit 0; \
19054 r=`${PWD_COMMAND}`; export r; \
19055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19056 $(HOST_EXPORTS) \
19057 for flag in $(EXTRA_HOST_FLAGS) ; do \
19058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19059 done; \
19060 echo "Doing install-info in ld" ; \
19061 (cd $(HOST_SUBDIR)/ld && \
19062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19064 "RANLIB=$${RANLIB}" \
19065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19066 install-info) \
19067 || exit 1
19069 @endif ld
19071 .PHONY: maybe-install-pdf-ld install-pdf-ld
19072 maybe-install-pdf-ld:
19073 @if ld
19074 maybe-install-pdf-ld: install-pdf-ld
19076 install-pdf-ld: \
19077 configure-ld \
19078 pdf-ld
19079 @[ -f ./ld/Makefile ] || exit 0; \
19080 r=`${PWD_COMMAND}`; export r; \
19081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19082 $(HOST_EXPORTS) \
19083 for flag in $(EXTRA_HOST_FLAGS) ; do \
19084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19085 done; \
19086 echo "Doing install-pdf in ld" ; \
19087 (cd $(HOST_SUBDIR)/ld && \
19088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19090 "RANLIB=$${RANLIB}" \
19091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19092 install-pdf) \
19093 || exit 1
19095 @endif ld
19097 .PHONY: maybe-install-html-ld install-html-ld
19098 maybe-install-html-ld:
19099 @if ld
19100 maybe-install-html-ld: install-html-ld
19102 install-html-ld: \
19103 configure-ld \
19104 html-ld
19105 @[ -f ./ld/Makefile ] || exit 0; \
19106 r=`${PWD_COMMAND}`; export r; \
19107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19108 $(HOST_EXPORTS) \
19109 for flag in $(EXTRA_HOST_FLAGS) ; do \
19110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19111 done; \
19112 echo "Doing install-html in ld" ; \
19113 (cd $(HOST_SUBDIR)/ld && \
19114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19116 "RANLIB=$${RANLIB}" \
19117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19118 install-html) \
19119 || exit 1
19121 @endif ld
19123 .PHONY: maybe-installcheck-ld installcheck-ld
19124 maybe-installcheck-ld:
19125 @if ld
19126 maybe-installcheck-ld: installcheck-ld
19128 installcheck-ld: \
19129 configure-ld
19130 @[ -f ./ld/Makefile ] || exit 0; \
19131 r=`${PWD_COMMAND}`; export r; \
19132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19133 $(HOST_EXPORTS) \
19134 for flag in $(EXTRA_HOST_FLAGS) ; do \
19135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19136 done; \
19137 echo "Doing installcheck in ld" ; \
19138 (cd $(HOST_SUBDIR)/ld && \
19139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19141 "RANLIB=$${RANLIB}" \
19142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19143 installcheck) \
19144 || exit 1
19146 @endif ld
19148 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
19149 maybe-mostlyclean-ld:
19150 @if ld
19151 maybe-mostlyclean-ld: mostlyclean-ld
19153 mostlyclean-ld:
19154 @[ -f ./ld/Makefile ] || exit 0; \
19155 r=`${PWD_COMMAND}`; export r; \
19156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19157 $(HOST_EXPORTS) \
19158 for flag in $(EXTRA_HOST_FLAGS) ; do \
19159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19160 done; \
19161 echo "Doing mostlyclean in ld" ; \
19162 (cd $(HOST_SUBDIR)/ld && \
19163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19165 "RANLIB=$${RANLIB}" \
19166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19167 mostlyclean) \
19168 || exit 1
19170 @endif ld
19172 .PHONY: maybe-clean-ld clean-ld
19173 maybe-clean-ld:
19174 @if ld
19175 maybe-clean-ld: clean-ld
19177 clean-ld:
19178 @[ -f ./ld/Makefile ] || exit 0; \
19179 r=`${PWD_COMMAND}`; export r; \
19180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19181 $(HOST_EXPORTS) \
19182 for flag in $(EXTRA_HOST_FLAGS) ; do \
19183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19184 done; \
19185 echo "Doing clean in ld" ; \
19186 (cd $(HOST_SUBDIR)/ld && \
19187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19189 "RANLIB=$${RANLIB}" \
19190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19191 clean) \
19192 || exit 1
19194 @endif ld
19196 .PHONY: maybe-distclean-ld distclean-ld
19197 maybe-distclean-ld:
19198 @if ld
19199 maybe-distclean-ld: distclean-ld
19201 distclean-ld:
19202 @[ -f ./ld/Makefile ] || exit 0; \
19203 r=`${PWD_COMMAND}`; export r; \
19204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19205 $(HOST_EXPORTS) \
19206 for flag in $(EXTRA_HOST_FLAGS) ; do \
19207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19208 done; \
19209 echo "Doing distclean in ld" ; \
19210 (cd $(HOST_SUBDIR)/ld && \
19211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19213 "RANLIB=$${RANLIB}" \
19214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19215 distclean) \
19216 || exit 1
19218 @endif ld
19220 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
19221 maybe-maintainer-clean-ld:
19222 @if ld
19223 maybe-maintainer-clean-ld: maintainer-clean-ld
19225 maintainer-clean-ld:
19226 @[ -f ./ld/Makefile ] || exit 0; \
19227 r=`${PWD_COMMAND}`; export r; \
19228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19229 $(HOST_EXPORTS) \
19230 for flag in $(EXTRA_HOST_FLAGS) ; do \
19231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19232 done; \
19233 echo "Doing maintainer-clean in ld" ; \
19234 (cd $(HOST_SUBDIR)/ld && \
19235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19237 "RANLIB=$${RANLIB}" \
19238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19239 maintainer-clean) \
19240 || exit 1
19242 @endif ld
19246 .PHONY: configure-libbacktrace maybe-configure-libbacktrace
19247 maybe-configure-libbacktrace:
19248 @if gcc-bootstrap
19249 configure-libbacktrace: stage_current
19250 @endif gcc-bootstrap
19251 @if libbacktrace
19252 maybe-configure-libbacktrace: configure-libbacktrace
19253 configure-libbacktrace:
19254 @r=`${PWD_COMMAND}`; export r; \
19255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19256 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19257 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19258 $(HOST_EXPORTS) \
19259 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
19260 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
19261 case $(srcdir) in \
19262 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19263 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19264 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19265 esac; \
19266 module_srcdir=libbacktrace; \
19267 $(SHELL) \
19268 $$s/$$module_srcdir/configure \
19269 --srcdir=$${topdir}/$$module_srcdir \
19270 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19271 --target=${target_alias} \
19272 || exit 1
19273 @endif libbacktrace
19277 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
19278 maybe-configure-stage1-libbacktrace:
19279 @if libbacktrace-bootstrap
19280 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
19281 configure-stage1-libbacktrace:
19282 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19283 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19284 @r=`${PWD_COMMAND}`; export r; \
19285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19286 TFLAGS="$(STAGE1_TFLAGS)"; \
19287 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19288 $(HOST_EXPORTS) \
19289 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19290 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19291 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19292 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace ; \
19293 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19294 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19295 case $(srcdir) in \
19296 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19297 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19298 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19299 esac; \
19300 module_srcdir=libbacktrace; \
19301 $(SHELL) $$s/$$module_srcdir/configure \
19302 --srcdir=$${topdir}/$$module_srcdir \
19303 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19304 --target=${target_alias} \
19306 $(STAGE1_CONFIGURE_FLAGS)
19307 @endif libbacktrace-bootstrap
19309 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
19310 maybe-configure-stage2-libbacktrace:
19311 @if libbacktrace-bootstrap
19312 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
19313 configure-stage2-libbacktrace:
19314 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19315 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19316 @r=`${PWD_COMMAND}`; export r; \
19317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19318 TFLAGS="$(STAGE2_TFLAGS)"; \
19319 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19320 $(HOST_EXPORTS) \
19321 $(POSTSTAGE1_HOST_EXPORTS) \
19322 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19323 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19324 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19325 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace ; \
19326 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19327 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19328 case $(srcdir) in \
19329 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19330 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19331 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19332 esac; \
19333 module_srcdir=libbacktrace; \
19334 $(SHELL) $$s/$$module_srcdir/configure \
19335 --srcdir=$${topdir}/$$module_srcdir \
19336 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19337 --target=${target_alias} \
19338 --with-build-libsubdir=$(HOST_SUBDIR) \
19339 $(STAGE2_CONFIGURE_FLAGS)
19340 @endif libbacktrace-bootstrap
19342 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
19343 maybe-configure-stage3-libbacktrace:
19344 @if libbacktrace-bootstrap
19345 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
19346 configure-stage3-libbacktrace:
19347 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19348 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19349 @r=`${PWD_COMMAND}`; export r; \
19350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19351 TFLAGS="$(STAGE3_TFLAGS)"; \
19352 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19353 $(HOST_EXPORTS) \
19354 $(POSTSTAGE1_HOST_EXPORTS) \
19355 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19356 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19357 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19358 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace ; \
19359 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19360 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19361 case $(srcdir) in \
19362 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19363 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19364 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19365 esac; \
19366 module_srcdir=libbacktrace; \
19367 $(SHELL) $$s/$$module_srcdir/configure \
19368 --srcdir=$${topdir}/$$module_srcdir \
19369 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19370 --target=${target_alias} \
19371 --with-build-libsubdir=$(HOST_SUBDIR) \
19372 $(STAGE3_CONFIGURE_FLAGS)
19373 @endif libbacktrace-bootstrap
19375 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
19376 maybe-configure-stage4-libbacktrace:
19377 @if libbacktrace-bootstrap
19378 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
19379 configure-stage4-libbacktrace:
19380 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19381 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19382 @r=`${PWD_COMMAND}`; export r; \
19383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19384 TFLAGS="$(STAGE4_TFLAGS)"; \
19385 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19386 $(HOST_EXPORTS) \
19387 $(POSTSTAGE1_HOST_EXPORTS) \
19388 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19389 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19390 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19391 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace ; \
19392 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19393 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19394 case $(srcdir) in \
19395 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19396 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19397 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19398 esac; \
19399 module_srcdir=libbacktrace; \
19400 $(SHELL) $$s/$$module_srcdir/configure \
19401 --srcdir=$${topdir}/$$module_srcdir \
19402 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19403 --target=${target_alias} \
19404 --with-build-libsubdir=$(HOST_SUBDIR) \
19405 $(STAGE4_CONFIGURE_FLAGS)
19406 @endif libbacktrace-bootstrap
19408 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
19409 maybe-configure-stageprofile-libbacktrace:
19410 @if libbacktrace-bootstrap
19411 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
19412 configure-stageprofile-libbacktrace:
19413 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19414 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19415 @r=`${PWD_COMMAND}`; export r; \
19416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19417 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19418 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19419 $(HOST_EXPORTS) \
19420 $(POSTSTAGE1_HOST_EXPORTS) \
19421 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19422 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19423 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19424 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace ; \
19425 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19426 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19427 case $(srcdir) in \
19428 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19429 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19430 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19431 esac; \
19432 module_srcdir=libbacktrace; \
19433 $(SHELL) $$s/$$module_srcdir/configure \
19434 --srcdir=$${topdir}/$$module_srcdir \
19435 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19436 --target=${target_alias} \
19437 --with-build-libsubdir=$(HOST_SUBDIR) \
19438 $(STAGEprofile_CONFIGURE_FLAGS)
19439 @endif libbacktrace-bootstrap
19441 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
19442 maybe-configure-stagefeedback-libbacktrace:
19443 @if libbacktrace-bootstrap
19444 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
19445 configure-stagefeedback-libbacktrace:
19446 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19447 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19448 @r=`${PWD_COMMAND}`; export r; \
19449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19450 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19451 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19452 $(HOST_EXPORTS) \
19453 $(POSTSTAGE1_HOST_EXPORTS) \
19454 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19455 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19456 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19457 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace ; \
19458 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19459 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19460 case $(srcdir) in \
19461 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19462 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19463 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19464 esac; \
19465 module_srcdir=libbacktrace; \
19466 $(SHELL) $$s/$$module_srcdir/configure \
19467 --srcdir=$${topdir}/$$module_srcdir \
19468 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19469 --target=${target_alias} \
19470 --with-build-libsubdir=$(HOST_SUBDIR) \
19471 $(STAGEfeedback_CONFIGURE_FLAGS)
19472 @endif libbacktrace-bootstrap
19478 .PHONY: all-libbacktrace maybe-all-libbacktrace
19479 maybe-all-libbacktrace:
19480 @if gcc-bootstrap
19481 all-libbacktrace: stage_current
19482 @endif gcc-bootstrap
19483 @if libbacktrace
19484 TARGET-libbacktrace=all
19485 maybe-all-libbacktrace: all-libbacktrace
19486 all-libbacktrace: configure-libbacktrace
19487 @r=`${PWD_COMMAND}`; export r; \
19488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19489 $(HOST_EXPORTS) \
19490 (cd $(HOST_SUBDIR)/libbacktrace && \
19491 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19492 $(TARGET-libbacktrace))
19493 @endif libbacktrace
19497 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
19498 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
19499 maybe-all-stage1-libbacktrace:
19500 maybe-clean-stage1-libbacktrace:
19501 @if libbacktrace-bootstrap
19502 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
19503 all-stage1: all-stage1-libbacktrace
19504 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
19505 all-stage1-libbacktrace: configure-stage1-libbacktrace
19506 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19507 @r=`${PWD_COMMAND}`; export r; \
19508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19509 TFLAGS="$(STAGE1_TFLAGS)"; \
19510 $(HOST_EXPORTS) \
19511 cd $(HOST_SUBDIR)/libbacktrace && \
19512 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19513 CFLAGS="$(STAGE1_CFLAGS)" \
19514 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19515 LIBCFLAGS="$(LIBCFLAGS)" \
19516 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19517 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19518 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19519 $(EXTRA_HOST_FLAGS) \
19520 $(STAGE1_FLAGS_TO_PASS) \
19521 TFLAGS="$(STAGE1_TFLAGS)" \
19522 $(TARGET-stage1-libbacktrace)
19524 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
19525 clean-stage1: clean-stage1-libbacktrace
19526 clean-stage1-libbacktrace:
19527 @if [ $(current_stage) = stage1 ]; then \
19528 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19529 else \
19530 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
19531 $(MAKE) stage1-start; \
19532 fi; \
19533 cd $(HOST_SUBDIR)/libbacktrace && \
19534 $(MAKE) $(EXTRA_HOST_FLAGS) \
19535 $(STAGE1_FLAGS_TO_PASS) clean
19536 @endif libbacktrace-bootstrap
19539 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
19540 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
19541 maybe-all-stage2-libbacktrace:
19542 maybe-clean-stage2-libbacktrace:
19543 @if libbacktrace-bootstrap
19544 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
19545 all-stage2: all-stage2-libbacktrace
19546 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
19547 all-stage2-libbacktrace: configure-stage2-libbacktrace
19548 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19549 @r=`${PWD_COMMAND}`; export r; \
19550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19551 TFLAGS="$(STAGE2_TFLAGS)"; \
19552 $(HOST_EXPORTS) \
19553 $(POSTSTAGE1_HOST_EXPORTS) \
19554 cd $(HOST_SUBDIR)/libbacktrace && \
19555 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19556 CFLAGS="$(STAGE2_CFLAGS)" \
19557 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19558 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19559 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19560 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19561 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19562 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19563 TFLAGS="$(STAGE2_TFLAGS)" \
19564 $(TARGET-stage2-libbacktrace)
19566 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
19567 clean-stage2: clean-stage2-libbacktrace
19568 clean-stage2-libbacktrace:
19569 @if [ $(current_stage) = stage2 ]; then \
19570 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19571 else \
19572 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
19573 $(MAKE) stage2-start; \
19574 fi; \
19575 cd $(HOST_SUBDIR)/libbacktrace && \
19576 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19577 @endif libbacktrace-bootstrap
19580 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
19581 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
19582 maybe-all-stage3-libbacktrace:
19583 maybe-clean-stage3-libbacktrace:
19584 @if libbacktrace-bootstrap
19585 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
19586 all-stage3: all-stage3-libbacktrace
19587 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
19588 all-stage3-libbacktrace: configure-stage3-libbacktrace
19589 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19590 @r=`${PWD_COMMAND}`; export r; \
19591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19592 TFLAGS="$(STAGE3_TFLAGS)"; \
19593 $(HOST_EXPORTS) \
19594 $(POSTSTAGE1_HOST_EXPORTS) \
19595 cd $(HOST_SUBDIR)/libbacktrace && \
19596 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19597 CFLAGS="$(STAGE3_CFLAGS)" \
19598 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19599 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19600 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19601 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19602 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19603 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19604 TFLAGS="$(STAGE3_TFLAGS)" \
19605 $(TARGET-stage3-libbacktrace)
19607 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
19608 clean-stage3: clean-stage3-libbacktrace
19609 clean-stage3-libbacktrace:
19610 @if [ $(current_stage) = stage3 ]; then \
19611 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19612 else \
19613 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
19614 $(MAKE) stage3-start; \
19615 fi; \
19616 cd $(HOST_SUBDIR)/libbacktrace && \
19617 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19618 @endif libbacktrace-bootstrap
19621 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
19622 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
19623 maybe-all-stage4-libbacktrace:
19624 maybe-clean-stage4-libbacktrace:
19625 @if libbacktrace-bootstrap
19626 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
19627 all-stage4: all-stage4-libbacktrace
19628 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
19629 all-stage4-libbacktrace: configure-stage4-libbacktrace
19630 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19631 @r=`${PWD_COMMAND}`; export r; \
19632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19633 TFLAGS="$(STAGE4_TFLAGS)"; \
19634 $(HOST_EXPORTS) \
19635 $(POSTSTAGE1_HOST_EXPORTS) \
19636 cd $(HOST_SUBDIR)/libbacktrace && \
19637 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19638 CFLAGS="$(STAGE4_CFLAGS)" \
19639 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19640 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19641 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19642 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19643 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19644 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19645 TFLAGS="$(STAGE4_TFLAGS)" \
19646 $(TARGET-stage4-libbacktrace)
19648 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
19649 clean-stage4: clean-stage4-libbacktrace
19650 clean-stage4-libbacktrace:
19651 @if [ $(current_stage) = stage4 ]; then \
19652 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19653 else \
19654 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
19655 $(MAKE) stage4-start; \
19656 fi; \
19657 cd $(HOST_SUBDIR)/libbacktrace && \
19658 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19659 @endif libbacktrace-bootstrap
19662 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
19663 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
19664 maybe-all-stageprofile-libbacktrace:
19665 maybe-clean-stageprofile-libbacktrace:
19666 @if libbacktrace-bootstrap
19667 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
19668 all-stageprofile: all-stageprofile-libbacktrace
19669 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
19670 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
19671 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19672 @r=`${PWD_COMMAND}`; export r; \
19673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19674 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19675 $(HOST_EXPORTS) \
19676 $(POSTSTAGE1_HOST_EXPORTS) \
19677 cd $(HOST_SUBDIR)/libbacktrace && \
19678 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19679 CFLAGS="$(STAGEprofile_CFLAGS)" \
19680 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19681 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19682 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19683 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19684 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19685 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19686 TFLAGS="$(STAGEprofile_TFLAGS)" \
19687 $(TARGET-stageprofile-libbacktrace)
19689 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
19690 clean-stageprofile: clean-stageprofile-libbacktrace
19691 clean-stageprofile-libbacktrace:
19692 @if [ $(current_stage) = stageprofile ]; then \
19693 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19694 else \
19695 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
19696 $(MAKE) stageprofile-start; \
19697 fi; \
19698 cd $(HOST_SUBDIR)/libbacktrace && \
19699 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19700 @endif libbacktrace-bootstrap
19703 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
19704 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
19705 maybe-all-stagefeedback-libbacktrace:
19706 maybe-clean-stagefeedback-libbacktrace:
19707 @if libbacktrace-bootstrap
19708 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
19709 all-stagefeedback: all-stagefeedback-libbacktrace
19710 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
19711 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
19712 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19713 @r=`${PWD_COMMAND}`; export r; \
19714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19715 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19716 $(HOST_EXPORTS) \
19717 $(POSTSTAGE1_HOST_EXPORTS) \
19718 cd $(HOST_SUBDIR)/libbacktrace && \
19719 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19720 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19721 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19722 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19723 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19724 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19725 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19726 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19727 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19728 $(TARGET-stagefeedback-libbacktrace)
19730 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
19731 clean-stagefeedback: clean-stagefeedback-libbacktrace
19732 clean-stagefeedback-libbacktrace:
19733 @if [ $(current_stage) = stagefeedback ]; then \
19734 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19735 else \
19736 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
19737 $(MAKE) stagefeedback-start; \
19738 fi; \
19739 cd $(HOST_SUBDIR)/libbacktrace && \
19740 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19741 @endif libbacktrace-bootstrap
19747 .PHONY: check-libbacktrace maybe-check-libbacktrace
19748 maybe-check-libbacktrace:
19749 @if libbacktrace
19750 maybe-check-libbacktrace: check-libbacktrace
19752 check-libbacktrace:
19753 @: $(MAKE); $(unstage)
19754 @r=`${PWD_COMMAND}`; export r; \
19755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19756 $(HOST_EXPORTS) \
19757 (cd $(HOST_SUBDIR)/libbacktrace && \
19758 $(MAKE) $(FLAGS_TO_PASS) check)
19760 @endif libbacktrace
19762 .PHONY: install-libbacktrace maybe-install-libbacktrace
19763 maybe-install-libbacktrace:
19764 @if libbacktrace
19765 maybe-install-libbacktrace: install-libbacktrace
19767 install-libbacktrace: installdirs
19768 @: $(MAKE); $(unstage)
19769 @r=`${PWD_COMMAND}`; export r; \
19770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19771 $(HOST_EXPORTS) \
19772 (cd $(HOST_SUBDIR)/libbacktrace && \
19773 $(MAKE) $(FLAGS_TO_PASS) install)
19775 @endif libbacktrace
19777 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
19778 maybe-install-strip-libbacktrace:
19779 @if libbacktrace
19780 maybe-install-strip-libbacktrace: install-strip-libbacktrace
19782 install-strip-libbacktrace: installdirs
19783 @: $(MAKE); $(unstage)
19784 @r=`${PWD_COMMAND}`; export r; \
19785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19786 $(HOST_EXPORTS) \
19787 (cd $(HOST_SUBDIR)/libbacktrace && \
19788 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19790 @endif libbacktrace
19792 # Other targets (info, dvi, pdf, etc.)
19794 .PHONY: maybe-info-libbacktrace info-libbacktrace
19795 maybe-info-libbacktrace:
19796 @if libbacktrace
19797 maybe-info-libbacktrace: info-libbacktrace
19799 info-libbacktrace: \
19800 configure-libbacktrace
19801 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19802 r=`${PWD_COMMAND}`; export r; \
19803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19804 $(HOST_EXPORTS) \
19805 for flag in $(EXTRA_HOST_FLAGS) ; do \
19806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19807 done; \
19808 echo "Doing info in libbacktrace" ; \
19809 (cd $(HOST_SUBDIR)/libbacktrace && \
19810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19812 "RANLIB=$${RANLIB}" \
19813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19814 info) \
19815 || exit 1
19817 @endif libbacktrace
19819 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
19820 maybe-dvi-libbacktrace:
19821 @if libbacktrace
19822 maybe-dvi-libbacktrace: dvi-libbacktrace
19824 dvi-libbacktrace: \
19825 configure-libbacktrace
19826 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19827 r=`${PWD_COMMAND}`; export r; \
19828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19829 $(HOST_EXPORTS) \
19830 for flag in $(EXTRA_HOST_FLAGS) ; do \
19831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19832 done; \
19833 echo "Doing dvi in libbacktrace" ; \
19834 (cd $(HOST_SUBDIR)/libbacktrace && \
19835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19837 "RANLIB=$${RANLIB}" \
19838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19839 dvi) \
19840 || exit 1
19842 @endif libbacktrace
19844 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
19845 maybe-pdf-libbacktrace:
19846 @if libbacktrace
19847 maybe-pdf-libbacktrace: pdf-libbacktrace
19849 pdf-libbacktrace: \
19850 configure-libbacktrace
19851 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19852 r=`${PWD_COMMAND}`; export r; \
19853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19854 $(HOST_EXPORTS) \
19855 for flag in $(EXTRA_HOST_FLAGS) ; do \
19856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19857 done; \
19858 echo "Doing pdf in libbacktrace" ; \
19859 (cd $(HOST_SUBDIR)/libbacktrace && \
19860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19862 "RANLIB=$${RANLIB}" \
19863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19864 pdf) \
19865 || exit 1
19867 @endif libbacktrace
19869 .PHONY: maybe-html-libbacktrace html-libbacktrace
19870 maybe-html-libbacktrace:
19871 @if libbacktrace
19872 maybe-html-libbacktrace: html-libbacktrace
19874 html-libbacktrace: \
19875 configure-libbacktrace
19876 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19877 r=`${PWD_COMMAND}`; export r; \
19878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19879 $(HOST_EXPORTS) \
19880 for flag in $(EXTRA_HOST_FLAGS) ; do \
19881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19882 done; \
19883 echo "Doing html in libbacktrace" ; \
19884 (cd $(HOST_SUBDIR)/libbacktrace && \
19885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19887 "RANLIB=$${RANLIB}" \
19888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19889 html) \
19890 || exit 1
19892 @endif libbacktrace
19894 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
19895 maybe-TAGS-libbacktrace:
19896 @if libbacktrace
19897 maybe-TAGS-libbacktrace: TAGS-libbacktrace
19899 TAGS-libbacktrace: \
19900 configure-libbacktrace
19901 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19902 r=`${PWD_COMMAND}`; export r; \
19903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19904 $(HOST_EXPORTS) \
19905 for flag in $(EXTRA_HOST_FLAGS) ; do \
19906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19907 done; \
19908 echo "Doing TAGS in libbacktrace" ; \
19909 (cd $(HOST_SUBDIR)/libbacktrace && \
19910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19912 "RANLIB=$${RANLIB}" \
19913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19914 TAGS) \
19915 || exit 1
19917 @endif libbacktrace
19919 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
19920 maybe-install-info-libbacktrace:
19921 @if libbacktrace
19922 maybe-install-info-libbacktrace: install-info-libbacktrace
19924 install-info-libbacktrace: \
19925 configure-libbacktrace \
19926 info-libbacktrace
19927 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19928 r=`${PWD_COMMAND}`; export r; \
19929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19930 $(HOST_EXPORTS) \
19931 for flag in $(EXTRA_HOST_FLAGS) ; do \
19932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19933 done; \
19934 echo "Doing install-info in libbacktrace" ; \
19935 (cd $(HOST_SUBDIR)/libbacktrace && \
19936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19938 "RANLIB=$${RANLIB}" \
19939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19940 install-info) \
19941 || exit 1
19943 @endif libbacktrace
19945 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
19946 maybe-install-pdf-libbacktrace:
19947 @if libbacktrace
19948 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
19950 install-pdf-libbacktrace: \
19951 configure-libbacktrace \
19952 pdf-libbacktrace
19953 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19954 r=`${PWD_COMMAND}`; export r; \
19955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19956 $(HOST_EXPORTS) \
19957 for flag in $(EXTRA_HOST_FLAGS) ; do \
19958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19959 done; \
19960 echo "Doing install-pdf in libbacktrace" ; \
19961 (cd $(HOST_SUBDIR)/libbacktrace && \
19962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19964 "RANLIB=$${RANLIB}" \
19965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19966 install-pdf) \
19967 || exit 1
19969 @endif libbacktrace
19971 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
19972 maybe-install-html-libbacktrace:
19973 @if libbacktrace
19974 maybe-install-html-libbacktrace: install-html-libbacktrace
19976 install-html-libbacktrace: \
19977 configure-libbacktrace \
19978 html-libbacktrace
19979 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19980 r=`${PWD_COMMAND}`; export r; \
19981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19982 $(HOST_EXPORTS) \
19983 for flag in $(EXTRA_HOST_FLAGS) ; do \
19984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19985 done; \
19986 echo "Doing install-html in libbacktrace" ; \
19987 (cd $(HOST_SUBDIR)/libbacktrace && \
19988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19990 "RANLIB=$${RANLIB}" \
19991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19992 install-html) \
19993 || exit 1
19995 @endif libbacktrace
19997 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
19998 maybe-installcheck-libbacktrace:
19999 @if libbacktrace
20000 maybe-installcheck-libbacktrace: installcheck-libbacktrace
20002 installcheck-libbacktrace: \
20003 configure-libbacktrace
20004 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20005 r=`${PWD_COMMAND}`; export r; \
20006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20007 $(HOST_EXPORTS) \
20008 for flag in $(EXTRA_HOST_FLAGS) ; do \
20009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20010 done; \
20011 echo "Doing installcheck in libbacktrace" ; \
20012 (cd $(HOST_SUBDIR)/libbacktrace && \
20013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20015 "RANLIB=$${RANLIB}" \
20016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20017 installcheck) \
20018 || exit 1
20020 @endif libbacktrace
20022 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
20023 maybe-mostlyclean-libbacktrace:
20024 @if libbacktrace
20025 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
20027 mostlyclean-libbacktrace:
20028 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20029 r=`${PWD_COMMAND}`; export r; \
20030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20031 $(HOST_EXPORTS) \
20032 for flag in $(EXTRA_HOST_FLAGS) ; do \
20033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20034 done; \
20035 echo "Doing mostlyclean in libbacktrace" ; \
20036 (cd $(HOST_SUBDIR)/libbacktrace && \
20037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20039 "RANLIB=$${RANLIB}" \
20040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20041 mostlyclean) \
20042 || exit 1
20044 @endif libbacktrace
20046 .PHONY: maybe-clean-libbacktrace clean-libbacktrace
20047 maybe-clean-libbacktrace:
20048 @if libbacktrace
20049 maybe-clean-libbacktrace: clean-libbacktrace
20051 clean-libbacktrace:
20052 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20053 r=`${PWD_COMMAND}`; export r; \
20054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20055 $(HOST_EXPORTS) \
20056 for flag in $(EXTRA_HOST_FLAGS) ; do \
20057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20058 done; \
20059 echo "Doing clean in libbacktrace" ; \
20060 (cd $(HOST_SUBDIR)/libbacktrace && \
20061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20063 "RANLIB=$${RANLIB}" \
20064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20065 clean) \
20066 || exit 1
20068 @endif libbacktrace
20070 .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
20071 maybe-distclean-libbacktrace:
20072 @if libbacktrace
20073 maybe-distclean-libbacktrace: distclean-libbacktrace
20075 distclean-libbacktrace:
20076 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20077 r=`${PWD_COMMAND}`; export r; \
20078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20079 $(HOST_EXPORTS) \
20080 for flag in $(EXTRA_HOST_FLAGS) ; do \
20081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20082 done; \
20083 echo "Doing distclean in libbacktrace" ; \
20084 (cd $(HOST_SUBDIR)/libbacktrace && \
20085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20087 "RANLIB=$${RANLIB}" \
20088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20089 distclean) \
20090 || exit 1
20092 @endif libbacktrace
20094 .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
20095 maybe-maintainer-clean-libbacktrace:
20096 @if libbacktrace
20097 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
20099 maintainer-clean-libbacktrace:
20100 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20101 r=`${PWD_COMMAND}`; export r; \
20102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20103 $(HOST_EXPORTS) \
20104 for flag in $(EXTRA_HOST_FLAGS) ; do \
20105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20106 done; \
20107 echo "Doing maintainer-clean in libbacktrace" ; \
20108 (cd $(HOST_SUBDIR)/libbacktrace && \
20109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20111 "RANLIB=$${RANLIB}" \
20112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20113 maintainer-clean) \
20114 || exit 1
20116 @endif libbacktrace
20120 .PHONY: configure-libcpp maybe-configure-libcpp
20121 maybe-configure-libcpp:
20122 @if gcc-bootstrap
20123 configure-libcpp: stage_current
20124 @endif gcc-bootstrap
20125 @if libcpp
20126 maybe-configure-libcpp: configure-libcpp
20127 configure-libcpp:
20128 @r=`${PWD_COMMAND}`; export r; \
20129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20130 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20131 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20132 $(HOST_EXPORTS) \
20133 echo Configuring in $(HOST_SUBDIR)/libcpp; \
20134 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
20135 case $(srcdir) in \
20136 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20137 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20138 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20139 esac; \
20140 module_srcdir=libcpp; \
20141 $(SHELL) \
20142 $$s/$$module_srcdir/configure \
20143 --srcdir=$${topdir}/$$module_srcdir \
20144 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20145 --target=${target_alias} \
20146 || exit 1
20147 @endif libcpp
20151 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
20152 maybe-configure-stage1-libcpp:
20153 @if libcpp-bootstrap
20154 maybe-configure-stage1-libcpp: configure-stage1-libcpp
20155 configure-stage1-libcpp:
20156 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20157 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20158 @r=`${PWD_COMMAND}`; export r; \
20159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20160 TFLAGS="$(STAGE1_TFLAGS)"; \
20161 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20162 $(HOST_EXPORTS) \
20163 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20164 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20165 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20166 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
20167 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20168 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20169 case $(srcdir) in \
20170 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20171 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20172 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20173 esac; \
20174 module_srcdir=libcpp; \
20175 $(SHELL) $$s/$$module_srcdir/configure \
20176 --srcdir=$${topdir}/$$module_srcdir \
20177 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20178 --target=${target_alias} \
20180 $(STAGE1_CONFIGURE_FLAGS)
20181 @endif libcpp-bootstrap
20183 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
20184 maybe-configure-stage2-libcpp:
20185 @if libcpp-bootstrap
20186 maybe-configure-stage2-libcpp: configure-stage2-libcpp
20187 configure-stage2-libcpp:
20188 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20189 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20190 @r=`${PWD_COMMAND}`; export r; \
20191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20192 TFLAGS="$(STAGE2_TFLAGS)"; \
20193 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20194 $(HOST_EXPORTS) \
20195 $(POSTSTAGE1_HOST_EXPORTS) \
20196 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20197 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20198 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20199 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
20200 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20201 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20202 case $(srcdir) in \
20203 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20204 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20205 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20206 esac; \
20207 module_srcdir=libcpp; \
20208 $(SHELL) $$s/$$module_srcdir/configure \
20209 --srcdir=$${topdir}/$$module_srcdir \
20210 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20211 --target=${target_alias} \
20212 --with-build-libsubdir=$(HOST_SUBDIR) \
20213 $(STAGE2_CONFIGURE_FLAGS)
20214 @endif libcpp-bootstrap
20216 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
20217 maybe-configure-stage3-libcpp:
20218 @if libcpp-bootstrap
20219 maybe-configure-stage3-libcpp: configure-stage3-libcpp
20220 configure-stage3-libcpp:
20221 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20222 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20223 @r=`${PWD_COMMAND}`; export r; \
20224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20225 TFLAGS="$(STAGE3_TFLAGS)"; \
20226 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20227 $(HOST_EXPORTS) \
20228 $(POSTSTAGE1_HOST_EXPORTS) \
20229 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20230 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20231 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20232 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
20233 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20234 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20235 case $(srcdir) in \
20236 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20237 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20238 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20239 esac; \
20240 module_srcdir=libcpp; \
20241 $(SHELL) $$s/$$module_srcdir/configure \
20242 --srcdir=$${topdir}/$$module_srcdir \
20243 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20244 --target=${target_alias} \
20245 --with-build-libsubdir=$(HOST_SUBDIR) \
20246 $(STAGE3_CONFIGURE_FLAGS)
20247 @endif libcpp-bootstrap
20249 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
20250 maybe-configure-stage4-libcpp:
20251 @if libcpp-bootstrap
20252 maybe-configure-stage4-libcpp: configure-stage4-libcpp
20253 configure-stage4-libcpp:
20254 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20255 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20256 @r=`${PWD_COMMAND}`; export r; \
20257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20258 TFLAGS="$(STAGE4_TFLAGS)"; \
20259 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20260 $(HOST_EXPORTS) \
20261 $(POSTSTAGE1_HOST_EXPORTS) \
20262 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20263 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20264 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20265 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
20266 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20267 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20268 case $(srcdir) in \
20269 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20270 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20271 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20272 esac; \
20273 module_srcdir=libcpp; \
20274 $(SHELL) $$s/$$module_srcdir/configure \
20275 --srcdir=$${topdir}/$$module_srcdir \
20276 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20277 --target=${target_alias} \
20278 --with-build-libsubdir=$(HOST_SUBDIR) \
20279 $(STAGE4_CONFIGURE_FLAGS)
20280 @endif libcpp-bootstrap
20282 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
20283 maybe-configure-stageprofile-libcpp:
20284 @if libcpp-bootstrap
20285 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
20286 configure-stageprofile-libcpp:
20287 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20288 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20289 @r=`${PWD_COMMAND}`; export r; \
20290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20291 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20292 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20293 $(HOST_EXPORTS) \
20294 $(POSTSTAGE1_HOST_EXPORTS) \
20295 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20296 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20297 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20298 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
20299 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20300 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20301 case $(srcdir) in \
20302 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20303 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20304 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20305 esac; \
20306 module_srcdir=libcpp; \
20307 $(SHELL) $$s/$$module_srcdir/configure \
20308 --srcdir=$${topdir}/$$module_srcdir \
20309 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20310 --target=${target_alias} \
20311 --with-build-libsubdir=$(HOST_SUBDIR) \
20312 $(STAGEprofile_CONFIGURE_FLAGS)
20313 @endif libcpp-bootstrap
20315 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
20316 maybe-configure-stagefeedback-libcpp:
20317 @if libcpp-bootstrap
20318 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
20319 configure-stagefeedback-libcpp:
20320 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20321 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20322 @r=`${PWD_COMMAND}`; export r; \
20323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20324 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20325 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20326 $(HOST_EXPORTS) \
20327 $(POSTSTAGE1_HOST_EXPORTS) \
20328 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20329 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20330 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20331 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
20332 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20333 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20334 case $(srcdir) in \
20335 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20336 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20337 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20338 esac; \
20339 module_srcdir=libcpp; \
20340 $(SHELL) $$s/$$module_srcdir/configure \
20341 --srcdir=$${topdir}/$$module_srcdir \
20342 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20343 --target=${target_alias} \
20344 --with-build-libsubdir=$(HOST_SUBDIR) \
20345 $(STAGEfeedback_CONFIGURE_FLAGS)
20346 @endif libcpp-bootstrap
20352 .PHONY: all-libcpp maybe-all-libcpp
20353 maybe-all-libcpp:
20354 @if gcc-bootstrap
20355 all-libcpp: stage_current
20356 @endif gcc-bootstrap
20357 @if libcpp
20358 TARGET-libcpp=all
20359 maybe-all-libcpp: all-libcpp
20360 all-libcpp: configure-libcpp
20361 @r=`${PWD_COMMAND}`; export r; \
20362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20363 $(HOST_EXPORTS) \
20364 (cd $(HOST_SUBDIR)/libcpp && \
20365 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20366 $(TARGET-libcpp))
20367 @endif libcpp
20371 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
20372 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
20373 maybe-all-stage1-libcpp:
20374 maybe-clean-stage1-libcpp:
20375 @if libcpp-bootstrap
20376 maybe-all-stage1-libcpp: all-stage1-libcpp
20377 all-stage1: all-stage1-libcpp
20378 TARGET-stage1-libcpp = $(TARGET-libcpp)
20379 all-stage1-libcpp: configure-stage1-libcpp
20380 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20381 @r=`${PWD_COMMAND}`; export r; \
20382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20383 TFLAGS="$(STAGE1_TFLAGS)"; \
20384 $(HOST_EXPORTS) \
20385 cd $(HOST_SUBDIR)/libcpp && \
20386 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20387 CFLAGS="$(STAGE1_CFLAGS)" \
20388 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20389 LIBCFLAGS="$(LIBCFLAGS)" \
20390 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20391 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20392 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20393 $(EXTRA_HOST_FLAGS) \
20394 $(STAGE1_FLAGS_TO_PASS) \
20395 TFLAGS="$(STAGE1_TFLAGS)" \
20396 $(TARGET-stage1-libcpp)
20398 maybe-clean-stage1-libcpp: clean-stage1-libcpp
20399 clean-stage1: clean-stage1-libcpp
20400 clean-stage1-libcpp:
20401 @if [ $(current_stage) = stage1 ]; then \
20402 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20403 else \
20404 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
20405 $(MAKE) stage1-start; \
20406 fi; \
20407 cd $(HOST_SUBDIR)/libcpp && \
20408 $(MAKE) $(EXTRA_HOST_FLAGS) \
20409 $(STAGE1_FLAGS_TO_PASS) clean
20410 @endif libcpp-bootstrap
20413 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
20414 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
20415 maybe-all-stage2-libcpp:
20416 maybe-clean-stage2-libcpp:
20417 @if libcpp-bootstrap
20418 maybe-all-stage2-libcpp: all-stage2-libcpp
20419 all-stage2: all-stage2-libcpp
20420 TARGET-stage2-libcpp = $(TARGET-libcpp)
20421 all-stage2-libcpp: configure-stage2-libcpp
20422 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20423 @r=`${PWD_COMMAND}`; export r; \
20424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20425 TFLAGS="$(STAGE2_TFLAGS)"; \
20426 $(HOST_EXPORTS) \
20427 $(POSTSTAGE1_HOST_EXPORTS) \
20428 cd $(HOST_SUBDIR)/libcpp && \
20429 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20430 CFLAGS="$(STAGE2_CFLAGS)" \
20431 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20432 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20433 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20434 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20435 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20436 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20437 TFLAGS="$(STAGE2_TFLAGS)" \
20438 $(TARGET-stage2-libcpp)
20440 maybe-clean-stage2-libcpp: clean-stage2-libcpp
20441 clean-stage2: clean-stage2-libcpp
20442 clean-stage2-libcpp:
20443 @if [ $(current_stage) = stage2 ]; then \
20444 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20445 else \
20446 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
20447 $(MAKE) stage2-start; \
20448 fi; \
20449 cd $(HOST_SUBDIR)/libcpp && \
20450 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20451 @endif libcpp-bootstrap
20454 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
20455 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
20456 maybe-all-stage3-libcpp:
20457 maybe-clean-stage3-libcpp:
20458 @if libcpp-bootstrap
20459 maybe-all-stage3-libcpp: all-stage3-libcpp
20460 all-stage3: all-stage3-libcpp
20461 TARGET-stage3-libcpp = $(TARGET-libcpp)
20462 all-stage3-libcpp: configure-stage3-libcpp
20463 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20464 @r=`${PWD_COMMAND}`; export r; \
20465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20466 TFLAGS="$(STAGE3_TFLAGS)"; \
20467 $(HOST_EXPORTS) \
20468 $(POSTSTAGE1_HOST_EXPORTS) \
20469 cd $(HOST_SUBDIR)/libcpp && \
20470 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20471 CFLAGS="$(STAGE3_CFLAGS)" \
20472 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20473 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20474 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20475 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20476 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20477 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20478 TFLAGS="$(STAGE3_TFLAGS)" \
20479 $(TARGET-stage3-libcpp)
20481 maybe-clean-stage3-libcpp: clean-stage3-libcpp
20482 clean-stage3: clean-stage3-libcpp
20483 clean-stage3-libcpp:
20484 @if [ $(current_stage) = stage3 ]; then \
20485 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20486 else \
20487 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
20488 $(MAKE) stage3-start; \
20489 fi; \
20490 cd $(HOST_SUBDIR)/libcpp && \
20491 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20492 @endif libcpp-bootstrap
20495 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
20496 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
20497 maybe-all-stage4-libcpp:
20498 maybe-clean-stage4-libcpp:
20499 @if libcpp-bootstrap
20500 maybe-all-stage4-libcpp: all-stage4-libcpp
20501 all-stage4: all-stage4-libcpp
20502 TARGET-stage4-libcpp = $(TARGET-libcpp)
20503 all-stage4-libcpp: configure-stage4-libcpp
20504 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20505 @r=`${PWD_COMMAND}`; export r; \
20506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20507 TFLAGS="$(STAGE4_TFLAGS)"; \
20508 $(HOST_EXPORTS) \
20509 $(POSTSTAGE1_HOST_EXPORTS) \
20510 cd $(HOST_SUBDIR)/libcpp && \
20511 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20512 CFLAGS="$(STAGE4_CFLAGS)" \
20513 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20514 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20515 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20516 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20517 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20518 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20519 TFLAGS="$(STAGE4_TFLAGS)" \
20520 $(TARGET-stage4-libcpp)
20522 maybe-clean-stage4-libcpp: clean-stage4-libcpp
20523 clean-stage4: clean-stage4-libcpp
20524 clean-stage4-libcpp:
20525 @if [ $(current_stage) = stage4 ]; then \
20526 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20527 else \
20528 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
20529 $(MAKE) stage4-start; \
20530 fi; \
20531 cd $(HOST_SUBDIR)/libcpp && \
20532 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20533 @endif libcpp-bootstrap
20536 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
20537 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
20538 maybe-all-stageprofile-libcpp:
20539 maybe-clean-stageprofile-libcpp:
20540 @if libcpp-bootstrap
20541 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
20542 all-stageprofile: all-stageprofile-libcpp
20543 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
20544 all-stageprofile-libcpp: configure-stageprofile-libcpp
20545 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20546 @r=`${PWD_COMMAND}`; export r; \
20547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20548 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20549 $(HOST_EXPORTS) \
20550 $(POSTSTAGE1_HOST_EXPORTS) \
20551 cd $(HOST_SUBDIR)/libcpp && \
20552 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20553 CFLAGS="$(STAGEprofile_CFLAGS)" \
20554 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20555 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20556 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20557 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20558 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20559 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20560 TFLAGS="$(STAGEprofile_TFLAGS)" \
20561 $(TARGET-stageprofile-libcpp)
20563 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
20564 clean-stageprofile: clean-stageprofile-libcpp
20565 clean-stageprofile-libcpp:
20566 @if [ $(current_stage) = stageprofile ]; then \
20567 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20568 else \
20569 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
20570 $(MAKE) stageprofile-start; \
20571 fi; \
20572 cd $(HOST_SUBDIR)/libcpp && \
20573 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20574 @endif libcpp-bootstrap
20577 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
20578 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
20579 maybe-all-stagefeedback-libcpp:
20580 maybe-clean-stagefeedback-libcpp:
20581 @if libcpp-bootstrap
20582 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
20583 all-stagefeedback: all-stagefeedback-libcpp
20584 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
20585 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
20586 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20587 @r=`${PWD_COMMAND}`; export r; \
20588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20589 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20590 $(HOST_EXPORTS) \
20591 $(POSTSTAGE1_HOST_EXPORTS) \
20592 cd $(HOST_SUBDIR)/libcpp && \
20593 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20594 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20595 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20596 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20597 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20598 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20599 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20600 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20601 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20602 $(TARGET-stagefeedback-libcpp)
20604 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
20605 clean-stagefeedback: clean-stagefeedback-libcpp
20606 clean-stagefeedback-libcpp:
20607 @if [ $(current_stage) = stagefeedback ]; then \
20608 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20609 else \
20610 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
20611 $(MAKE) stagefeedback-start; \
20612 fi; \
20613 cd $(HOST_SUBDIR)/libcpp && \
20614 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20615 @endif libcpp-bootstrap
20621 .PHONY: check-libcpp maybe-check-libcpp
20622 maybe-check-libcpp:
20623 @if libcpp
20624 maybe-check-libcpp: check-libcpp
20626 check-libcpp:
20627 @: $(MAKE); $(unstage)
20628 @r=`${PWD_COMMAND}`; export r; \
20629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20630 $(HOST_EXPORTS) \
20631 (cd $(HOST_SUBDIR)/libcpp && \
20632 $(MAKE) $(FLAGS_TO_PASS) check)
20634 @endif libcpp
20636 .PHONY: install-libcpp maybe-install-libcpp
20637 maybe-install-libcpp:
20638 @if libcpp
20639 maybe-install-libcpp: install-libcpp
20641 install-libcpp: installdirs
20642 @: $(MAKE); $(unstage)
20643 @r=`${PWD_COMMAND}`; export r; \
20644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20645 $(HOST_EXPORTS) \
20646 (cd $(HOST_SUBDIR)/libcpp && \
20647 $(MAKE) $(FLAGS_TO_PASS) install)
20649 @endif libcpp
20651 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
20652 maybe-install-strip-libcpp:
20653 @if libcpp
20654 maybe-install-strip-libcpp: install-strip-libcpp
20656 install-strip-libcpp: installdirs
20657 @: $(MAKE); $(unstage)
20658 @r=`${PWD_COMMAND}`; export r; \
20659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20660 $(HOST_EXPORTS) \
20661 (cd $(HOST_SUBDIR)/libcpp && \
20662 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20664 @endif libcpp
20666 # Other targets (info, dvi, pdf, etc.)
20668 .PHONY: maybe-info-libcpp info-libcpp
20669 maybe-info-libcpp:
20670 @if libcpp
20671 maybe-info-libcpp: info-libcpp
20673 info-libcpp: \
20674 configure-libcpp
20675 @[ -f ./libcpp/Makefile ] || exit 0; \
20676 r=`${PWD_COMMAND}`; export r; \
20677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20678 $(HOST_EXPORTS) \
20679 for flag in $(EXTRA_HOST_FLAGS) ; do \
20680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20681 done; \
20682 echo "Doing info in libcpp" ; \
20683 (cd $(HOST_SUBDIR)/libcpp && \
20684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20686 "RANLIB=$${RANLIB}" \
20687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20688 info) \
20689 || exit 1
20691 @endif libcpp
20693 .PHONY: maybe-dvi-libcpp dvi-libcpp
20694 maybe-dvi-libcpp:
20695 @if libcpp
20696 maybe-dvi-libcpp: dvi-libcpp
20698 dvi-libcpp: \
20699 configure-libcpp
20700 @[ -f ./libcpp/Makefile ] || exit 0; \
20701 r=`${PWD_COMMAND}`; export r; \
20702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20703 $(HOST_EXPORTS) \
20704 for flag in $(EXTRA_HOST_FLAGS) ; do \
20705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20706 done; \
20707 echo "Doing dvi in libcpp" ; \
20708 (cd $(HOST_SUBDIR)/libcpp && \
20709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20711 "RANLIB=$${RANLIB}" \
20712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20713 dvi) \
20714 || exit 1
20716 @endif libcpp
20718 .PHONY: maybe-pdf-libcpp pdf-libcpp
20719 maybe-pdf-libcpp:
20720 @if libcpp
20721 maybe-pdf-libcpp: pdf-libcpp
20723 pdf-libcpp: \
20724 configure-libcpp
20725 @[ -f ./libcpp/Makefile ] || exit 0; \
20726 r=`${PWD_COMMAND}`; export r; \
20727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20728 $(HOST_EXPORTS) \
20729 for flag in $(EXTRA_HOST_FLAGS) ; do \
20730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20731 done; \
20732 echo "Doing pdf in libcpp" ; \
20733 (cd $(HOST_SUBDIR)/libcpp && \
20734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20736 "RANLIB=$${RANLIB}" \
20737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20738 pdf) \
20739 || exit 1
20741 @endif libcpp
20743 .PHONY: maybe-html-libcpp html-libcpp
20744 maybe-html-libcpp:
20745 @if libcpp
20746 maybe-html-libcpp: html-libcpp
20748 html-libcpp: \
20749 configure-libcpp
20750 @[ -f ./libcpp/Makefile ] || exit 0; \
20751 r=`${PWD_COMMAND}`; export r; \
20752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20753 $(HOST_EXPORTS) \
20754 for flag in $(EXTRA_HOST_FLAGS) ; do \
20755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20756 done; \
20757 echo "Doing html in libcpp" ; \
20758 (cd $(HOST_SUBDIR)/libcpp && \
20759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20761 "RANLIB=$${RANLIB}" \
20762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20763 html) \
20764 || exit 1
20766 @endif libcpp
20768 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
20769 maybe-TAGS-libcpp:
20770 @if libcpp
20771 maybe-TAGS-libcpp: TAGS-libcpp
20773 TAGS-libcpp: \
20774 configure-libcpp
20775 @[ -f ./libcpp/Makefile ] || exit 0; \
20776 r=`${PWD_COMMAND}`; export r; \
20777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20778 $(HOST_EXPORTS) \
20779 for flag in $(EXTRA_HOST_FLAGS) ; do \
20780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20781 done; \
20782 echo "Doing TAGS in libcpp" ; \
20783 (cd $(HOST_SUBDIR)/libcpp && \
20784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20786 "RANLIB=$${RANLIB}" \
20787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20788 TAGS) \
20789 || exit 1
20791 @endif libcpp
20793 .PHONY: maybe-install-info-libcpp install-info-libcpp
20794 maybe-install-info-libcpp:
20795 @if libcpp
20796 maybe-install-info-libcpp: install-info-libcpp
20798 install-info-libcpp: \
20799 configure-libcpp \
20800 info-libcpp
20801 @[ -f ./libcpp/Makefile ] || exit 0; \
20802 r=`${PWD_COMMAND}`; export r; \
20803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20804 $(HOST_EXPORTS) \
20805 for flag in $(EXTRA_HOST_FLAGS) ; do \
20806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20807 done; \
20808 echo "Doing install-info in libcpp" ; \
20809 (cd $(HOST_SUBDIR)/libcpp && \
20810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20812 "RANLIB=$${RANLIB}" \
20813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20814 install-info) \
20815 || exit 1
20817 @endif libcpp
20819 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
20820 maybe-install-pdf-libcpp:
20821 @if libcpp
20822 maybe-install-pdf-libcpp: install-pdf-libcpp
20824 install-pdf-libcpp: \
20825 configure-libcpp \
20826 pdf-libcpp
20827 @[ -f ./libcpp/Makefile ] || exit 0; \
20828 r=`${PWD_COMMAND}`; export r; \
20829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20830 $(HOST_EXPORTS) \
20831 for flag in $(EXTRA_HOST_FLAGS) ; do \
20832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20833 done; \
20834 echo "Doing install-pdf in libcpp" ; \
20835 (cd $(HOST_SUBDIR)/libcpp && \
20836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20838 "RANLIB=$${RANLIB}" \
20839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20840 install-pdf) \
20841 || exit 1
20843 @endif libcpp
20845 .PHONY: maybe-install-html-libcpp install-html-libcpp
20846 maybe-install-html-libcpp:
20847 @if libcpp
20848 maybe-install-html-libcpp: install-html-libcpp
20850 install-html-libcpp: \
20851 configure-libcpp \
20852 html-libcpp
20853 @[ -f ./libcpp/Makefile ] || exit 0; \
20854 r=`${PWD_COMMAND}`; export r; \
20855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20856 $(HOST_EXPORTS) \
20857 for flag in $(EXTRA_HOST_FLAGS) ; do \
20858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20859 done; \
20860 echo "Doing install-html in libcpp" ; \
20861 (cd $(HOST_SUBDIR)/libcpp && \
20862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20864 "RANLIB=$${RANLIB}" \
20865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20866 install-html) \
20867 || exit 1
20869 @endif libcpp
20871 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
20872 maybe-installcheck-libcpp:
20873 @if libcpp
20874 maybe-installcheck-libcpp: installcheck-libcpp
20876 installcheck-libcpp: \
20877 configure-libcpp
20878 @[ -f ./libcpp/Makefile ] || exit 0; \
20879 r=`${PWD_COMMAND}`; export r; \
20880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20881 $(HOST_EXPORTS) \
20882 for flag in $(EXTRA_HOST_FLAGS) ; do \
20883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20884 done; \
20885 echo "Doing installcheck in libcpp" ; \
20886 (cd $(HOST_SUBDIR)/libcpp && \
20887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20889 "RANLIB=$${RANLIB}" \
20890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20891 installcheck) \
20892 || exit 1
20894 @endif libcpp
20896 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
20897 maybe-mostlyclean-libcpp:
20898 @if libcpp
20899 maybe-mostlyclean-libcpp: mostlyclean-libcpp
20901 mostlyclean-libcpp:
20902 @[ -f ./libcpp/Makefile ] || exit 0; \
20903 r=`${PWD_COMMAND}`; export r; \
20904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20905 $(HOST_EXPORTS) \
20906 for flag in $(EXTRA_HOST_FLAGS) ; do \
20907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20908 done; \
20909 echo "Doing mostlyclean in libcpp" ; \
20910 (cd $(HOST_SUBDIR)/libcpp && \
20911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20913 "RANLIB=$${RANLIB}" \
20914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20915 mostlyclean) \
20916 || exit 1
20918 @endif libcpp
20920 .PHONY: maybe-clean-libcpp clean-libcpp
20921 maybe-clean-libcpp:
20922 @if libcpp
20923 maybe-clean-libcpp: clean-libcpp
20925 clean-libcpp:
20926 @[ -f ./libcpp/Makefile ] || exit 0; \
20927 r=`${PWD_COMMAND}`; export r; \
20928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20929 $(HOST_EXPORTS) \
20930 for flag in $(EXTRA_HOST_FLAGS) ; do \
20931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20932 done; \
20933 echo "Doing clean in libcpp" ; \
20934 (cd $(HOST_SUBDIR)/libcpp && \
20935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20937 "RANLIB=$${RANLIB}" \
20938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20939 clean) \
20940 || exit 1
20942 @endif libcpp
20944 .PHONY: maybe-distclean-libcpp distclean-libcpp
20945 maybe-distclean-libcpp:
20946 @if libcpp
20947 maybe-distclean-libcpp: distclean-libcpp
20949 distclean-libcpp:
20950 @[ -f ./libcpp/Makefile ] || exit 0; \
20951 r=`${PWD_COMMAND}`; export r; \
20952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20953 $(HOST_EXPORTS) \
20954 for flag in $(EXTRA_HOST_FLAGS) ; do \
20955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20956 done; \
20957 echo "Doing distclean in libcpp" ; \
20958 (cd $(HOST_SUBDIR)/libcpp && \
20959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20961 "RANLIB=$${RANLIB}" \
20962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20963 distclean) \
20964 || exit 1
20966 @endif libcpp
20968 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
20969 maybe-maintainer-clean-libcpp:
20970 @if libcpp
20971 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
20973 maintainer-clean-libcpp:
20974 @[ -f ./libcpp/Makefile ] || exit 0; \
20975 r=`${PWD_COMMAND}`; export r; \
20976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20977 $(HOST_EXPORTS) \
20978 for flag in $(EXTRA_HOST_FLAGS) ; do \
20979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20980 done; \
20981 echo "Doing maintainer-clean in libcpp" ; \
20982 (cd $(HOST_SUBDIR)/libcpp && \
20983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20985 "RANLIB=$${RANLIB}" \
20986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20987 maintainer-clean) \
20988 || exit 1
20990 @endif libcpp
20994 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
20995 maybe-configure-libdecnumber:
20996 @if gcc-bootstrap
20997 configure-libdecnumber: stage_current
20998 @endif gcc-bootstrap
20999 @if libdecnumber
21000 maybe-configure-libdecnumber: configure-libdecnumber
21001 configure-libdecnumber:
21002 @r=`${PWD_COMMAND}`; export r; \
21003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21004 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21005 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21006 $(HOST_EXPORTS) \
21007 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
21008 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
21009 case $(srcdir) in \
21010 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21011 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21012 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21013 esac; \
21014 module_srcdir=libdecnumber; \
21015 $(SHELL) \
21016 $$s/$$module_srcdir/configure \
21017 --srcdir=$${topdir}/$$module_srcdir \
21018 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21019 --target=${target_alias} \
21020 || exit 1
21021 @endif libdecnumber
21025 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
21026 maybe-configure-stage1-libdecnumber:
21027 @if libdecnumber-bootstrap
21028 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
21029 configure-stage1-libdecnumber:
21030 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21031 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21032 @r=`${PWD_COMMAND}`; export r; \
21033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21034 TFLAGS="$(STAGE1_TFLAGS)"; \
21035 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21036 $(HOST_EXPORTS) \
21037 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21038 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21039 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21040 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
21041 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21042 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21043 case $(srcdir) in \
21044 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21045 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21046 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21047 esac; \
21048 module_srcdir=libdecnumber; \
21049 $(SHELL) $$s/$$module_srcdir/configure \
21050 --srcdir=$${topdir}/$$module_srcdir \
21051 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21052 --target=${target_alias} \
21054 $(STAGE1_CONFIGURE_FLAGS)
21055 @endif libdecnumber-bootstrap
21057 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
21058 maybe-configure-stage2-libdecnumber:
21059 @if libdecnumber-bootstrap
21060 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
21061 configure-stage2-libdecnumber:
21062 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21063 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21064 @r=`${PWD_COMMAND}`; export r; \
21065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21066 TFLAGS="$(STAGE2_TFLAGS)"; \
21067 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21068 $(HOST_EXPORTS) \
21069 $(POSTSTAGE1_HOST_EXPORTS) \
21070 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21071 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21072 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21073 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
21074 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21075 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21076 case $(srcdir) in \
21077 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21078 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21079 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21080 esac; \
21081 module_srcdir=libdecnumber; \
21082 $(SHELL) $$s/$$module_srcdir/configure \
21083 --srcdir=$${topdir}/$$module_srcdir \
21084 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21085 --target=${target_alias} \
21086 --with-build-libsubdir=$(HOST_SUBDIR) \
21087 $(STAGE2_CONFIGURE_FLAGS)
21088 @endif libdecnumber-bootstrap
21090 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
21091 maybe-configure-stage3-libdecnumber:
21092 @if libdecnumber-bootstrap
21093 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
21094 configure-stage3-libdecnumber:
21095 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21096 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21097 @r=`${PWD_COMMAND}`; export r; \
21098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21099 TFLAGS="$(STAGE3_TFLAGS)"; \
21100 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21101 $(HOST_EXPORTS) \
21102 $(POSTSTAGE1_HOST_EXPORTS) \
21103 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21104 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21105 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21106 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
21107 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21108 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21109 case $(srcdir) in \
21110 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21111 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21112 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21113 esac; \
21114 module_srcdir=libdecnumber; \
21115 $(SHELL) $$s/$$module_srcdir/configure \
21116 --srcdir=$${topdir}/$$module_srcdir \
21117 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21118 --target=${target_alias} \
21119 --with-build-libsubdir=$(HOST_SUBDIR) \
21120 $(STAGE3_CONFIGURE_FLAGS)
21121 @endif libdecnumber-bootstrap
21123 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
21124 maybe-configure-stage4-libdecnumber:
21125 @if libdecnumber-bootstrap
21126 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
21127 configure-stage4-libdecnumber:
21128 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21129 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21130 @r=`${PWD_COMMAND}`; export r; \
21131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21132 TFLAGS="$(STAGE4_TFLAGS)"; \
21133 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21134 $(HOST_EXPORTS) \
21135 $(POSTSTAGE1_HOST_EXPORTS) \
21136 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21137 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21138 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21139 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
21140 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21141 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21142 case $(srcdir) in \
21143 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21144 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21145 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21146 esac; \
21147 module_srcdir=libdecnumber; \
21148 $(SHELL) $$s/$$module_srcdir/configure \
21149 --srcdir=$${topdir}/$$module_srcdir \
21150 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21151 --target=${target_alias} \
21152 --with-build-libsubdir=$(HOST_SUBDIR) \
21153 $(STAGE4_CONFIGURE_FLAGS)
21154 @endif libdecnumber-bootstrap
21156 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
21157 maybe-configure-stageprofile-libdecnumber:
21158 @if libdecnumber-bootstrap
21159 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21160 configure-stageprofile-libdecnumber:
21161 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21162 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21163 @r=`${PWD_COMMAND}`; export r; \
21164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21165 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21166 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21167 $(HOST_EXPORTS) \
21168 $(POSTSTAGE1_HOST_EXPORTS) \
21169 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21170 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21171 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21172 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
21173 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21174 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21175 case $(srcdir) in \
21176 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21177 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21178 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21179 esac; \
21180 module_srcdir=libdecnumber; \
21181 $(SHELL) $$s/$$module_srcdir/configure \
21182 --srcdir=$${topdir}/$$module_srcdir \
21183 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21184 --target=${target_alias} \
21185 --with-build-libsubdir=$(HOST_SUBDIR) \
21186 $(STAGEprofile_CONFIGURE_FLAGS)
21187 @endif libdecnumber-bootstrap
21189 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
21190 maybe-configure-stagefeedback-libdecnumber:
21191 @if libdecnumber-bootstrap
21192 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21193 configure-stagefeedback-libdecnumber:
21194 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21195 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21196 @r=`${PWD_COMMAND}`; export r; \
21197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21198 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21199 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21200 $(HOST_EXPORTS) \
21201 $(POSTSTAGE1_HOST_EXPORTS) \
21202 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21203 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21204 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21205 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
21206 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21207 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21208 case $(srcdir) in \
21209 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21210 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21211 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21212 esac; \
21213 module_srcdir=libdecnumber; \
21214 $(SHELL) $$s/$$module_srcdir/configure \
21215 --srcdir=$${topdir}/$$module_srcdir \
21216 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21217 --target=${target_alias} \
21218 --with-build-libsubdir=$(HOST_SUBDIR) \
21219 $(STAGEfeedback_CONFIGURE_FLAGS)
21220 @endif libdecnumber-bootstrap
21226 .PHONY: all-libdecnumber maybe-all-libdecnumber
21227 maybe-all-libdecnumber:
21228 @if gcc-bootstrap
21229 all-libdecnumber: stage_current
21230 @endif gcc-bootstrap
21231 @if libdecnumber
21232 TARGET-libdecnumber=all
21233 maybe-all-libdecnumber: all-libdecnumber
21234 all-libdecnumber: configure-libdecnumber
21235 @r=`${PWD_COMMAND}`; export r; \
21236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21237 $(HOST_EXPORTS) \
21238 (cd $(HOST_SUBDIR)/libdecnumber && \
21239 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21240 $(TARGET-libdecnumber))
21241 @endif libdecnumber
21245 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
21246 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
21247 maybe-all-stage1-libdecnumber:
21248 maybe-clean-stage1-libdecnumber:
21249 @if libdecnumber-bootstrap
21250 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
21251 all-stage1: all-stage1-libdecnumber
21252 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
21253 all-stage1-libdecnumber: configure-stage1-libdecnumber
21254 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21255 @r=`${PWD_COMMAND}`; export r; \
21256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21257 TFLAGS="$(STAGE1_TFLAGS)"; \
21258 $(HOST_EXPORTS) \
21259 cd $(HOST_SUBDIR)/libdecnumber && \
21260 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21261 CFLAGS="$(STAGE1_CFLAGS)" \
21262 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
21263 LIBCFLAGS="$(LIBCFLAGS)" \
21264 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21265 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21266 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21267 $(EXTRA_HOST_FLAGS) \
21268 $(STAGE1_FLAGS_TO_PASS) \
21269 TFLAGS="$(STAGE1_TFLAGS)" \
21270 $(TARGET-stage1-libdecnumber)
21272 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
21273 clean-stage1: clean-stage1-libdecnumber
21274 clean-stage1-libdecnumber:
21275 @if [ $(current_stage) = stage1 ]; then \
21276 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21277 else \
21278 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
21279 $(MAKE) stage1-start; \
21280 fi; \
21281 cd $(HOST_SUBDIR)/libdecnumber && \
21282 $(MAKE) $(EXTRA_HOST_FLAGS) \
21283 $(STAGE1_FLAGS_TO_PASS) clean
21284 @endif libdecnumber-bootstrap
21287 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
21288 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
21289 maybe-all-stage2-libdecnumber:
21290 maybe-clean-stage2-libdecnumber:
21291 @if libdecnumber-bootstrap
21292 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
21293 all-stage2: all-stage2-libdecnumber
21294 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
21295 all-stage2-libdecnumber: configure-stage2-libdecnumber
21296 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21297 @r=`${PWD_COMMAND}`; export r; \
21298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21299 TFLAGS="$(STAGE2_TFLAGS)"; \
21300 $(HOST_EXPORTS) \
21301 $(POSTSTAGE1_HOST_EXPORTS) \
21302 cd $(HOST_SUBDIR)/libdecnumber && \
21303 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21304 CFLAGS="$(STAGE2_CFLAGS)" \
21305 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
21306 LIBCFLAGS="$(STAGE2_CFLAGS)" \
21307 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21308 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21309 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21310 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21311 TFLAGS="$(STAGE2_TFLAGS)" \
21312 $(TARGET-stage2-libdecnumber)
21314 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
21315 clean-stage2: clean-stage2-libdecnumber
21316 clean-stage2-libdecnumber:
21317 @if [ $(current_stage) = stage2 ]; then \
21318 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21319 else \
21320 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
21321 $(MAKE) stage2-start; \
21322 fi; \
21323 cd $(HOST_SUBDIR)/libdecnumber && \
21324 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21325 @endif libdecnumber-bootstrap
21328 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
21329 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
21330 maybe-all-stage3-libdecnumber:
21331 maybe-clean-stage3-libdecnumber:
21332 @if libdecnumber-bootstrap
21333 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
21334 all-stage3: all-stage3-libdecnumber
21335 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
21336 all-stage3-libdecnumber: configure-stage3-libdecnumber
21337 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21338 @r=`${PWD_COMMAND}`; export r; \
21339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21340 TFLAGS="$(STAGE3_TFLAGS)"; \
21341 $(HOST_EXPORTS) \
21342 $(POSTSTAGE1_HOST_EXPORTS) \
21343 cd $(HOST_SUBDIR)/libdecnumber && \
21344 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21345 CFLAGS="$(STAGE3_CFLAGS)" \
21346 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
21347 LIBCFLAGS="$(STAGE3_CFLAGS)" \
21348 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21349 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21350 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21351 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21352 TFLAGS="$(STAGE3_TFLAGS)" \
21353 $(TARGET-stage3-libdecnumber)
21355 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
21356 clean-stage3: clean-stage3-libdecnumber
21357 clean-stage3-libdecnumber:
21358 @if [ $(current_stage) = stage3 ]; then \
21359 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21360 else \
21361 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
21362 $(MAKE) stage3-start; \
21363 fi; \
21364 cd $(HOST_SUBDIR)/libdecnumber && \
21365 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21366 @endif libdecnumber-bootstrap
21369 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
21370 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
21371 maybe-all-stage4-libdecnumber:
21372 maybe-clean-stage4-libdecnumber:
21373 @if libdecnumber-bootstrap
21374 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
21375 all-stage4: all-stage4-libdecnumber
21376 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
21377 all-stage4-libdecnumber: configure-stage4-libdecnumber
21378 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21379 @r=`${PWD_COMMAND}`; export r; \
21380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21381 TFLAGS="$(STAGE4_TFLAGS)"; \
21382 $(HOST_EXPORTS) \
21383 $(POSTSTAGE1_HOST_EXPORTS) \
21384 cd $(HOST_SUBDIR)/libdecnumber && \
21385 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21386 CFLAGS="$(STAGE4_CFLAGS)" \
21387 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
21388 LIBCFLAGS="$(STAGE4_CFLAGS)" \
21389 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21390 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21391 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21392 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21393 TFLAGS="$(STAGE4_TFLAGS)" \
21394 $(TARGET-stage4-libdecnumber)
21396 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
21397 clean-stage4: clean-stage4-libdecnumber
21398 clean-stage4-libdecnumber:
21399 @if [ $(current_stage) = stage4 ]; then \
21400 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21401 else \
21402 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
21403 $(MAKE) stage4-start; \
21404 fi; \
21405 cd $(HOST_SUBDIR)/libdecnumber && \
21406 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21407 @endif libdecnumber-bootstrap
21410 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
21411 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
21412 maybe-all-stageprofile-libdecnumber:
21413 maybe-clean-stageprofile-libdecnumber:
21414 @if libdecnumber-bootstrap
21415 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
21416 all-stageprofile: all-stageprofile-libdecnumber
21417 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
21418 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21419 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21420 @r=`${PWD_COMMAND}`; export r; \
21421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21422 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21423 $(HOST_EXPORTS) \
21424 $(POSTSTAGE1_HOST_EXPORTS) \
21425 cd $(HOST_SUBDIR)/libdecnumber && \
21426 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21427 CFLAGS="$(STAGEprofile_CFLAGS)" \
21428 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
21429 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
21430 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21431 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21432 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21433 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21434 TFLAGS="$(STAGEprofile_TFLAGS)" \
21435 $(TARGET-stageprofile-libdecnumber)
21437 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
21438 clean-stageprofile: clean-stageprofile-libdecnumber
21439 clean-stageprofile-libdecnumber:
21440 @if [ $(current_stage) = stageprofile ]; then \
21441 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21442 else \
21443 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
21444 $(MAKE) stageprofile-start; \
21445 fi; \
21446 cd $(HOST_SUBDIR)/libdecnumber && \
21447 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21448 @endif libdecnumber-bootstrap
21451 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
21452 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
21453 maybe-all-stagefeedback-libdecnumber:
21454 maybe-clean-stagefeedback-libdecnumber:
21455 @if libdecnumber-bootstrap
21456 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
21457 all-stagefeedback: all-stagefeedback-libdecnumber
21458 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
21459 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21460 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21461 @r=`${PWD_COMMAND}`; export r; \
21462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21463 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21464 $(HOST_EXPORTS) \
21465 $(POSTSTAGE1_HOST_EXPORTS) \
21466 cd $(HOST_SUBDIR)/libdecnumber && \
21467 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21468 CFLAGS="$(STAGEfeedback_CFLAGS)" \
21469 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
21470 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
21471 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21472 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21473 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21474 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21475 TFLAGS="$(STAGEfeedback_TFLAGS)" \
21476 $(TARGET-stagefeedback-libdecnumber)
21478 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
21479 clean-stagefeedback: clean-stagefeedback-libdecnumber
21480 clean-stagefeedback-libdecnumber:
21481 @if [ $(current_stage) = stagefeedback ]; then \
21482 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21483 else \
21484 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
21485 $(MAKE) stagefeedback-start; \
21486 fi; \
21487 cd $(HOST_SUBDIR)/libdecnumber && \
21488 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21489 @endif libdecnumber-bootstrap
21495 .PHONY: check-libdecnumber maybe-check-libdecnumber
21496 maybe-check-libdecnumber:
21497 @if libdecnumber
21498 maybe-check-libdecnumber: check-libdecnumber
21500 check-libdecnumber:
21501 @: $(MAKE); $(unstage)
21502 @r=`${PWD_COMMAND}`; export r; \
21503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21504 $(HOST_EXPORTS) \
21505 (cd $(HOST_SUBDIR)/libdecnumber && \
21506 $(MAKE) $(FLAGS_TO_PASS) check)
21508 @endif libdecnumber
21510 .PHONY: install-libdecnumber maybe-install-libdecnumber
21511 maybe-install-libdecnumber:
21512 @if libdecnumber
21513 maybe-install-libdecnumber: install-libdecnumber
21515 install-libdecnumber: installdirs
21516 @: $(MAKE); $(unstage)
21517 @r=`${PWD_COMMAND}`; export r; \
21518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21519 $(HOST_EXPORTS) \
21520 (cd $(HOST_SUBDIR)/libdecnumber && \
21521 $(MAKE) $(FLAGS_TO_PASS) install)
21523 @endif libdecnumber
21525 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
21526 maybe-install-strip-libdecnumber:
21527 @if libdecnumber
21528 maybe-install-strip-libdecnumber: install-strip-libdecnumber
21530 install-strip-libdecnumber: installdirs
21531 @: $(MAKE); $(unstage)
21532 @r=`${PWD_COMMAND}`; export r; \
21533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21534 $(HOST_EXPORTS) \
21535 (cd $(HOST_SUBDIR)/libdecnumber && \
21536 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21538 @endif libdecnumber
21540 # Other targets (info, dvi, pdf, etc.)
21542 .PHONY: maybe-info-libdecnumber info-libdecnumber
21543 maybe-info-libdecnumber:
21544 @if libdecnumber
21545 maybe-info-libdecnumber: info-libdecnumber
21547 info-libdecnumber: \
21548 configure-libdecnumber
21549 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21550 r=`${PWD_COMMAND}`; export r; \
21551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21552 $(HOST_EXPORTS) \
21553 for flag in $(EXTRA_HOST_FLAGS) ; do \
21554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21555 done; \
21556 echo "Doing info in libdecnumber" ; \
21557 (cd $(HOST_SUBDIR)/libdecnumber && \
21558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21560 "RANLIB=$${RANLIB}" \
21561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21562 info) \
21563 || exit 1
21565 @endif libdecnumber
21567 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
21568 maybe-dvi-libdecnumber:
21569 @if libdecnumber
21570 maybe-dvi-libdecnumber: dvi-libdecnumber
21572 dvi-libdecnumber: \
21573 configure-libdecnumber
21574 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21575 r=`${PWD_COMMAND}`; export r; \
21576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21577 $(HOST_EXPORTS) \
21578 for flag in $(EXTRA_HOST_FLAGS) ; do \
21579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21580 done; \
21581 echo "Doing dvi in libdecnumber" ; \
21582 (cd $(HOST_SUBDIR)/libdecnumber && \
21583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21585 "RANLIB=$${RANLIB}" \
21586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21587 dvi) \
21588 || exit 1
21590 @endif libdecnumber
21592 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
21593 maybe-pdf-libdecnumber:
21594 @if libdecnumber
21595 maybe-pdf-libdecnumber: pdf-libdecnumber
21597 pdf-libdecnumber: \
21598 configure-libdecnumber
21599 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21600 r=`${PWD_COMMAND}`; export r; \
21601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21602 $(HOST_EXPORTS) \
21603 for flag in $(EXTRA_HOST_FLAGS) ; do \
21604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21605 done; \
21606 echo "Doing pdf in libdecnumber" ; \
21607 (cd $(HOST_SUBDIR)/libdecnumber && \
21608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21610 "RANLIB=$${RANLIB}" \
21611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21612 pdf) \
21613 || exit 1
21615 @endif libdecnumber
21617 .PHONY: maybe-html-libdecnumber html-libdecnumber
21618 maybe-html-libdecnumber:
21619 @if libdecnumber
21620 maybe-html-libdecnumber: html-libdecnumber
21622 html-libdecnumber: \
21623 configure-libdecnumber
21624 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21625 r=`${PWD_COMMAND}`; export r; \
21626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21627 $(HOST_EXPORTS) \
21628 for flag in $(EXTRA_HOST_FLAGS) ; do \
21629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21630 done; \
21631 echo "Doing html in libdecnumber" ; \
21632 (cd $(HOST_SUBDIR)/libdecnumber && \
21633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21635 "RANLIB=$${RANLIB}" \
21636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21637 html) \
21638 || exit 1
21640 @endif libdecnumber
21642 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
21643 maybe-TAGS-libdecnumber:
21644 @if libdecnumber
21645 maybe-TAGS-libdecnumber: TAGS-libdecnumber
21647 TAGS-libdecnumber: \
21648 configure-libdecnumber
21649 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21650 r=`${PWD_COMMAND}`; export r; \
21651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21652 $(HOST_EXPORTS) \
21653 for flag in $(EXTRA_HOST_FLAGS) ; do \
21654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21655 done; \
21656 echo "Doing TAGS in libdecnumber" ; \
21657 (cd $(HOST_SUBDIR)/libdecnumber && \
21658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21660 "RANLIB=$${RANLIB}" \
21661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21662 TAGS) \
21663 || exit 1
21665 @endif libdecnumber
21667 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
21668 maybe-install-info-libdecnumber:
21669 @if libdecnumber
21670 maybe-install-info-libdecnumber: install-info-libdecnumber
21672 install-info-libdecnumber: \
21673 configure-libdecnumber \
21674 info-libdecnumber
21675 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21676 r=`${PWD_COMMAND}`; export r; \
21677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21678 $(HOST_EXPORTS) \
21679 for flag in $(EXTRA_HOST_FLAGS) ; do \
21680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21681 done; \
21682 echo "Doing install-info in libdecnumber" ; \
21683 (cd $(HOST_SUBDIR)/libdecnumber && \
21684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21686 "RANLIB=$${RANLIB}" \
21687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21688 install-info) \
21689 || exit 1
21691 @endif libdecnumber
21693 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
21694 maybe-install-pdf-libdecnumber:
21695 @if libdecnumber
21696 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
21698 install-pdf-libdecnumber: \
21699 configure-libdecnumber \
21700 pdf-libdecnumber
21701 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21702 r=`${PWD_COMMAND}`; export r; \
21703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21704 $(HOST_EXPORTS) \
21705 for flag in $(EXTRA_HOST_FLAGS) ; do \
21706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21707 done; \
21708 echo "Doing install-pdf in libdecnumber" ; \
21709 (cd $(HOST_SUBDIR)/libdecnumber && \
21710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21712 "RANLIB=$${RANLIB}" \
21713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21714 install-pdf) \
21715 || exit 1
21717 @endif libdecnumber
21719 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
21720 maybe-install-html-libdecnumber:
21721 @if libdecnumber
21722 maybe-install-html-libdecnumber: install-html-libdecnumber
21724 install-html-libdecnumber: \
21725 configure-libdecnumber \
21726 html-libdecnumber
21727 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21728 r=`${PWD_COMMAND}`; export r; \
21729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21730 $(HOST_EXPORTS) \
21731 for flag in $(EXTRA_HOST_FLAGS) ; do \
21732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21733 done; \
21734 echo "Doing install-html in libdecnumber" ; \
21735 (cd $(HOST_SUBDIR)/libdecnumber && \
21736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21738 "RANLIB=$${RANLIB}" \
21739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21740 install-html) \
21741 || exit 1
21743 @endif libdecnumber
21745 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
21746 maybe-installcheck-libdecnumber:
21747 @if libdecnumber
21748 maybe-installcheck-libdecnumber: installcheck-libdecnumber
21750 installcheck-libdecnumber: \
21751 configure-libdecnumber
21752 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21753 r=`${PWD_COMMAND}`; export r; \
21754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21755 $(HOST_EXPORTS) \
21756 for flag in $(EXTRA_HOST_FLAGS) ; do \
21757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21758 done; \
21759 echo "Doing installcheck in libdecnumber" ; \
21760 (cd $(HOST_SUBDIR)/libdecnumber && \
21761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21763 "RANLIB=$${RANLIB}" \
21764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21765 installcheck) \
21766 || exit 1
21768 @endif libdecnumber
21770 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
21771 maybe-mostlyclean-libdecnumber:
21772 @if libdecnumber
21773 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
21775 mostlyclean-libdecnumber:
21776 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21777 r=`${PWD_COMMAND}`; export r; \
21778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21779 $(HOST_EXPORTS) \
21780 for flag in $(EXTRA_HOST_FLAGS) ; do \
21781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21782 done; \
21783 echo "Doing mostlyclean in libdecnumber" ; \
21784 (cd $(HOST_SUBDIR)/libdecnumber && \
21785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21787 "RANLIB=$${RANLIB}" \
21788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21789 mostlyclean) \
21790 || exit 1
21792 @endif libdecnumber
21794 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
21795 maybe-clean-libdecnumber:
21796 @if libdecnumber
21797 maybe-clean-libdecnumber: clean-libdecnumber
21799 clean-libdecnumber:
21800 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21801 r=`${PWD_COMMAND}`; export r; \
21802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21803 $(HOST_EXPORTS) \
21804 for flag in $(EXTRA_HOST_FLAGS) ; do \
21805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21806 done; \
21807 echo "Doing clean in libdecnumber" ; \
21808 (cd $(HOST_SUBDIR)/libdecnumber && \
21809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21811 "RANLIB=$${RANLIB}" \
21812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21813 clean) \
21814 || exit 1
21816 @endif libdecnumber
21818 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
21819 maybe-distclean-libdecnumber:
21820 @if libdecnumber
21821 maybe-distclean-libdecnumber: distclean-libdecnumber
21823 distclean-libdecnumber:
21824 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21825 r=`${PWD_COMMAND}`; export r; \
21826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21827 $(HOST_EXPORTS) \
21828 for flag in $(EXTRA_HOST_FLAGS) ; do \
21829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21830 done; \
21831 echo "Doing distclean in libdecnumber" ; \
21832 (cd $(HOST_SUBDIR)/libdecnumber && \
21833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21835 "RANLIB=$${RANLIB}" \
21836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21837 distclean) \
21838 || exit 1
21840 @endif libdecnumber
21842 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
21843 maybe-maintainer-clean-libdecnumber:
21844 @if libdecnumber
21845 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
21847 maintainer-clean-libdecnumber:
21848 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21849 r=`${PWD_COMMAND}`; export r; \
21850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21851 $(HOST_EXPORTS) \
21852 for flag in $(EXTRA_HOST_FLAGS) ; do \
21853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21854 done; \
21855 echo "Doing maintainer-clean in libdecnumber" ; \
21856 (cd $(HOST_SUBDIR)/libdecnumber && \
21857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21859 "RANLIB=$${RANLIB}" \
21860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21861 maintainer-clean) \
21862 || exit 1
21864 @endif libdecnumber
21868 .PHONY: configure-libgui maybe-configure-libgui
21869 maybe-configure-libgui:
21870 @if gcc-bootstrap
21871 configure-libgui: stage_current
21872 @endif gcc-bootstrap
21873 @if libgui
21874 maybe-configure-libgui: configure-libgui
21875 configure-libgui:
21876 @: $(MAKE); $(unstage)
21877 @r=`${PWD_COMMAND}`; export r; \
21878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21879 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
21880 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
21881 $(HOST_EXPORTS) \
21882 echo Configuring in $(HOST_SUBDIR)/libgui; \
21883 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
21884 case $(srcdir) in \
21885 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21886 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
21887 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21888 esac; \
21889 module_srcdir=libgui; \
21890 $(SHELL) \
21891 $$s/$$module_srcdir/configure \
21892 --srcdir=$${topdir}/$$module_srcdir \
21893 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21894 --target=${target_alias} \
21895 || exit 1
21896 @endif libgui
21902 .PHONY: all-libgui maybe-all-libgui
21903 maybe-all-libgui:
21904 @if gcc-bootstrap
21905 all-libgui: stage_current
21906 @endif gcc-bootstrap
21907 @if libgui
21908 TARGET-libgui=all
21909 maybe-all-libgui: all-libgui
21910 all-libgui: configure-libgui
21911 @: $(MAKE); $(unstage)
21912 @r=`${PWD_COMMAND}`; export r; \
21913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21914 $(HOST_EXPORTS) \
21915 (cd $(HOST_SUBDIR)/libgui && \
21916 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21917 $(TARGET-libgui))
21918 @endif libgui
21923 .PHONY: check-libgui maybe-check-libgui
21924 maybe-check-libgui:
21925 @if libgui
21926 maybe-check-libgui: check-libgui
21928 check-libgui:
21929 @: $(MAKE); $(unstage)
21930 @r=`${PWD_COMMAND}`; export r; \
21931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21932 $(HOST_EXPORTS) \
21933 (cd $(HOST_SUBDIR)/libgui && \
21934 $(MAKE) $(FLAGS_TO_PASS) check)
21936 @endif libgui
21938 .PHONY: install-libgui maybe-install-libgui
21939 maybe-install-libgui:
21940 @if libgui
21941 maybe-install-libgui: install-libgui
21943 install-libgui: installdirs
21944 @: $(MAKE); $(unstage)
21945 @r=`${PWD_COMMAND}`; export r; \
21946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21947 $(HOST_EXPORTS) \
21948 (cd $(HOST_SUBDIR)/libgui && \
21949 $(MAKE) $(FLAGS_TO_PASS) install)
21951 @endif libgui
21953 .PHONY: install-strip-libgui maybe-install-strip-libgui
21954 maybe-install-strip-libgui:
21955 @if libgui
21956 maybe-install-strip-libgui: install-strip-libgui
21958 install-strip-libgui: installdirs
21959 @: $(MAKE); $(unstage)
21960 @r=`${PWD_COMMAND}`; export r; \
21961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21962 $(HOST_EXPORTS) \
21963 (cd $(HOST_SUBDIR)/libgui && \
21964 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21966 @endif libgui
21968 # Other targets (info, dvi, pdf, etc.)
21970 .PHONY: maybe-info-libgui info-libgui
21971 maybe-info-libgui:
21972 @if libgui
21973 maybe-info-libgui: info-libgui
21975 info-libgui: \
21976 configure-libgui
21977 @: $(MAKE); $(unstage)
21978 @[ -f ./libgui/Makefile ] || exit 0; \
21979 r=`${PWD_COMMAND}`; export r; \
21980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21981 $(HOST_EXPORTS) \
21982 for flag in $(EXTRA_HOST_FLAGS) ; do \
21983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21984 done; \
21985 echo "Doing info in libgui" ; \
21986 (cd $(HOST_SUBDIR)/libgui && \
21987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21989 "RANLIB=$${RANLIB}" \
21990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21991 info) \
21992 || exit 1
21994 @endif libgui
21996 .PHONY: maybe-dvi-libgui dvi-libgui
21997 maybe-dvi-libgui:
21998 @if libgui
21999 maybe-dvi-libgui: dvi-libgui
22001 dvi-libgui: \
22002 configure-libgui
22003 @: $(MAKE); $(unstage)
22004 @[ -f ./libgui/Makefile ] || exit 0; \
22005 r=`${PWD_COMMAND}`; export r; \
22006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22007 $(HOST_EXPORTS) \
22008 for flag in $(EXTRA_HOST_FLAGS) ; do \
22009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22010 done; \
22011 echo "Doing dvi in libgui" ; \
22012 (cd $(HOST_SUBDIR)/libgui && \
22013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22015 "RANLIB=$${RANLIB}" \
22016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22017 dvi) \
22018 || exit 1
22020 @endif libgui
22022 .PHONY: maybe-pdf-libgui pdf-libgui
22023 maybe-pdf-libgui:
22024 @if libgui
22025 maybe-pdf-libgui: pdf-libgui
22027 pdf-libgui: \
22028 configure-libgui
22029 @: $(MAKE); $(unstage)
22030 @[ -f ./libgui/Makefile ] || exit 0; \
22031 r=`${PWD_COMMAND}`; export r; \
22032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22033 $(HOST_EXPORTS) \
22034 for flag in $(EXTRA_HOST_FLAGS) ; do \
22035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22036 done; \
22037 echo "Doing pdf in libgui" ; \
22038 (cd $(HOST_SUBDIR)/libgui && \
22039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22041 "RANLIB=$${RANLIB}" \
22042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22043 pdf) \
22044 || exit 1
22046 @endif libgui
22048 .PHONY: maybe-html-libgui html-libgui
22049 maybe-html-libgui:
22050 @if libgui
22051 maybe-html-libgui: html-libgui
22053 html-libgui: \
22054 configure-libgui
22055 @: $(MAKE); $(unstage)
22056 @[ -f ./libgui/Makefile ] || exit 0; \
22057 r=`${PWD_COMMAND}`; export r; \
22058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22059 $(HOST_EXPORTS) \
22060 for flag in $(EXTRA_HOST_FLAGS) ; do \
22061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22062 done; \
22063 echo "Doing html in libgui" ; \
22064 (cd $(HOST_SUBDIR)/libgui && \
22065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22067 "RANLIB=$${RANLIB}" \
22068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22069 html) \
22070 || exit 1
22072 @endif libgui
22074 .PHONY: maybe-TAGS-libgui TAGS-libgui
22075 maybe-TAGS-libgui:
22076 @if libgui
22077 maybe-TAGS-libgui: TAGS-libgui
22079 TAGS-libgui: \
22080 configure-libgui
22081 @: $(MAKE); $(unstage)
22082 @[ -f ./libgui/Makefile ] || exit 0; \
22083 r=`${PWD_COMMAND}`; export r; \
22084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22085 $(HOST_EXPORTS) \
22086 for flag in $(EXTRA_HOST_FLAGS) ; do \
22087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22088 done; \
22089 echo "Doing TAGS in libgui" ; \
22090 (cd $(HOST_SUBDIR)/libgui && \
22091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22093 "RANLIB=$${RANLIB}" \
22094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22095 TAGS) \
22096 || exit 1
22098 @endif libgui
22100 .PHONY: maybe-install-info-libgui install-info-libgui
22101 maybe-install-info-libgui:
22102 @if libgui
22103 maybe-install-info-libgui: install-info-libgui
22105 install-info-libgui: \
22106 configure-libgui \
22107 info-libgui
22108 @: $(MAKE); $(unstage)
22109 @[ -f ./libgui/Makefile ] || exit 0; \
22110 r=`${PWD_COMMAND}`; export r; \
22111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22112 $(HOST_EXPORTS) \
22113 for flag in $(EXTRA_HOST_FLAGS) ; do \
22114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22115 done; \
22116 echo "Doing install-info in libgui" ; \
22117 (cd $(HOST_SUBDIR)/libgui && \
22118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22120 "RANLIB=$${RANLIB}" \
22121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22122 install-info) \
22123 || exit 1
22125 @endif libgui
22127 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
22128 maybe-install-pdf-libgui:
22129 @if libgui
22130 maybe-install-pdf-libgui: install-pdf-libgui
22132 install-pdf-libgui: \
22133 configure-libgui \
22134 pdf-libgui
22135 @: $(MAKE); $(unstage)
22136 @[ -f ./libgui/Makefile ] || exit 0; \
22137 r=`${PWD_COMMAND}`; export r; \
22138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22139 $(HOST_EXPORTS) \
22140 for flag in $(EXTRA_HOST_FLAGS) ; do \
22141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22142 done; \
22143 echo "Doing install-pdf in libgui" ; \
22144 (cd $(HOST_SUBDIR)/libgui && \
22145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22147 "RANLIB=$${RANLIB}" \
22148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22149 install-pdf) \
22150 || exit 1
22152 @endif libgui
22154 .PHONY: maybe-install-html-libgui install-html-libgui
22155 maybe-install-html-libgui:
22156 @if libgui
22157 maybe-install-html-libgui: install-html-libgui
22159 install-html-libgui: \
22160 configure-libgui \
22161 html-libgui
22162 @: $(MAKE); $(unstage)
22163 @[ -f ./libgui/Makefile ] || exit 0; \
22164 r=`${PWD_COMMAND}`; export r; \
22165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22166 $(HOST_EXPORTS) \
22167 for flag in $(EXTRA_HOST_FLAGS) ; do \
22168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22169 done; \
22170 echo "Doing install-html in libgui" ; \
22171 (cd $(HOST_SUBDIR)/libgui && \
22172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22174 "RANLIB=$${RANLIB}" \
22175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22176 install-html) \
22177 || exit 1
22179 @endif libgui
22181 .PHONY: maybe-installcheck-libgui installcheck-libgui
22182 maybe-installcheck-libgui:
22183 @if libgui
22184 maybe-installcheck-libgui: installcheck-libgui
22186 installcheck-libgui: \
22187 configure-libgui
22188 @: $(MAKE); $(unstage)
22189 @[ -f ./libgui/Makefile ] || exit 0; \
22190 r=`${PWD_COMMAND}`; export r; \
22191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22192 $(HOST_EXPORTS) \
22193 for flag in $(EXTRA_HOST_FLAGS) ; do \
22194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22195 done; \
22196 echo "Doing installcheck in libgui" ; \
22197 (cd $(HOST_SUBDIR)/libgui && \
22198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22200 "RANLIB=$${RANLIB}" \
22201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22202 installcheck) \
22203 || exit 1
22205 @endif libgui
22207 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
22208 maybe-mostlyclean-libgui:
22209 @if libgui
22210 maybe-mostlyclean-libgui: mostlyclean-libgui
22212 mostlyclean-libgui:
22213 @: $(MAKE); $(unstage)
22214 @[ -f ./libgui/Makefile ] || exit 0; \
22215 r=`${PWD_COMMAND}`; export r; \
22216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22217 $(HOST_EXPORTS) \
22218 for flag in $(EXTRA_HOST_FLAGS) ; do \
22219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22220 done; \
22221 echo "Doing mostlyclean in libgui" ; \
22222 (cd $(HOST_SUBDIR)/libgui && \
22223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22225 "RANLIB=$${RANLIB}" \
22226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22227 mostlyclean) \
22228 || exit 1
22230 @endif libgui
22232 .PHONY: maybe-clean-libgui clean-libgui
22233 maybe-clean-libgui:
22234 @if libgui
22235 maybe-clean-libgui: clean-libgui
22237 clean-libgui:
22238 @: $(MAKE); $(unstage)
22239 @[ -f ./libgui/Makefile ] || exit 0; \
22240 r=`${PWD_COMMAND}`; export r; \
22241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22242 $(HOST_EXPORTS) \
22243 for flag in $(EXTRA_HOST_FLAGS) ; do \
22244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22245 done; \
22246 echo "Doing clean in libgui" ; \
22247 (cd $(HOST_SUBDIR)/libgui && \
22248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22250 "RANLIB=$${RANLIB}" \
22251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22252 clean) \
22253 || exit 1
22255 @endif libgui
22257 .PHONY: maybe-distclean-libgui distclean-libgui
22258 maybe-distclean-libgui:
22259 @if libgui
22260 maybe-distclean-libgui: distclean-libgui
22262 distclean-libgui:
22263 @: $(MAKE); $(unstage)
22264 @[ -f ./libgui/Makefile ] || exit 0; \
22265 r=`${PWD_COMMAND}`; export r; \
22266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22267 $(HOST_EXPORTS) \
22268 for flag in $(EXTRA_HOST_FLAGS) ; do \
22269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22270 done; \
22271 echo "Doing distclean in libgui" ; \
22272 (cd $(HOST_SUBDIR)/libgui && \
22273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22275 "RANLIB=$${RANLIB}" \
22276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22277 distclean) \
22278 || exit 1
22280 @endif libgui
22282 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
22283 maybe-maintainer-clean-libgui:
22284 @if libgui
22285 maybe-maintainer-clean-libgui: maintainer-clean-libgui
22287 maintainer-clean-libgui:
22288 @: $(MAKE); $(unstage)
22289 @[ -f ./libgui/Makefile ] || exit 0; \
22290 r=`${PWD_COMMAND}`; export r; \
22291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22292 $(HOST_EXPORTS) \
22293 for flag in $(EXTRA_HOST_FLAGS) ; do \
22294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22295 done; \
22296 echo "Doing maintainer-clean in libgui" ; \
22297 (cd $(HOST_SUBDIR)/libgui && \
22298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22300 "RANLIB=$${RANLIB}" \
22301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22302 maintainer-clean) \
22303 || exit 1
22305 @endif libgui
22309 .PHONY: configure-libiberty maybe-configure-libiberty
22310 maybe-configure-libiberty:
22311 @if gcc-bootstrap
22312 configure-libiberty: stage_current
22313 @endif gcc-bootstrap
22314 @if libiberty
22315 maybe-configure-libiberty: configure-libiberty
22316 configure-libiberty:
22317 @r=`${PWD_COMMAND}`; export r; \
22318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22319 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22320 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22321 $(HOST_EXPORTS) \
22322 echo Configuring in $(HOST_SUBDIR)/libiberty; \
22323 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
22324 case $(srcdir) in \
22325 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22326 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22327 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22328 esac; \
22329 module_srcdir=libiberty; \
22330 $(SHELL) \
22331 $$s/$$module_srcdir/configure \
22332 --srcdir=$${topdir}/$$module_srcdir \
22333 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22334 --target=${target_alias} @extra_host_libiberty_configure_flags@ \
22335 || exit 1
22336 @endif libiberty
22340 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
22341 maybe-configure-stage1-libiberty:
22342 @if libiberty-bootstrap
22343 maybe-configure-stage1-libiberty: configure-stage1-libiberty
22344 configure-stage1-libiberty:
22345 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22346 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22347 @r=`${PWD_COMMAND}`; export r; \
22348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22349 TFLAGS="$(STAGE1_TFLAGS)"; \
22350 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22351 $(HOST_EXPORTS) \
22352 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
22353 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
22354 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
22355 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
22356 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22357 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22358 case $(srcdir) in \
22359 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22360 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22361 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22362 esac; \
22363 module_srcdir=libiberty; \
22364 $(SHELL) $$s/$$module_srcdir/configure \
22365 --srcdir=$${topdir}/$$module_srcdir \
22366 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22367 --target=${target_alias} \
22369 $(STAGE1_CONFIGURE_FLAGS) \
22370 @extra_host_libiberty_configure_flags@
22371 @endif libiberty-bootstrap
22373 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
22374 maybe-configure-stage2-libiberty:
22375 @if libiberty-bootstrap
22376 maybe-configure-stage2-libiberty: configure-stage2-libiberty
22377 configure-stage2-libiberty:
22378 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22379 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22380 @r=`${PWD_COMMAND}`; export r; \
22381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22382 TFLAGS="$(STAGE2_TFLAGS)"; \
22383 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22384 $(HOST_EXPORTS) \
22385 $(POSTSTAGE1_HOST_EXPORTS) \
22386 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
22387 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
22388 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
22389 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
22390 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22391 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22392 case $(srcdir) in \
22393 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22394 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22395 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22396 esac; \
22397 module_srcdir=libiberty; \
22398 $(SHELL) $$s/$$module_srcdir/configure \
22399 --srcdir=$${topdir}/$$module_srcdir \
22400 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22401 --target=${target_alias} \
22402 --with-build-libsubdir=$(HOST_SUBDIR) \
22403 $(STAGE2_CONFIGURE_FLAGS) \
22404 @extra_host_libiberty_configure_flags@
22405 @endif libiberty-bootstrap
22407 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
22408 maybe-configure-stage3-libiberty:
22409 @if libiberty-bootstrap
22410 maybe-configure-stage3-libiberty: configure-stage3-libiberty
22411 configure-stage3-libiberty:
22412 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22413 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22414 @r=`${PWD_COMMAND}`; export r; \
22415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22416 TFLAGS="$(STAGE3_TFLAGS)"; \
22417 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22418 $(HOST_EXPORTS) \
22419 $(POSTSTAGE1_HOST_EXPORTS) \
22420 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
22421 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
22422 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
22423 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
22424 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22425 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22426 case $(srcdir) in \
22427 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22428 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22429 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22430 esac; \
22431 module_srcdir=libiberty; \
22432 $(SHELL) $$s/$$module_srcdir/configure \
22433 --srcdir=$${topdir}/$$module_srcdir \
22434 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22435 --target=${target_alias} \
22436 --with-build-libsubdir=$(HOST_SUBDIR) \
22437 $(STAGE3_CONFIGURE_FLAGS) \
22438 @extra_host_libiberty_configure_flags@
22439 @endif libiberty-bootstrap
22441 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
22442 maybe-configure-stage4-libiberty:
22443 @if libiberty-bootstrap
22444 maybe-configure-stage4-libiberty: configure-stage4-libiberty
22445 configure-stage4-libiberty:
22446 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22447 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22448 @r=`${PWD_COMMAND}`; export r; \
22449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22450 TFLAGS="$(STAGE4_TFLAGS)"; \
22451 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22452 $(HOST_EXPORTS) \
22453 $(POSTSTAGE1_HOST_EXPORTS) \
22454 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
22455 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
22456 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
22457 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
22458 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22459 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22460 case $(srcdir) in \
22461 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22462 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22463 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22464 esac; \
22465 module_srcdir=libiberty; \
22466 $(SHELL) $$s/$$module_srcdir/configure \
22467 --srcdir=$${topdir}/$$module_srcdir \
22468 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22469 --target=${target_alias} \
22470 --with-build-libsubdir=$(HOST_SUBDIR) \
22471 $(STAGE4_CONFIGURE_FLAGS) \
22472 @extra_host_libiberty_configure_flags@
22473 @endif libiberty-bootstrap
22475 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
22476 maybe-configure-stageprofile-libiberty:
22477 @if libiberty-bootstrap
22478 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
22479 configure-stageprofile-libiberty:
22480 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22481 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22482 @r=`${PWD_COMMAND}`; export r; \
22483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22484 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22485 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22486 $(HOST_EXPORTS) \
22487 $(POSTSTAGE1_HOST_EXPORTS) \
22488 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
22489 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
22490 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
22491 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
22492 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22493 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22494 case $(srcdir) in \
22495 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22496 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22497 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22498 esac; \
22499 module_srcdir=libiberty; \
22500 $(SHELL) $$s/$$module_srcdir/configure \
22501 --srcdir=$${topdir}/$$module_srcdir \
22502 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22503 --target=${target_alias} \
22504 --with-build-libsubdir=$(HOST_SUBDIR) \
22505 $(STAGEprofile_CONFIGURE_FLAGS) \
22506 @extra_host_libiberty_configure_flags@
22507 @endif libiberty-bootstrap
22509 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
22510 maybe-configure-stagefeedback-libiberty:
22511 @if libiberty-bootstrap
22512 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
22513 configure-stagefeedback-libiberty:
22514 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22515 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22516 @r=`${PWD_COMMAND}`; export r; \
22517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22518 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22519 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22520 $(HOST_EXPORTS) \
22521 $(POSTSTAGE1_HOST_EXPORTS) \
22522 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
22523 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
22524 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
22525 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
22526 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22527 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22528 case $(srcdir) in \
22529 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22530 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22531 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22532 esac; \
22533 module_srcdir=libiberty; \
22534 $(SHELL) $$s/$$module_srcdir/configure \
22535 --srcdir=$${topdir}/$$module_srcdir \
22536 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22537 --target=${target_alias} \
22538 --with-build-libsubdir=$(HOST_SUBDIR) \
22539 $(STAGEfeedback_CONFIGURE_FLAGS) \
22540 @extra_host_libiberty_configure_flags@
22541 @endif libiberty-bootstrap
22547 .PHONY: all-libiberty maybe-all-libiberty
22548 maybe-all-libiberty:
22549 @if gcc-bootstrap
22550 all-libiberty: stage_current
22551 @endif gcc-bootstrap
22552 @if libiberty
22553 TARGET-libiberty=all
22554 maybe-all-libiberty: all-libiberty
22555 all-libiberty: configure-libiberty
22556 @r=`${PWD_COMMAND}`; export r; \
22557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22558 $(HOST_EXPORTS) \
22559 (cd $(HOST_SUBDIR)/libiberty && \
22560 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22561 $(TARGET-libiberty))
22562 @endif libiberty
22566 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
22567 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
22568 maybe-all-stage1-libiberty:
22569 maybe-clean-stage1-libiberty:
22570 @if libiberty-bootstrap
22571 maybe-all-stage1-libiberty: all-stage1-libiberty
22572 all-stage1: all-stage1-libiberty
22573 TARGET-stage1-libiberty = $(TARGET-libiberty)
22574 all-stage1-libiberty: configure-stage1-libiberty
22575 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22576 @r=`${PWD_COMMAND}`; export r; \
22577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22578 TFLAGS="$(STAGE1_TFLAGS)"; \
22579 $(HOST_EXPORTS) \
22580 cd $(HOST_SUBDIR)/libiberty && \
22581 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22582 CFLAGS="$(STAGE1_CFLAGS)" \
22583 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22584 LIBCFLAGS="$(LIBCFLAGS)" \
22585 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22586 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22587 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22588 $(EXTRA_HOST_FLAGS) \
22589 $(STAGE1_FLAGS_TO_PASS) \
22590 TFLAGS="$(STAGE1_TFLAGS)" \
22591 $(TARGET-stage1-libiberty)
22593 maybe-clean-stage1-libiberty: clean-stage1-libiberty
22594 clean-stage1: clean-stage1-libiberty
22595 clean-stage1-libiberty:
22596 @if [ $(current_stage) = stage1 ]; then \
22597 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22598 else \
22599 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
22600 $(MAKE) stage1-start; \
22601 fi; \
22602 cd $(HOST_SUBDIR)/libiberty && \
22603 $(MAKE) $(EXTRA_HOST_FLAGS) \
22604 $(STAGE1_FLAGS_TO_PASS) clean
22605 @endif libiberty-bootstrap
22608 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
22609 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
22610 maybe-all-stage2-libiberty:
22611 maybe-clean-stage2-libiberty:
22612 @if libiberty-bootstrap
22613 maybe-all-stage2-libiberty: all-stage2-libiberty
22614 all-stage2: all-stage2-libiberty
22615 TARGET-stage2-libiberty = $(TARGET-libiberty)
22616 all-stage2-libiberty: configure-stage2-libiberty
22617 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22618 @r=`${PWD_COMMAND}`; export r; \
22619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22620 TFLAGS="$(STAGE2_TFLAGS)"; \
22621 $(HOST_EXPORTS) \
22622 $(POSTSTAGE1_HOST_EXPORTS) \
22623 cd $(HOST_SUBDIR)/libiberty && \
22624 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22625 CFLAGS="$(STAGE2_CFLAGS)" \
22626 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22627 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22628 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22629 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22630 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22631 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22632 TFLAGS="$(STAGE2_TFLAGS)" \
22633 $(TARGET-stage2-libiberty)
22635 maybe-clean-stage2-libiberty: clean-stage2-libiberty
22636 clean-stage2: clean-stage2-libiberty
22637 clean-stage2-libiberty:
22638 @if [ $(current_stage) = stage2 ]; then \
22639 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22640 else \
22641 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
22642 $(MAKE) stage2-start; \
22643 fi; \
22644 cd $(HOST_SUBDIR)/libiberty && \
22645 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22646 @endif libiberty-bootstrap
22649 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
22650 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
22651 maybe-all-stage3-libiberty:
22652 maybe-clean-stage3-libiberty:
22653 @if libiberty-bootstrap
22654 maybe-all-stage3-libiberty: all-stage3-libiberty
22655 all-stage3: all-stage3-libiberty
22656 TARGET-stage3-libiberty = $(TARGET-libiberty)
22657 all-stage3-libiberty: configure-stage3-libiberty
22658 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22659 @r=`${PWD_COMMAND}`; export r; \
22660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22661 TFLAGS="$(STAGE3_TFLAGS)"; \
22662 $(HOST_EXPORTS) \
22663 $(POSTSTAGE1_HOST_EXPORTS) \
22664 cd $(HOST_SUBDIR)/libiberty && \
22665 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22666 CFLAGS="$(STAGE3_CFLAGS)" \
22667 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22668 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22669 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22670 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22671 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22672 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22673 TFLAGS="$(STAGE3_TFLAGS)" \
22674 $(TARGET-stage3-libiberty)
22676 maybe-clean-stage3-libiberty: clean-stage3-libiberty
22677 clean-stage3: clean-stage3-libiberty
22678 clean-stage3-libiberty:
22679 @if [ $(current_stage) = stage3 ]; then \
22680 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22681 else \
22682 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
22683 $(MAKE) stage3-start; \
22684 fi; \
22685 cd $(HOST_SUBDIR)/libiberty && \
22686 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22687 @endif libiberty-bootstrap
22690 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
22691 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
22692 maybe-all-stage4-libiberty:
22693 maybe-clean-stage4-libiberty:
22694 @if libiberty-bootstrap
22695 maybe-all-stage4-libiberty: all-stage4-libiberty
22696 all-stage4: all-stage4-libiberty
22697 TARGET-stage4-libiberty = $(TARGET-libiberty)
22698 all-stage4-libiberty: configure-stage4-libiberty
22699 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22700 @r=`${PWD_COMMAND}`; export r; \
22701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22702 TFLAGS="$(STAGE4_TFLAGS)"; \
22703 $(HOST_EXPORTS) \
22704 $(POSTSTAGE1_HOST_EXPORTS) \
22705 cd $(HOST_SUBDIR)/libiberty && \
22706 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22707 CFLAGS="$(STAGE4_CFLAGS)" \
22708 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22709 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22710 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22711 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22712 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22713 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22714 TFLAGS="$(STAGE4_TFLAGS)" \
22715 $(TARGET-stage4-libiberty)
22717 maybe-clean-stage4-libiberty: clean-stage4-libiberty
22718 clean-stage4: clean-stage4-libiberty
22719 clean-stage4-libiberty:
22720 @if [ $(current_stage) = stage4 ]; then \
22721 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22722 else \
22723 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
22724 $(MAKE) stage4-start; \
22725 fi; \
22726 cd $(HOST_SUBDIR)/libiberty && \
22727 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22728 @endif libiberty-bootstrap
22731 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
22732 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
22733 maybe-all-stageprofile-libiberty:
22734 maybe-clean-stageprofile-libiberty:
22735 @if libiberty-bootstrap
22736 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
22737 all-stageprofile: all-stageprofile-libiberty
22738 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
22739 all-stageprofile-libiberty: configure-stageprofile-libiberty
22740 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22741 @r=`${PWD_COMMAND}`; export r; \
22742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22743 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22744 $(HOST_EXPORTS) \
22745 $(POSTSTAGE1_HOST_EXPORTS) \
22746 cd $(HOST_SUBDIR)/libiberty && \
22747 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22748 CFLAGS="$(STAGEprofile_CFLAGS)" \
22749 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22750 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22751 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22752 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22753 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22754 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22755 TFLAGS="$(STAGEprofile_TFLAGS)" \
22756 $(TARGET-stageprofile-libiberty)
22758 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
22759 clean-stageprofile: clean-stageprofile-libiberty
22760 clean-stageprofile-libiberty:
22761 @if [ $(current_stage) = stageprofile ]; then \
22762 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22763 else \
22764 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
22765 $(MAKE) stageprofile-start; \
22766 fi; \
22767 cd $(HOST_SUBDIR)/libiberty && \
22768 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22769 @endif libiberty-bootstrap
22772 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
22773 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
22774 maybe-all-stagefeedback-libiberty:
22775 maybe-clean-stagefeedback-libiberty:
22776 @if libiberty-bootstrap
22777 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
22778 all-stagefeedback: all-stagefeedback-libiberty
22779 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
22780 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
22781 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22782 @r=`${PWD_COMMAND}`; export r; \
22783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22784 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22785 $(HOST_EXPORTS) \
22786 $(POSTSTAGE1_HOST_EXPORTS) \
22787 cd $(HOST_SUBDIR)/libiberty && \
22788 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22789 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22790 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22791 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22792 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22793 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22794 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22795 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22796 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22797 $(TARGET-stagefeedback-libiberty)
22799 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
22800 clean-stagefeedback: clean-stagefeedback-libiberty
22801 clean-stagefeedback-libiberty:
22802 @if [ $(current_stage) = stagefeedback ]; then \
22803 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22804 else \
22805 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
22806 $(MAKE) stagefeedback-start; \
22807 fi; \
22808 cd $(HOST_SUBDIR)/libiberty && \
22809 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22810 @endif libiberty-bootstrap
22816 .PHONY: check-libiberty maybe-check-libiberty
22817 maybe-check-libiberty:
22818 @if libiberty
22819 maybe-check-libiberty: check-libiberty
22821 check-libiberty:
22822 @: $(MAKE); $(unstage)
22823 @r=`${PWD_COMMAND}`; export r; \
22824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22825 $(HOST_EXPORTS) \
22826 (cd $(HOST_SUBDIR)/libiberty && \
22827 $(MAKE) $(FLAGS_TO_PASS) check)
22829 @endif libiberty
22831 .PHONY: install-libiberty maybe-install-libiberty
22832 maybe-install-libiberty:
22833 @if libiberty
22834 maybe-install-libiberty: install-libiberty
22836 install-libiberty: installdirs
22837 @: $(MAKE); $(unstage)
22838 @r=`${PWD_COMMAND}`; export r; \
22839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22840 $(HOST_EXPORTS) \
22841 (cd $(HOST_SUBDIR)/libiberty && \
22842 $(MAKE) $(FLAGS_TO_PASS) install)
22844 @endif libiberty
22846 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
22847 maybe-install-strip-libiberty:
22848 @if libiberty
22849 maybe-install-strip-libiberty: install-strip-libiberty
22851 install-strip-libiberty: installdirs
22852 @: $(MAKE); $(unstage)
22853 @r=`${PWD_COMMAND}`; export r; \
22854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22855 $(HOST_EXPORTS) \
22856 (cd $(HOST_SUBDIR)/libiberty && \
22857 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22859 @endif libiberty
22861 # Other targets (info, dvi, pdf, etc.)
22863 .PHONY: maybe-info-libiberty info-libiberty
22864 maybe-info-libiberty:
22865 @if libiberty
22866 maybe-info-libiberty: info-libiberty
22868 info-libiberty: \
22869 configure-libiberty
22870 @[ -f ./libiberty/Makefile ] || exit 0; \
22871 r=`${PWD_COMMAND}`; export r; \
22872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22873 $(HOST_EXPORTS) \
22874 for flag in $(EXTRA_HOST_FLAGS) ; do \
22875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22876 done; \
22877 echo "Doing info in libiberty" ; \
22878 (cd $(HOST_SUBDIR)/libiberty && \
22879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22881 "RANLIB=$${RANLIB}" \
22882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22883 info) \
22884 || exit 1
22886 @endif libiberty
22888 .PHONY: maybe-dvi-libiberty dvi-libiberty
22889 maybe-dvi-libiberty:
22890 @if libiberty
22891 maybe-dvi-libiberty: dvi-libiberty
22893 dvi-libiberty: \
22894 configure-libiberty
22895 @[ -f ./libiberty/Makefile ] || exit 0; \
22896 r=`${PWD_COMMAND}`; export r; \
22897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22898 $(HOST_EXPORTS) \
22899 for flag in $(EXTRA_HOST_FLAGS) ; do \
22900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22901 done; \
22902 echo "Doing dvi in libiberty" ; \
22903 (cd $(HOST_SUBDIR)/libiberty && \
22904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22906 "RANLIB=$${RANLIB}" \
22907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22908 dvi) \
22909 || exit 1
22911 @endif libiberty
22913 .PHONY: maybe-pdf-libiberty pdf-libiberty
22914 maybe-pdf-libiberty:
22915 @if libiberty
22916 maybe-pdf-libiberty: pdf-libiberty
22918 pdf-libiberty: \
22919 configure-libiberty
22920 @[ -f ./libiberty/Makefile ] || exit 0; \
22921 r=`${PWD_COMMAND}`; export r; \
22922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22923 $(HOST_EXPORTS) \
22924 for flag in $(EXTRA_HOST_FLAGS) ; do \
22925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22926 done; \
22927 echo "Doing pdf in libiberty" ; \
22928 (cd $(HOST_SUBDIR)/libiberty && \
22929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22931 "RANLIB=$${RANLIB}" \
22932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22933 pdf) \
22934 || exit 1
22936 @endif libiberty
22938 .PHONY: maybe-html-libiberty html-libiberty
22939 maybe-html-libiberty:
22940 @if libiberty
22941 maybe-html-libiberty: html-libiberty
22943 html-libiberty: \
22944 configure-libiberty
22945 @[ -f ./libiberty/Makefile ] || exit 0; \
22946 r=`${PWD_COMMAND}`; export r; \
22947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22948 $(HOST_EXPORTS) \
22949 for flag in $(EXTRA_HOST_FLAGS) ; do \
22950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22951 done; \
22952 echo "Doing html in libiberty" ; \
22953 (cd $(HOST_SUBDIR)/libiberty && \
22954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22956 "RANLIB=$${RANLIB}" \
22957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22958 html) \
22959 || exit 1
22961 @endif libiberty
22963 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
22964 maybe-TAGS-libiberty:
22965 @if libiberty
22966 maybe-TAGS-libiberty: TAGS-libiberty
22968 TAGS-libiberty: \
22969 configure-libiberty
22970 @[ -f ./libiberty/Makefile ] || exit 0; \
22971 r=`${PWD_COMMAND}`; export r; \
22972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22973 $(HOST_EXPORTS) \
22974 for flag in $(EXTRA_HOST_FLAGS) ; do \
22975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22976 done; \
22977 echo "Doing TAGS in libiberty" ; \
22978 (cd $(HOST_SUBDIR)/libiberty && \
22979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22981 "RANLIB=$${RANLIB}" \
22982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22983 TAGS) \
22984 || exit 1
22986 @endif libiberty
22988 .PHONY: maybe-install-info-libiberty install-info-libiberty
22989 maybe-install-info-libiberty:
22990 @if libiberty
22991 maybe-install-info-libiberty: install-info-libiberty
22993 install-info-libiberty: \
22994 configure-libiberty \
22995 info-libiberty
22996 @[ -f ./libiberty/Makefile ] || exit 0; \
22997 r=`${PWD_COMMAND}`; export r; \
22998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22999 $(HOST_EXPORTS) \
23000 for flag in $(EXTRA_HOST_FLAGS) ; do \
23001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23002 done; \
23003 echo "Doing install-info in libiberty" ; \
23004 (cd $(HOST_SUBDIR)/libiberty && \
23005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23007 "RANLIB=$${RANLIB}" \
23008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23009 install-info) \
23010 || exit 1
23012 @endif libiberty
23014 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
23015 maybe-install-pdf-libiberty:
23016 @if libiberty
23017 maybe-install-pdf-libiberty: install-pdf-libiberty
23019 install-pdf-libiberty: \
23020 configure-libiberty \
23021 pdf-libiberty
23022 @[ -f ./libiberty/Makefile ] || exit 0; \
23023 r=`${PWD_COMMAND}`; export r; \
23024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23025 $(HOST_EXPORTS) \
23026 for flag in $(EXTRA_HOST_FLAGS) ; do \
23027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23028 done; \
23029 echo "Doing install-pdf in libiberty" ; \
23030 (cd $(HOST_SUBDIR)/libiberty && \
23031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23033 "RANLIB=$${RANLIB}" \
23034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23035 install-pdf) \
23036 || exit 1
23038 @endif libiberty
23040 .PHONY: maybe-install-html-libiberty install-html-libiberty
23041 maybe-install-html-libiberty:
23042 @if libiberty
23043 maybe-install-html-libiberty: install-html-libiberty
23045 install-html-libiberty: \
23046 configure-libiberty \
23047 html-libiberty
23048 @[ -f ./libiberty/Makefile ] || exit 0; \
23049 r=`${PWD_COMMAND}`; export r; \
23050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23051 $(HOST_EXPORTS) \
23052 for flag in $(EXTRA_HOST_FLAGS) ; do \
23053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23054 done; \
23055 echo "Doing install-html in libiberty" ; \
23056 (cd $(HOST_SUBDIR)/libiberty && \
23057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23059 "RANLIB=$${RANLIB}" \
23060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23061 install-html) \
23062 || exit 1
23064 @endif libiberty
23066 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
23067 maybe-installcheck-libiberty:
23068 @if libiberty
23069 maybe-installcheck-libiberty: installcheck-libiberty
23071 installcheck-libiberty: \
23072 configure-libiberty
23073 @[ -f ./libiberty/Makefile ] || exit 0; \
23074 r=`${PWD_COMMAND}`; export r; \
23075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23076 $(HOST_EXPORTS) \
23077 for flag in $(EXTRA_HOST_FLAGS) ; do \
23078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23079 done; \
23080 echo "Doing installcheck in libiberty" ; \
23081 (cd $(HOST_SUBDIR)/libiberty && \
23082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23084 "RANLIB=$${RANLIB}" \
23085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23086 installcheck) \
23087 || exit 1
23089 @endif libiberty
23091 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
23092 maybe-mostlyclean-libiberty:
23093 @if libiberty
23094 maybe-mostlyclean-libiberty: mostlyclean-libiberty
23096 mostlyclean-libiberty:
23097 @[ -f ./libiberty/Makefile ] || exit 0; \
23098 r=`${PWD_COMMAND}`; export r; \
23099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23100 $(HOST_EXPORTS) \
23101 for flag in $(EXTRA_HOST_FLAGS) ; do \
23102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23103 done; \
23104 echo "Doing mostlyclean in libiberty" ; \
23105 (cd $(HOST_SUBDIR)/libiberty && \
23106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23108 "RANLIB=$${RANLIB}" \
23109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23110 mostlyclean) \
23111 || exit 1
23113 @endif libiberty
23115 .PHONY: maybe-clean-libiberty clean-libiberty
23116 maybe-clean-libiberty:
23117 @if libiberty
23118 maybe-clean-libiberty: clean-libiberty
23120 clean-libiberty:
23121 @[ -f ./libiberty/Makefile ] || exit 0; \
23122 r=`${PWD_COMMAND}`; export r; \
23123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23124 $(HOST_EXPORTS) \
23125 for flag in $(EXTRA_HOST_FLAGS) ; do \
23126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23127 done; \
23128 echo "Doing clean in libiberty" ; \
23129 (cd $(HOST_SUBDIR)/libiberty && \
23130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23132 "RANLIB=$${RANLIB}" \
23133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23134 clean) \
23135 || exit 1
23137 @endif libiberty
23139 .PHONY: maybe-distclean-libiberty distclean-libiberty
23140 maybe-distclean-libiberty:
23141 @if libiberty
23142 maybe-distclean-libiberty: distclean-libiberty
23144 distclean-libiberty:
23145 @[ -f ./libiberty/Makefile ] || exit 0; \
23146 r=`${PWD_COMMAND}`; export r; \
23147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23148 $(HOST_EXPORTS) \
23149 for flag in $(EXTRA_HOST_FLAGS) ; do \
23150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23151 done; \
23152 echo "Doing distclean in libiberty" ; \
23153 (cd $(HOST_SUBDIR)/libiberty && \
23154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23156 "RANLIB=$${RANLIB}" \
23157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23158 distclean) \
23159 || exit 1
23161 @endif libiberty
23163 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
23164 maybe-maintainer-clean-libiberty:
23165 @if libiberty
23166 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
23168 maintainer-clean-libiberty:
23169 @[ -f ./libiberty/Makefile ] || exit 0; \
23170 r=`${PWD_COMMAND}`; export r; \
23171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23172 $(HOST_EXPORTS) \
23173 for flag in $(EXTRA_HOST_FLAGS) ; do \
23174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23175 done; \
23176 echo "Doing maintainer-clean in libiberty" ; \
23177 (cd $(HOST_SUBDIR)/libiberty && \
23178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23180 "RANLIB=$${RANLIB}" \
23181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23182 maintainer-clean) \
23183 || exit 1
23185 @endif libiberty
23189 .PHONY: configure-libiberty-linker-plugin maybe-configure-libiberty-linker-plugin
23190 maybe-configure-libiberty-linker-plugin:
23191 @if gcc-bootstrap
23192 configure-libiberty-linker-plugin: stage_current
23193 @endif gcc-bootstrap
23194 @if libiberty-linker-plugin
23195 maybe-configure-libiberty-linker-plugin: configure-libiberty-linker-plugin
23196 configure-libiberty-linker-plugin:
23197 @r=`${PWD_COMMAND}`; export r; \
23198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23199 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23200 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23201 $(HOST_EXPORTS) \
23202 echo Configuring in $(HOST_SUBDIR)/libiberty-linker-plugin; \
23203 cd "$(HOST_SUBDIR)/libiberty-linker-plugin" || exit 1; \
23204 case $(srcdir) in \
23205 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23206 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23207 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23208 esac; \
23209 module_srcdir=libiberty; \
23210 $(SHELL) \
23211 $$s/$$module_srcdir/configure \
23212 --srcdir=$${topdir}/$$module_srcdir \
23213 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23214 --target=${target_alias} @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
23215 || exit 1
23216 @endif libiberty-linker-plugin
23220 .PHONY: configure-stage1-libiberty-linker-plugin maybe-configure-stage1-libiberty-linker-plugin
23221 maybe-configure-stage1-libiberty-linker-plugin:
23222 @if libiberty-linker-plugin-bootstrap
23223 maybe-configure-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
23224 configure-stage1-libiberty-linker-plugin:
23225 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23226 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23227 @r=`${PWD_COMMAND}`; export r; \
23228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23229 TFLAGS="$(STAGE1_TFLAGS)"; \
23230 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23231 $(HOST_EXPORTS) \
23232 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
23233 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
23234 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
23235 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23236 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23237 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23238 case $(srcdir) in \
23239 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23240 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23241 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23242 esac; \
23243 module_srcdir=libiberty; \
23244 $(SHELL) $$s/$$module_srcdir/configure \
23245 --srcdir=$${topdir}/$$module_srcdir \
23246 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23247 --target=${target_alias} \
23249 $(STAGE1_CONFIGURE_FLAGS) \
23250 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23251 @endif libiberty-linker-plugin-bootstrap
23253 .PHONY: configure-stage2-libiberty-linker-plugin maybe-configure-stage2-libiberty-linker-plugin
23254 maybe-configure-stage2-libiberty-linker-plugin:
23255 @if libiberty-linker-plugin-bootstrap
23256 maybe-configure-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
23257 configure-stage2-libiberty-linker-plugin:
23258 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23259 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23260 @r=`${PWD_COMMAND}`; export r; \
23261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23262 TFLAGS="$(STAGE2_TFLAGS)"; \
23263 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23264 $(HOST_EXPORTS) \
23265 $(POSTSTAGE1_HOST_EXPORTS) \
23266 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
23267 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
23268 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
23269 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23270 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23271 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23272 case $(srcdir) in \
23273 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23274 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23275 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23276 esac; \
23277 module_srcdir=libiberty; \
23278 $(SHELL) $$s/$$module_srcdir/configure \
23279 --srcdir=$${topdir}/$$module_srcdir \
23280 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23281 --target=${target_alias} \
23282 --with-build-libsubdir=$(HOST_SUBDIR) \
23283 $(STAGE2_CONFIGURE_FLAGS) \
23284 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23285 @endif libiberty-linker-plugin-bootstrap
23287 .PHONY: configure-stage3-libiberty-linker-plugin maybe-configure-stage3-libiberty-linker-plugin
23288 maybe-configure-stage3-libiberty-linker-plugin:
23289 @if libiberty-linker-plugin-bootstrap
23290 maybe-configure-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
23291 configure-stage3-libiberty-linker-plugin:
23292 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23293 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23294 @r=`${PWD_COMMAND}`; export r; \
23295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23296 TFLAGS="$(STAGE3_TFLAGS)"; \
23297 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23298 $(HOST_EXPORTS) \
23299 $(POSTSTAGE1_HOST_EXPORTS) \
23300 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
23301 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
23302 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
23303 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23304 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23305 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23306 case $(srcdir) in \
23307 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23308 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23309 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23310 esac; \
23311 module_srcdir=libiberty; \
23312 $(SHELL) $$s/$$module_srcdir/configure \
23313 --srcdir=$${topdir}/$$module_srcdir \
23314 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23315 --target=${target_alias} \
23316 --with-build-libsubdir=$(HOST_SUBDIR) \
23317 $(STAGE3_CONFIGURE_FLAGS) \
23318 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23319 @endif libiberty-linker-plugin-bootstrap
23321 .PHONY: configure-stage4-libiberty-linker-plugin maybe-configure-stage4-libiberty-linker-plugin
23322 maybe-configure-stage4-libiberty-linker-plugin:
23323 @if libiberty-linker-plugin-bootstrap
23324 maybe-configure-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
23325 configure-stage4-libiberty-linker-plugin:
23326 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23327 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23328 @r=`${PWD_COMMAND}`; export r; \
23329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23330 TFLAGS="$(STAGE4_TFLAGS)"; \
23331 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23332 $(HOST_EXPORTS) \
23333 $(POSTSTAGE1_HOST_EXPORTS) \
23334 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
23335 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
23336 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
23337 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23338 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23339 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23340 case $(srcdir) in \
23341 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23342 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23343 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23344 esac; \
23345 module_srcdir=libiberty; \
23346 $(SHELL) $$s/$$module_srcdir/configure \
23347 --srcdir=$${topdir}/$$module_srcdir \
23348 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23349 --target=${target_alias} \
23350 --with-build-libsubdir=$(HOST_SUBDIR) \
23351 $(STAGE4_CONFIGURE_FLAGS) \
23352 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23353 @endif libiberty-linker-plugin-bootstrap
23355 .PHONY: configure-stageprofile-libiberty-linker-plugin maybe-configure-stageprofile-libiberty-linker-plugin
23356 maybe-configure-stageprofile-libiberty-linker-plugin:
23357 @if libiberty-linker-plugin-bootstrap
23358 maybe-configure-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
23359 configure-stageprofile-libiberty-linker-plugin:
23360 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23361 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23362 @r=`${PWD_COMMAND}`; export r; \
23363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23364 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23365 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23366 $(HOST_EXPORTS) \
23367 $(POSTSTAGE1_HOST_EXPORTS) \
23368 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
23369 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
23370 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
23371 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23372 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23373 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23374 case $(srcdir) in \
23375 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23376 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23377 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23378 esac; \
23379 module_srcdir=libiberty; \
23380 $(SHELL) $$s/$$module_srcdir/configure \
23381 --srcdir=$${topdir}/$$module_srcdir \
23382 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23383 --target=${target_alias} \
23384 --with-build-libsubdir=$(HOST_SUBDIR) \
23385 $(STAGEprofile_CONFIGURE_FLAGS) \
23386 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23387 @endif libiberty-linker-plugin-bootstrap
23389 .PHONY: configure-stagefeedback-libiberty-linker-plugin maybe-configure-stagefeedback-libiberty-linker-plugin
23390 maybe-configure-stagefeedback-libiberty-linker-plugin:
23391 @if libiberty-linker-plugin-bootstrap
23392 maybe-configure-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
23393 configure-stagefeedback-libiberty-linker-plugin:
23394 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23395 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23396 @r=`${PWD_COMMAND}`; export r; \
23397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23398 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23399 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23400 $(HOST_EXPORTS) \
23401 $(POSTSTAGE1_HOST_EXPORTS) \
23402 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
23403 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
23404 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
23405 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23406 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23407 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23408 case $(srcdir) in \
23409 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23410 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23411 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23412 esac; \
23413 module_srcdir=libiberty; \
23414 $(SHELL) $$s/$$module_srcdir/configure \
23415 --srcdir=$${topdir}/$$module_srcdir \
23416 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23417 --target=${target_alias} \
23418 --with-build-libsubdir=$(HOST_SUBDIR) \
23419 $(STAGEfeedback_CONFIGURE_FLAGS) \
23420 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23421 @endif libiberty-linker-plugin-bootstrap
23427 .PHONY: all-libiberty-linker-plugin maybe-all-libiberty-linker-plugin
23428 maybe-all-libiberty-linker-plugin:
23429 @if gcc-bootstrap
23430 all-libiberty-linker-plugin: stage_current
23431 @endif gcc-bootstrap
23432 @if libiberty-linker-plugin
23433 TARGET-libiberty-linker-plugin=all
23434 maybe-all-libiberty-linker-plugin: all-libiberty-linker-plugin
23435 all-libiberty-linker-plugin: configure-libiberty-linker-plugin
23436 @r=`${PWD_COMMAND}`; export r; \
23437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23438 $(HOST_EXPORTS) \
23439 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23440 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23441 $(TARGET-libiberty-linker-plugin))
23442 @endif libiberty-linker-plugin
23446 .PHONY: all-stage1-libiberty-linker-plugin maybe-all-stage1-libiberty-linker-plugin
23447 .PHONY: clean-stage1-libiberty-linker-plugin maybe-clean-stage1-libiberty-linker-plugin
23448 maybe-all-stage1-libiberty-linker-plugin:
23449 maybe-clean-stage1-libiberty-linker-plugin:
23450 @if libiberty-linker-plugin-bootstrap
23451 maybe-all-stage1-libiberty-linker-plugin: all-stage1-libiberty-linker-plugin
23452 all-stage1: all-stage1-libiberty-linker-plugin
23453 TARGET-stage1-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23454 all-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
23455 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23456 @r=`${PWD_COMMAND}`; export r; \
23457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23458 TFLAGS="$(STAGE1_TFLAGS)"; \
23459 $(HOST_EXPORTS) \
23460 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23461 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23462 CFLAGS="$(STAGE1_CFLAGS)" \
23463 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
23464 LIBCFLAGS="$(LIBCFLAGS)" \
23465 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23466 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23467 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23468 $(EXTRA_HOST_FLAGS) \
23469 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23470 TFLAGS="$(STAGE1_TFLAGS)" \
23471 $(TARGET-stage1-libiberty-linker-plugin)
23473 maybe-clean-stage1-libiberty-linker-plugin: clean-stage1-libiberty-linker-plugin
23474 clean-stage1: clean-stage1-libiberty-linker-plugin
23475 clean-stage1-libiberty-linker-plugin:
23476 @if [ $(current_stage) = stage1 ]; then \
23477 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23478 else \
23479 [ -f $(HOST_SUBDIR)/stage1-libiberty-linker-plugin/Makefile ] || exit 0; \
23480 $(MAKE) stage1-start; \
23481 fi; \
23482 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23483 $(MAKE) $(EXTRA_HOST_FLAGS) \
23484 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23485 @endif libiberty-linker-plugin-bootstrap
23488 .PHONY: all-stage2-libiberty-linker-plugin maybe-all-stage2-libiberty-linker-plugin
23489 .PHONY: clean-stage2-libiberty-linker-plugin maybe-clean-stage2-libiberty-linker-plugin
23490 maybe-all-stage2-libiberty-linker-plugin:
23491 maybe-clean-stage2-libiberty-linker-plugin:
23492 @if libiberty-linker-plugin-bootstrap
23493 maybe-all-stage2-libiberty-linker-plugin: all-stage2-libiberty-linker-plugin
23494 all-stage2: all-stage2-libiberty-linker-plugin
23495 TARGET-stage2-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23496 all-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
23497 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23498 @r=`${PWD_COMMAND}`; export r; \
23499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23500 TFLAGS="$(STAGE2_TFLAGS)"; \
23501 $(HOST_EXPORTS) \
23502 $(POSTSTAGE1_HOST_EXPORTS) \
23503 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23504 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23505 CFLAGS="$(STAGE2_CFLAGS)" \
23506 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
23507 LIBCFLAGS="$(STAGE2_CFLAGS)" \
23508 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23509 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23510 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23511 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23512 TFLAGS="$(STAGE2_TFLAGS)" \
23513 $(TARGET-stage2-libiberty-linker-plugin)
23515 maybe-clean-stage2-libiberty-linker-plugin: clean-stage2-libiberty-linker-plugin
23516 clean-stage2: clean-stage2-libiberty-linker-plugin
23517 clean-stage2-libiberty-linker-plugin:
23518 @if [ $(current_stage) = stage2 ]; then \
23519 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23520 else \
23521 [ -f $(HOST_SUBDIR)/stage2-libiberty-linker-plugin/Makefile ] || exit 0; \
23522 $(MAKE) stage2-start; \
23523 fi; \
23524 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23525 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23526 @endif libiberty-linker-plugin-bootstrap
23529 .PHONY: all-stage3-libiberty-linker-plugin maybe-all-stage3-libiberty-linker-plugin
23530 .PHONY: clean-stage3-libiberty-linker-plugin maybe-clean-stage3-libiberty-linker-plugin
23531 maybe-all-stage3-libiberty-linker-plugin:
23532 maybe-clean-stage3-libiberty-linker-plugin:
23533 @if libiberty-linker-plugin-bootstrap
23534 maybe-all-stage3-libiberty-linker-plugin: all-stage3-libiberty-linker-plugin
23535 all-stage3: all-stage3-libiberty-linker-plugin
23536 TARGET-stage3-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23537 all-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
23538 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23539 @r=`${PWD_COMMAND}`; export r; \
23540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23541 TFLAGS="$(STAGE3_TFLAGS)"; \
23542 $(HOST_EXPORTS) \
23543 $(POSTSTAGE1_HOST_EXPORTS) \
23544 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23545 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23546 CFLAGS="$(STAGE3_CFLAGS)" \
23547 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
23548 LIBCFLAGS="$(STAGE3_CFLAGS)" \
23549 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23550 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23551 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23552 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23553 TFLAGS="$(STAGE3_TFLAGS)" \
23554 $(TARGET-stage3-libiberty-linker-plugin)
23556 maybe-clean-stage3-libiberty-linker-plugin: clean-stage3-libiberty-linker-plugin
23557 clean-stage3: clean-stage3-libiberty-linker-plugin
23558 clean-stage3-libiberty-linker-plugin:
23559 @if [ $(current_stage) = stage3 ]; then \
23560 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23561 else \
23562 [ -f $(HOST_SUBDIR)/stage3-libiberty-linker-plugin/Makefile ] || exit 0; \
23563 $(MAKE) stage3-start; \
23564 fi; \
23565 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23566 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23567 @endif libiberty-linker-plugin-bootstrap
23570 .PHONY: all-stage4-libiberty-linker-plugin maybe-all-stage4-libiberty-linker-plugin
23571 .PHONY: clean-stage4-libiberty-linker-plugin maybe-clean-stage4-libiberty-linker-plugin
23572 maybe-all-stage4-libiberty-linker-plugin:
23573 maybe-clean-stage4-libiberty-linker-plugin:
23574 @if libiberty-linker-plugin-bootstrap
23575 maybe-all-stage4-libiberty-linker-plugin: all-stage4-libiberty-linker-plugin
23576 all-stage4: all-stage4-libiberty-linker-plugin
23577 TARGET-stage4-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23578 all-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
23579 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23580 @r=`${PWD_COMMAND}`; export r; \
23581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23582 TFLAGS="$(STAGE4_TFLAGS)"; \
23583 $(HOST_EXPORTS) \
23584 $(POSTSTAGE1_HOST_EXPORTS) \
23585 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23586 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23587 CFLAGS="$(STAGE4_CFLAGS)" \
23588 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
23589 LIBCFLAGS="$(STAGE4_CFLAGS)" \
23590 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23591 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23592 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23593 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23594 TFLAGS="$(STAGE4_TFLAGS)" \
23595 $(TARGET-stage4-libiberty-linker-plugin)
23597 maybe-clean-stage4-libiberty-linker-plugin: clean-stage4-libiberty-linker-plugin
23598 clean-stage4: clean-stage4-libiberty-linker-plugin
23599 clean-stage4-libiberty-linker-plugin:
23600 @if [ $(current_stage) = stage4 ]; then \
23601 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23602 else \
23603 [ -f $(HOST_SUBDIR)/stage4-libiberty-linker-plugin/Makefile ] || exit 0; \
23604 $(MAKE) stage4-start; \
23605 fi; \
23606 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23607 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23608 @endif libiberty-linker-plugin-bootstrap
23611 .PHONY: all-stageprofile-libiberty-linker-plugin maybe-all-stageprofile-libiberty-linker-plugin
23612 .PHONY: clean-stageprofile-libiberty-linker-plugin maybe-clean-stageprofile-libiberty-linker-plugin
23613 maybe-all-stageprofile-libiberty-linker-plugin:
23614 maybe-clean-stageprofile-libiberty-linker-plugin:
23615 @if libiberty-linker-plugin-bootstrap
23616 maybe-all-stageprofile-libiberty-linker-plugin: all-stageprofile-libiberty-linker-plugin
23617 all-stageprofile: all-stageprofile-libiberty-linker-plugin
23618 TARGET-stageprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23619 all-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
23620 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23621 @r=`${PWD_COMMAND}`; export r; \
23622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23623 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23624 $(HOST_EXPORTS) \
23625 $(POSTSTAGE1_HOST_EXPORTS) \
23626 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23627 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23628 CFLAGS="$(STAGEprofile_CFLAGS)" \
23629 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
23630 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
23631 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23632 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23633 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23634 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23635 TFLAGS="$(STAGEprofile_TFLAGS)" \
23636 $(TARGET-stageprofile-libiberty-linker-plugin)
23638 maybe-clean-stageprofile-libiberty-linker-plugin: clean-stageprofile-libiberty-linker-plugin
23639 clean-stageprofile: clean-stageprofile-libiberty-linker-plugin
23640 clean-stageprofile-libiberty-linker-plugin:
23641 @if [ $(current_stage) = stageprofile ]; then \
23642 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23643 else \
23644 [ -f $(HOST_SUBDIR)/stageprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
23645 $(MAKE) stageprofile-start; \
23646 fi; \
23647 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23648 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23649 @endif libiberty-linker-plugin-bootstrap
23652 .PHONY: all-stagefeedback-libiberty-linker-plugin maybe-all-stagefeedback-libiberty-linker-plugin
23653 .PHONY: clean-stagefeedback-libiberty-linker-plugin maybe-clean-stagefeedback-libiberty-linker-plugin
23654 maybe-all-stagefeedback-libiberty-linker-plugin:
23655 maybe-clean-stagefeedback-libiberty-linker-plugin:
23656 @if libiberty-linker-plugin-bootstrap
23657 maybe-all-stagefeedback-libiberty-linker-plugin: all-stagefeedback-libiberty-linker-plugin
23658 all-stagefeedback: all-stagefeedback-libiberty-linker-plugin
23659 TARGET-stagefeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23660 all-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
23661 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23662 @r=`${PWD_COMMAND}`; export r; \
23663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23664 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23665 $(HOST_EXPORTS) \
23666 $(POSTSTAGE1_HOST_EXPORTS) \
23667 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23668 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23669 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23670 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23671 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23672 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23673 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23674 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23675 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23676 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23677 $(TARGET-stagefeedback-libiberty-linker-plugin)
23679 maybe-clean-stagefeedback-libiberty-linker-plugin: clean-stagefeedback-libiberty-linker-plugin
23680 clean-stagefeedback: clean-stagefeedback-libiberty-linker-plugin
23681 clean-stagefeedback-libiberty-linker-plugin:
23682 @if [ $(current_stage) = stagefeedback ]; then \
23683 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23684 else \
23685 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
23686 $(MAKE) stagefeedback-start; \
23687 fi; \
23688 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23689 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23690 @endif libiberty-linker-plugin-bootstrap
23696 .PHONY: check-libiberty-linker-plugin maybe-check-libiberty-linker-plugin
23697 maybe-check-libiberty-linker-plugin:
23698 @if libiberty-linker-plugin
23699 maybe-check-libiberty-linker-plugin: check-libiberty-linker-plugin
23701 check-libiberty-linker-plugin:
23702 @: $(MAKE); $(unstage)
23703 @r=`${PWD_COMMAND}`; export r; \
23704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23705 $(HOST_EXPORTS) \
23706 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23707 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ check)
23709 @endif libiberty-linker-plugin
23711 .PHONY: install-libiberty-linker-plugin maybe-install-libiberty-linker-plugin
23712 maybe-install-libiberty-linker-plugin:
23713 @if libiberty-linker-plugin
23714 maybe-install-libiberty-linker-plugin: install-libiberty-linker-plugin
23716 install-libiberty-linker-plugin: installdirs
23717 @: $(MAKE); $(unstage)
23718 @r=`${PWD_COMMAND}`; export r; \
23719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23720 $(HOST_EXPORTS) \
23721 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23722 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
23724 @endif libiberty-linker-plugin
23726 .PHONY: install-strip-libiberty-linker-plugin maybe-install-strip-libiberty-linker-plugin
23727 maybe-install-strip-libiberty-linker-plugin:
23728 @if libiberty-linker-plugin
23729 maybe-install-strip-libiberty-linker-plugin: install-strip-libiberty-linker-plugin
23731 install-strip-libiberty-linker-plugin: installdirs
23732 @: $(MAKE); $(unstage)
23733 @r=`${PWD_COMMAND}`; export r; \
23734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23735 $(HOST_EXPORTS) \
23736 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23737 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
23739 @endif libiberty-linker-plugin
23741 # Other targets (info, dvi, pdf, etc.)
23743 .PHONY: maybe-info-libiberty-linker-plugin info-libiberty-linker-plugin
23744 maybe-info-libiberty-linker-plugin:
23745 @if libiberty-linker-plugin
23746 maybe-info-libiberty-linker-plugin: info-libiberty-linker-plugin
23748 info-libiberty-linker-plugin: \
23749 configure-libiberty-linker-plugin
23750 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23751 r=`${PWD_COMMAND}`; export r; \
23752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23753 $(HOST_EXPORTS) \
23754 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23756 done; \
23757 echo "Doing info in libiberty-linker-plugin" ; \
23758 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23761 "RANLIB=$${RANLIB}" \
23762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23763 info) \
23764 || exit 1
23766 @endif libiberty-linker-plugin
23768 .PHONY: maybe-dvi-libiberty-linker-plugin dvi-libiberty-linker-plugin
23769 maybe-dvi-libiberty-linker-plugin:
23770 @if libiberty-linker-plugin
23771 maybe-dvi-libiberty-linker-plugin: dvi-libiberty-linker-plugin
23773 dvi-libiberty-linker-plugin: \
23774 configure-libiberty-linker-plugin
23775 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23776 r=`${PWD_COMMAND}`; export r; \
23777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23778 $(HOST_EXPORTS) \
23779 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23781 done; \
23782 echo "Doing dvi in libiberty-linker-plugin" ; \
23783 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23786 "RANLIB=$${RANLIB}" \
23787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23788 dvi) \
23789 || exit 1
23791 @endif libiberty-linker-plugin
23793 .PHONY: maybe-pdf-libiberty-linker-plugin pdf-libiberty-linker-plugin
23794 maybe-pdf-libiberty-linker-plugin:
23795 @if libiberty-linker-plugin
23796 maybe-pdf-libiberty-linker-plugin: pdf-libiberty-linker-plugin
23798 pdf-libiberty-linker-plugin: \
23799 configure-libiberty-linker-plugin
23800 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23801 r=`${PWD_COMMAND}`; export r; \
23802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23803 $(HOST_EXPORTS) \
23804 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23806 done; \
23807 echo "Doing pdf in libiberty-linker-plugin" ; \
23808 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23811 "RANLIB=$${RANLIB}" \
23812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23813 pdf) \
23814 || exit 1
23816 @endif libiberty-linker-plugin
23818 .PHONY: maybe-html-libiberty-linker-plugin html-libiberty-linker-plugin
23819 maybe-html-libiberty-linker-plugin:
23820 @if libiberty-linker-plugin
23821 maybe-html-libiberty-linker-plugin: html-libiberty-linker-plugin
23823 html-libiberty-linker-plugin: \
23824 configure-libiberty-linker-plugin
23825 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23826 r=`${PWD_COMMAND}`; export r; \
23827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23828 $(HOST_EXPORTS) \
23829 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23831 done; \
23832 echo "Doing html in libiberty-linker-plugin" ; \
23833 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23836 "RANLIB=$${RANLIB}" \
23837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23838 html) \
23839 || exit 1
23841 @endif libiberty-linker-plugin
23843 .PHONY: maybe-TAGS-libiberty-linker-plugin TAGS-libiberty-linker-plugin
23844 maybe-TAGS-libiberty-linker-plugin:
23845 @if libiberty-linker-plugin
23846 maybe-TAGS-libiberty-linker-plugin: TAGS-libiberty-linker-plugin
23848 TAGS-libiberty-linker-plugin: \
23849 configure-libiberty-linker-plugin
23850 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23851 r=`${PWD_COMMAND}`; export r; \
23852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23853 $(HOST_EXPORTS) \
23854 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23856 done; \
23857 echo "Doing TAGS in libiberty-linker-plugin" ; \
23858 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23861 "RANLIB=$${RANLIB}" \
23862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23863 TAGS) \
23864 || exit 1
23866 @endif libiberty-linker-plugin
23868 .PHONY: maybe-install-info-libiberty-linker-plugin install-info-libiberty-linker-plugin
23869 maybe-install-info-libiberty-linker-plugin:
23870 @if libiberty-linker-plugin
23871 maybe-install-info-libiberty-linker-plugin: install-info-libiberty-linker-plugin
23873 install-info-libiberty-linker-plugin: \
23874 configure-libiberty-linker-plugin \
23875 info-libiberty-linker-plugin
23876 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23877 r=`${PWD_COMMAND}`; export r; \
23878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23879 $(HOST_EXPORTS) \
23880 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23882 done; \
23883 echo "Doing install-info in libiberty-linker-plugin" ; \
23884 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23887 "RANLIB=$${RANLIB}" \
23888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23889 install-info) \
23890 || exit 1
23892 @endif libiberty-linker-plugin
23894 .PHONY: maybe-install-pdf-libiberty-linker-plugin install-pdf-libiberty-linker-plugin
23895 maybe-install-pdf-libiberty-linker-plugin:
23896 @if libiberty-linker-plugin
23897 maybe-install-pdf-libiberty-linker-plugin: install-pdf-libiberty-linker-plugin
23899 install-pdf-libiberty-linker-plugin: \
23900 configure-libiberty-linker-plugin \
23901 pdf-libiberty-linker-plugin
23902 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23903 r=`${PWD_COMMAND}`; export r; \
23904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23905 $(HOST_EXPORTS) \
23906 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23908 done; \
23909 echo "Doing install-pdf in libiberty-linker-plugin" ; \
23910 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23913 "RANLIB=$${RANLIB}" \
23914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23915 install-pdf) \
23916 || exit 1
23918 @endif libiberty-linker-plugin
23920 .PHONY: maybe-install-html-libiberty-linker-plugin install-html-libiberty-linker-plugin
23921 maybe-install-html-libiberty-linker-plugin:
23922 @if libiberty-linker-plugin
23923 maybe-install-html-libiberty-linker-plugin: install-html-libiberty-linker-plugin
23925 install-html-libiberty-linker-plugin: \
23926 configure-libiberty-linker-plugin \
23927 html-libiberty-linker-plugin
23928 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23929 r=`${PWD_COMMAND}`; export r; \
23930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23931 $(HOST_EXPORTS) \
23932 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23934 done; \
23935 echo "Doing install-html in libiberty-linker-plugin" ; \
23936 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23939 "RANLIB=$${RANLIB}" \
23940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23941 install-html) \
23942 || exit 1
23944 @endif libiberty-linker-plugin
23946 .PHONY: maybe-installcheck-libiberty-linker-plugin installcheck-libiberty-linker-plugin
23947 maybe-installcheck-libiberty-linker-plugin:
23948 @if libiberty-linker-plugin
23949 maybe-installcheck-libiberty-linker-plugin: installcheck-libiberty-linker-plugin
23951 installcheck-libiberty-linker-plugin: \
23952 configure-libiberty-linker-plugin
23953 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23954 r=`${PWD_COMMAND}`; export r; \
23955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23956 $(HOST_EXPORTS) \
23957 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23959 done; \
23960 echo "Doing installcheck in libiberty-linker-plugin" ; \
23961 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23964 "RANLIB=$${RANLIB}" \
23965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23966 installcheck) \
23967 || exit 1
23969 @endif libiberty-linker-plugin
23971 .PHONY: maybe-mostlyclean-libiberty-linker-plugin mostlyclean-libiberty-linker-plugin
23972 maybe-mostlyclean-libiberty-linker-plugin:
23973 @if libiberty-linker-plugin
23974 maybe-mostlyclean-libiberty-linker-plugin: mostlyclean-libiberty-linker-plugin
23976 mostlyclean-libiberty-linker-plugin:
23977 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23978 r=`${PWD_COMMAND}`; export r; \
23979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23980 $(HOST_EXPORTS) \
23981 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23983 done; \
23984 echo "Doing mostlyclean in libiberty-linker-plugin" ; \
23985 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23988 "RANLIB=$${RANLIB}" \
23989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23990 mostlyclean) \
23991 || exit 1
23993 @endif libiberty-linker-plugin
23995 .PHONY: maybe-clean-libiberty-linker-plugin clean-libiberty-linker-plugin
23996 maybe-clean-libiberty-linker-plugin:
23997 @if libiberty-linker-plugin
23998 maybe-clean-libiberty-linker-plugin: clean-libiberty-linker-plugin
24000 clean-libiberty-linker-plugin:
24001 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24002 r=`${PWD_COMMAND}`; export r; \
24003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24004 $(HOST_EXPORTS) \
24005 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24007 done; \
24008 echo "Doing clean in libiberty-linker-plugin" ; \
24009 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24012 "RANLIB=$${RANLIB}" \
24013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24014 clean) \
24015 || exit 1
24017 @endif libiberty-linker-plugin
24019 .PHONY: maybe-distclean-libiberty-linker-plugin distclean-libiberty-linker-plugin
24020 maybe-distclean-libiberty-linker-plugin:
24021 @if libiberty-linker-plugin
24022 maybe-distclean-libiberty-linker-plugin: distclean-libiberty-linker-plugin
24024 distclean-libiberty-linker-plugin:
24025 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24026 r=`${PWD_COMMAND}`; export r; \
24027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24028 $(HOST_EXPORTS) \
24029 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24031 done; \
24032 echo "Doing distclean in libiberty-linker-plugin" ; \
24033 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24036 "RANLIB=$${RANLIB}" \
24037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24038 distclean) \
24039 || exit 1
24041 @endif libiberty-linker-plugin
24043 .PHONY: maybe-maintainer-clean-libiberty-linker-plugin maintainer-clean-libiberty-linker-plugin
24044 maybe-maintainer-clean-libiberty-linker-plugin:
24045 @if libiberty-linker-plugin
24046 maybe-maintainer-clean-libiberty-linker-plugin: maintainer-clean-libiberty-linker-plugin
24048 maintainer-clean-libiberty-linker-plugin:
24049 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24050 r=`${PWD_COMMAND}`; export r; \
24051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24052 $(HOST_EXPORTS) \
24053 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24055 done; \
24056 echo "Doing maintainer-clean in libiberty-linker-plugin" ; \
24057 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24060 "RANLIB=$${RANLIB}" \
24061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24062 maintainer-clean) \
24063 || exit 1
24065 @endif libiberty-linker-plugin
24069 .PHONY: configure-libiconv maybe-configure-libiconv
24070 maybe-configure-libiconv:
24071 @if gcc-bootstrap
24072 configure-libiconv: stage_current
24073 @endif gcc-bootstrap
24074 @if libiconv
24075 maybe-configure-libiconv: configure-libiconv
24076 configure-libiconv:
24077 @: $(MAKE); $(unstage)
24078 @r=`${PWD_COMMAND}`; export r; \
24079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24080 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
24081 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \
24082 $(HOST_EXPORTS) \
24083 echo Configuring in $(HOST_SUBDIR)/libiconv; \
24084 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
24085 case $(srcdir) in \
24086 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24087 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
24088 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24089 esac; \
24090 module_srcdir=libiconv; \
24091 $(SHELL) \
24092 $$s/$$module_srcdir/configure \
24093 --srcdir=$${topdir}/$$module_srcdir \
24094 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24095 --target=${target_alias} --disable-shared \
24096 || exit 1
24097 @endif libiconv
24103 .PHONY: all-libiconv maybe-all-libiconv
24104 maybe-all-libiconv:
24105 @if gcc-bootstrap
24106 all-libiconv: stage_current
24107 @endif gcc-bootstrap
24108 @if libiconv
24109 TARGET-libiconv=all
24110 maybe-all-libiconv: all-libiconv
24111 all-libiconv: configure-libiconv
24112 @: $(MAKE); $(unstage)
24113 @r=`${PWD_COMMAND}`; export r; \
24114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24115 $(HOST_EXPORTS) \
24116 (cd $(HOST_SUBDIR)/libiconv && \
24117 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24118 $(TARGET-libiconv))
24119 @endif libiconv
24124 .PHONY: check-libiconv maybe-check-libiconv
24125 maybe-check-libiconv:
24126 @if libiconv
24127 maybe-check-libiconv: check-libiconv
24129 check-libiconv:
24130 @: $(MAKE); $(unstage)
24131 @r=`${PWD_COMMAND}`; export r; \
24132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24133 $(HOST_EXPORTS) \
24134 (cd $(HOST_SUBDIR)/libiconv && \
24135 $(MAKE) $(FLAGS_TO_PASS) check)
24137 @endif libiconv
24139 .PHONY: install-libiconv maybe-install-libiconv
24140 maybe-install-libiconv:
24141 @if libiconv
24142 maybe-install-libiconv: install-libiconv
24144 install-libiconv:
24146 @endif libiconv
24148 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
24149 maybe-install-strip-libiconv:
24150 @if libiconv
24151 maybe-install-strip-libiconv: install-strip-libiconv
24153 install-strip-libiconv:
24155 @endif libiconv
24157 # Other targets (info, dvi, pdf, etc.)
24159 .PHONY: maybe-info-libiconv info-libiconv
24160 maybe-info-libiconv:
24161 @if libiconv
24162 maybe-info-libiconv: info-libiconv
24164 info-libiconv: \
24165 configure-libiconv
24166 @: $(MAKE); $(unstage)
24167 @[ -f ./libiconv/Makefile ] || exit 0; \
24168 r=`${PWD_COMMAND}`; export r; \
24169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24170 $(HOST_EXPORTS) \
24171 for flag in $(EXTRA_HOST_FLAGS) ; do \
24172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24173 done; \
24174 echo "Doing info in libiconv" ; \
24175 (cd $(HOST_SUBDIR)/libiconv && \
24176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24178 "RANLIB=$${RANLIB}" \
24179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24180 info) \
24181 || exit 1
24183 @endif libiconv
24185 .PHONY: maybe-dvi-libiconv dvi-libiconv
24186 maybe-dvi-libiconv:
24187 @if libiconv
24188 maybe-dvi-libiconv: dvi-libiconv
24190 dvi-libiconv: \
24191 configure-libiconv
24192 @: $(MAKE); $(unstage)
24193 @[ -f ./libiconv/Makefile ] || exit 0; \
24194 r=`${PWD_COMMAND}`; export r; \
24195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24196 $(HOST_EXPORTS) \
24197 for flag in $(EXTRA_HOST_FLAGS) ; do \
24198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24199 done; \
24200 echo "Doing dvi in libiconv" ; \
24201 (cd $(HOST_SUBDIR)/libiconv && \
24202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24204 "RANLIB=$${RANLIB}" \
24205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24206 dvi) \
24207 || exit 1
24209 @endif libiconv
24211 .PHONY: maybe-pdf-libiconv pdf-libiconv
24212 maybe-pdf-libiconv:
24213 @if libiconv
24214 maybe-pdf-libiconv: pdf-libiconv
24216 pdf-libiconv: \
24217 configure-libiconv
24218 @: $(MAKE); $(unstage)
24219 @[ -f ./libiconv/Makefile ] || exit 0; \
24220 r=`${PWD_COMMAND}`; export r; \
24221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24222 $(HOST_EXPORTS) \
24223 for flag in $(EXTRA_HOST_FLAGS) ; do \
24224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24225 done; \
24226 echo "Doing pdf in libiconv" ; \
24227 (cd $(HOST_SUBDIR)/libiconv && \
24228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24230 "RANLIB=$${RANLIB}" \
24231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24232 pdf) \
24233 || exit 1
24235 @endif libiconv
24237 .PHONY: maybe-html-libiconv html-libiconv
24238 maybe-html-libiconv:
24239 @if libiconv
24240 maybe-html-libiconv: html-libiconv
24242 html-libiconv: \
24243 configure-libiconv
24244 @: $(MAKE); $(unstage)
24245 @[ -f ./libiconv/Makefile ] || exit 0; \
24246 r=`${PWD_COMMAND}`; export r; \
24247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24248 $(HOST_EXPORTS) \
24249 for flag in $(EXTRA_HOST_FLAGS) ; do \
24250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24251 done; \
24252 echo "Doing html in libiconv" ; \
24253 (cd $(HOST_SUBDIR)/libiconv && \
24254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24256 "RANLIB=$${RANLIB}" \
24257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24258 html) \
24259 || exit 1
24261 @endif libiconv
24263 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
24264 maybe-TAGS-libiconv:
24265 @if libiconv
24266 maybe-TAGS-libiconv: TAGS-libiconv
24268 TAGS-libiconv: \
24269 configure-libiconv
24270 @: $(MAKE); $(unstage)
24271 @[ -f ./libiconv/Makefile ] || exit 0; \
24272 r=`${PWD_COMMAND}`; export r; \
24273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24274 $(HOST_EXPORTS) \
24275 for flag in $(EXTRA_HOST_FLAGS) ; do \
24276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24277 done; \
24278 echo "Doing TAGS in libiconv" ; \
24279 (cd $(HOST_SUBDIR)/libiconv && \
24280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24282 "RANLIB=$${RANLIB}" \
24283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24284 TAGS) \
24285 || exit 1
24287 @endif libiconv
24289 .PHONY: maybe-install-info-libiconv install-info-libiconv
24290 maybe-install-info-libiconv:
24291 @if libiconv
24292 maybe-install-info-libiconv: install-info-libiconv
24294 # libiconv doesn't support install-info.
24295 install-info-libiconv:
24297 @endif libiconv
24299 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
24300 maybe-install-pdf-libiconv:
24301 @if libiconv
24302 maybe-install-pdf-libiconv: install-pdf-libiconv
24304 # libiconv doesn't support install-pdf.
24305 install-pdf-libiconv:
24307 @endif libiconv
24309 .PHONY: maybe-install-html-libiconv install-html-libiconv
24310 maybe-install-html-libiconv:
24311 @if libiconv
24312 maybe-install-html-libiconv: install-html-libiconv
24314 # libiconv doesn't support install-html.
24315 install-html-libiconv:
24317 @endif libiconv
24319 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
24320 maybe-installcheck-libiconv:
24321 @if libiconv
24322 maybe-installcheck-libiconv: installcheck-libiconv
24324 installcheck-libiconv: \
24325 configure-libiconv
24326 @: $(MAKE); $(unstage)
24327 @[ -f ./libiconv/Makefile ] || exit 0; \
24328 r=`${PWD_COMMAND}`; export r; \
24329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24330 $(HOST_EXPORTS) \
24331 for flag in $(EXTRA_HOST_FLAGS) ; do \
24332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24333 done; \
24334 echo "Doing installcheck in libiconv" ; \
24335 (cd $(HOST_SUBDIR)/libiconv && \
24336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24338 "RANLIB=$${RANLIB}" \
24339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24340 installcheck) \
24341 || exit 1
24343 @endif libiconv
24345 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
24346 maybe-mostlyclean-libiconv:
24347 @if libiconv
24348 maybe-mostlyclean-libiconv: mostlyclean-libiconv
24350 mostlyclean-libiconv:
24351 @: $(MAKE); $(unstage)
24352 @[ -f ./libiconv/Makefile ] || exit 0; \
24353 r=`${PWD_COMMAND}`; export r; \
24354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24355 $(HOST_EXPORTS) \
24356 for flag in $(EXTRA_HOST_FLAGS) ; do \
24357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24358 done; \
24359 echo "Doing mostlyclean in libiconv" ; \
24360 (cd $(HOST_SUBDIR)/libiconv && \
24361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24363 "RANLIB=$${RANLIB}" \
24364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24365 mostlyclean) \
24366 || exit 1
24368 @endif libiconv
24370 .PHONY: maybe-clean-libiconv clean-libiconv
24371 maybe-clean-libiconv:
24372 @if libiconv
24373 maybe-clean-libiconv: clean-libiconv
24375 clean-libiconv:
24376 @: $(MAKE); $(unstage)
24377 @[ -f ./libiconv/Makefile ] || exit 0; \
24378 r=`${PWD_COMMAND}`; export r; \
24379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24380 $(HOST_EXPORTS) \
24381 for flag in $(EXTRA_HOST_FLAGS) ; do \
24382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24383 done; \
24384 echo "Doing clean in libiconv" ; \
24385 (cd $(HOST_SUBDIR)/libiconv && \
24386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24388 "RANLIB=$${RANLIB}" \
24389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24390 clean) \
24391 || exit 1
24393 @endif libiconv
24395 .PHONY: maybe-distclean-libiconv distclean-libiconv
24396 maybe-distclean-libiconv:
24397 @if libiconv
24398 maybe-distclean-libiconv: distclean-libiconv
24400 distclean-libiconv:
24401 @: $(MAKE); $(unstage)
24402 @[ -f ./libiconv/Makefile ] || exit 0; \
24403 r=`${PWD_COMMAND}`; export r; \
24404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24405 $(HOST_EXPORTS) \
24406 for flag in $(EXTRA_HOST_FLAGS) ; do \
24407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24408 done; \
24409 echo "Doing distclean in libiconv" ; \
24410 (cd $(HOST_SUBDIR)/libiconv && \
24411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24413 "RANLIB=$${RANLIB}" \
24414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24415 distclean) \
24416 || exit 1
24418 @endif libiconv
24420 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
24421 maybe-maintainer-clean-libiconv:
24422 @if libiconv
24423 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
24425 maintainer-clean-libiconv:
24426 @: $(MAKE); $(unstage)
24427 @[ -f ./libiconv/Makefile ] || exit 0; \
24428 r=`${PWD_COMMAND}`; export r; \
24429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24430 $(HOST_EXPORTS) \
24431 for flag in $(EXTRA_HOST_FLAGS) ; do \
24432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24433 done; \
24434 echo "Doing maintainer-clean in libiconv" ; \
24435 (cd $(HOST_SUBDIR)/libiconv && \
24436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24438 "RANLIB=$${RANLIB}" \
24439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24440 maintainer-clean) \
24441 || exit 1
24443 @endif libiconv
24447 .PHONY: configure-m4 maybe-configure-m4
24448 maybe-configure-m4:
24449 @if gcc-bootstrap
24450 configure-m4: stage_current
24451 @endif gcc-bootstrap
24452 @if m4
24453 maybe-configure-m4: configure-m4
24454 configure-m4:
24455 @: $(MAKE); $(unstage)
24456 @r=`${PWD_COMMAND}`; export r; \
24457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24458 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
24459 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
24460 $(HOST_EXPORTS) \
24461 echo Configuring in $(HOST_SUBDIR)/m4; \
24462 cd "$(HOST_SUBDIR)/m4" || exit 1; \
24463 case $(srcdir) in \
24464 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24465 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
24466 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24467 esac; \
24468 module_srcdir=m4; \
24469 $(SHELL) \
24470 $$s/$$module_srcdir/configure \
24471 --srcdir=$${topdir}/$$module_srcdir \
24472 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24473 --target=${target_alias} \
24474 || exit 1
24475 @endif m4
24481 .PHONY: all-m4 maybe-all-m4
24482 maybe-all-m4:
24483 @if gcc-bootstrap
24484 all-m4: stage_current
24485 @endif gcc-bootstrap
24486 @if m4
24487 TARGET-m4=all
24488 maybe-all-m4: all-m4
24489 all-m4: configure-m4
24490 @: $(MAKE); $(unstage)
24491 @r=`${PWD_COMMAND}`; export r; \
24492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24493 $(HOST_EXPORTS) \
24494 (cd $(HOST_SUBDIR)/m4 && \
24495 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24496 $(TARGET-m4))
24497 @endif m4
24502 .PHONY: check-m4 maybe-check-m4
24503 maybe-check-m4:
24504 @if m4
24505 maybe-check-m4: check-m4
24507 check-m4:
24508 @: $(MAKE); $(unstage)
24509 @r=`${PWD_COMMAND}`; export r; \
24510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24511 $(HOST_EXPORTS) \
24512 (cd $(HOST_SUBDIR)/m4 && \
24513 $(MAKE) $(FLAGS_TO_PASS) check)
24515 @endif m4
24517 .PHONY: install-m4 maybe-install-m4
24518 maybe-install-m4:
24519 @if m4
24520 maybe-install-m4: install-m4
24522 install-m4: installdirs
24523 @: $(MAKE); $(unstage)
24524 @r=`${PWD_COMMAND}`; export r; \
24525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24526 $(HOST_EXPORTS) \
24527 (cd $(HOST_SUBDIR)/m4 && \
24528 $(MAKE) $(FLAGS_TO_PASS) install)
24530 @endif m4
24532 .PHONY: install-strip-m4 maybe-install-strip-m4
24533 maybe-install-strip-m4:
24534 @if m4
24535 maybe-install-strip-m4: install-strip-m4
24537 install-strip-m4: installdirs
24538 @: $(MAKE); $(unstage)
24539 @r=`${PWD_COMMAND}`; export r; \
24540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24541 $(HOST_EXPORTS) \
24542 (cd $(HOST_SUBDIR)/m4 && \
24543 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24545 @endif m4
24547 # Other targets (info, dvi, pdf, etc.)
24549 .PHONY: maybe-info-m4 info-m4
24550 maybe-info-m4:
24551 @if m4
24552 maybe-info-m4: info-m4
24554 info-m4: \
24555 configure-m4
24556 @: $(MAKE); $(unstage)
24557 @[ -f ./m4/Makefile ] || exit 0; \
24558 r=`${PWD_COMMAND}`; export r; \
24559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24560 $(HOST_EXPORTS) \
24561 for flag in $(EXTRA_HOST_FLAGS) ; do \
24562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24563 done; \
24564 echo "Doing info in m4" ; \
24565 (cd $(HOST_SUBDIR)/m4 && \
24566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24568 "RANLIB=$${RANLIB}" \
24569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24570 info) \
24571 || exit 1
24573 @endif m4
24575 .PHONY: maybe-dvi-m4 dvi-m4
24576 maybe-dvi-m4:
24577 @if m4
24578 maybe-dvi-m4: dvi-m4
24580 dvi-m4: \
24581 configure-m4
24582 @: $(MAKE); $(unstage)
24583 @[ -f ./m4/Makefile ] || exit 0; \
24584 r=`${PWD_COMMAND}`; export r; \
24585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24586 $(HOST_EXPORTS) \
24587 for flag in $(EXTRA_HOST_FLAGS) ; do \
24588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24589 done; \
24590 echo "Doing dvi in m4" ; \
24591 (cd $(HOST_SUBDIR)/m4 && \
24592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24594 "RANLIB=$${RANLIB}" \
24595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24596 dvi) \
24597 || exit 1
24599 @endif m4
24601 .PHONY: maybe-pdf-m4 pdf-m4
24602 maybe-pdf-m4:
24603 @if m4
24604 maybe-pdf-m4: pdf-m4
24606 pdf-m4: \
24607 configure-m4
24608 @: $(MAKE); $(unstage)
24609 @[ -f ./m4/Makefile ] || exit 0; \
24610 r=`${PWD_COMMAND}`; export r; \
24611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24612 $(HOST_EXPORTS) \
24613 for flag in $(EXTRA_HOST_FLAGS) ; do \
24614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24615 done; \
24616 echo "Doing pdf in m4" ; \
24617 (cd $(HOST_SUBDIR)/m4 && \
24618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24620 "RANLIB=$${RANLIB}" \
24621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24622 pdf) \
24623 || exit 1
24625 @endif m4
24627 .PHONY: maybe-html-m4 html-m4
24628 maybe-html-m4:
24629 @if m4
24630 maybe-html-m4: html-m4
24632 html-m4: \
24633 configure-m4
24634 @: $(MAKE); $(unstage)
24635 @[ -f ./m4/Makefile ] || exit 0; \
24636 r=`${PWD_COMMAND}`; export r; \
24637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24638 $(HOST_EXPORTS) \
24639 for flag in $(EXTRA_HOST_FLAGS) ; do \
24640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24641 done; \
24642 echo "Doing html in m4" ; \
24643 (cd $(HOST_SUBDIR)/m4 && \
24644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24646 "RANLIB=$${RANLIB}" \
24647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24648 html) \
24649 || exit 1
24651 @endif m4
24653 .PHONY: maybe-TAGS-m4 TAGS-m4
24654 maybe-TAGS-m4:
24655 @if m4
24656 maybe-TAGS-m4: TAGS-m4
24658 TAGS-m4: \
24659 configure-m4
24660 @: $(MAKE); $(unstage)
24661 @[ -f ./m4/Makefile ] || exit 0; \
24662 r=`${PWD_COMMAND}`; export r; \
24663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24664 $(HOST_EXPORTS) \
24665 for flag in $(EXTRA_HOST_FLAGS) ; do \
24666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24667 done; \
24668 echo "Doing TAGS in m4" ; \
24669 (cd $(HOST_SUBDIR)/m4 && \
24670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24672 "RANLIB=$${RANLIB}" \
24673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24674 TAGS) \
24675 || exit 1
24677 @endif m4
24679 .PHONY: maybe-install-info-m4 install-info-m4
24680 maybe-install-info-m4:
24681 @if m4
24682 maybe-install-info-m4: install-info-m4
24684 install-info-m4: \
24685 configure-m4 \
24686 info-m4
24687 @: $(MAKE); $(unstage)
24688 @[ -f ./m4/Makefile ] || exit 0; \
24689 r=`${PWD_COMMAND}`; export r; \
24690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24691 $(HOST_EXPORTS) \
24692 for flag in $(EXTRA_HOST_FLAGS) ; do \
24693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24694 done; \
24695 echo "Doing install-info in m4" ; \
24696 (cd $(HOST_SUBDIR)/m4 && \
24697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24699 "RANLIB=$${RANLIB}" \
24700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24701 install-info) \
24702 || exit 1
24704 @endif m4
24706 .PHONY: maybe-install-pdf-m4 install-pdf-m4
24707 maybe-install-pdf-m4:
24708 @if m4
24709 maybe-install-pdf-m4: install-pdf-m4
24711 install-pdf-m4: \
24712 configure-m4 \
24713 pdf-m4
24714 @: $(MAKE); $(unstage)
24715 @[ -f ./m4/Makefile ] || exit 0; \
24716 r=`${PWD_COMMAND}`; export r; \
24717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24718 $(HOST_EXPORTS) \
24719 for flag in $(EXTRA_HOST_FLAGS) ; do \
24720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24721 done; \
24722 echo "Doing install-pdf in m4" ; \
24723 (cd $(HOST_SUBDIR)/m4 && \
24724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24726 "RANLIB=$${RANLIB}" \
24727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24728 install-pdf) \
24729 || exit 1
24731 @endif m4
24733 .PHONY: maybe-install-html-m4 install-html-m4
24734 maybe-install-html-m4:
24735 @if m4
24736 maybe-install-html-m4: install-html-m4
24738 install-html-m4: \
24739 configure-m4 \
24740 html-m4
24741 @: $(MAKE); $(unstage)
24742 @[ -f ./m4/Makefile ] || exit 0; \
24743 r=`${PWD_COMMAND}`; export r; \
24744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24745 $(HOST_EXPORTS) \
24746 for flag in $(EXTRA_HOST_FLAGS) ; do \
24747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24748 done; \
24749 echo "Doing install-html in m4" ; \
24750 (cd $(HOST_SUBDIR)/m4 && \
24751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24753 "RANLIB=$${RANLIB}" \
24754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24755 install-html) \
24756 || exit 1
24758 @endif m4
24760 .PHONY: maybe-installcheck-m4 installcheck-m4
24761 maybe-installcheck-m4:
24762 @if m4
24763 maybe-installcheck-m4: installcheck-m4
24765 installcheck-m4: \
24766 configure-m4
24767 @: $(MAKE); $(unstage)
24768 @[ -f ./m4/Makefile ] || exit 0; \
24769 r=`${PWD_COMMAND}`; export r; \
24770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24771 $(HOST_EXPORTS) \
24772 for flag in $(EXTRA_HOST_FLAGS) ; do \
24773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24774 done; \
24775 echo "Doing installcheck in m4" ; \
24776 (cd $(HOST_SUBDIR)/m4 && \
24777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24779 "RANLIB=$${RANLIB}" \
24780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24781 installcheck) \
24782 || exit 1
24784 @endif m4
24786 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
24787 maybe-mostlyclean-m4:
24788 @if m4
24789 maybe-mostlyclean-m4: mostlyclean-m4
24791 mostlyclean-m4:
24792 @: $(MAKE); $(unstage)
24793 @[ -f ./m4/Makefile ] || exit 0; \
24794 r=`${PWD_COMMAND}`; export r; \
24795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24796 $(HOST_EXPORTS) \
24797 for flag in $(EXTRA_HOST_FLAGS) ; do \
24798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24799 done; \
24800 echo "Doing mostlyclean in m4" ; \
24801 (cd $(HOST_SUBDIR)/m4 && \
24802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24804 "RANLIB=$${RANLIB}" \
24805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24806 mostlyclean) \
24807 || exit 1
24809 @endif m4
24811 .PHONY: maybe-clean-m4 clean-m4
24812 maybe-clean-m4:
24813 @if m4
24814 maybe-clean-m4: clean-m4
24816 clean-m4:
24817 @: $(MAKE); $(unstage)
24818 @[ -f ./m4/Makefile ] || exit 0; \
24819 r=`${PWD_COMMAND}`; export r; \
24820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24821 $(HOST_EXPORTS) \
24822 for flag in $(EXTRA_HOST_FLAGS) ; do \
24823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24824 done; \
24825 echo "Doing clean in m4" ; \
24826 (cd $(HOST_SUBDIR)/m4 && \
24827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24829 "RANLIB=$${RANLIB}" \
24830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24831 clean) \
24832 || exit 1
24834 @endif m4
24836 .PHONY: maybe-distclean-m4 distclean-m4
24837 maybe-distclean-m4:
24838 @if m4
24839 maybe-distclean-m4: distclean-m4
24841 distclean-m4:
24842 @: $(MAKE); $(unstage)
24843 @[ -f ./m4/Makefile ] || exit 0; \
24844 r=`${PWD_COMMAND}`; export r; \
24845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24846 $(HOST_EXPORTS) \
24847 for flag in $(EXTRA_HOST_FLAGS) ; do \
24848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24849 done; \
24850 echo "Doing distclean in m4" ; \
24851 (cd $(HOST_SUBDIR)/m4 && \
24852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24854 "RANLIB=$${RANLIB}" \
24855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24856 distclean) \
24857 || exit 1
24859 @endif m4
24861 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
24862 maybe-maintainer-clean-m4:
24863 @if m4
24864 maybe-maintainer-clean-m4: maintainer-clean-m4
24866 maintainer-clean-m4:
24867 @: $(MAKE); $(unstage)
24868 @[ -f ./m4/Makefile ] || exit 0; \
24869 r=`${PWD_COMMAND}`; export r; \
24870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24871 $(HOST_EXPORTS) \
24872 for flag in $(EXTRA_HOST_FLAGS) ; do \
24873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24874 done; \
24875 echo "Doing maintainer-clean in m4" ; \
24876 (cd $(HOST_SUBDIR)/m4 && \
24877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24879 "RANLIB=$${RANLIB}" \
24880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24881 maintainer-clean) \
24882 || exit 1
24884 @endif m4
24888 .PHONY: configure-readline maybe-configure-readline
24889 maybe-configure-readline:
24890 @if gcc-bootstrap
24891 configure-readline: stage_current
24892 @endif gcc-bootstrap
24893 @if readline
24894 maybe-configure-readline: configure-readline
24895 configure-readline:
24896 @: $(MAKE); $(unstage)
24897 @r=`${PWD_COMMAND}`; export r; \
24898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24899 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
24900 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
24901 $(HOST_EXPORTS) \
24902 echo Configuring in $(HOST_SUBDIR)/readline; \
24903 cd "$(HOST_SUBDIR)/readline" || exit 1; \
24904 case $(srcdir) in \
24905 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24906 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
24907 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24908 esac; \
24909 module_srcdir=readline; \
24910 $(SHELL) \
24911 $$s/$$module_srcdir/configure \
24912 --srcdir=$${topdir}/$$module_srcdir \
24913 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24914 --target=${target_alias} \
24915 || exit 1
24916 @endif readline
24922 .PHONY: all-readline maybe-all-readline
24923 maybe-all-readline:
24924 @if gcc-bootstrap
24925 all-readline: stage_current
24926 @endif gcc-bootstrap
24927 @if readline
24928 TARGET-readline=all
24929 maybe-all-readline: all-readline
24930 all-readline: configure-readline
24931 @: $(MAKE); $(unstage)
24932 @r=`${PWD_COMMAND}`; export r; \
24933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24934 $(HOST_EXPORTS) \
24935 (cd $(HOST_SUBDIR)/readline && \
24936 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24937 $(TARGET-readline))
24938 @endif readline
24943 .PHONY: check-readline maybe-check-readline
24944 maybe-check-readline:
24945 @if readline
24946 maybe-check-readline: check-readline
24948 check-readline:
24949 @: $(MAKE); $(unstage)
24950 @r=`${PWD_COMMAND}`; export r; \
24951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24952 $(HOST_EXPORTS) \
24953 (cd $(HOST_SUBDIR)/readline && \
24954 $(MAKE) $(FLAGS_TO_PASS) check)
24956 @endif readline
24958 .PHONY: install-readline maybe-install-readline
24959 maybe-install-readline:
24960 @if readline
24961 maybe-install-readline: install-readline
24963 install-readline: installdirs
24964 @: $(MAKE); $(unstage)
24965 @r=`${PWD_COMMAND}`; export r; \
24966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24967 $(HOST_EXPORTS) \
24968 (cd $(HOST_SUBDIR)/readline && \
24969 $(MAKE) $(FLAGS_TO_PASS) install)
24971 @endif readline
24973 .PHONY: install-strip-readline maybe-install-strip-readline
24974 maybe-install-strip-readline:
24975 @if readline
24976 maybe-install-strip-readline: install-strip-readline
24978 install-strip-readline: installdirs
24979 @: $(MAKE); $(unstage)
24980 @r=`${PWD_COMMAND}`; export r; \
24981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24982 $(HOST_EXPORTS) \
24983 (cd $(HOST_SUBDIR)/readline && \
24984 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24986 @endif readline
24988 # Other targets (info, dvi, pdf, etc.)
24990 .PHONY: maybe-info-readline info-readline
24991 maybe-info-readline:
24992 @if readline
24993 maybe-info-readline: info-readline
24995 info-readline: \
24996 configure-readline
24997 @: $(MAKE); $(unstage)
24998 @[ -f ./readline/Makefile ] || exit 0; \
24999 r=`${PWD_COMMAND}`; export r; \
25000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25001 $(HOST_EXPORTS) \
25002 for flag in $(EXTRA_HOST_FLAGS) ; do \
25003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25004 done; \
25005 echo "Doing info in readline" ; \
25006 (cd $(HOST_SUBDIR)/readline && \
25007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25009 "RANLIB=$${RANLIB}" \
25010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25011 info) \
25012 || exit 1
25014 @endif readline
25016 .PHONY: maybe-dvi-readline dvi-readline
25017 maybe-dvi-readline:
25018 @if readline
25019 maybe-dvi-readline: dvi-readline
25021 dvi-readline: \
25022 configure-readline
25023 @: $(MAKE); $(unstage)
25024 @[ -f ./readline/Makefile ] || exit 0; \
25025 r=`${PWD_COMMAND}`; export r; \
25026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25027 $(HOST_EXPORTS) \
25028 for flag in $(EXTRA_HOST_FLAGS) ; do \
25029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25030 done; \
25031 echo "Doing dvi in readline" ; \
25032 (cd $(HOST_SUBDIR)/readline && \
25033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25035 "RANLIB=$${RANLIB}" \
25036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25037 dvi) \
25038 || exit 1
25040 @endif readline
25042 .PHONY: maybe-pdf-readline pdf-readline
25043 maybe-pdf-readline:
25044 @if readline
25045 maybe-pdf-readline: pdf-readline
25047 pdf-readline: \
25048 configure-readline
25049 @: $(MAKE); $(unstage)
25050 @[ -f ./readline/Makefile ] || exit 0; \
25051 r=`${PWD_COMMAND}`; export r; \
25052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25053 $(HOST_EXPORTS) \
25054 for flag in $(EXTRA_HOST_FLAGS) ; do \
25055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25056 done; \
25057 echo "Doing pdf in readline" ; \
25058 (cd $(HOST_SUBDIR)/readline && \
25059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25061 "RANLIB=$${RANLIB}" \
25062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25063 pdf) \
25064 || exit 1
25066 @endif readline
25068 .PHONY: maybe-html-readline html-readline
25069 maybe-html-readline:
25070 @if readline
25071 maybe-html-readline: html-readline
25073 html-readline: \
25074 configure-readline
25075 @: $(MAKE); $(unstage)
25076 @[ -f ./readline/Makefile ] || exit 0; \
25077 r=`${PWD_COMMAND}`; export r; \
25078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25079 $(HOST_EXPORTS) \
25080 for flag in $(EXTRA_HOST_FLAGS) ; do \
25081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25082 done; \
25083 echo "Doing html in readline" ; \
25084 (cd $(HOST_SUBDIR)/readline && \
25085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25087 "RANLIB=$${RANLIB}" \
25088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25089 html) \
25090 || exit 1
25092 @endif readline
25094 .PHONY: maybe-TAGS-readline TAGS-readline
25095 maybe-TAGS-readline:
25096 @if readline
25097 maybe-TAGS-readline: TAGS-readline
25099 TAGS-readline: \
25100 configure-readline
25101 @: $(MAKE); $(unstage)
25102 @[ -f ./readline/Makefile ] || exit 0; \
25103 r=`${PWD_COMMAND}`; export r; \
25104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25105 $(HOST_EXPORTS) \
25106 for flag in $(EXTRA_HOST_FLAGS) ; do \
25107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25108 done; \
25109 echo "Doing TAGS in readline" ; \
25110 (cd $(HOST_SUBDIR)/readline && \
25111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25113 "RANLIB=$${RANLIB}" \
25114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25115 TAGS) \
25116 || exit 1
25118 @endif readline
25120 .PHONY: maybe-install-info-readline install-info-readline
25121 maybe-install-info-readline:
25122 @if readline
25123 maybe-install-info-readline: install-info-readline
25125 install-info-readline: \
25126 configure-readline \
25127 info-readline
25128 @: $(MAKE); $(unstage)
25129 @[ -f ./readline/Makefile ] || exit 0; \
25130 r=`${PWD_COMMAND}`; export r; \
25131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25132 $(HOST_EXPORTS) \
25133 for flag in $(EXTRA_HOST_FLAGS) ; do \
25134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25135 done; \
25136 echo "Doing install-info in readline" ; \
25137 (cd $(HOST_SUBDIR)/readline && \
25138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25140 "RANLIB=$${RANLIB}" \
25141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25142 install-info) \
25143 || exit 1
25145 @endif readline
25147 .PHONY: maybe-install-pdf-readline install-pdf-readline
25148 maybe-install-pdf-readline:
25149 @if readline
25150 maybe-install-pdf-readline: install-pdf-readline
25152 install-pdf-readline: \
25153 configure-readline \
25154 pdf-readline
25155 @: $(MAKE); $(unstage)
25156 @[ -f ./readline/Makefile ] || exit 0; \
25157 r=`${PWD_COMMAND}`; export r; \
25158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25159 $(HOST_EXPORTS) \
25160 for flag in $(EXTRA_HOST_FLAGS) ; do \
25161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25162 done; \
25163 echo "Doing install-pdf in readline" ; \
25164 (cd $(HOST_SUBDIR)/readline && \
25165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25167 "RANLIB=$${RANLIB}" \
25168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25169 install-pdf) \
25170 || exit 1
25172 @endif readline
25174 .PHONY: maybe-install-html-readline install-html-readline
25175 maybe-install-html-readline:
25176 @if readline
25177 maybe-install-html-readline: install-html-readline
25179 install-html-readline: \
25180 configure-readline \
25181 html-readline
25182 @: $(MAKE); $(unstage)
25183 @[ -f ./readline/Makefile ] || exit 0; \
25184 r=`${PWD_COMMAND}`; export r; \
25185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25186 $(HOST_EXPORTS) \
25187 for flag in $(EXTRA_HOST_FLAGS) ; do \
25188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25189 done; \
25190 echo "Doing install-html in readline" ; \
25191 (cd $(HOST_SUBDIR)/readline && \
25192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25194 "RANLIB=$${RANLIB}" \
25195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25196 install-html) \
25197 || exit 1
25199 @endif readline
25201 .PHONY: maybe-installcheck-readline installcheck-readline
25202 maybe-installcheck-readline:
25203 @if readline
25204 maybe-installcheck-readline: installcheck-readline
25206 installcheck-readline: \
25207 configure-readline
25208 @: $(MAKE); $(unstage)
25209 @[ -f ./readline/Makefile ] || exit 0; \
25210 r=`${PWD_COMMAND}`; export r; \
25211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25212 $(HOST_EXPORTS) \
25213 for flag in $(EXTRA_HOST_FLAGS) ; do \
25214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25215 done; \
25216 echo "Doing installcheck in readline" ; \
25217 (cd $(HOST_SUBDIR)/readline && \
25218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25220 "RANLIB=$${RANLIB}" \
25221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25222 installcheck) \
25223 || exit 1
25225 @endif readline
25227 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
25228 maybe-mostlyclean-readline:
25229 @if readline
25230 maybe-mostlyclean-readline: mostlyclean-readline
25232 mostlyclean-readline:
25233 @: $(MAKE); $(unstage)
25234 @[ -f ./readline/Makefile ] || exit 0; \
25235 r=`${PWD_COMMAND}`; export r; \
25236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25237 $(HOST_EXPORTS) \
25238 for flag in $(EXTRA_HOST_FLAGS) ; do \
25239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25240 done; \
25241 echo "Doing mostlyclean in readline" ; \
25242 (cd $(HOST_SUBDIR)/readline && \
25243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25245 "RANLIB=$${RANLIB}" \
25246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25247 mostlyclean) \
25248 || exit 1
25250 @endif readline
25252 .PHONY: maybe-clean-readline clean-readline
25253 maybe-clean-readline:
25254 @if readline
25255 maybe-clean-readline: clean-readline
25257 clean-readline:
25258 @: $(MAKE); $(unstage)
25259 @[ -f ./readline/Makefile ] || exit 0; \
25260 r=`${PWD_COMMAND}`; export r; \
25261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25262 $(HOST_EXPORTS) \
25263 for flag in $(EXTRA_HOST_FLAGS) ; do \
25264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25265 done; \
25266 echo "Doing clean in readline" ; \
25267 (cd $(HOST_SUBDIR)/readline && \
25268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25270 "RANLIB=$${RANLIB}" \
25271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25272 clean) \
25273 || exit 1
25275 @endif readline
25277 .PHONY: maybe-distclean-readline distclean-readline
25278 maybe-distclean-readline:
25279 @if readline
25280 maybe-distclean-readline: distclean-readline
25282 distclean-readline:
25283 @: $(MAKE); $(unstage)
25284 @[ -f ./readline/Makefile ] || exit 0; \
25285 r=`${PWD_COMMAND}`; export r; \
25286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25287 $(HOST_EXPORTS) \
25288 for flag in $(EXTRA_HOST_FLAGS) ; do \
25289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25290 done; \
25291 echo "Doing distclean in readline" ; \
25292 (cd $(HOST_SUBDIR)/readline && \
25293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25295 "RANLIB=$${RANLIB}" \
25296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25297 distclean) \
25298 || exit 1
25300 @endif readline
25302 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
25303 maybe-maintainer-clean-readline:
25304 @if readline
25305 maybe-maintainer-clean-readline: maintainer-clean-readline
25307 maintainer-clean-readline:
25308 @: $(MAKE); $(unstage)
25309 @[ -f ./readline/Makefile ] || exit 0; \
25310 r=`${PWD_COMMAND}`; export r; \
25311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25312 $(HOST_EXPORTS) \
25313 for flag in $(EXTRA_HOST_FLAGS) ; do \
25314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25315 done; \
25316 echo "Doing maintainer-clean in readline" ; \
25317 (cd $(HOST_SUBDIR)/readline && \
25318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25320 "RANLIB=$${RANLIB}" \
25321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25322 maintainer-clean) \
25323 || exit 1
25325 @endif readline
25329 .PHONY: configure-sid maybe-configure-sid
25330 maybe-configure-sid:
25331 @if gcc-bootstrap
25332 configure-sid: stage_current
25333 @endif gcc-bootstrap
25334 @if sid
25335 maybe-configure-sid: configure-sid
25336 configure-sid:
25337 @: $(MAKE); $(unstage)
25338 @r=`${PWD_COMMAND}`; export r; \
25339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25340 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
25341 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
25342 $(HOST_EXPORTS) \
25343 echo Configuring in $(HOST_SUBDIR)/sid; \
25344 cd "$(HOST_SUBDIR)/sid" || exit 1; \
25345 case $(srcdir) in \
25346 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25347 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
25348 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25349 esac; \
25350 module_srcdir=sid; \
25351 $(SHELL) \
25352 $$s/$$module_srcdir/configure \
25353 --srcdir=$${topdir}/$$module_srcdir \
25354 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25355 --target=${target_alias} \
25356 || exit 1
25357 @endif sid
25363 .PHONY: all-sid maybe-all-sid
25364 maybe-all-sid:
25365 @if gcc-bootstrap
25366 all-sid: stage_current
25367 @endif gcc-bootstrap
25368 @if sid
25369 TARGET-sid=all
25370 maybe-all-sid: all-sid
25371 all-sid: configure-sid
25372 @: $(MAKE); $(unstage)
25373 @r=`${PWD_COMMAND}`; export r; \
25374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25375 $(HOST_EXPORTS) \
25376 (cd $(HOST_SUBDIR)/sid && \
25377 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25378 $(TARGET-sid))
25379 @endif sid
25384 .PHONY: check-sid maybe-check-sid
25385 maybe-check-sid:
25386 @if sid
25387 maybe-check-sid: check-sid
25389 check-sid:
25390 @: $(MAKE); $(unstage)
25391 @r=`${PWD_COMMAND}`; export r; \
25392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25393 $(HOST_EXPORTS) \
25394 (cd $(HOST_SUBDIR)/sid && \
25395 $(MAKE) $(FLAGS_TO_PASS) check)
25397 @endif sid
25399 .PHONY: install-sid maybe-install-sid
25400 maybe-install-sid:
25401 @if sid
25402 maybe-install-sid: install-sid
25404 install-sid: installdirs
25405 @: $(MAKE); $(unstage)
25406 @r=`${PWD_COMMAND}`; export r; \
25407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25408 $(HOST_EXPORTS) \
25409 (cd $(HOST_SUBDIR)/sid && \
25410 $(MAKE) $(FLAGS_TO_PASS) install)
25412 @endif sid
25414 .PHONY: install-strip-sid maybe-install-strip-sid
25415 maybe-install-strip-sid:
25416 @if sid
25417 maybe-install-strip-sid: install-strip-sid
25419 install-strip-sid: installdirs
25420 @: $(MAKE); $(unstage)
25421 @r=`${PWD_COMMAND}`; export r; \
25422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25423 $(HOST_EXPORTS) \
25424 (cd $(HOST_SUBDIR)/sid && \
25425 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25427 @endif sid
25429 # Other targets (info, dvi, pdf, etc.)
25431 .PHONY: maybe-info-sid info-sid
25432 maybe-info-sid:
25433 @if sid
25434 maybe-info-sid: info-sid
25436 info-sid: \
25437 configure-sid
25438 @: $(MAKE); $(unstage)
25439 @[ -f ./sid/Makefile ] || exit 0; \
25440 r=`${PWD_COMMAND}`; export r; \
25441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25442 $(HOST_EXPORTS) \
25443 for flag in $(EXTRA_HOST_FLAGS) ; do \
25444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25445 done; \
25446 echo "Doing info in sid" ; \
25447 (cd $(HOST_SUBDIR)/sid && \
25448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25450 "RANLIB=$${RANLIB}" \
25451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25452 info) \
25453 || exit 1
25455 @endif sid
25457 .PHONY: maybe-dvi-sid dvi-sid
25458 maybe-dvi-sid:
25459 @if sid
25460 maybe-dvi-sid: dvi-sid
25462 dvi-sid: \
25463 configure-sid
25464 @: $(MAKE); $(unstage)
25465 @[ -f ./sid/Makefile ] || exit 0; \
25466 r=`${PWD_COMMAND}`; export r; \
25467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25468 $(HOST_EXPORTS) \
25469 for flag in $(EXTRA_HOST_FLAGS) ; do \
25470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25471 done; \
25472 echo "Doing dvi in sid" ; \
25473 (cd $(HOST_SUBDIR)/sid && \
25474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25476 "RANLIB=$${RANLIB}" \
25477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25478 dvi) \
25479 || exit 1
25481 @endif sid
25483 .PHONY: maybe-pdf-sid pdf-sid
25484 maybe-pdf-sid:
25485 @if sid
25486 maybe-pdf-sid: pdf-sid
25488 pdf-sid: \
25489 configure-sid
25490 @: $(MAKE); $(unstage)
25491 @[ -f ./sid/Makefile ] || exit 0; \
25492 r=`${PWD_COMMAND}`; export r; \
25493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25494 $(HOST_EXPORTS) \
25495 for flag in $(EXTRA_HOST_FLAGS) ; do \
25496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25497 done; \
25498 echo "Doing pdf in sid" ; \
25499 (cd $(HOST_SUBDIR)/sid && \
25500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25502 "RANLIB=$${RANLIB}" \
25503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25504 pdf) \
25505 || exit 1
25507 @endif sid
25509 .PHONY: maybe-html-sid html-sid
25510 maybe-html-sid:
25511 @if sid
25512 maybe-html-sid: html-sid
25514 html-sid: \
25515 configure-sid
25516 @: $(MAKE); $(unstage)
25517 @[ -f ./sid/Makefile ] || exit 0; \
25518 r=`${PWD_COMMAND}`; export r; \
25519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25520 $(HOST_EXPORTS) \
25521 for flag in $(EXTRA_HOST_FLAGS) ; do \
25522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25523 done; \
25524 echo "Doing html in sid" ; \
25525 (cd $(HOST_SUBDIR)/sid && \
25526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25528 "RANLIB=$${RANLIB}" \
25529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25530 html) \
25531 || exit 1
25533 @endif sid
25535 .PHONY: maybe-TAGS-sid TAGS-sid
25536 maybe-TAGS-sid:
25537 @if sid
25538 maybe-TAGS-sid: TAGS-sid
25540 TAGS-sid: \
25541 configure-sid
25542 @: $(MAKE); $(unstage)
25543 @[ -f ./sid/Makefile ] || exit 0; \
25544 r=`${PWD_COMMAND}`; export r; \
25545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25546 $(HOST_EXPORTS) \
25547 for flag in $(EXTRA_HOST_FLAGS) ; do \
25548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25549 done; \
25550 echo "Doing TAGS in sid" ; \
25551 (cd $(HOST_SUBDIR)/sid && \
25552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25554 "RANLIB=$${RANLIB}" \
25555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25556 TAGS) \
25557 || exit 1
25559 @endif sid
25561 .PHONY: maybe-install-info-sid install-info-sid
25562 maybe-install-info-sid:
25563 @if sid
25564 maybe-install-info-sid: install-info-sid
25566 install-info-sid: \
25567 configure-sid \
25568 info-sid
25569 @: $(MAKE); $(unstage)
25570 @[ -f ./sid/Makefile ] || exit 0; \
25571 r=`${PWD_COMMAND}`; export r; \
25572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25573 $(HOST_EXPORTS) \
25574 for flag in $(EXTRA_HOST_FLAGS) ; do \
25575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25576 done; \
25577 echo "Doing install-info in sid" ; \
25578 (cd $(HOST_SUBDIR)/sid && \
25579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25581 "RANLIB=$${RANLIB}" \
25582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25583 install-info) \
25584 || exit 1
25586 @endif sid
25588 .PHONY: maybe-install-pdf-sid install-pdf-sid
25589 maybe-install-pdf-sid:
25590 @if sid
25591 maybe-install-pdf-sid: install-pdf-sid
25593 install-pdf-sid: \
25594 configure-sid \
25595 pdf-sid
25596 @: $(MAKE); $(unstage)
25597 @[ -f ./sid/Makefile ] || exit 0; \
25598 r=`${PWD_COMMAND}`; export r; \
25599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25600 $(HOST_EXPORTS) \
25601 for flag in $(EXTRA_HOST_FLAGS) ; do \
25602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25603 done; \
25604 echo "Doing install-pdf in sid" ; \
25605 (cd $(HOST_SUBDIR)/sid && \
25606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25608 "RANLIB=$${RANLIB}" \
25609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25610 install-pdf) \
25611 || exit 1
25613 @endif sid
25615 .PHONY: maybe-install-html-sid install-html-sid
25616 maybe-install-html-sid:
25617 @if sid
25618 maybe-install-html-sid: install-html-sid
25620 install-html-sid: \
25621 configure-sid \
25622 html-sid
25623 @: $(MAKE); $(unstage)
25624 @[ -f ./sid/Makefile ] || exit 0; \
25625 r=`${PWD_COMMAND}`; export r; \
25626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25627 $(HOST_EXPORTS) \
25628 for flag in $(EXTRA_HOST_FLAGS) ; do \
25629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25630 done; \
25631 echo "Doing install-html in sid" ; \
25632 (cd $(HOST_SUBDIR)/sid && \
25633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25635 "RANLIB=$${RANLIB}" \
25636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25637 install-html) \
25638 || exit 1
25640 @endif sid
25642 .PHONY: maybe-installcheck-sid installcheck-sid
25643 maybe-installcheck-sid:
25644 @if sid
25645 maybe-installcheck-sid: installcheck-sid
25647 installcheck-sid: \
25648 configure-sid
25649 @: $(MAKE); $(unstage)
25650 @[ -f ./sid/Makefile ] || exit 0; \
25651 r=`${PWD_COMMAND}`; export r; \
25652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25653 $(HOST_EXPORTS) \
25654 for flag in $(EXTRA_HOST_FLAGS) ; do \
25655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25656 done; \
25657 echo "Doing installcheck in sid" ; \
25658 (cd $(HOST_SUBDIR)/sid && \
25659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25661 "RANLIB=$${RANLIB}" \
25662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25663 installcheck) \
25664 || exit 1
25666 @endif sid
25668 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
25669 maybe-mostlyclean-sid:
25670 @if sid
25671 maybe-mostlyclean-sid: mostlyclean-sid
25673 mostlyclean-sid:
25674 @: $(MAKE); $(unstage)
25675 @[ -f ./sid/Makefile ] || exit 0; \
25676 r=`${PWD_COMMAND}`; export r; \
25677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25678 $(HOST_EXPORTS) \
25679 for flag in $(EXTRA_HOST_FLAGS) ; do \
25680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25681 done; \
25682 echo "Doing mostlyclean in sid" ; \
25683 (cd $(HOST_SUBDIR)/sid && \
25684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25686 "RANLIB=$${RANLIB}" \
25687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25688 mostlyclean) \
25689 || exit 1
25691 @endif sid
25693 .PHONY: maybe-clean-sid clean-sid
25694 maybe-clean-sid:
25695 @if sid
25696 maybe-clean-sid: clean-sid
25698 clean-sid:
25699 @: $(MAKE); $(unstage)
25700 @[ -f ./sid/Makefile ] || exit 0; \
25701 r=`${PWD_COMMAND}`; export r; \
25702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25703 $(HOST_EXPORTS) \
25704 for flag in $(EXTRA_HOST_FLAGS) ; do \
25705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25706 done; \
25707 echo "Doing clean in sid" ; \
25708 (cd $(HOST_SUBDIR)/sid && \
25709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25711 "RANLIB=$${RANLIB}" \
25712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25713 clean) \
25714 || exit 1
25716 @endif sid
25718 .PHONY: maybe-distclean-sid distclean-sid
25719 maybe-distclean-sid:
25720 @if sid
25721 maybe-distclean-sid: distclean-sid
25723 distclean-sid:
25724 @: $(MAKE); $(unstage)
25725 @[ -f ./sid/Makefile ] || exit 0; \
25726 r=`${PWD_COMMAND}`; export r; \
25727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25728 $(HOST_EXPORTS) \
25729 for flag in $(EXTRA_HOST_FLAGS) ; do \
25730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25731 done; \
25732 echo "Doing distclean in sid" ; \
25733 (cd $(HOST_SUBDIR)/sid && \
25734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25736 "RANLIB=$${RANLIB}" \
25737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25738 distclean) \
25739 || exit 1
25741 @endif sid
25743 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
25744 maybe-maintainer-clean-sid:
25745 @if sid
25746 maybe-maintainer-clean-sid: maintainer-clean-sid
25748 maintainer-clean-sid:
25749 @: $(MAKE); $(unstage)
25750 @[ -f ./sid/Makefile ] || exit 0; \
25751 r=`${PWD_COMMAND}`; export r; \
25752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25753 $(HOST_EXPORTS) \
25754 for flag in $(EXTRA_HOST_FLAGS) ; do \
25755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25756 done; \
25757 echo "Doing maintainer-clean in sid" ; \
25758 (cd $(HOST_SUBDIR)/sid && \
25759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25761 "RANLIB=$${RANLIB}" \
25762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25763 maintainer-clean) \
25764 || exit 1
25766 @endif sid
25770 .PHONY: configure-sim maybe-configure-sim
25771 maybe-configure-sim:
25772 @if gcc-bootstrap
25773 configure-sim: stage_current
25774 @endif gcc-bootstrap
25775 @if sim
25776 maybe-configure-sim: configure-sim
25777 configure-sim:
25778 @: $(MAKE); $(unstage)
25779 @r=`${PWD_COMMAND}`; export r; \
25780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25781 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
25782 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
25783 $(HOST_EXPORTS) \
25784 echo Configuring in $(HOST_SUBDIR)/sim; \
25785 cd "$(HOST_SUBDIR)/sim" || exit 1; \
25786 case $(srcdir) in \
25787 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25788 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
25789 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25790 esac; \
25791 module_srcdir=sim; \
25792 $(SHELL) \
25793 $$s/$$module_srcdir/configure \
25794 --srcdir=$${topdir}/$$module_srcdir \
25795 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25796 --target=${target_alias} \
25797 || exit 1
25798 @endif sim
25804 .PHONY: all-sim maybe-all-sim
25805 maybe-all-sim:
25806 @if gcc-bootstrap
25807 all-sim: stage_current
25808 @endif gcc-bootstrap
25809 @if sim
25810 TARGET-sim=all
25811 maybe-all-sim: all-sim
25812 all-sim: configure-sim
25813 @: $(MAKE); $(unstage)
25814 @r=`${PWD_COMMAND}`; export r; \
25815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25816 $(HOST_EXPORTS) \
25817 (cd $(HOST_SUBDIR)/sim && \
25818 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25819 $(TARGET-sim))
25820 @endif sim
25825 .PHONY: check-sim maybe-check-sim
25826 maybe-check-sim:
25827 @if sim
25828 maybe-check-sim: check-sim
25830 check-sim:
25831 @: $(MAKE); $(unstage)
25832 @r=`${PWD_COMMAND}`; export r; \
25833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25834 $(HOST_EXPORTS) \
25835 (cd $(HOST_SUBDIR)/sim && \
25836 $(MAKE) $(FLAGS_TO_PASS) check)
25838 @endif sim
25840 .PHONY: install-sim maybe-install-sim
25841 maybe-install-sim:
25842 @if sim
25843 maybe-install-sim: install-sim
25845 install-sim: installdirs
25846 @: $(MAKE); $(unstage)
25847 @r=`${PWD_COMMAND}`; export r; \
25848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25849 $(HOST_EXPORTS) \
25850 (cd $(HOST_SUBDIR)/sim && \
25851 $(MAKE) $(FLAGS_TO_PASS) install)
25853 @endif sim
25855 .PHONY: install-strip-sim maybe-install-strip-sim
25856 maybe-install-strip-sim:
25857 @if sim
25858 maybe-install-strip-sim: install-strip-sim
25860 install-strip-sim: installdirs
25861 @: $(MAKE); $(unstage)
25862 @r=`${PWD_COMMAND}`; export r; \
25863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25864 $(HOST_EXPORTS) \
25865 (cd $(HOST_SUBDIR)/sim && \
25866 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25868 @endif sim
25870 # Other targets (info, dvi, pdf, etc.)
25872 .PHONY: maybe-info-sim info-sim
25873 maybe-info-sim:
25874 @if sim
25875 maybe-info-sim: info-sim
25877 info-sim: \
25878 configure-sim
25879 @: $(MAKE); $(unstage)
25880 @[ -f ./sim/Makefile ] || exit 0; \
25881 r=`${PWD_COMMAND}`; export r; \
25882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25883 $(HOST_EXPORTS) \
25884 for flag in $(EXTRA_HOST_FLAGS) ; do \
25885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25886 done; \
25887 echo "Doing info in sim" ; \
25888 (cd $(HOST_SUBDIR)/sim && \
25889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25891 "RANLIB=$${RANLIB}" \
25892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25893 info) \
25894 || exit 1
25896 @endif sim
25898 .PHONY: maybe-dvi-sim dvi-sim
25899 maybe-dvi-sim:
25900 @if sim
25901 maybe-dvi-sim: dvi-sim
25903 dvi-sim: \
25904 configure-sim
25905 @: $(MAKE); $(unstage)
25906 @[ -f ./sim/Makefile ] || exit 0; \
25907 r=`${PWD_COMMAND}`; export r; \
25908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25909 $(HOST_EXPORTS) \
25910 for flag in $(EXTRA_HOST_FLAGS) ; do \
25911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25912 done; \
25913 echo "Doing dvi in sim" ; \
25914 (cd $(HOST_SUBDIR)/sim && \
25915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25917 "RANLIB=$${RANLIB}" \
25918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25919 dvi) \
25920 || exit 1
25922 @endif sim
25924 .PHONY: maybe-pdf-sim pdf-sim
25925 maybe-pdf-sim:
25926 @if sim
25927 maybe-pdf-sim: pdf-sim
25929 pdf-sim: \
25930 configure-sim
25931 @: $(MAKE); $(unstage)
25932 @[ -f ./sim/Makefile ] || exit 0; \
25933 r=`${PWD_COMMAND}`; export r; \
25934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25935 $(HOST_EXPORTS) \
25936 for flag in $(EXTRA_HOST_FLAGS) ; do \
25937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25938 done; \
25939 echo "Doing pdf in sim" ; \
25940 (cd $(HOST_SUBDIR)/sim && \
25941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25943 "RANLIB=$${RANLIB}" \
25944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25945 pdf) \
25946 || exit 1
25948 @endif sim
25950 .PHONY: maybe-html-sim html-sim
25951 maybe-html-sim:
25952 @if sim
25953 maybe-html-sim: html-sim
25955 html-sim: \
25956 configure-sim
25957 @: $(MAKE); $(unstage)
25958 @[ -f ./sim/Makefile ] || exit 0; \
25959 r=`${PWD_COMMAND}`; export r; \
25960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25961 $(HOST_EXPORTS) \
25962 for flag in $(EXTRA_HOST_FLAGS) ; do \
25963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25964 done; \
25965 echo "Doing html in sim" ; \
25966 (cd $(HOST_SUBDIR)/sim && \
25967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25969 "RANLIB=$${RANLIB}" \
25970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25971 html) \
25972 || exit 1
25974 @endif sim
25976 .PHONY: maybe-TAGS-sim TAGS-sim
25977 maybe-TAGS-sim:
25978 @if sim
25979 maybe-TAGS-sim: TAGS-sim
25981 TAGS-sim: \
25982 configure-sim
25983 @: $(MAKE); $(unstage)
25984 @[ -f ./sim/Makefile ] || exit 0; \
25985 r=`${PWD_COMMAND}`; export r; \
25986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25987 $(HOST_EXPORTS) \
25988 for flag in $(EXTRA_HOST_FLAGS) ; do \
25989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25990 done; \
25991 echo "Doing TAGS in sim" ; \
25992 (cd $(HOST_SUBDIR)/sim && \
25993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25995 "RANLIB=$${RANLIB}" \
25996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25997 TAGS) \
25998 || exit 1
26000 @endif sim
26002 .PHONY: maybe-install-info-sim install-info-sim
26003 maybe-install-info-sim:
26004 @if sim
26005 maybe-install-info-sim: install-info-sim
26007 install-info-sim: \
26008 configure-sim \
26009 info-sim
26010 @: $(MAKE); $(unstage)
26011 @[ -f ./sim/Makefile ] || exit 0; \
26012 r=`${PWD_COMMAND}`; export r; \
26013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26014 $(HOST_EXPORTS) \
26015 for flag in $(EXTRA_HOST_FLAGS) ; do \
26016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26017 done; \
26018 echo "Doing install-info in sim" ; \
26019 (cd $(HOST_SUBDIR)/sim && \
26020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26022 "RANLIB=$${RANLIB}" \
26023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26024 install-info) \
26025 || exit 1
26027 @endif sim
26029 .PHONY: maybe-install-pdf-sim install-pdf-sim
26030 maybe-install-pdf-sim:
26031 @if sim
26032 maybe-install-pdf-sim: install-pdf-sim
26034 install-pdf-sim: \
26035 configure-sim \
26036 pdf-sim
26037 @: $(MAKE); $(unstage)
26038 @[ -f ./sim/Makefile ] || exit 0; \
26039 r=`${PWD_COMMAND}`; export r; \
26040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26041 $(HOST_EXPORTS) \
26042 for flag in $(EXTRA_HOST_FLAGS) ; do \
26043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26044 done; \
26045 echo "Doing install-pdf in sim" ; \
26046 (cd $(HOST_SUBDIR)/sim && \
26047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26049 "RANLIB=$${RANLIB}" \
26050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26051 install-pdf) \
26052 || exit 1
26054 @endif sim
26056 .PHONY: maybe-install-html-sim install-html-sim
26057 maybe-install-html-sim:
26058 @if sim
26059 maybe-install-html-sim: install-html-sim
26061 install-html-sim: \
26062 configure-sim \
26063 html-sim
26064 @: $(MAKE); $(unstage)
26065 @[ -f ./sim/Makefile ] || exit 0; \
26066 r=`${PWD_COMMAND}`; export r; \
26067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26068 $(HOST_EXPORTS) \
26069 for flag in $(EXTRA_HOST_FLAGS) ; do \
26070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26071 done; \
26072 echo "Doing install-html in sim" ; \
26073 (cd $(HOST_SUBDIR)/sim && \
26074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26076 "RANLIB=$${RANLIB}" \
26077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26078 install-html) \
26079 || exit 1
26081 @endif sim
26083 .PHONY: maybe-installcheck-sim installcheck-sim
26084 maybe-installcheck-sim:
26085 @if sim
26086 maybe-installcheck-sim: installcheck-sim
26088 installcheck-sim: \
26089 configure-sim
26090 @: $(MAKE); $(unstage)
26091 @[ -f ./sim/Makefile ] || exit 0; \
26092 r=`${PWD_COMMAND}`; export r; \
26093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26094 $(HOST_EXPORTS) \
26095 for flag in $(EXTRA_HOST_FLAGS) ; do \
26096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26097 done; \
26098 echo "Doing installcheck in sim" ; \
26099 (cd $(HOST_SUBDIR)/sim && \
26100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26102 "RANLIB=$${RANLIB}" \
26103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26104 installcheck) \
26105 || exit 1
26107 @endif sim
26109 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
26110 maybe-mostlyclean-sim:
26111 @if sim
26112 maybe-mostlyclean-sim: mostlyclean-sim
26114 mostlyclean-sim:
26115 @: $(MAKE); $(unstage)
26116 @[ -f ./sim/Makefile ] || exit 0; \
26117 r=`${PWD_COMMAND}`; export r; \
26118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26119 $(HOST_EXPORTS) \
26120 for flag in $(EXTRA_HOST_FLAGS) ; do \
26121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26122 done; \
26123 echo "Doing mostlyclean in sim" ; \
26124 (cd $(HOST_SUBDIR)/sim && \
26125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26127 "RANLIB=$${RANLIB}" \
26128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26129 mostlyclean) \
26130 || exit 1
26132 @endif sim
26134 .PHONY: maybe-clean-sim clean-sim
26135 maybe-clean-sim:
26136 @if sim
26137 maybe-clean-sim: clean-sim
26139 clean-sim:
26140 @: $(MAKE); $(unstage)
26141 @[ -f ./sim/Makefile ] || exit 0; \
26142 r=`${PWD_COMMAND}`; export r; \
26143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26144 $(HOST_EXPORTS) \
26145 for flag in $(EXTRA_HOST_FLAGS) ; do \
26146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26147 done; \
26148 echo "Doing clean in sim" ; \
26149 (cd $(HOST_SUBDIR)/sim && \
26150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26152 "RANLIB=$${RANLIB}" \
26153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26154 clean) \
26155 || exit 1
26157 @endif sim
26159 .PHONY: maybe-distclean-sim distclean-sim
26160 maybe-distclean-sim:
26161 @if sim
26162 maybe-distclean-sim: distclean-sim
26164 distclean-sim:
26165 @: $(MAKE); $(unstage)
26166 @[ -f ./sim/Makefile ] || exit 0; \
26167 r=`${PWD_COMMAND}`; export r; \
26168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26169 $(HOST_EXPORTS) \
26170 for flag in $(EXTRA_HOST_FLAGS) ; do \
26171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26172 done; \
26173 echo "Doing distclean in sim" ; \
26174 (cd $(HOST_SUBDIR)/sim && \
26175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26177 "RANLIB=$${RANLIB}" \
26178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26179 distclean) \
26180 || exit 1
26182 @endif sim
26184 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
26185 maybe-maintainer-clean-sim:
26186 @if sim
26187 maybe-maintainer-clean-sim: maintainer-clean-sim
26189 maintainer-clean-sim:
26190 @: $(MAKE); $(unstage)
26191 @[ -f ./sim/Makefile ] || exit 0; \
26192 r=`${PWD_COMMAND}`; export r; \
26193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26194 $(HOST_EXPORTS) \
26195 for flag in $(EXTRA_HOST_FLAGS) ; do \
26196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26197 done; \
26198 echo "Doing maintainer-clean in sim" ; \
26199 (cd $(HOST_SUBDIR)/sim && \
26200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26202 "RANLIB=$${RANLIB}" \
26203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26204 maintainer-clean) \
26205 || exit 1
26207 @endif sim
26211 .PHONY: configure-texinfo maybe-configure-texinfo
26212 maybe-configure-texinfo:
26213 @if gcc-bootstrap
26214 configure-texinfo: stage_current
26215 @endif gcc-bootstrap
26216 @if texinfo
26217 maybe-configure-texinfo: configure-texinfo
26218 configure-texinfo:
26219 @: $(MAKE); $(unstage)
26220 @r=`${PWD_COMMAND}`; export r; \
26221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26222 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
26223 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
26224 $(HOST_EXPORTS) \
26225 echo Configuring in $(HOST_SUBDIR)/texinfo; \
26226 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
26227 case $(srcdir) in \
26228 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26229 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
26230 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26231 esac; \
26232 module_srcdir=texinfo; \
26233 $(SHELL) \
26234 $$s/$$module_srcdir/configure \
26235 --srcdir=$${topdir}/$$module_srcdir \
26236 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26237 --target=${target_alias} \
26238 || exit 1
26239 @endif texinfo
26245 .PHONY: all-texinfo maybe-all-texinfo
26246 maybe-all-texinfo:
26247 @if gcc-bootstrap
26248 all-texinfo: stage_current
26249 @endif gcc-bootstrap
26250 @if texinfo
26251 TARGET-texinfo=all
26252 maybe-all-texinfo: all-texinfo
26253 all-texinfo: configure-texinfo
26254 @: $(MAKE); $(unstage)
26255 @r=`${PWD_COMMAND}`; export r; \
26256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26257 $(HOST_EXPORTS) \
26258 (cd $(HOST_SUBDIR)/texinfo && \
26259 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26260 $(TARGET-texinfo))
26261 @endif texinfo
26266 .PHONY: check-texinfo maybe-check-texinfo
26267 maybe-check-texinfo:
26268 @if texinfo
26269 maybe-check-texinfo: check-texinfo
26271 check-texinfo:
26272 @: $(MAKE); $(unstage)
26273 @r=`${PWD_COMMAND}`; export r; \
26274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26275 $(HOST_EXPORTS) \
26276 (cd $(HOST_SUBDIR)/texinfo && \
26277 $(MAKE) $(FLAGS_TO_PASS) check)
26279 @endif texinfo
26281 .PHONY: install-texinfo maybe-install-texinfo
26282 maybe-install-texinfo:
26283 @if texinfo
26284 maybe-install-texinfo: install-texinfo
26286 install-texinfo:
26288 @endif texinfo
26290 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
26291 maybe-install-strip-texinfo:
26292 @if texinfo
26293 maybe-install-strip-texinfo: install-strip-texinfo
26295 install-strip-texinfo:
26297 @endif texinfo
26299 # Other targets (info, dvi, pdf, etc.)
26301 .PHONY: maybe-info-texinfo info-texinfo
26302 maybe-info-texinfo:
26303 @if texinfo
26304 maybe-info-texinfo: info-texinfo
26306 info-texinfo: \
26307 configure-texinfo
26308 @: $(MAKE); $(unstage)
26309 @[ -f ./texinfo/Makefile ] || exit 0; \
26310 r=`${PWD_COMMAND}`; export r; \
26311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26312 $(HOST_EXPORTS) \
26313 for flag in $(EXTRA_HOST_FLAGS) ; do \
26314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26315 done; \
26316 echo "Doing info in texinfo" ; \
26317 (cd $(HOST_SUBDIR)/texinfo && \
26318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26320 "RANLIB=$${RANLIB}" \
26321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26322 info) \
26323 || exit 1
26325 @endif texinfo
26327 .PHONY: maybe-dvi-texinfo dvi-texinfo
26328 maybe-dvi-texinfo:
26329 @if texinfo
26330 maybe-dvi-texinfo: dvi-texinfo
26332 dvi-texinfo: \
26333 configure-texinfo
26334 @: $(MAKE); $(unstage)
26335 @[ -f ./texinfo/Makefile ] || exit 0; \
26336 r=`${PWD_COMMAND}`; export r; \
26337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26338 $(HOST_EXPORTS) \
26339 for flag in $(EXTRA_HOST_FLAGS) ; do \
26340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26341 done; \
26342 echo "Doing dvi in texinfo" ; \
26343 (cd $(HOST_SUBDIR)/texinfo && \
26344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26346 "RANLIB=$${RANLIB}" \
26347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26348 dvi) \
26349 || exit 1
26351 @endif texinfo
26353 .PHONY: maybe-pdf-texinfo pdf-texinfo
26354 maybe-pdf-texinfo:
26355 @if texinfo
26356 maybe-pdf-texinfo: pdf-texinfo
26358 pdf-texinfo: \
26359 configure-texinfo
26360 @: $(MAKE); $(unstage)
26361 @[ -f ./texinfo/Makefile ] || exit 0; \
26362 r=`${PWD_COMMAND}`; export r; \
26363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26364 $(HOST_EXPORTS) \
26365 for flag in $(EXTRA_HOST_FLAGS) ; do \
26366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26367 done; \
26368 echo "Doing pdf in texinfo" ; \
26369 (cd $(HOST_SUBDIR)/texinfo && \
26370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26372 "RANLIB=$${RANLIB}" \
26373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26374 pdf) \
26375 || exit 1
26377 @endif texinfo
26379 .PHONY: maybe-html-texinfo html-texinfo
26380 maybe-html-texinfo:
26381 @if texinfo
26382 maybe-html-texinfo: html-texinfo
26384 html-texinfo: \
26385 configure-texinfo
26386 @: $(MAKE); $(unstage)
26387 @[ -f ./texinfo/Makefile ] || exit 0; \
26388 r=`${PWD_COMMAND}`; export r; \
26389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26390 $(HOST_EXPORTS) \
26391 for flag in $(EXTRA_HOST_FLAGS) ; do \
26392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26393 done; \
26394 echo "Doing html in texinfo" ; \
26395 (cd $(HOST_SUBDIR)/texinfo && \
26396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26398 "RANLIB=$${RANLIB}" \
26399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26400 html) \
26401 || exit 1
26403 @endif texinfo
26405 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
26406 maybe-TAGS-texinfo:
26407 @if texinfo
26408 maybe-TAGS-texinfo: TAGS-texinfo
26410 TAGS-texinfo: \
26411 configure-texinfo
26412 @: $(MAKE); $(unstage)
26413 @[ -f ./texinfo/Makefile ] || exit 0; \
26414 r=`${PWD_COMMAND}`; export r; \
26415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26416 $(HOST_EXPORTS) \
26417 for flag in $(EXTRA_HOST_FLAGS) ; do \
26418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26419 done; \
26420 echo "Doing TAGS in texinfo" ; \
26421 (cd $(HOST_SUBDIR)/texinfo && \
26422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26424 "RANLIB=$${RANLIB}" \
26425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26426 TAGS) \
26427 || exit 1
26429 @endif texinfo
26431 .PHONY: maybe-install-info-texinfo install-info-texinfo
26432 maybe-install-info-texinfo:
26433 @if texinfo
26434 maybe-install-info-texinfo: install-info-texinfo
26436 install-info-texinfo: \
26437 configure-texinfo \
26438 info-texinfo
26439 @: $(MAKE); $(unstage)
26440 @[ -f ./texinfo/Makefile ] || exit 0; \
26441 r=`${PWD_COMMAND}`; export r; \
26442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26443 $(HOST_EXPORTS) \
26444 for flag in $(EXTRA_HOST_FLAGS) ; do \
26445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26446 done; \
26447 echo "Doing install-info in texinfo" ; \
26448 (cd $(HOST_SUBDIR)/texinfo && \
26449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26451 "RANLIB=$${RANLIB}" \
26452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26453 install-info) \
26454 || exit 1
26456 @endif texinfo
26458 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
26459 maybe-install-pdf-texinfo:
26460 @if texinfo
26461 maybe-install-pdf-texinfo: install-pdf-texinfo
26463 install-pdf-texinfo: \
26464 configure-texinfo \
26465 pdf-texinfo
26466 @: $(MAKE); $(unstage)
26467 @[ -f ./texinfo/Makefile ] || exit 0; \
26468 r=`${PWD_COMMAND}`; export r; \
26469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26470 $(HOST_EXPORTS) \
26471 for flag in $(EXTRA_HOST_FLAGS) ; do \
26472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26473 done; \
26474 echo "Doing install-pdf in texinfo" ; \
26475 (cd $(HOST_SUBDIR)/texinfo && \
26476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26478 "RANLIB=$${RANLIB}" \
26479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26480 install-pdf) \
26481 || exit 1
26483 @endif texinfo
26485 .PHONY: maybe-install-html-texinfo install-html-texinfo
26486 maybe-install-html-texinfo:
26487 @if texinfo
26488 maybe-install-html-texinfo: install-html-texinfo
26490 install-html-texinfo: \
26491 configure-texinfo \
26492 html-texinfo
26493 @: $(MAKE); $(unstage)
26494 @[ -f ./texinfo/Makefile ] || exit 0; \
26495 r=`${PWD_COMMAND}`; export r; \
26496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26497 $(HOST_EXPORTS) \
26498 for flag in $(EXTRA_HOST_FLAGS) ; do \
26499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26500 done; \
26501 echo "Doing install-html in texinfo" ; \
26502 (cd $(HOST_SUBDIR)/texinfo && \
26503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26505 "RANLIB=$${RANLIB}" \
26506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26507 install-html) \
26508 || exit 1
26510 @endif texinfo
26512 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
26513 maybe-installcheck-texinfo:
26514 @if texinfo
26515 maybe-installcheck-texinfo: installcheck-texinfo
26517 installcheck-texinfo: \
26518 configure-texinfo
26519 @: $(MAKE); $(unstage)
26520 @[ -f ./texinfo/Makefile ] || exit 0; \
26521 r=`${PWD_COMMAND}`; export r; \
26522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26523 $(HOST_EXPORTS) \
26524 for flag in $(EXTRA_HOST_FLAGS) ; do \
26525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26526 done; \
26527 echo "Doing installcheck in texinfo" ; \
26528 (cd $(HOST_SUBDIR)/texinfo && \
26529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26531 "RANLIB=$${RANLIB}" \
26532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26533 installcheck) \
26534 || exit 1
26536 @endif texinfo
26538 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
26539 maybe-mostlyclean-texinfo:
26540 @if texinfo
26541 maybe-mostlyclean-texinfo: mostlyclean-texinfo
26543 mostlyclean-texinfo:
26544 @: $(MAKE); $(unstage)
26545 @[ -f ./texinfo/Makefile ] || exit 0; \
26546 r=`${PWD_COMMAND}`; export r; \
26547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26548 $(HOST_EXPORTS) \
26549 for flag in $(EXTRA_HOST_FLAGS) ; do \
26550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26551 done; \
26552 echo "Doing mostlyclean in texinfo" ; \
26553 (cd $(HOST_SUBDIR)/texinfo && \
26554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26556 "RANLIB=$${RANLIB}" \
26557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26558 mostlyclean) \
26559 || exit 1
26561 @endif texinfo
26563 .PHONY: maybe-clean-texinfo clean-texinfo
26564 maybe-clean-texinfo:
26565 @if texinfo
26566 maybe-clean-texinfo: clean-texinfo
26568 clean-texinfo:
26569 @: $(MAKE); $(unstage)
26570 @[ -f ./texinfo/Makefile ] || exit 0; \
26571 r=`${PWD_COMMAND}`; export r; \
26572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26573 $(HOST_EXPORTS) \
26574 for flag in $(EXTRA_HOST_FLAGS) ; do \
26575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26576 done; \
26577 echo "Doing clean in texinfo" ; \
26578 (cd $(HOST_SUBDIR)/texinfo && \
26579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26581 "RANLIB=$${RANLIB}" \
26582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26583 clean) \
26584 || exit 1
26586 @endif texinfo
26588 .PHONY: maybe-distclean-texinfo distclean-texinfo
26589 maybe-distclean-texinfo:
26590 @if texinfo
26591 maybe-distclean-texinfo: distclean-texinfo
26593 distclean-texinfo:
26594 @: $(MAKE); $(unstage)
26595 @[ -f ./texinfo/Makefile ] || exit 0; \
26596 r=`${PWD_COMMAND}`; export r; \
26597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26598 $(HOST_EXPORTS) \
26599 for flag in $(EXTRA_HOST_FLAGS) ; do \
26600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26601 done; \
26602 echo "Doing distclean in texinfo" ; \
26603 (cd $(HOST_SUBDIR)/texinfo && \
26604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26606 "RANLIB=$${RANLIB}" \
26607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26608 distclean) \
26609 || exit 1
26611 @endif texinfo
26613 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
26614 maybe-maintainer-clean-texinfo:
26615 @if texinfo
26616 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
26618 maintainer-clean-texinfo:
26619 @: $(MAKE); $(unstage)
26620 @[ -f ./texinfo/Makefile ] || exit 0; \
26621 r=`${PWD_COMMAND}`; export r; \
26622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26623 $(HOST_EXPORTS) \
26624 for flag in $(EXTRA_HOST_FLAGS) ; do \
26625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26626 done; \
26627 echo "Doing maintainer-clean in texinfo" ; \
26628 (cd $(HOST_SUBDIR)/texinfo && \
26629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26631 "RANLIB=$${RANLIB}" \
26632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26633 maintainer-clean) \
26634 || exit 1
26636 @endif texinfo
26640 .PHONY: configure-zlib maybe-configure-zlib
26641 maybe-configure-zlib:
26642 @if gcc-bootstrap
26643 configure-zlib: stage_current
26644 @endif gcc-bootstrap
26645 @if zlib
26646 maybe-configure-zlib: configure-zlib
26647 configure-zlib:
26648 @r=`${PWD_COMMAND}`; export r; \
26649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26650 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26651 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26652 $(HOST_EXPORTS) \
26653 echo Configuring in $(HOST_SUBDIR)/zlib; \
26654 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
26655 case $(srcdir) in \
26656 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26657 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26658 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26659 esac; \
26660 module_srcdir=zlib; \
26661 $(SHELL) \
26662 $$s/$$module_srcdir/configure \
26663 --srcdir=$${topdir}/$$module_srcdir \
26664 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26665 --target=${target_alias} \
26666 || exit 1
26667 @endif zlib
26671 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
26672 maybe-configure-stage1-zlib:
26673 @if zlib-bootstrap
26674 maybe-configure-stage1-zlib: configure-stage1-zlib
26675 configure-stage1-zlib:
26676 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26677 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26678 @r=`${PWD_COMMAND}`; export r; \
26679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26680 TFLAGS="$(STAGE1_TFLAGS)"; \
26681 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26682 $(HOST_EXPORTS) \
26683 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26684 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
26685 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
26686 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
26687 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26688 cd $(HOST_SUBDIR)/zlib || exit 1; \
26689 case $(srcdir) in \
26690 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26691 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26692 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26693 esac; \
26694 module_srcdir=zlib; \
26695 $(SHELL) $$s/$$module_srcdir/configure \
26696 --srcdir=$${topdir}/$$module_srcdir \
26697 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26698 --target=${target_alias} \
26700 $(STAGE1_CONFIGURE_FLAGS)
26701 @endif zlib-bootstrap
26703 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
26704 maybe-configure-stage2-zlib:
26705 @if zlib-bootstrap
26706 maybe-configure-stage2-zlib: configure-stage2-zlib
26707 configure-stage2-zlib:
26708 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26709 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26710 @r=`${PWD_COMMAND}`; export r; \
26711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26712 TFLAGS="$(STAGE2_TFLAGS)"; \
26713 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26714 $(HOST_EXPORTS) \
26715 $(POSTSTAGE1_HOST_EXPORTS) \
26716 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26717 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
26718 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
26719 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
26720 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26721 cd $(HOST_SUBDIR)/zlib || exit 1; \
26722 case $(srcdir) in \
26723 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26724 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26725 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26726 esac; \
26727 module_srcdir=zlib; \
26728 $(SHELL) $$s/$$module_srcdir/configure \
26729 --srcdir=$${topdir}/$$module_srcdir \
26730 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26731 --target=${target_alias} \
26732 --with-build-libsubdir=$(HOST_SUBDIR) \
26733 $(STAGE2_CONFIGURE_FLAGS)
26734 @endif zlib-bootstrap
26736 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
26737 maybe-configure-stage3-zlib:
26738 @if zlib-bootstrap
26739 maybe-configure-stage3-zlib: configure-stage3-zlib
26740 configure-stage3-zlib:
26741 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26742 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26743 @r=`${PWD_COMMAND}`; export r; \
26744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26745 TFLAGS="$(STAGE3_TFLAGS)"; \
26746 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26747 $(HOST_EXPORTS) \
26748 $(POSTSTAGE1_HOST_EXPORTS) \
26749 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
26750 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
26751 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
26752 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
26753 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26754 cd $(HOST_SUBDIR)/zlib || exit 1; \
26755 case $(srcdir) in \
26756 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26757 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26758 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26759 esac; \
26760 module_srcdir=zlib; \
26761 $(SHELL) $$s/$$module_srcdir/configure \
26762 --srcdir=$${topdir}/$$module_srcdir \
26763 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26764 --target=${target_alias} \
26765 --with-build-libsubdir=$(HOST_SUBDIR) \
26766 $(STAGE3_CONFIGURE_FLAGS)
26767 @endif zlib-bootstrap
26769 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
26770 maybe-configure-stage4-zlib:
26771 @if zlib-bootstrap
26772 maybe-configure-stage4-zlib: configure-stage4-zlib
26773 configure-stage4-zlib:
26774 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26775 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26776 @r=`${PWD_COMMAND}`; export r; \
26777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26778 TFLAGS="$(STAGE4_TFLAGS)"; \
26779 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26780 $(HOST_EXPORTS) \
26781 $(POSTSTAGE1_HOST_EXPORTS) \
26782 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
26783 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
26784 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
26785 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
26786 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26787 cd $(HOST_SUBDIR)/zlib || exit 1; \
26788 case $(srcdir) in \
26789 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26790 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26791 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26792 esac; \
26793 module_srcdir=zlib; \
26794 $(SHELL) $$s/$$module_srcdir/configure \
26795 --srcdir=$${topdir}/$$module_srcdir \
26796 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26797 --target=${target_alias} \
26798 --with-build-libsubdir=$(HOST_SUBDIR) \
26799 $(STAGE4_CONFIGURE_FLAGS)
26800 @endif zlib-bootstrap
26802 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
26803 maybe-configure-stageprofile-zlib:
26804 @if zlib-bootstrap
26805 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
26806 configure-stageprofile-zlib:
26807 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26808 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26809 @r=`${PWD_COMMAND}`; export r; \
26810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26811 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26812 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26813 $(HOST_EXPORTS) \
26814 $(POSTSTAGE1_HOST_EXPORTS) \
26815 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
26816 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
26817 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
26818 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
26819 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26820 cd $(HOST_SUBDIR)/zlib || exit 1; \
26821 case $(srcdir) in \
26822 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26823 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26824 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26825 esac; \
26826 module_srcdir=zlib; \
26827 $(SHELL) $$s/$$module_srcdir/configure \
26828 --srcdir=$${topdir}/$$module_srcdir \
26829 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26830 --target=${target_alias} \
26831 --with-build-libsubdir=$(HOST_SUBDIR) \
26832 $(STAGEprofile_CONFIGURE_FLAGS)
26833 @endif zlib-bootstrap
26835 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
26836 maybe-configure-stagefeedback-zlib:
26837 @if zlib-bootstrap
26838 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
26839 configure-stagefeedback-zlib:
26840 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26841 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26842 @r=`${PWD_COMMAND}`; export r; \
26843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26844 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26845 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26846 $(HOST_EXPORTS) \
26847 $(POSTSTAGE1_HOST_EXPORTS) \
26848 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
26849 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
26850 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
26851 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
26852 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26853 cd $(HOST_SUBDIR)/zlib || exit 1; \
26854 case $(srcdir) in \
26855 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26856 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26857 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26858 esac; \
26859 module_srcdir=zlib; \
26860 $(SHELL) $$s/$$module_srcdir/configure \
26861 --srcdir=$${topdir}/$$module_srcdir \
26862 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26863 --target=${target_alias} \
26864 --with-build-libsubdir=$(HOST_SUBDIR) \
26865 $(STAGEfeedback_CONFIGURE_FLAGS)
26866 @endif zlib-bootstrap
26872 .PHONY: all-zlib maybe-all-zlib
26873 maybe-all-zlib:
26874 @if gcc-bootstrap
26875 all-zlib: stage_current
26876 @endif gcc-bootstrap
26877 @if zlib
26878 TARGET-zlib=all
26879 maybe-all-zlib: all-zlib
26880 all-zlib: configure-zlib
26881 @r=`${PWD_COMMAND}`; export r; \
26882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26883 $(HOST_EXPORTS) \
26884 (cd $(HOST_SUBDIR)/zlib && \
26885 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26886 $(TARGET-zlib))
26887 @endif zlib
26891 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
26892 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
26893 maybe-all-stage1-zlib:
26894 maybe-clean-stage1-zlib:
26895 @if zlib-bootstrap
26896 maybe-all-stage1-zlib: all-stage1-zlib
26897 all-stage1: all-stage1-zlib
26898 TARGET-stage1-zlib = $(TARGET-zlib)
26899 all-stage1-zlib: configure-stage1-zlib
26900 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26901 @r=`${PWD_COMMAND}`; export r; \
26902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26903 TFLAGS="$(STAGE1_TFLAGS)"; \
26904 $(HOST_EXPORTS) \
26905 cd $(HOST_SUBDIR)/zlib && \
26906 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26907 CFLAGS="$(STAGE1_CFLAGS)" \
26908 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
26909 LIBCFLAGS="$(LIBCFLAGS)" \
26910 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26911 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26912 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26913 $(EXTRA_HOST_FLAGS) \
26914 $(STAGE1_FLAGS_TO_PASS) \
26915 TFLAGS="$(STAGE1_TFLAGS)" \
26916 $(TARGET-stage1-zlib)
26918 maybe-clean-stage1-zlib: clean-stage1-zlib
26919 clean-stage1: clean-stage1-zlib
26920 clean-stage1-zlib:
26921 @if [ $(current_stage) = stage1 ]; then \
26922 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26923 else \
26924 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
26925 $(MAKE) stage1-start; \
26926 fi; \
26927 cd $(HOST_SUBDIR)/zlib && \
26928 $(MAKE) $(EXTRA_HOST_FLAGS) \
26929 $(STAGE1_FLAGS_TO_PASS) clean
26930 @endif zlib-bootstrap
26933 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
26934 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
26935 maybe-all-stage2-zlib:
26936 maybe-clean-stage2-zlib:
26937 @if zlib-bootstrap
26938 maybe-all-stage2-zlib: all-stage2-zlib
26939 all-stage2: all-stage2-zlib
26940 TARGET-stage2-zlib = $(TARGET-zlib)
26941 all-stage2-zlib: configure-stage2-zlib
26942 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26943 @r=`${PWD_COMMAND}`; export r; \
26944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26945 TFLAGS="$(STAGE2_TFLAGS)"; \
26946 $(HOST_EXPORTS) \
26947 $(POSTSTAGE1_HOST_EXPORTS) \
26948 cd $(HOST_SUBDIR)/zlib && \
26949 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26950 CFLAGS="$(STAGE2_CFLAGS)" \
26951 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
26952 LIBCFLAGS="$(STAGE2_CFLAGS)" \
26953 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26954 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26955 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26956 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26957 TFLAGS="$(STAGE2_TFLAGS)" \
26958 $(TARGET-stage2-zlib)
26960 maybe-clean-stage2-zlib: clean-stage2-zlib
26961 clean-stage2: clean-stage2-zlib
26962 clean-stage2-zlib:
26963 @if [ $(current_stage) = stage2 ]; then \
26964 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26965 else \
26966 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
26967 $(MAKE) stage2-start; \
26968 fi; \
26969 cd $(HOST_SUBDIR)/zlib && \
26970 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26971 @endif zlib-bootstrap
26974 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
26975 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
26976 maybe-all-stage3-zlib:
26977 maybe-clean-stage3-zlib:
26978 @if zlib-bootstrap
26979 maybe-all-stage3-zlib: all-stage3-zlib
26980 all-stage3: all-stage3-zlib
26981 TARGET-stage3-zlib = $(TARGET-zlib)
26982 all-stage3-zlib: configure-stage3-zlib
26983 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26984 @r=`${PWD_COMMAND}`; export r; \
26985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26986 TFLAGS="$(STAGE3_TFLAGS)"; \
26987 $(HOST_EXPORTS) \
26988 $(POSTSTAGE1_HOST_EXPORTS) \
26989 cd $(HOST_SUBDIR)/zlib && \
26990 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26991 CFLAGS="$(STAGE3_CFLAGS)" \
26992 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
26993 LIBCFLAGS="$(STAGE3_CFLAGS)" \
26994 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26995 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26996 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26997 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26998 TFLAGS="$(STAGE3_TFLAGS)" \
26999 $(TARGET-stage3-zlib)
27001 maybe-clean-stage3-zlib: clean-stage3-zlib
27002 clean-stage3: clean-stage3-zlib
27003 clean-stage3-zlib:
27004 @if [ $(current_stage) = stage3 ]; then \
27005 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27006 else \
27007 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
27008 $(MAKE) stage3-start; \
27009 fi; \
27010 cd $(HOST_SUBDIR)/zlib && \
27011 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27012 @endif zlib-bootstrap
27015 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
27016 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
27017 maybe-all-stage4-zlib:
27018 maybe-clean-stage4-zlib:
27019 @if zlib-bootstrap
27020 maybe-all-stage4-zlib: all-stage4-zlib
27021 all-stage4: all-stage4-zlib
27022 TARGET-stage4-zlib = $(TARGET-zlib)
27023 all-stage4-zlib: configure-stage4-zlib
27024 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27025 @r=`${PWD_COMMAND}`; export r; \
27026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27027 TFLAGS="$(STAGE4_TFLAGS)"; \
27028 $(HOST_EXPORTS) \
27029 $(POSTSTAGE1_HOST_EXPORTS) \
27030 cd $(HOST_SUBDIR)/zlib && \
27031 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27032 CFLAGS="$(STAGE4_CFLAGS)" \
27033 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
27034 LIBCFLAGS="$(STAGE4_CFLAGS)" \
27035 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27036 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27037 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27038 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27039 TFLAGS="$(STAGE4_TFLAGS)" \
27040 $(TARGET-stage4-zlib)
27042 maybe-clean-stage4-zlib: clean-stage4-zlib
27043 clean-stage4: clean-stage4-zlib
27044 clean-stage4-zlib:
27045 @if [ $(current_stage) = stage4 ]; then \
27046 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27047 else \
27048 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
27049 $(MAKE) stage4-start; \
27050 fi; \
27051 cd $(HOST_SUBDIR)/zlib && \
27052 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27053 @endif zlib-bootstrap
27056 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
27057 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
27058 maybe-all-stageprofile-zlib:
27059 maybe-clean-stageprofile-zlib:
27060 @if zlib-bootstrap
27061 maybe-all-stageprofile-zlib: all-stageprofile-zlib
27062 all-stageprofile: all-stageprofile-zlib
27063 TARGET-stageprofile-zlib = $(TARGET-zlib)
27064 all-stageprofile-zlib: configure-stageprofile-zlib
27065 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27066 @r=`${PWD_COMMAND}`; export r; \
27067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27068 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27069 $(HOST_EXPORTS) \
27070 $(POSTSTAGE1_HOST_EXPORTS) \
27071 cd $(HOST_SUBDIR)/zlib && \
27072 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27073 CFLAGS="$(STAGEprofile_CFLAGS)" \
27074 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
27075 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
27076 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27077 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27078 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27079 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27080 TFLAGS="$(STAGEprofile_TFLAGS)" \
27081 $(TARGET-stageprofile-zlib)
27083 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
27084 clean-stageprofile: clean-stageprofile-zlib
27085 clean-stageprofile-zlib:
27086 @if [ $(current_stage) = stageprofile ]; then \
27087 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27088 else \
27089 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
27090 $(MAKE) stageprofile-start; \
27091 fi; \
27092 cd $(HOST_SUBDIR)/zlib && \
27093 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27094 @endif zlib-bootstrap
27097 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
27098 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
27099 maybe-all-stagefeedback-zlib:
27100 maybe-clean-stagefeedback-zlib:
27101 @if zlib-bootstrap
27102 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
27103 all-stagefeedback: all-stagefeedback-zlib
27104 TARGET-stagefeedback-zlib = $(TARGET-zlib)
27105 all-stagefeedback-zlib: configure-stagefeedback-zlib
27106 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27107 @r=`${PWD_COMMAND}`; export r; \
27108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27109 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27110 $(HOST_EXPORTS) \
27111 $(POSTSTAGE1_HOST_EXPORTS) \
27112 cd $(HOST_SUBDIR)/zlib && \
27113 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27114 CFLAGS="$(STAGEfeedback_CFLAGS)" \
27115 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
27116 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
27117 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27118 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27119 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27120 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27121 TFLAGS="$(STAGEfeedback_TFLAGS)" \
27122 $(TARGET-stagefeedback-zlib)
27124 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
27125 clean-stagefeedback: clean-stagefeedback-zlib
27126 clean-stagefeedback-zlib:
27127 @if [ $(current_stage) = stagefeedback ]; then \
27128 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27129 else \
27130 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
27131 $(MAKE) stagefeedback-start; \
27132 fi; \
27133 cd $(HOST_SUBDIR)/zlib && \
27134 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27135 @endif zlib-bootstrap
27141 .PHONY: check-zlib maybe-check-zlib
27142 maybe-check-zlib:
27143 @if zlib
27144 maybe-check-zlib: check-zlib
27146 check-zlib:
27148 @endif zlib
27150 .PHONY: install-zlib maybe-install-zlib
27151 maybe-install-zlib:
27152 @if zlib
27153 maybe-install-zlib: install-zlib
27155 install-zlib:
27157 @endif zlib
27159 .PHONY: install-strip-zlib maybe-install-strip-zlib
27160 maybe-install-strip-zlib:
27161 @if zlib
27162 maybe-install-strip-zlib: install-strip-zlib
27164 install-strip-zlib:
27166 @endif zlib
27168 # Other targets (info, dvi, pdf, etc.)
27170 .PHONY: maybe-info-zlib info-zlib
27171 maybe-info-zlib:
27172 @if zlib
27173 maybe-info-zlib: info-zlib
27175 info-zlib: \
27176 configure-zlib
27177 @[ -f ./zlib/Makefile ] || exit 0; \
27178 r=`${PWD_COMMAND}`; export r; \
27179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27180 $(HOST_EXPORTS) \
27181 for flag in $(EXTRA_HOST_FLAGS) ; do \
27182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27183 done; \
27184 echo "Doing info in zlib" ; \
27185 (cd $(HOST_SUBDIR)/zlib && \
27186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27188 "RANLIB=$${RANLIB}" \
27189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27190 info) \
27191 || exit 1
27193 @endif zlib
27195 .PHONY: maybe-dvi-zlib dvi-zlib
27196 maybe-dvi-zlib:
27197 @if zlib
27198 maybe-dvi-zlib: dvi-zlib
27200 dvi-zlib: \
27201 configure-zlib
27202 @[ -f ./zlib/Makefile ] || exit 0; \
27203 r=`${PWD_COMMAND}`; export r; \
27204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27205 $(HOST_EXPORTS) \
27206 for flag in $(EXTRA_HOST_FLAGS) ; do \
27207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27208 done; \
27209 echo "Doing dvi in zlib" ; \
27210 (cd $(HOST_SUBDIR)/zlib && \
27211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27213 "RANLIB=$${RANLIB}" \
27214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27215 dvi) \
27216 || exit 1
27218 @endif zlib
27220 .PHONY: maybe-pdf-zlib pdf-zlib
27221 maybe-pdf-zlib:
27222 @if zlib
27223 maybe-pdf-zlib: pdf-zlib
27225 pdf-zlib: \
27226 configure-zlib
27227 @[ -f ./zlib/Makefile ] || exit 0; \
27228 r=`${PWD_COMMAND}`; export r; \
27229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27230 $(HOST_EXPORTS) \
27231 for flag in $(EXTRA_HOST_FLAGS) ; do \
27232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27233 done; \
27234 echo "Doing pdf in zlib" ; \
27235 (cd $(HOST_SUBDIR)/zlib && \
27236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27238 "RANLIB=$${RANLIB}" \
27239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27240 pdf) \
27241 || exit 1
27243 @endif zlib
27245 .PHONY: maybe-html-zlib html-zlib
27246 maybe-html-zlib:
27247 @if zlib
27248 maybe-html-zlib: html-zlib
27250 html-zlib: \
27251 configure-zlib
27252 @[ -f ./zlib/Makefile ] || exit 0; \
27253 r=`${PWD_COMMAND}`; export r; \
27254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27255 $(HOST_EXPORTS) \
27256 for flag in $(EXTRA_HOST_FLAGS) ; do \
27257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27258 done; \
27259 echo "Doing html in zlib" ; \
27260 (cd $(HOST_SUBDIR)/zlib && \
27261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27263 "RANLIB=$${RANLIB}" \
27264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27265 html) \
27266 || exit 1
27268 @endif zlib
27270 .PHONY: maybe-TAGS-zlib TAGS-zlib
27271 maybe-TAGS-zlib:
27272 @if zlib
27273 maybe-TAGS-zlib: TAGS-zlib
27275 TAGS-zlib: \
27276 configure-zlib
27277 @[ -f ./zlib/Makefile ] || exit 0; \
27278 r=`${PWD_COMMAND}`; export r; \
27279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27280 $(HOST_EXPORTS) \
27281 for flag in $(EXTRA_HOST_FLAGS) ; do \
27282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27283 done; \
27284 echo "Doing TAGS in zlib" ; \
27285 (cd $(HOST_SUBDIR)/zlib && \
27286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27288 "RANLIB=$${RANLIB}" \
27289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27290 TAGS) \
27291 || exit 1
27293 @endif zlib
27295 .PHONY: maybe-install-info-zlib install-info-zlib
27296 maybe-install-info-zlib:
27297 @if zlib
27298 maybe-install-info-zlib: install-info-zlib
27300 install-info-zlib: \
27301 configure-zlib \
27302 info-zlib
27303 @[ -f ./zlib/Makefile ] || exit 0; \
27304 r=`${PWD_COMMAND}`; export r; \
27305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27306 $(HOST_EXPORTS) \
27307 for flag in $(EXTRA_HOST_FLAGS) ; do \
27308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27309 done; \
27310 echo "Doing install-info in zlib" ; \
27311 (cd $(HOST_SUBDIR)/zlib && \
27312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27314 "RANLIB=$${RANLIB}" \
27315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27316 install-info) \
27317 || exit 1
27319 @endif zlib
27321 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
27322 maybe-install-pdf-zlib:
27323 @if zlib
27324 maybe-install-pdf-zlib: install-pdf-zlib
27326 install-pdf-zlib: \
27327 configure-zlib \
27328 pdf-zlib
27329 @[ -f ./zlib/Makefile ] || exit 0; \
27330 r=`${PWD_COMMAND}`; export r; \
27331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27332 $(HOST_EXPORTS) \
27333 for flag in $(EXTRA_HOST_FLAGS) ; do \
27334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27335 done; \
27336 echo "Doing install-pdf in zlib" ; \
27337 (cd $(HOST_SUBDIR)/zlib && \
27338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27340 "RANLIB=$${RANLIB}" \
27341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27342 install-pdf) \
27343 || exit 1
27345 @endif zlib
27347 .PHONY: maybe-install-html-zlib install-html-zlib
27348 maybe-install-html-zlib:
27349 @if zlib
27350 maybe-install-html-zlib: install-html-zlib
27352 install-html-zlib: \
27353 configure-zlib \
27354 html-zlib
27355 @[ -f ./zlib/Makefile ] || exit 0; \
27356 r=`${PWD_COMMAND}`; export r; \
27357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27358 $(HOST_EXPORTS) \
27359 for flag in $(EXTRA_HOST_FLAGS) ; do \
27360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27361 done; \
27362 echo "Doing install-html in zlib" ; \
27363 (cd $(HOST_SUBDIR)/zlib && \
27364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27366 "RANLIB=$${RANLIB}" \
27367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27368 install-html) \
27369 || exit 1
27371 @endif zlib
27373 .PHONY: maybe-installcheck-zlib installcheck-zlib
27374 maybe-installcheck-zlib:
27375 @if zlib
27376 maybe-installcheck-zlib: installcheck-zlib
27378 installcheck-zlib: \
27379 configure-zlib
27380 @[ -f ./zlib/Makefile ] || exit 0; \
27381 r=`${PWD_COMMAND}`; export r; \
27382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27383 $(HOST_EXPORTS) \
27384 for flag in $(EXTRA_HOST_FLAGS) ; do \
27385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27386 done; \
27387 echo "Doing installcheck in zlib" ; \
27388 (cd $(HOST_SUBDIR)/zlib && \
27389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27391 "RANLIB=$${RANLIB}" \
27392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27393 installcheck) \
27394 || exit 1
27396 @endif zlib
27398 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
27399 maybe-mostlyclean-zlib:
27400 @if zlib
27401 maybe-mostlyclean-zlib: mostlyclean-zlib
27403 mostlyclean-zlib:
27404 @[ -f ./zlib/Makefile ] || exit 0; \
27405 r=`${PWD_COMMAND}`; export r; \
27406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27407 $(HOST_EXPORTS) \
27408 for flag in $(EXTRA_HOST_FLAGS) ; do \
27409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27410 done; \
27411 echo "Doing mostlyclean in zlib" ; \
27412 (cd $(HOST_SUBDIR)/zlib && \
27413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27415 "RANLIB=$${RANLIB}" \
27416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27417 mostlyclean) \
27418 || exit 1
27420 @endif zlib
27422 .PHONY: maybe-clean-zlib clean-zlib
27423 maybe-clean-zlib:
27424 @if zlib
27425 maybe-clean-zlib: clean-zlib
27427 clean-zlib:
27428 @[ -f ./zlib/Makefile ] || exit 0; \
27429 r=`${PWD_COMMAND}`; export r; \
27430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27431 $(HOST_EXPORTS) \
27432 for flag in $(EXTRA_HOST_FLAGS) ; do \
27433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27434 done; \
27435 echo "Doing clean in zlib" ; \
27436 (cd $(HOST_SUBDIR)/zlib && \
27437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27439 "RANLIB=$${RANLIB}" \
27440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27441 clean) \
27442 || exit 1
27444 @endif zlib
27446 .PHONY: maybe-distclean-zlib distclean-zlib
27447 maybe-distclean-zlib:
27448 @if zlib
27449 maybe-distclean-zlib: distclean-zlib
27451 distclean-zlib:
27452 @[ -f ./zlib/Makefile ] || exit 0; \
27453 r=`${PWD_COMMAND}`; export r; \
27454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27455 $(HOST_EXPORTS) \
27456 for flag in $(EXTRA_HOST_FLAGS) ; do \
27457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27458 done; \
27459 echo "Doing distclean in zlib" ; \
27460 (cd $(HOST_SUBDIR)/zlib && \
27461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27463 "RANLIB=$${RANLIB}" \
27464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27465 distclean) \
27466 || exit 1
27468 @endif zlib
27470 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
27471 maybe-maintainer-clean-zlib:
27472 @if zlib
27473 maybe-maintainer-clean-zlib: maintainer-clean-zlib
27475 maintainer-clean-zlib:
27476 @[ -f ./zlib/Makefile ] || exit 0; \
27477 r=`${PWD_COMMAND}`; export r; \
27478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27479 $(HOST_EXPORTS) \
27480 for flag in $(EXTRA_HOST_FLAGS) ; do \
27481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27482 done; \
27483 echo "Doing maintainer-clean in zlib" ; \
27484 (cd $(HOST_SUBDIR)/zlib && \
27485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27487 "RANLIB=$${RANLIB}" \
27488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27489 maintainer-clean) \
27490 || exit 1
27492 @endif zlib
27496 .PHONY: configure-gdb maybe-configure-gdb
27497 maybe-configure-gdb:
27498 @if gcc-bootstrap
27499 configure-gdb: stage_current
27500 @endif gcc-bootstrap
27501 @if gdb
27502 maybe-configure-gdb: configure-gdb
27503 configure-gdb:
27504 @: $(MAKE); $(unstage)
27505 @r=`${PWD_COMMAND}`; export r; \
27506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27507 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
27508 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
27509 $(HOST_EXPORTS) \
27510 echo Configuring in $(HOST_SUBDIR)/gdb; \
27511 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
27512 case $(srcdir) in \
27513 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27514 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
27515 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27516 esac; \
27517 module_srcdir=gdb; \
27518 $(SHELL) \
27519 $$s/$$module_srcdir/configure \
27520 --srcdir=$${topdir}/$$module_srcdir \
27521 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27522 --target=${target_alias} \
27523 || exit 1
27524 @endif gdb
27530 .PHONY: all-gdb maybe-all-gdb
27531 maybe-all-gdb:
27532 @if gcc-bootstrap
27533 all-gdb: stage_current
27534 @endif gcc-bootstrap
27535 @if gdb
27536 TARGET-gdb=all
27537 maybe-all-gdb: all-gdb
27538 all-gdb: configure-gdb
27539 @: $(MAKE); $(unstage)
27540 @r=`${PWD_COMMAND}`; export r; \
27541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27542 $(HOST_EXPORTS) \
27543 (cd $(HOST_SUBDIR)/gdb && \
27544 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27545 $(TARGET-gdb))
27546 @endif gdb
27551 .PHONY: check-gdb maybe-check-gdb
27552 maybe-check-gdb:
27553 @if gdb
27554 maybe-check-gdb: check-gdb
27556 check-gdb:
27557 @: $(MAKE); $(unstage)
27558 @r=`${PWD_COMMAND}`; export r; \
27559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27560 $(HOST_EXPORTS) \
27561 (cd $(HOST_SUBDIR)/gdb && \
27562 $(MAKE) $(FLAGS_TO_PASS) check)
27564 @endif gdb
27566 .PHONY: install-gdb maybe-install-gdb
27567 maybe-install-gdb:
27568 @if gdb
27569 maybe-install-gdb: install-gdb
27571 install-gdb: installdirs
27572 @: $(MAKE); $(unstage)
27573 @r=`${PWD_COMMAND}`; export r; \
27574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27575 $(HOST_EXPORTS) \
27576 (cd $(HOST_SUBDIR)/gdb && \
27577 $(MAKE) $(FLAGS_TO_PASS) install)
27579 @endif gdb
27581 .PHONY: install-strip-gdb maybe-install-strip-gdb
27582 maybe-install-strip-gdb:
27583 @if gdb
27584 maybe-install-strip-gdb: install-strip-gdb
27586 install-strip-gdb: installdirs
27587 @: $(MAKE); $(unstage)
27588 @r=`${PWD_COMMAND}`; export r; \
27589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27590 $(HOST_EXPORTS) \
27591 (cd $(HOST_SUBDIR)/gdb && \
27592 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27594 @endif gdb
27596 # Other targets (info, dvi, pdf, etc.)
27598 .PHONY: maybe-info-gdb info-gdb
27599 maybe-info-gdb:
27600 @if gdb
27601 maybe-info-gdb: info-gdb
27603 info-gdb: \
27604 configure-gdb
27605 @: $(MAKE); $(unstage)
27606 @[ -f ./gdb/Makefile ] || exit 0; \
27607 r=`${PWD_COMMAND}`; export r; \
27608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27609 $(HOST_EXPORTS) \
27610 for flag in $(EXTRA_HOST_FLAGS) ; do \
27611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27612 done; \
27613 echo "Doing info in gdb" ; \
27614 (cd $(HOST_SUBDIR)/gdb && \
27615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27617 "RANLIB=$${RANLIB}" \
27618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27619 info) \
27620 || exit 1
27622 @endif gdb
27624 .PHONY: maybe-dvi-gdb dvi-gdb
27625 maybe-dvi-gdb:
27626 @if gdb
27627 maybe-dvi-gdb: dvi-gdb
27629 dvi-gdb: \
27630 configure-gdb
27631 @: $(MAKE); $(unstage)
27632 @[ -f ./gdb/Makefile ] || exit 0; \
27633 r=`${PWD_COMMAND}`; export r; \
27634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27635 $(HOST_EXPORTS) \
27636 for flag in $(EXTRA_HOST_FLAGS) ; do \
27637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27638 done; \
27639 echo "Doing dvi in gdb" ; \
27640 (cd $(HOST_SUBDIR)/gdb && \
27641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27643 "RANLIB=$${RANLIB}" \
27644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27645 dvi) \
27646 || exit 1
27648 @endif gdb
27650 .PHONY: maybe-pdf-gdb pdf-gdb
27651 maybe-pdf-gdb:
27652 @if gdb
27653 maybe-pdf-gdb: pdf-gdb
27655 pdf-gdb: \
27656 configure-gdb
27657 @: $(MAKE); $(unstage)
27658 @[ -f ./gdb/Makefile ] || exit 0; \
27659 r=`${PWD_COMMAND}`; export r; \
27660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27661 $(HOST_EXPORTS) \
27662 for flag in $(EXTRA_HOST_FLAGS) ; do \
27663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27664 done; \
27665 echo "Doing pdf in gdb" ; \
27666 (cd $(HOST_SUBDIR)/gdb && \
27667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27669 "RANLIB=$${RANLIB}" \
27670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27671 pdf) \
27672 || exit 1
27674 @endif gdb
27676 .PHONY: maybe-html-gdb html-gdb
27677 maybe-html-gdb:
27678 @if gdb
27679 maybe-html-gdb: html-gdb
27681 html-gdb: \
27682 configure-gdb
27683 @: $(MAKE); $(unstage)
27684 @[ -f ./gdb/Makefile ] || exit 0; \
27685 r=`${PWD_COMMAND}`; export r; \
27686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27687 $(HOST_EXPORTS) \
27688 for flag in $(EXTRA_HOST_FLAGS) ; do \
27689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27690 done; \
27691 echo "Doing html in gdb" ; \
27692 (cd $(HOST_SUBDIR)/gdb && \
27693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27695 "RANLIB=$${RANLIB}" \
27696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27697 html) \
27698 || exit 1
27700 @endif gdb
27702 .PHONY: maybe-TAGS-gdb TAGS-gdb
27703 maybe-TAGS-gdb:
27704 @if gdb
27705 maybe-TAGS-gdb: TAGS-gdb
27707 TAGS-gdb: \
27708 configure-gdb
27709 @: $(MAKE); $(unstage)
27710 @[ -f ./gdb/Makefile ] || exit 0; \
27711 r=`${PWD_COMMAND}`; export r; \
27712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27713 $(HOST_EXPORTS) \
27714 for flag in $(EXTRA_HOST_FLAGS) ; do \
27715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27716 done; \
27717 echo "Doing TAGS in gdb" ; \
27718 (cd $(HOST_SUBDIR)/gdb && \
27719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27721 "RANLIB=$${RANLIB}" \
27722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27723 TAGS) \
27724 || exit 1
27726 @endif gdb
27728 .PHONY: maybe-install-info-gdb install-info-gdb
27729 maybe-install-info-gdb:
27730 @if gdb
27731 maybe-install-info-gdb: install-info-gdb
27733 install-info-gdb: \
27734 configure-gdb \
27735 info-gdb
27736 @: $(MAKE); $(unstage)
27737 @[ -f ./gdb/Makefile ] || exit 0; \
27738 r=`${PWD_COMMAND}`; export r; \
27739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27740 $(HOST_EXPORTS) \
27741 for flag in $(EXTRA_HOST_FLAGS) ; do \
27742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27743 done; \
27744 echo "Doing install-info in gdb" ; \
27745 (cd $(HOST_SUBDIR)/gdb && \
27746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27748 "RANLIB=$${RANLIB}" \
27749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27750 install-info) \
27751 || exit 1
27753 @endif gdb
27755 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
27756 maybe-install-pdf-gdb:
27757 @if gdb
27758 maybe-install-pdf-gdb: install-pdf-gdb
27760 install-pdf-gdb: \
27761 configure-gdb \
27762 pdf-gdb
27763 @: $(MAKE); $(unstage)
27764 @[ -f ./gdb/Makefile ] || exit 0; \
27765 r=`${PWD_COMMAND}`; export r; \
27766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27767 $(HOST_EXPORTS) \
27768 for flag in $(EXTRA_HOST_FLAGS) ; do \
27769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27770 done; \
27771 echo "Doing install-pdf in gdb" ; \
27772 (cd $(HOST_SUBDIR)/gdb && \
27773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27775 "RANLIB=$${RANLIB}" \
27776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27777 install-pdf) \
27778 || exit 1
27780 @endif gdb
27782 .PHONY: maybe-install-html-gdb install-html-gdb
27783 maybe-install-html-gdb:
27784 @if gdb
27785 maybe-install-html-gdb: install-html-gdb
27787 install-html-gdb: \
27788 configure-gdb \
27789 html-gdb
27790 @: $(MAKE); $(unstage)
27791 @[ -f ./gdb/Makefile ] || exit 0; \
27792 r=`${PWD_COMMAND}`; export r; \
27793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27794 $(HOST_EXPORTS) \
27795 for flag in $(EXTRA_HOST_FLAGS) ; do \
27796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27797 done; \
27798 echo "Doing install-html in gdb" ; \
27799 (cd $(HOST_SUBDIR)/gdb && \
27800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27802 "RANLIB=$${RANLIB}" \
27803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27804 install-html) \
27805 || exit 1
27807 @endif gdb
27809 .PHONY: maybe-installcheck-gdb installcheck-gdb
27810 maybe-installcheck-gdb:
27811 @if gdb
27812 maybe-installcheck-gdb: installcheck-gdb
27814 installcheck-gdb: \
27815 configure-gdb
27816 @: $(MAKE); $(unstage)
27817 @[ -f ./gdb/Makefile ] || exit 0; \
27818 r=`${PWD_COMMAND}`; export r; \
27819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27820 $(HOST_EXPORTS) \
27821 for flag in $(EXTRA_HOST_FLAGS) ; do \
27822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27823 done; \
27824 echo "Doing installcheck in gdb" ; \
27825 (cd $(HOST_SUBDIR)/gdb && \
27826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27828 "RANLIB=$${RANLIB}" \
27829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27830 installcheck) \
27831 || exit 1
27833 @endif gdb
27835 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
27836 maybe-mostlyclean-gdb:
27837 @if gdb
27838 maybe-mostlyclean-gdb: mostlyclean-gdb
27840 mostlyclean-gdb:
27841 @: $(MAKE); $(unstage)
27842 @[ -f ./gdb/Makefile ] || exit 0; \
27843 r=`${PWD_COMMAND}`; export r; \
27844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27845 $(HOST_EXPORTS) \
27846 for flag in $(EXTRA_HOST_FLAGS) ; do \
27847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27848 done; \
27849 echo "Doing mostlyclean in gdb" ; \
27850 (cd $(HOST_SUBDIR)/gdb && \
27851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27853 "RANLIB=$${RANLIB}" \
27854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27855 mostlyclean) \
27856 || exit 1
27858 @endif gdb
27860 .PHONY: maybe-clean-gdb clean-gdb
27861 maybe-clean-gdb:
27862 @if gdb
27863 maybe-clean-gdb: clean-gdb
27865 clean-gdb:
27866 @: $(MAKE); $(unstage)
27867 @[ -f ./gdb/Makefile ] || exit 0; \
27868 r=`${PWD_COMMAND}`; export r; \
27869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27870 $(HOST_EXPORTS) \
27871 for flag in $(EXTRA_HOST_FLAGS) ; do \
27872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27873 done; \
27874 echo "Doing clean in gdb" ; \
27875 (cd $(HOST_SUBDIR)/gdb && \
27876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27878 "RANLIB=$${RANLIB}" \
27879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27880 clean) \
27881 || exit 1
27883 @endif gdb
27885 .PHONY: maybe-distclean-gdb distclean-gdb
27886 maybe-distclean-gdb:
27887 @if gdb
27888 maybe-distclean-gdb: distclean-gdb
27890 distclean-gdb:
27891 @: $(MAKE); $(unstage)
27892 @[ -f ./gdb/Makefile ] || exit 0; \
27893 r=`${PWD_COMMAND}`; export r; \
27894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27895 $(HOST_EXPORTS) \
27896 for flag in $(EXTRA_HOST_FLAGS) ; do \
27897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27898 done; \
27899 echo "Doing distclean in gdb" ; \
27900 (cd $(HOST_SUBDIR)/gdb && \
27901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27903 "RANLIB=$${RANLIB}" \
27904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27905 distclean) \
27906 || exit 1
27908 @endif gdb
27910 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
27911 maybe-maintainer-clean-gdb:
27912 @if gdb
27913 maybe-maintainer-clean-gdb: maintainer-clean-gdb
27915 maintainer-clean-gdb:
27916 @: $(MAKE); $(unstage)
27917 @[ -f ./gdb/Makefile ] || exit 0; \
27918 r=`${PWD_COMMAND}`; export r; \
27919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27920 $(HOST_EXPORTS) \
27921 for flag in $(EXTRA_HOST_FLAGS) ; do \
27922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27923 done; \
27924 echo "Doing maintainer-clean in gdb" ; \
27925 (cd $(HOST_SUBDIR)/gdb && \
27926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27928 "RANLIB=$${RANLIB}" \
27929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27930 maintainer-clean) \
27931 || exit 1
27933 @endif gdb
27937 .PHONY: configure-expect maybe-configure-expect
27938 maybe-configure-expect:
27939 @if gcc-bootstrap
27940 configure-expect: stage_current
27941 @endif gcc-bootstrap
27942 @if expect
27943 maybe-configure-expect: configure-expect
27944 configure-expect:
27945 @: $(MAKE); $(unstage)
27946 @r=`${PWD_COMMAND}`; export r; \
27947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27948 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
27949 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
27950 $(HOST_EXPORTS) \
27951 echo Configuring in $(HOST_SUBDIR)/expect; \
27952 cd "$(HOST_SUBDIR)/expect" || exit 1; \
27953 case $(srcdir) in \
27954 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27955 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
27956 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27957 esac; \
27958 module_srcdir=expect; \
27959 $(SHELL) \
27960 $$s/$$module_srcdir/configure \
27961 --srcdir=$${topdir}/$$module_srcdir \
27962 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27963 --target=${target_alias} \
27964 || exit 1
27965 @endif expect
27971 .PHONY: all-expect maybe-all-expect
27972 maybe-all-expect:
27973 @if gcc-bootstrap
27974 all-expect: stage_current
27975 @endif gcc-bootstrap
27976 @if expect
27977 TARGET-expect=all
27978 maybe-all-expect: all-expect
27979 all-expect: configure-expect
27980 @: $(MAKE); $(unstage)
27981 @r=`${PWD_COMMAND}`; export r; \
27982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27983 $(HOST_EXPORTS) \
27984 (cd $(HOST_SUBDIR)/expect && \
27985 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27986 $(TARGET-expect))
27987 @endif expect
27992 .PHONY: check-expect maybe-check-expect
27993 maybe-check-expect:
27994 @if expect
27995 maybe-check-expect: check-expect
27997 check-expect:
27998 @: $(MAKE); $(unstage)
27999 @r=`${PWD_COMMAND}`; export r; \
28000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28001 $(HOST_EXPORTS) \
28002 (cd $(HOST_SUBDIR)/expect && \
28003 $(MAKE) $(FLAGS_TO_PASS) check)
28005 @endif expect
28007 .PHONY: install-expect maybe-install-expect
28008 maybe-install-expect:
28009 @if expect
28010 maybe-install-expect: install-expect
28012 install-expect: installdirs
28013 @: $(MAKE); $(unstage)
28014 @r=`${PWD_COMMAND}`; export r; \
28015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28016 $(HOST_EXPORTS) \
28017 (cd $(HOST_SUBDIR)/expect && \
28018 $(MAKE) $(FLAGS_TO_PASS) install)
28020 @endif expect
28022 .PHONY: install-strip-expect maybe-install-strip-expect
28023 maybe-install-strip-expect:
28024 @if expect
28025 maybe-install-strip-expect: install-strip-expect
28027 install-strip-expect: installdirs
28028 @: $(MAKE); $(unstage)
28029 @r=`${PWD_COMMAND}`; export r; \
28030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28031 $(HOST_EXPORTS) \
28032 (cd $(HOST_SUBDIR)/expect && \
28033 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28035 @endif expect
28037 # Other targets (info, dvi, pdf, etc.)
28039 .PHONY: maybe-info-expect info-expect
28040 maybe-info-expect:
28041 @if expect
28042 maybe-info-expect: info-expect
28044 info-expect: \
28045 configure-expect
28046 @: $(MAKE); $(unstage)
28047 @[ -f ./expect/Makefile ] || exit 0; \
28048 r=`${PWD_COMMAND}`; export r; \
28049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28050 $(HOST_EXPORTS) \
28051 for flag in $(EXTRA_HOST_FLAGS) ; do \
28052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28053 done; \
28054 echo "Doing info in expect" ; \
28055 (cd $(HOST_SUBDIR)/expect && \
28056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28058 "RANLIB=$${RANLIB}" \
28059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28060 info) \
28061 || exit 1
28063 @endif expect
28065 .PHONY: maybe-dvi-expect dvi-expect
28066 maybe-dvi-expect:
28067 @if expect
28068 maybe-dvi-expect: dvi-expect
28070 dvi-expect: \
28071 configure-expect
28072 @: $(MAKE); $(unstage)
28073 @[ -f ./expect/Makefile ] || exit 0; \
28074 r=`${PWD_COMMAND}`; export r; \
28075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28076 $(HOST_EXPORTS) \
28077 for flag in $(EXTRA_HOST_FLAGS) ; do \
28078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28079 done; \
28080 echo "Doing dvi in expect" ; \
28081 (cd $(HOST_SUBDIR)/expect && \
28082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28084 "RANLIB=$${RANLIB}" \
28085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28086 dvi) \
28087 || exit 1
28089 @endif expect
28091 .PHONY: maybe-pdf-expect pdf-expect
28092 maybe-pdf-expect:
28093 @if expect
28094 maybe-pdf-expect: pdf-expect
28096 pdf-expect: \
28097 configure-expect
28098 @: $(MAKE); $(unstage)
28099 @[ -f ./expect/Makefile ] || exit 0; \
28100 r=`${PWD_COMMAND}`; export r; \
28101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28102 $(HOST_EXPORTS) \
28103 for flag in $(EXTRA_HOST_FLAGS) ; do \
28104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28105 done; \
28106 echo "Doing pdf in expect" ; \
28107 (cd $(HOST_SUBDIR)/expect && \
28108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28110 "RANLIB=$${RANLIB}" \
28111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28112 pdf) \
28113 || exit 1
28115 @endif expect
28117 .PHONY: maybe-html-expect html-expect
28118 maybe-html-expect:
28119 @if expect
28120 maybe-html-expect: html-expect
28122 html-expect: \
28123 configure-expect
28124 @: $(MAKE); $(unstage)
28125 @[ -f ./expect/Makefile ] || exit 0; \
28126 r=`${PWD_COMMAND}`; export r; \
28127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28128 $(HOST_EXPORTS) \
28129 for flag in $(EXTRA_HOST_FLAGS) ; do \
28130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28131 done; \
28132 echo "Doing html in expect" ; \
28133 (cd $(HOST_SUBDIR)/expect && \
28134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28136 "RANLIB=$${RANLIB}" \
28137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28138 html) \
28139 || exit 1
28141 @endif expect
28143 .PHONY: maybe-TAGS-expect TAGS-expect
28144 maybe-TAGS-expect:
28145 @if expect
28146 maybe-TAGS-expect: TAGS-expect
28148 TAGS-expect: \
28149 configure-expect
28150 @: $(MAKE); $(unstage)
28151 @[ -f ./expect/Makefile ] || exit 0; \
28152 r=`${PWD_COMMAND}`; export r; \
28153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28154 $(HOST_EXPORTS) \
28155 for flag in $(EXTRA_HOST_FLAGS) ; do \
28156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28157 done; \
28158 echo "Doing TAGS in expect" ; \
28159 (cd $(HOST_SUBDIR)/expect && \
28160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28162 "RANLIB=$${RANLIB}" \
28163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28164 TAGS) \
28165 || exit 1
28167 @endif expect
28169 .PHONY: maybe-install-info-expect install-info-expect
28170 maybe-install-info-expect:
28171 @if expect
28172 maybe-install-info-expect: install-info-expect
28174 install-info-expect: \
28175 configure-expect \
28176 info-expect
28177 @: $(MAKE); $(unstage)
28178 @[ -f ./expect/Makefile ] || exit 0; \
28179 r=`${PWD_COMMAND}`; export r; \
28180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28181 $(HOST_EXPORTS) \
28182 for flag in $(EXTRA_HOST_FLAGS) ; do \
28183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28184 done; \
28185 echo "Doing install-info in expect" ; \
28186 (cd $(HOST_SUBDIR)/expect && \
28187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28189 "RANLIB=$${RANLIB}" \
28190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28191 install-info) \
28192 || exit 1
28194 @endif expect
28196 .PHONY: maybe-install-pdf-expect install-pdf-expect
28197 maybe-install-pdf-expect:
28198 @if expect
28199 maybe-install-pdf-expect: install-pdf-expect
28201 install-pdf-expect: \
28202 configure-expect \
28203 pdf-expect
28204 @: $(MAKE); $(unstage)
28205 @[ -f ./expect/Makefile ] || exit 0; \
28206 r=`${PWD_COMMAND}`; export r; \
28207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28208 $(HOST_EXPORTS) \
28209 for flag in $(EXTRA_HOST_FLAGS) ; do \
28210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28211 done; \
28212 echo "Doing install-pdf in expect" ; \
28213 (cd $(HOST_SUBDIR)/expect && \
28214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28216 "RANLIB=$${RANLIB}" \
28217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28218 install-pdf) \
28219 || exit 1
28221 @endif expect
28223 .PHONY: maybe-install-html-expect install-html-expect
28224 maybe-install-html-expect:
28225 @if expect
28226 maybe-install-html-expect: install-html-expect
28228 install-html-expect: \
28229 configure-expect \
28230 html-expect
28231 @: $(MAKE); $(unstage)
28232 @[ -f ./expect/Makefile ] || exit 0; \
28233 r=`${PWD_COMMAND}`; export r; \
28234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28235 $(HOST_EXPORTS) \
28236 for flag in $(EXTRA_HOST_FLAGS) ; do \
28237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28238 done; \
28239 echo "Doing install-html in expect" ; \
28240 (cd $(HOST_SUBDIR)/expect && \
28241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28243 "RANLIB=$${RANLIB}" \
28244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28245 install-html) \
28246 || exit 1
28248 @endif expect
28250 .PHONY: maybe-installcheck-expect installcheck-expect
28251 maybe-installcheck-expect:
28252 @if expect
28253 maybe-installcheck-expect: installcheck-expect
28255 installcheck-expect: \
28256 configure-expect
28257 @: $(MAKE); $(unstage)
28258 @[ -f ./expect/Makefile ] || exit 0; \
28259 r=`${PWD_COMMAND}`; export r; \
28260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28261 $(HOST_EXPORTS) \
28262 for flag in $(EXTRA_HOST_FLAGS) ; do \
28263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28264 done; \
28265 echo "Doing installcheck in expect" ; \
28266 (cd $(HOST_SUBDIR)/expect && \
28267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28269 "RANLIB=$${RANLIB}" \
28270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28271 installcheck) \
28272 || exit 1
28274 @endif expect
28276 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
28277 maybe-mostlyclean-expect:
28278 @if expect
28279 maybe-mostlyclean-expect: mostlyclean-expect
28281 mostlyclean-expect:
28282 @: $(MAKE); $(unstage)
28283 @[ -f ./expect/Makefile ] || exit 0; \
28284 r=`${PWD_COMMAND}`; export r; \
28285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28286 $(HOST_EXPORTS) \
28287 for flag in $(EXTRA_HOST_FLAGS) ; do \
28288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28289 done; \
28290 echo "Doing mostlyclean in expect" ; \
28291 (cd $(HOST_SUBDIR)/expect && \
28292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28294 "RANLIB=$${RANLIB}" \
28295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28296 mostlyclean) \
28297 || exit 1
28299 @endif expect
28301 .PHONY: maybe-clean-expect clean-expect
28302 maybe-clean-expect:
28303 @if expect
28304 maybe-clean-expect: clean-expect
28306 clean-expect:
28307 @: $(MAKE); $(unstage)
28308 @[ -f ./expect/Makefile ] || exit 0; \
28309 r=`${PWD_COMMAND}`; export r; \
28310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28311 $(HOST_EXPORTS) \
28312 for flag in $(EXTRA_HOST_FLAGS) ; do \
28313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28314 done; \
28315 echo "Doing clean in expect" ; \
28316 (cd $(HOST_SUBDIR)/expect && \
28317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28319 "RANLIB=$${RANLIB}" \
28320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28321 clean) \
28322 || exit 1
28324 @endif expect
28326 .PHONY: maybe-distclean-expect distclean-expect
28327 maybe-distclean-expect:
28328 @if expect
28329 maybe-distclean-expect: distclean-expect
28331 distclean-expect:
28332 @: $(MAKE); $(unstage)
28333 @[ -f ./expect/Makefile ] || exit 0; \
28334 r=`${PWD_COMMAND}`; export r; \
28335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28336 $(HOST_EXPORTS) \
28337 for flag in $(EXTRA_HOST_FLAGS) ; do \
28338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28339 done; \
28340 echo "Doing distclean in expect" ; \
28341 (cd $(HOST_SUBDIR)/expect && \
28342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28344 "RANLIB=$${RANLIB}" \
28345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28346 distclean) \
28347 || exit 1
28349 @endif expect
28351 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
28352 maybe-maintainer-clean-expect:
28353 @if expect
28354 maybe-maintainer-clean-expect: maintainer-clean-expect
28356 maintainer-clean-expect:
28357 @: $(MAKE); $(unstage)
28358 @[ -f ./expect/Makefile ] || exit 0; \
28359 r=`${PWD_COMMAND}`; export r; \
28360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28361 $(HOST_EXPORTS) \
28362 for flag in $(EXTRA_HOST_FLAGS) ; do \
28363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28364 done; \
28365 echo "Doing maintainer-clean in expect" ; \
28366 (cd $(HOST_SUBDIR)/expect && \
28367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28369 "RANLIB=$${RANLIB}" \
28370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28371 maintainer-clean) \
28372 || exit 1
28374 @endif expect
28378 .PHONY: configure-guile maybe-configure-guile
28379 maybe-configure-guile:
28380 @if gcc-bootstrap
28381 configure-guile: stage_current
28382 @endif gcc-bootstrap
28383 @if guile
28384 maybe-configure-guile: configure-guile
28385 configure-guile:
28386 @: $(MAKE); $(unstage)
28387 @r=`${PWD_COMMAND}`; export r; \
28388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28389 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
28390 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
28391 $(HOST_EXPORTS) \
28392 echo Configuring in $(HOST_SUBDIR)/guile; \
28393 cd "$(HOST_SUBDIR)/guile" || exit 1; \
28394 case $(srcdir) in \
28395 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28396 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
28397 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28398 esac; \
28399 module_srcdir=guile; \
28400 $(SHELL) \
28401 $$s/$$module_srcdir/configure \
28402 --srcdir=$${topdir}/$$module_srcdir \
28403 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28404 --target=${target_alias} \
28405 || exit 1
28406 @endif guile
28412 .PHONY: all-guile maybe-all-guile
28413 maybe-all-guile:
28414 @if gcc-bootstrap
28415 all-guile: stage_current
28416 @endif gcc-bootstrap
28417 @if guile
28418 TARGET-guile=all
28419 maybe-all-guile: all-guile
28420 all-guile: configure-guile
28421 @: $(MAKE); $(unstage)
28422 @r=`${PWD_COMMAND}`; export r; \
28423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28424 $(HOST_EXPORTS) \
28425 (cd $(HOST_SUBDIR)/guile && \
28426 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28427 $(TARGET-guile))
28428 @endif guile
28433 .PHONY: check-guile maybe-check-guile
28434 maybe-check-guile:
28435 @if guile
28436 maybe-check-guile: check-guile
28438 check-guile:
28439 @: $(MAKE); $(unstage)
28440 @r=`${PWD_COMMAND}`; export r; \
28441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28442 $(HOST_EXPORTS) \
28443 (cd $(HOST_SUBDIR)/guile && \
28444 $(MAKE) $(FLAGS_TO_PASS) check)
28446 @endif guile
28448 .PHONY: install-guile maybe-install-guile
28449 maybe-install-guile:
28450 @if guile
28451 maybe-install-guile: install-guile
28453 install-guile: installdirs
28454 @: $(MAKE); $(unstage)
28455 @r=`${PWD_COMMAND}`; export r; \
28456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28457 $(HOST_EXPORTS) \
28458 (cd $(HOST_SUBDIR)/guile && \
28459 $(MAKE) $(FLAGS_TO_PASS) install)
28461 @endif guile
28463 .PHONY: install-strip-guile maybe-install-strip-guile
28464 maybe-install-strip-guile:
28465 @if guile
28466 maybe-install-strip-guile: install-strip-guile
28468 install-strip-guile: installdirs
28469 @: $(MAKE); $(unstage)
28470 @r=`${PWD_COMMAND}`; export r; \
28471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28472 $(HOST_EXPORTS) \
28473 (cd $(HOST_SUBDIR)/guile && \
28474 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28476 @endif guile
28478 # Other targets (info, dvi, pdf, etc.)
28480 .PHONY: maybe-info-guile info-guile
28481 maybe-info-guile:
28482 @if guile
28483 maybe-info-guile: info-guile
28485 info-guile: \
28486 configure-guile
28487 @: $(MAKE); $(unstage)
28488 @[ -f ./guile/Makefile ] || exit 0; \
28489 r=`${PWD_COMMAND}`; export r; \
28490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28491 $(HOST_EXPORTS) \
28492 for flag in $(EXTRA_HOST_FLAGS) ; do \
28493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28494 done; \
28495 echo "Doing info in guile" ; \
28496 (cd $(HOST_SUBDIR)/guile && \
28497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28499 "RANLIB=$${RANLIB}" \
28500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28501 info) \
28502 || exit 1
28504 @endif guile
28506 .PHONY: maybe-dvi-guile dvi-guile
28507 maybe-dvi-guile:
28508 @if guile
28509 maybe-dvi-guile: dvi-guile
28511 dvi-guile: \
28512 configure-guile
28513 @: $(MAKE); $(unstage)
28514 @[ -f ./guile/Makefile ] || exit 0; \
28515 r=`${PWD_COMMAND}`; export r; \
28516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28517 $(HOST_EXPORTS) \
28518 for flag in $(EXTRA_HOST_FLAGS) ; do \
28519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28520 done; \
28521 echo "Doing dvi in guile" ; \
28522 (cd $(HOST_SUBDIR)/guile && \
28523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28525 "RANLIB=$${RANLIB}" \
28526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28527 dvi) \
28528 || exit 1
28530 @endif guile
28532 .PHONY: maybe-pdf-guile pdf-guile
28533 maybe-pdf-guile:
28534 @if guile
28535 maybe-pdf-guile: pdf-guile
28537 pdf-guile: \
28538 configure-guile
28539 @: $(MAKE); $(unstage)
28540 @[ -f ./guile/Makefile ] || exit 0; \
28541 r=`${PWD_COMMAND}`; export r; \
28542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28543 $(HOST_EXPORTS) \
28544 for flag in $(EXTRA_HOST_FLAGS) ; do \
28545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28546 done; \
28547 echo "Doing pdf in guile" ; \
28548 (cd $(HOST_SUBDIR)/guile && \
28549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28551 "RANLIB=$${RANLIB}" \
28552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28553 pdf) \
28554 || exit 1
28556 @endif guile
28558 .PHONY: maybe-html-guile html-guile
28559 maybe-html-guile:
28560 @if guile
28561 maybe-html-guile: html-guile
28563 html-guile: \
28564 configure-guile
28565 @: $(MAKE); $(unstage)
28566 @[ -f ./guile/Makefile ] || exit 0; \
28567 r=`${PWD_COMMAND}`; export r; \
28568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28569 $(HOST_EXPORTS) \
28570 for flag in $(EXTRA_HOST_FLAGS) ; do \
28571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28572 done; \
28573 echo "Doing html in guile" ; \
28574 (cd $(HOST_SUBDIR)/guile && \
28575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28577 "RANLIB=$${RANLIB}" \
28578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28579 html) \
28580 || exit 1
28582 @endif guile
28584 .PHONY: maybe-TAGS-guile TAGS-guile
28585 maybe-TAGS-guile:
28586 @if guile
28587 maybe-TAGS-guile: TAGS-guile
28589 TAGS-guile: \
28590 configure-guile
28591 @: $(MAKE); $(unstage)
28592 @[ -f ./guile/Makefile ] || exit 0; \
28593 r=`${PWD_COMMAND}`; export r; \
28594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28595 $(HOST_EXPORTS) \
28596 for flag in $(EXTRA_HOST_FLAGS) ; do \
28597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28598 done; \
28599 echo "Doing TAGS in guile" ; \
28600 (cd $(HOST_SUBDIR)/guile && \
28601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28603 "RANLIB=$${RANLIB}" \
28604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28605 TAGS) \
28606 || exit 1
28608 @endif guile
28610 .PHONY: maybe-install-info-guile install-info-guile
28611 maybe-install-info-guile:
28612 @if guile
28613 maybe-install-info-guile: install-info-guile
28615 install-info-guile: \
28616 configure-guile \
28617 info-guile
28618 @: $(MAKE); $(unstage)
28619 @[ -f ./guile/Makefile ] || exit 0; \
28620 r=`${PWD_COMMAND}`; export r; \
28621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28622 $(HOST_EXPORTS) \
28623 for flag in $(EXTRA_HOST_FLAGS) ; do \
28624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28625 done; \
28626 echo "Doing install-info in guile" ; \
28627 (cd $(HOST_SUBDIR)/guile && \
28628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28630 "RANLIB=$${RANLIB}" \
28631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28632 install-info) \
28633 || exit 1
28635 @endif guile
28637 .PHONY: maybe-install-pdf-guile install-pdf-guile
28638 maybe-install-pdf-guile:
28639 @if guile
28640 maybe-install-pdf-guile: install-pdf-guile
28642 install-pdf-guile: \
28643 configure-guile \
28644 pdf-guile
28645 @: $(MAKE); $(unstage)
28646 @[ -f ./guile/Makefile ] || exit 0; \
28647 r=`${PWD_COMMAND}`; export r; \
28648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28649 $(HOST_EXPORTS) \
28650 for flag in $(EXTRA_HOST_FLAGS) ; do \
28651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28652 done; \
28653 echo "Doing install-pdf in guile" ; \
28654 (cd $(HOST_SUBDIR)/guile && \
28655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28657 "RANLIB=$${RANLIB}" \
28658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28659 install-pdf) \
28660 || exit 1
28662 @endif guile
28664 .PHONY: maybe-install-html-guile install-html-guile
28665 maybe-install-html-guile:
28666 @if guile
28667 maybe-install-html-guile: install-html-guile
28669 install-html-guile: \
28670 configure-guile \
28671 html-guile
28672 @: $(MAKE); $(unstage)
28673 @[ -f ./guile/Makefile ] || exit 0; \
28674 r=`${PWD_COMMAND}`; export r; \
28675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28676 $(HOST_EXPORTS) \
28677 for flag in $(EXTRA_HOST_FLAGS) ; do \
28678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28679 done; \
28680 echo "Doing install-html in guile" ; \
28681 (cd $(HOST_SUBDIR)/guile && \
28682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28684 "RANLIB=$${RANLIB}" \
28685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28686 install-html) \
28687 || exit 1
28689 @endif guile
28691 .PHONY: maybe-installcheck-guile installcheck-guile
28692 maybe-installcheck-guile:
28693 @if guile
28694 maybe-installcheck-guile: installcheck-guile
28696 installcheck-guile: \
28697 configure-guile
28698 @: $(MAKE); $(unstage)
28699 @[ -f ./guile/Makefile ] || exit 0; \
28700 r=`${PWD_COMMAND}`; export r; \
28701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28702 $(HOST_EXPORTS) \
28703 for flag in $(EXTRA_HOST_FLAGS) ; do \
28704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28705 done; \
28706 echo "Doing installcheck in guile" ; \
28707 (cd $(HOST_SUBDIR)/guile && \
28708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28710 "RANLIB=$${RANLIB}" \
28711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28712 installcheck) \
28713 || exit 1
28715 @endif guile
28717 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
28718 maybe-mostlyclean-guile:
28719 @if guile
28720 maybe-mostlyclean-guile: mostlyclean-guile
28722 mostlyclean-guile:
28723 @: $(MAKE); $(unstage)
28724 @[ -f ./guile/Makefile ] || exit 0; \
28725 r=`${PWD_COMMAND}`; export r; \
28726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28727 $(HOST_EXPORTS) \
28728 for flag in $(EXTRA_HOST_FLAGS) ; do \
28729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28730 done; \
28731 echo "Doing mostlyclean in guile" ; \
28732 (cd $(HOST_SUBDIR)/guile && \
28733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28735 "RANLIB=$${RANLIB}" \
28736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28737 mostlyclean) \
28738 || exit 1
28740 @endif guile
28742 .PHONY: maybe-clean-guile clean-guile
28743 maybe-clean-guile:
28744 @if guile
28745 maybe-clean-guile: clean-guile
28747 clean-guile:
28748 @: $(MAKE); $(unstage)
28749 @[ -f ./guile/Makefile ] || exit 0; \
28750 r=`${PWD_COMMAND}`; export r; \
28751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28752 $(HOST_EXPORTS) \
28753 for flag in $(EXTRA_HOST_FLAGS) ; do \
28754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28755 done; \
28756 echo "Doing clean in guile" ; \
28757 (cd $(HOST_SUBDIR)/guile && \
28758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28760 "RANLIB=$${RANLIB}" \
28761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28762 clean) \
28763 || exit 1
28765 @endif guile
28767 .PHONY: maybe-distclean-guile distclean-guile
28768 maybe-distclean-guile:
28769 @if guile
28770 maybe-distclean-guile: distclean-guile
28772 distclean-guile:
28773 @: $(MAKE); $(unstage)
28774 @[ -f ./guile/Makefile ] || exit 0; \
28775 r=`${PWD_COMMAND}`; export r; \
28776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28777 $(HOST_EXPORTS) \
28778 for flag in $(EXTRA_HOST_FLAGS) ; do \
28779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28780 done; \
28781 echo "Doing distclean in guile" ; \
28782 (cd $(HOST_SUBDIR)/guile && \
28783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28785 "RANLIB=$${RANLIB}" \
28786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28787 distclean) \
28788 || exit 1
28790 @endif guile
28792 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
28793 maybe-maintainer-clean-guile:
28794 @if guile
28795 maybe-maintainer-clean-guile: maintainer-clean-guile
28797 maintainer-clean-guile:
28798 @: $(MAKE); $(unstage)
28799 @[ -f ./guile/Makefile ] || exit 0; \
28800 r=`${PWD_COMMAND}`; export r; \
28801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28802 $(HOST_EXPORTS) \
28803 for flag in $(EXTRA_HOST_FLAGS) ; do \
28804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28805 done; \
28806 echo "Doing maintainer-clean in guile" ; \
28807 (cd $(HOST_SUBDIR)/guile && \
28808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28810 "RANLIB=$${RANLIB}" \
28811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28812 maintainer-clean) \
28813 || exit 1
28815 @endif guile
28819 .PHONY: configure-tk maybe-configure-tk
28820 maybe-configure-tk:
28821 @if gcc-bootstrap
28822 configure-tk: stage_current
28823 @endif gcc-bootstrap
28824 @if tk
28825 maybe-configure-tk: configure-tk
28826 configure-tk:
28827 @: $(MAKE); $(unstage)
28828 @r=`${PWD_COMMAND}`; export r; \
28829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28830 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
28831 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
28832 $(HOST_EXPORTS) \
28833 echo Configuring in $(HOST_SUBDIR)/tk; \
28834 cd "$(HOST_SUBDIR)/tk" || exit 1; \
28835 case $(srcdir) in \
28836 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28837 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
28838 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28839 esac; \
28840 module_srcdir=tk; \
28841 $(SHELL) \
28842 $$s/$$module_srcdir/configure \
28843 --srcdir=$${topdir}/$$module_srcdir \
28844 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28845 --target=${target_alias} \
28846 || exit 1
28847 @endif tk
28853 .PHONY: all-tk maybe-all-tk
28854 maybe-all-tk:
28855 @if gcc-bootstrap
28856 all-tk: stage_current
28857 @endif gcc-bootstrap
28858 @if tk
28859 TARGET-tk=all
28860 maybe-all-tk: all-tk
28861 all-tk: configure-tk
28862 @: $(MAKE); $(unstage)
28863 @r=`${PWD_COMMAND}`; export r; \
28864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28865 $(HOST_EXPORTS) \
28866 (cd $(HOST_SUBDIR)/tk && \
28867 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28868 $(TARGET-tk))
28869 @endif tk
28874 .PHONY: check-tk maybe-check-tk
28875 maybe-check-tk:
28876 @if tk
28877 maybe-check-tk: check-tk
28879 check-tk:
28880 @: $(MAKE); $(unstage)
28881 @r=`${PWD_COMMAND}`; export r; \
28882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28883 $(HOST_EXPORTS) \
28884 (cd $(HOST_SUBDIR)/tk && \
28885 $(MAKE) $(FLAGS_TO_PASS) check)
28887 @endif tk
28889 .PHONY: install-tk maybe-install-tk
28890 maybe-install-tk:
28891 @if tk
28892 maybe-install-tk: install-tk
28894 install-tk: installdirs
28895 @: $(MAKE); $(unstage)
28896 @r=`${PWD_COMMAND}`; export r; \
28897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28898 $(HOST_EXPORTS) \
28899 (cd $(HOST_SUBDIR)/tk && \
28900 $(MAKE) $(FLAGS_TO_PASS) install)
28902 @endif tk
28904 .PHONY: install-strip-tk maybe-install-strip-tk
28905 maybe-install-strip-tk:
28906 @if tk
28907 maybe-install-strip-tk: install-strip-tk
28909 install-strip-tk: installdirs
28910 @: $(MAKE); $(unstage)
28911 @r=`${PWD_COMMAND}`; export r; \
28912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28913 $(HOST_EXPORTS) \
28914 (cd $(HOST_SUBDIR)/tk && \
28915 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28917 @endif tk
28919 # Other targets (info, dvi, pdf, etc.)
28921 .PHONY: maybe-info-tk info-tk
28922 maybe-info-tk:
28923 @if tk
28924 maybe-info-tk: info-tk
28926 info-tk: \
28927 configure-tk
28928 @: $(MAKE); $(unstage)
28929 @[ -f ./tk/Makefile ] || exit 0; \
28930 r=`${PWD_COMMAND}`; export r; \
28931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28932 $(HOST_EXPORTS) \
28933 for flag in $(EXTRA_HOST_FLAGS) ; do \
28934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28935 done; \
28936 echo "Doing info in tk" ; \
28937 (cd $(HOST_SUBDIR)/tk && \
28938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28940 "RANLIB=$${RANLIB}" \
28941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28942 info) \
28943 || exit 1
28945 @endif tk
28947 .PHONY: maybe-dvi-tk dvi-tk
28948 maybe-dvi-tk:
28949 @if tk
28950 maybe-dvi-tk: dvi-tk
28952 dvi-tk: \
28953 configure-tk
28954 @: $(MAKE); $(unstage)
28955 @[ -f ./tk/Makefile ] || exit 0; \
28956 r=`${PWD_COMMAND}`; export r; \
28957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28958 $(HOST_EXPORTS) \
28959 for flag in $(EXTRA_HOST_FLAGS) ; do \
28960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28961 done; \
28962 echo "Doing dvi in tk" ; \
28963 (cd $(HOST_SUBDIR)/tk && \
28964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28966 "RANLIB=$${RANLIB}" \
28967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28968 dvi) \
28969 || exit 1
28971 @endif tk
28973 .PHONY: maybe-pdf-tk pdf-tk
28974 maybe-pdf-tk:
28975 @if tk
28976 maybe-pdf-tk: pdf-tk
28978 pdf-tk: \
28979 configure-tk
28980 @: $(MAKE); $(unstage)
28981 @[ -f ./tk/Makefile ] || exit 0; \
28982 r=`${PWD_COMMAND}`; export r; \
28983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28984 $(HOST_EXPORTS) \
28985 for flag in $(EXTRA_HOST_FLAGS) ; do \
28986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28987 done; \
28988 echo "Doing pdf in tk" ; \
28989 (cd $(HOST_SUBDIR)/tk && \
28990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28992 "RANLIB=$${RANLIB}" \
28993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28994 pdf) \
28995 || exit 1
28997 @endif tk
28999 .PHONY: maybe-html-tk html-tk
29000 maybe-html-tk:
29001 @if tk
29002 maybe-html-tk: html-tk
29004 html-tk: \
29005 configure-tk
29006 @: $(MAKE); $(unstage)
29007 @[ -f ./tk/Makefile ] || exit 0; \
29008 r=`${PWD_COMMAND}`; export r; \
29009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29010 $(HOST_EXPORTS) \
29011 for flag in $(EXTRA_HOST_FLAGS) ; do \
29012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29013 done; \
29014 echo "Doing html in tk" ; \
29015 (cd $(HOST_SUBDIR)/tk && \
29016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29018 "RANLIB=$${RANLIB}" \
29019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29020 html) \
29021 || exit 1
29023 @endif tk
29025 .PHONY: maybe-TAGS-tk TAGS-tk
29026 maybe-TAGS-tk:
29027 @if tk
29028 maybe-TAGS-tk: TAGS-tk
29030 TAGS-tk: \
29031 configure-tk
29032 @: $(MAKE); $(unstage)
29033 @[ -f ./tk/Makefile ] || exit 0; \
29034 r=`${PWD_COMMAND}`; export r; \
29035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29036 $(HOST_EXPORTS) \
29037 for flag in $(EXTRA_HOST_FLAGS) ; do \
29038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29039 done; \
29040 echo "Doing TAGS in tk" ; \
29041 (cd $(HOST_SUBDIR)/tk && \
29042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29044 "RANLIB=$${RANLIB}" \
29045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29046 TAGS) \
29047 || exit 1
29049 @endif tk
29051 .PHONY: maybe-install-info-tk install-info-tk
29052 maybe-install-info-tk:
29053 @if tk
29054 maybe-install-info-tk: install-info-tk
29056 install-info-tk: \
29057 configure-tk \
29058 info-tk
29059 @: $(MAKE); $(unstage)
29060 @[ -f ./tk/Makefile ] || exit 0; \
29061 r=`${PWD_COMMAND}`; export r; \
29062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29063 $(HOST_EXPORTS) \
29064 for flag in $(EXTRA_HOST_FLAGS) ; do \
29065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29066 done; \
29067 echo "Doing install-info in tk" ; \
29068 (cd $(HOST_SUBDIR)/tk && \
29069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29071 "RANLIB=$${RANLIB}" \
29072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29073 install-info) \
29074 || exit 1
29076 @endif tk
29078 .PHONY: maybe-install-pdf-tk install-pdf-tk
29079 maybe-install-pdf-tk:
29080 @if tk
29081 maybe-install-pdf-tk: install-pdf-tk
29083 install-pdf-tk: \
29084 configure-tk \
29085 pdf-tk
29086 @: $(MAKE); $(unstage)
29087 @[ -f ./tk/Makefile ] || exit 0; \
29088 r=`${PWD_COMMAND}`; export r; \
29089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29090 $(HOST_EXPORTS) \
29091 for flag in $(EXTRA_HOST_FLAGS) ; do \
29092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29093 done; \
29094 echo "Doing install-pdf in tk" ; \
29095 (cd $(HOST_SUBDIR)/tk && \
29096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29098 "RANLIB=$${RANLIB}" \
29099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29100 install-pdf) \
29101 || exit 1
29103 @endif tk
29105 .PHONY: maybe-install-html-tk install-html-tk
29106 maybe-install-html-tk:
29107 @if tk
29108 maybe-install-html-tk: install-html-tk
29110 install-html-tk: \
29111 configure-tk \
29112 html-tk
29113 @: $(MAKE); $(unstage)
29114 @[ -f ./tk/Makefile ] || exit 0; \
29115 r=`${PWD_COMMAND}`; export r; \
29116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29117 $(HOST_EXPORTS) \
29118 for flag in $(EXTRA_HOST_FLAGS) ; do \
29119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29120 done; \
29121 echo "Doing install-html in tk" ; \
29122 (cd $(HOST_SUBDIR)/tk && \
29123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29125 "RANLIB=$${RANLIB}" \
29126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29127 install-html) \
29128 || exit 1
29130 @endif tk
29132 .PHONY: maybe-installcheck-tk installcheck-tk
29133 maybe-installcheck-tk:
29134 @if tk
29135 maybe-installcheck-tk: installcheck-tk
29137 installcheck-tk: \
29138 configure-tk
29139 @: $(MAKE); $(unstage)
29140 @[ -f ./tk/Makefile ] || exit 0; \
29141 r=`${PWD_COMMAND}`; export r; \
29142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29143 $(HOST_EXPORTS) \
29144 for flag in $(EXTRA_HOST_FLAGS) ; do \
29145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29146 done; \
29147 echo "Doing installcheck in tk" ; \
29148 (cd $(HOST_SUBDIR)/tk && \
29149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29151 "RANLIB=$${RANLIB}" \
29152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29153 installcheck) \
29154 || exit 1
29156 @endif tk
29158 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
29159 maybe-mostlyclean-tk:
29160 @if tk
29161 maybe-mostlyclean-tk: mostlyclean-tk
29163 mostlyclean-tk:
29164 @: $(MAKE); $(unstage)
29165 @[ -f ./tk/Makefile ] || exit 0; \
29166 r=`${PWD_COMMAND}`; export r; \
29167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29168 $(HOST_EXPORTS) \
29169 for flag in $(EXTRA_HOST_FLAGS) ; do \
29170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29171 done; \
29172 echo "Doing mostlyclean in tk" ; \
29173 (cd $(HOST_SUBDIR)/tk && \
29174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29176 "RANLIB=$${RANLIB}" \
29177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29178 mostlyclean) \
29179 || exit 1
29181 @endif tk
29183 .PHONY: maybe-clean-tk clean-tk
29184 maybe-clean-tk:
29185 @if tk
29186 maybe-clean-tk: clean-tk
29188 clean-tk:
29189 @: $(MAKE); $(unstage)
29190 @[ -f ./tk/Makefile ] || exit 0; \
29191 r=`${PWD_COMMAND}`; export r; \
29192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29193 $(HOST_EXPORTS) \
29194 for flag in $(EXTRA_HOST_FLAGS) ; do \
29195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29196 done; \
29197 echo "Doing clean in tk" ; \
29198 (cd $(HOST_SUBDIR)/tk && \
29199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29201 "RANLIB=$${RANLIB}" \
29202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29203 clean) \
29204 || exit 1
29206 @endif tk
29208 .PHONY: maybe-distclean-tk distclean-tk
29209 maybe-distclean-tk:
29210 @if tk
29211 maybe-distclean-tk: distclean-tk
29213 distclean-tk:
29214 @: $(MAKE); $(unstage)
29215 @[ -f ./tk/Makefile ] || exit 0; \
29216 r=`${PWD_COMMAND}`; export r; \
29217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29218 $(HOST_EXPORTS) \
29219 for flag in $(EXTRA_HOST_FLAGS) ; do \
29220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29221 done; \
29222 echo "Doing distclean in tk" ; \
29223 (cd $(HOST_SUBDIR)/tk && \
29224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29226 "RANLIB=$${RANLIB}" \
29227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29228 distclean) \
29229 || exit 1
29231 @endif tk
29233 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
29234 maybe-maintainer-clean-tk:
29235 @if tk
29236 maybe-maintainer-clean-tk: maintainer-clean-tk
29238 maintainer-clean-tk:
29239 @: $(MAKE); $(unstage)
29240 @[ -f ./tk/Makefile ] || exit 0; \
29241 r=`${PWD_COMMAND}`; export r; \
29242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29243 $(HOST_EXPORTS) \
29244 for flag in $(EXTRA_HOST_FLAGS) ; do \
29245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29246 done; \
29247 echo "Doing maintainer-clean in tk" ; \
29248 (cd $(HOST_SUBDIR)/tk && \
29249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29251 "RANLIB=$${RANLIB}" \
29252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29253 maintainer-clean) \
29254 || exit 1
29256 @endif tk
29260 .PHONY: configure-libtermcap maybe-configure-libtermcap
29261 maybe-configure-libtermcap:
29262 @if gcc-bootstrap
29263 configure-libtermcap: stage_current
29264 @endif gcc-bootstrap
29265 @if libtermcap
29266 maybe-configure-libtermcap: configure-libtermcap
29267 configure-libtermcap:
29268 @: $(MAKE); $(unstage)
29269 @r=`${PWD_COMMAND}`; export r; \
29270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29271 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
29272 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
29273 $(HOST_EXPORTS) \
29274 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
29275 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
29276 case $(srcdir) in \
29277 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29278 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
29279 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29280 esac; \
29281 module_srcdir=libtermcap; \
29282 $(SHELL) \
29283 $$s/$$module_srcdir/configure \
29284 --srcdir=$${topdir}/$$module_srcdir \
29285 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29286 --target=${target_alias} \
29287 || exit 1
29288 @endif libtermcap
29294 .PHONY: all-libtermcap maybe-all-libtermcap
29295 maybe-all-libtermcap:
29296 @if gcc-bootstrap
29297 all-libtermcap: stage_current
29298 @endif gcc-bootstrap
29299 @if libtermcap
29300 TARGET-libtermcap=all
29301 maybe-all-libtermcap: all-libtermcap
29302 all-libtermcap: configure-libtermcap
29303 @: $(MAKE); $(unstage)
29304 @r=`${PWD_COMMAND}`; export r; \
29305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29306 $(HOST_EXPORTS) \
29307 (cd $(HOST_SUBDIR)/libtermcap && \
29308 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29309 $(TARGET-libtermcap))
29310 @endif libtermcap
29315 .PHONY: check-libtermcap maybe-check-libtermcap
29316 maybe-check-libtermcap:
29317 @if libtermcap
29318 maybe-check-libtermcap: check-libtermcap
29320 check-libtermcap:
29322 @endif libtermcap
29324 .PHONY: install-libtermcap maybe-install-libtermcap
29325 maybe-install-libtermcap:
29326 @if libtermcap
29327 maybe-install-libtermcap: install-libtermcap
29329 install-libtermcap: installdirs
29330 @: $(MAKE); $(unstage)
29331 @r=`${PWD_COMMAND}`; export r; \
29332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29333 $(HOST_EXPORTS) \
29334 (cd $(HOST_SUBDIR)/libtermcap && \
29335 $(MAKE) $(FLAGS_TO_PASS) install)
29337 @endif libtermcap
29339 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
29340 maybe-install-strip-libtermcap:
29341 @if libtermcap
29342 maybe-install-strip-libtermcap: install-strip-libtermcap
29344 install-strip-libtermcap: installdirs
29345 @: $(MAKE); $(unstage)
29346 @r=`${PWD_COMMAND}`; export r; \
29347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29348 $(HOST_EXPORTS) \
29349 (cd $(HOST_SUBDIR)/libtermcap && \
29350 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29352 @endif libtermcap
29354 # Other targets (info, dvi, pdf, etc.)
29356 .PHONY: maybe-info-libtermcap info-libtermcap
29357 maybe-info-libtermcap:
29358 @if libtermcap
29359 maybe-info-libtermcap: info-libtermcap
29361 info-libtermcap: \
29362 configure-libtermcap
29363 @: $(MAKE); $(unstage)
29364 @[ -f ./libtermcap/Makefile ] || exit 0; \
29365 r=`${PWD_COMMAND}`; export r; \
29366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29367 $(HOST_EXPORTS) \
29368 for flag in $(EXTRA_HOST_FLAGS) ; do \
29369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29370 done; \
29371 echo "Doing info in libtermcap" ; \
29372 (cd $(HOST_SUBDIR)/libtermcap && \
29373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29375 "RANLIB=$${RANLIB}" \
29376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29377 info) \
29378 || exit 1
29380 @endif libtermcap
29382 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
29383 maybe-dvi-libtermcap:
29384 @if libtermcap
29385 maybe-dvi-libtermcap: dvi-libtermcap
29387 dvi-libtermcap: \
29388 configure-libtermcap
29389 @: $(MAKE); $(unstage)
29390 @[ -f ./libtermcap/Makefile ] || exit 0; \
29391 r=`${PWD_COMMAND}`; export r; \
29392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29393 $(HOST_EXPORTS) \
29394 for flag in $(EXTRA_HOST_FLAGS) ; do \
29395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29396 done; \
29397 echo "Doing dvi in libtermcap" ; \
29398 (cd $(HOST_SUBDIR)/libtermcap && \
29399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29401 "RANLIB=$${RANLIB}" \
29402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29403 dvi) \
29404 || exit 1
29406 @endif libtermcap
29408 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
29409 maybe-pdf-libtermcap:
29410 @if libtermcap
29411 maybe-pdf-libtermcap: pdf-libtermcap
29413 pdf-libtermcap: \
29414 configure-libtermcap
29415 @: $(MAKE); $(unstage)
29416 @[ -f ./libtermcap/Makefile ] || exit 0; \
29417 r=`${PWD_COMMAND}`; export r; \
29418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29419 $(HOST_EXPORTS) \
29420 for flag in $(EXTRA_HOST_FLAGS) ; do \
29421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29422 done; \
29423 echo "Doing pdf in libtermcap" ; \
29424 (cd $(HOST_SUBDIR)/libtermcap && \
29425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29427 "RANLIB=$${RANLIB}" \
29428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29429 pdf) \
29430 || exit 1
29432 @endif libtermcap
29434 .PHONY: maybe-html-libtermcap html-libtermcap
29435 maybe-html-libtermcap:
29436 @if libtermcap
29437 maybe-html-libtermcap: html-libtermcap
29439 html-libtermcap: \
29440 configure-libtermcap
29441 @: $(MAKE); $(unstage)
29442 @[ -f ./libtermcap/Makefile ] || exit 0; \
29443 r=`${PWD_COMMAND}`; export r; \
29444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29445 $(HOST_EXPORTS) \
29446 for flag in $(EXTRA_HOST_FLAGS) ; do \
29447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29448 done; \
29449 echo "Doing html in libtermcap" ; \
29450 (cd $(HOST_SUBDIR)/libtermcap && \
29451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29453 "RANLIB=$${RANLIB}" \
29454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29455 html) \
29456 || exit 1
29458 @endif libtermcap
29460 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
29461 maybe-TAGS-libtermcap:
29462 @if libtermcap
29463 maybe-TAGS-libtermcap: TAGS-libtermcap
29465 TAGS-libtermcap: \
29466 configure-libtermcap
29467 @: $(MAKE); $(unstage)
29468 @[ -f ./libtermcap/Makefile ] || exit 0; \
29469 r=`${PWD_COMMAND}`; export r; \
29470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29471 $(HOST_EXPORTS) \
29472 for flag in $(EXTRA_HOST_FLAGS) ; do \
29473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29474 done; \
29475 echo "Doing TAGS in libtermcap" ; \
29476 (cd $(HOST_SUBDIR)/libtermcap && \
29477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29479 "RANLIB=$${RANLIB}" \
29480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29481 TAGS) \
29482 || exit 1
29484 @endif libtermcap
29486 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
29487 maybe-install-info-libtermcap:
29488 @if libtermcap
29489 maybe-install-info-libtermcap: install-info-libtermcap
29491 install-info-libtermcap: \
29492 configure-libtermcap \
29493 info-libtermcap
29494 @: $(MAKE); $(unstage)
29495 @[ -f ./libtermcap/Makefile ] || exit 0; \
29496 r=`${PWD_COMMAND}`; export r; \
29497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29498 $(HOST_EXPORTS) \
29499 for flag in $(EXTRA_HOST_FLAGS) ; do \
29500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29501 done; \
29502 echo "Doing install-info in libtermcap" ; \
29503 (cd $(HOST_SUBDIR)/libtermcap && \
29504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29506 "RANLIB=$${RANLIB}" \
29507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29508 install-info) \
29509 || exit 1
29511 @endif libtermcap
29513 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
29514 maybe-install-pdf-libtermcap:
29515 @if libtermcap
29516 maybe-install-pdf-libtermcap: install-pdf-libtermcap
29518 install-pdf-libtermcap: \
29519 configure-libtermcap \
29520 pdf-libtermcap
29521 @: $(MAKE); $(unstage)
29522 @[ -f ./libtermcap/Makefile ] || exit 0; \
29523 r=`${PWD_COMMAND}`; export r; \
29524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29525 $(HOST_EXPORTS) \
29526 for flag in $(EXTRA_HOST_FLAGS) ; do \
29527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29528 done; \
29529 echo "Doing install-pdf in libtermcap" ; \
29530 (cd $(HOST_SUBDIR)/libtermcap && \
29531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29533 "RANLIB=$${RANLIB}" \
29534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29535 install-pdf) \
29536 || exit 1
29538 @endif libtermcap
29540 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
29541 maybe-install-html-libtermcap:
29542 @if libtermcap
29543 maybe-install-html-libtermcap: install-html-libtermcap
29545 install-html-libtermcap: \
29546 configure-libtermcap \
29547 html-libtermcap
29548 @: $(MAKE); $(unstage)
29549 @[ -f ./libtermcap/Makefile ] || exit 0; \
29550 r=`${PWD_COMMAND}`; export r; \
29551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29552 $(HOST_EXPORTS) \
29553 for flag in $(EXTRA_HOST_FLAGS) ; do \
29554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29555 done; \
29556 echo "Doing install-html in libtermcap" ; \
29557 (cd $(HOST_SUBDIR)/libtermcap && \
29558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29560 "RANLIB=$${RANLIB}" \
29561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29562 install-html) \
29563 || exit 1
29565 @endif libtermcap
29567 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
29568 maybe-installcheck-libtermcap:
29569 @if libtermcap
29570 maybe-installcheck-libtermcap: installcheck-libtermcap
29572 installcheck-libtermcap: \
29573 configure-libtermcap
29574 @: $(MAKE); $(unstage)
29575 @[ -f ./libtermcap/Makefile ] || exit 0; \
29576 r=`${PWD_COMMAND}`; export r; \
29577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29578 $(HOST_EXPORTS) \
29579 for flag in $(EXTRA_HOST_FLAGS) ; do \
29580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29581 done; \
29582 echo "Doing installcheck in libtermcap" ; \
29583 (cd $(HOST_SUBDIR)/libtermcap && \
29584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29586 "RANLIB=$${RANLIB}" \
29587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29588 installcheck) \
29589 || exit 1
29591 @endif libtermcap
29593 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
29594 maybe-mostlyclean-libtermcap:
29595 @if libtermcap
29596 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
29598 # libtermcap doesn't support mostlyclean.
29599 mostlyclean-libtermcap:
29601 @endif libtermcap
29603 .PHONY: maybe-clean-libtermcap clean-libtermcap
29604 maybe-clean-libtermcap:
29605 @if libtermcap
29606 maybe-clean-libtermcap: clean-libtermcap
29608 # libtermcap doesn't support clean.
29609 clean-libtermcap:
29611 @endif libtermcap
29613 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
29614 maybe-distclean-libtermcap:
29615 @if libtermcap
29616 maybe-distclean-libtermcap: distclean-libtermcap
29618 # libtermcap doesn't support distclean.
29619 distclean-libtermcap:
29621 @endif libtermcap
29623 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
29624 maybe-maintainer-clean-libtermcap:
29625 @if libtermcap
29626 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
29628 # libtermcap doesn't support maintainer-clean.
29629 maintainer-clean-libtermcap:
29631 @endif libtermcap
29635 .PHONY: configure-utils maybe-configure-utils
29636 maybe-configure-utils:
29637 @if gcc-bootstrap
29638 configure-utils: stage_current
29639 @endif gcc-bootstrap
29640 @if utils
29641 maybe-configure-utils: configure-utils
29642 configure-utils:
29643 @: $(MAKE); $(unstage)
29644 @r=`${PWD_COMMAND}`; export r; \
29645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29646 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
29647 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
29648 $(HOST_EXPORTS) \
29649 echo Configuring in $(HOST_SUBDIR)/utils; \
29650 cd "$(HOST_SUBDIR)/utils" || exit 1; \
29651 case $(srcdir) in \
29652 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29653 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
29654 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29655 esac; \
29656 module_srcdir=utils; \
29657 $(SHELL) \
29658 $$s/$$module_srcdir/configure \
29659 --srcdir=$${topdir}/$$module_srcdir \
29660 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29661 --target=${target_alias} \
29662 || exit 1
29663 @endif utils
29669 .PHONY: all-utils maybe-all-utils
29670 maybe-all-utils:
29671 @if gcc-bootstrap
29672 all-utils: stage_current
29673 @endif gcc-bootstrap
29674 @if utils
29675 TARGET-utils=all
29676 maybe-all-utils: all-utils
29677 all-utils: configure-utils
29678 @: $(MAKE); $(unstage)
29679 @r=`${PWD_COMMAND}`; export r; \
29680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29681 $(HOST_EXPORTS) \
29682 (cd $(HOST_SUBDIR)/utils && \
29683 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29684 $(TARGET-utils))
29685 @endif utils
29690 .PHONY: check-utils maybe-check-utils
29691 maybe-check-utils:
29692 @if utils
29693 maybe-check-utils: check-utils
29695 check-utils:
29697 @endif utils
29699 .PHONY: install-utils maybe-install-utils
29700 maybe-install-utils:
29701 @if utils
29702 maybe-install-utils: install-utils
29704 install-utils: installdirs
29705 @: $(MAKE); $(unstage)
29706 @r=`${PWD_COMMAND}`; export r; \
29707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29708 $(HOST_EXPORTS) \
29709 (cd $(HOST_SUBDIR)/utils && \
29710 $(MAKE) $(FLAGS_TO_PASS) install)
29712 @endif utils
29714 .PHONY: install-strip-utils maybe-install-strip-utils
29715 maybe-install-strip-utils:
29716 @if utils
29717 maybe-install-strip-utils: install-strip-utils
29719 install-strip-utils: installdirs
29720 @: $(MAKE); $(unstage)
29721 @r=`${PWD_COMMAND}`; export r; \
29722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29723 $(HOST_EXPORTS) \
29724 (cd $(HOST_SUBDIR)/utils && \
29725 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29727 @endif utils
29729 # Other targets (info, dvi, pdf, etc.)
29731 .PHONY: maybe-info-utils info-utils
29732 maybe-info-utils:
29733 @if utils
29734 maybe-info-utils: info-utils
29736 info-utils: \
29737 configure-utils
29738 @: $(MAKE); $(unstage)
29739 @[ -f ./utils/Makefile ] || exit 0; \
29740 r=`${PWD_COMMAND}`; export r; \
29741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29742 $(HOST_EXPORTS) \
29743 for flag in $(EXTRA_HOST_FLAGS) ; do \
29744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29745 done; \
29746 echo "Doing info in utils" ; \
29747 (cd $(HOST_SUBDIR)/utils && \
29748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29750 "RANLIB=$${RANLIB}" \
29751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29752 info) \
29753 || exit 1
29755 @endif utils
29757 .PHONY: maybe-dvi-utils dvi-utils
29758 maybe-dvi-utils:
29759 @if utils
29760 maybe-dvi-utils: dvi-utils
29762 dvi-utils: \
29763 configure-utils
29764 @: $(MAKE); $(unstage)
29765 @[ -f ./utils/Makefile ] || exit 0; \
29766 r=`${PWD_COMMAND}`; export r; \
29767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29768 $(HOST_EXPORTS) \
29769 for flag in $(EXTRA_HOST_FLAGS) ; do \
29770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29771 done; \
29772 echo "Doing dvi in utils" ; \
29773 (cd $(HOST_SUBDIR)/utils && \
29774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29776 "RANLIB=$${RANLIB}" \
29777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29778 dvi) \
29779 || exit 1
29781 @endif utils
29783 .PHONY: maybe-pdf-utils pdf-utils
29784 maybe-pdf-utils:
29785 @if utils
29786 maybe-pdf-utils: pdf-utils
29788 pdf-utils: \
29789 configure-utils
29790 @: $(MAKE); $(unstage)
29791 @[ -f ./utils/Makefile ] || exit 0; \
29792 r=`${PWD_COMMAND}`; export r; \
29793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29794 $(HOST_EXPORTS) \
29795 for flag in $(EXTRA_HOST_FLAGS) ; do \
29796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29797 done; \
29798 echo "Doing pdf in utils" ; \
29799 (cd $(HOST_SUBDIR)/utils && \
29800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29802 "RANLIB=$${RANLIB}" \
29803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29804 pdf) \
29805 || exit 1
29807 @endif utils
29809 .PHONY: maybe-html-utils html-utils
29810 maybe-html-utils:
29811 @if utils
29812 maybe-html-utils: html-utils
29814 html-utils: \
29815 configure-utils
29816 @: $(MAKE); $(unstage)
29817 @[ -f ./utils/Makefile ] || exit 0; \
29818 r=`${PWD_COMMAND}`; export r; \
29819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29820 $(HOST_EXPORTS) \
29821 for flag in $(EXTRA_HOST_FLAGS) ; do \
29822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29823 done; \
29824 echo "Doing html in utils" ; \
29825 (cd $(HOST_SUBDIR)/utils && \
29826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29828 "RANLIB=$${RANLIB}" \
29829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29830 html) \
29831 || exit 1
29833 @endif utils
29835 .PHONY: maybe-TAGS-utils TAGS-utils
29836 maybe-TAGS-utils:
29837 @if utils
29838 maybe-TAGS-utils: TAGS-utils
29840 TAGS-utils: \
29841 configure-utils
29842 @: $(MAKE); $(unstage)
29843 @[ -f ./utils/Makefile ] || exit 0; \
29844 r=`${PWD_COMMAND}`; export r; \
29845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29846 $(HOST_EXPORTS) \
29847 for flag in $(EXTRA_HOST_FLAGS) ; do \
29848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29849 done; \
29850 echo "Doing TAGS in utils" ; \
29851 (cd $(HOST_SUBDIR)/utils && \
29852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29854 "RANLIB=$${RANLIB}" \
29855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29856 TAGS) \
29857 || exit 1
29859 @endif utils
29861 .PHONY: maybe-install-info-utils install-info-utils
29862 maybe-install-info-utils:
29863 @if utils
29864 maybe-install-info-utils: install-info-utils
29866 install-info-utils: \
29867 configure-utils \
29868 info-utils
29869 @: $(MAKE); $(unstage)
29870 @[ -f ./utils/Makefile ] || exit 0; \
29871 r=`${PWD_COMMAND}`; export r; \
29872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29873 $(HOST_EXPORTS) \
29874 for flag in $(EXTRA_HOST_FLAGS) ; do \
29875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29876 done; \
29877 echo "Doing install-info in utils" ; \
29878 (cd $(HOST_SUBDIR)/utils && \
29879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29881 "RANLIB=$${RANLIB}" \
29882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29883 install-info) \
29884 || exit 1
29886 @endif utils
29888 .PHONY: maybe-install-pdf-utils install-pdf-utils
29889 maybe-install-pdf-utils:
29890 @if utils
29891 maybe-install-pdf-utils: install-pdf-utils
29893 install-pdf-utils: \
29894 configure-utils \
29895 pdf-utils
29896 @: $(MAKE); $(unstage)
29897 @[ -f ./utils/Makefile ] || exit 0; \
29898 r=`${PWD_COMMAND}`; export r; \
29899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29900 $(HOST_EXPORTS) \
29901 for flag in $(EXTRA_HOST_FLAGS) ; do \
29902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29903 done; \
29904 echo "Doing install-pdf in utils" ; \
29905 (cd $(HOST_SUBDIR)/utils && \
29906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29908 "RANLIB=$${RANLIB}" \
29909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29910 install-pdf) \
29911 || exit 1
29913 @endif utils
29915 .PHONY: maybe-install-html-utils install-html-utils
29916 maybe-install-html-utils:
29917 @if utils
29918 maybe-install-html-utils: install-html-utils
29920 install-html-utils: \
29921 configure-utils \
29922 html-utils
29923 @: $(MAKE); $(unstage)
29924 @[ -f ./utils/Makefile ] || exit 0; \
29925 r=`${PWD_COMMAND}`; export r; \
29926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29927 $(HOST_EXPORTS) \
29928 for flag in $(EXTRA_HOST_FLAGS) ; do \
29929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29930 done; \
29931 echo "Doing install-html in utils" ; \
29932 (cd $(HOST_SUBDIR)/utils && \
29933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29935 "RANLIB=$${RANLIB}" \
29936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29937 install-html) \
29938 || exit 1
29940 @endif utils
29942 .PHONY: maybe-installcheck-utils installcheck-utils
29943 maybe-installcheck-utils:
29944 @if utils
29945 maybe-installcheck-utils: installcheck-utils
29947 installcheck-utils: \
29948 configure-utils
29949 @: $(MAKE); $(unstage)
29950 @[ -f ./utils/Makefile ] || exit 0; \
29951 r=`${PWD_COMMAND}`; export r; \
29952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29953 $(HOST_EXPORTS) \
29954 for flag in $(EXTRA_HOST_FLAGS) ; do \
29955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29956 done; \
29957 echo "Doing installcheck in utils" ; \
29958 (cd $(HOST_SUBDIR)/utils && \
29959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29961 "RANLIB=$${RANLIB}" \
29962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29963 installcheck) \
29964 || exit 1
29966 @endif utils
29968 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
29969 maybe-mostlyclean-utils:
29970 @if utils
29971 maybe-mostlyclean-utils: mostlyclean-utils
29973 mostlyclean-utils:
29974 @: $(MAKE); $(unstage)
29975 @[ -f ./utils/Makefile ] || exit 0; \
29976 r=`${PWD_COMMAND}`; export r; \
29977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29978 $(HOST_EXPORTS) \
29979 for flag in $(EXTRA_HOST_FLAGS) ; do \
29980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29981 done; \
29982 echo "Doing mostlyclean in utils" ; \
29983 (cd $(HOST_SUBDIR)/utils && \
29984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29986 "RANLIB=$${RANLIB}" \
29987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29988 mostlyclean) \
29989 || exit 1
29991 @endif utils
29993 .PHONY: maybe-clean-utils clean-utils
29994 maybe-clean-utils:
29995 @if utils
29996 maybe-clean-utils: clean-utils
29998 clean-utils:
29999 @: $(MAKE); $(unstage)
30000 @[ -f ./utils/Makefile ] || exit 0; \
30001 r=`${PWD_COMMAND}`; export r; \
30002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30003 $(HOST_EXPORTS) \
30004 for flag in $(EXTRA_HOST_FLAGS) ; do \
30005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30006 done; \
30007 echo "Doing clean in utils" ; \
30008 (cd $(HOST_SUBDIR)/utils && \
30009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30011 "RANLIB=$${RANLIB}" \
30012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30013 clean) \
30014 || exit 1
30016 @endif utils
30018 .PHONY: maybe-distclean-utils distclean-utils
30019 maybe-distclean-utils:
30020 @if utils
30021 maybe-distclean-utils: distclean-utils
30023 distclean-utils:
30024 @: $(MAKE); $(unstage)
30025 @[ -f ./utils/Makefile ] || exit 0; \
30026 r=`${PWD_COMMAND}`; export r; \
30027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30028 $(HOST_EXPORTS) \
30029 for flag in $(EXTRA_HOST_FLAGS) ; do \
30030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30031 done; \
30032 echo "Doing distclean in utils" ; \
30033 (cd $(HOST_SUBDIR)/utils && \
30034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30036 "RANLIB=$${RANLIB}" \
30037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30038 distclean) \
30039 || exit 1
30041 @endif utils
30043 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
30044 maybe-maintainer-clean-utils:
30045 @if utils
30046 maybe-maintainer-clean-utils: maintainer-clean-utils
30048 maintainer-clean-utils:
30049 @: $(MAKE); $(unstage)
30050 @[ -f ./utils/Makefile ] || exit 0; \
30051 r=`${PWD_COMMAND}`; export r; \
30052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30053 $(HOST_EXPORTS) \
30054 for flag in $(EXTRA_HOST_FLAGS) ; do \
30055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30056 done; \
30057 echo "Doing maintainer-clean in utils" ; \
30058 (cd $(HOST_SUBDIR)/utils && \
30059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30061 "RANLIB=$${RANLIB}" \
30062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30063 maintainer-clean) \
30064 || exit 1
30066 @endif utils
30070 .PHONY: configure-gnattools maybe-configure-gnattools
30071 maybe-configure-gnattools:
30072 @if gcc-bootstrap
30073 configure-gnattools: stage_current
30074 @endif gcc-bootstrap
30075 @if gnattools
30076 maybe-configure-gnattools: configure-gnattools
30077 configure-gnattools:
30078 @: $(MAKE); $(unstage)
30079 @r=`${PWD_COMMAND}`; export r; \
30080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30081 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
30082 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
30083 $(HOST_EXPORTS) \
30084 echo Configuring in $(HOST_SUBDIR)/gnattools; \
30085 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
30086 case $(srcdir) in \
30087 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30088 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
30089 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30090 esac; \
30091 module_srcdir=gnattools; \
30092 $(SHELL) \
30093 $$s/$$module_srcdir/configure \
30094 --srcdir=$${topdir}/$$module_srcdir \
30095 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30096 --target=${target_alias} \
30097 || exit 1
30098 @endif gnattools
30104 .PHONY: all-gnattools maybe-all-gnattools
30105 maybe-all-gnattools:
30106 @if gcc-bootstrap
30107 all-gnattools: stage_current
30108 @endif gcc-bootstrap
30109 @if gnattools
30110 TARGET-gnattools=all
30111 maybe-all-gnattools: all-gnattools
30112 all-gnattools: configure-gnattools
30113 @: $(MAKE); $(unstage)
30114 @r=`${PWD_COMMAND}`; export r; \
30115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30116 $(HOST_EXPORTS) \
30117 (cd $(HOST_SUBDIR)/gnattools && \
30118 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30119 $(TARGET-gnattools))
30120 @endif gnattools
30125 .PHONY: check-gnattools maybe-check-gnattools
30126 maybe-check-gnattools:
30127 @if gnattools
30128 maybe-check-gnattools: check-gnattools
30130 check-gnattools:
30131 @: $(MAKE); $(unstage)
30132 @r=`${PWD_COMMAND}`; export r; \
30133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30134 $(HOST_EXPORTS) \
30135 (cd $(HOST_SUBDIR)/gnattools && \
30136 $(MAKE) $(FLAGS_TO_PASS) check)
30138 @endif gnattools
30140 .PHONY: install-gnattools maybe-install-gnattools
30141 maybe-install-gnattools:
30142 @if gnattools
30143 maybe-install-gnattools: install-gnattools
30145 install-gnattools: installdirs
30146 @: $(MAKE); $(unstage)
30147 @r=`${PWD_COMMAND}`; export r; \
30148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30149 $(HOST_EXPORTS) \
30150 (cd $(HOST_SUBDIR)/gnattools && \
30151 $(MAKE) $(FLAGS_TO_PASS) install)
30153 @endif gnattools
30155 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
30156 maybe-install-strip-gnattools:
30157 @if gnattools
30158 maybe-install-strip-gnattools: install-strip-gnattools
30160 install-strip-gnattools: installdirs
30161 @: $(MAKE); $(unstage)
30162 @r=`${PWD_COMMAND}`; export r; \
30163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30164 $(HOST_EXPORTS) \
30165 (cd $(HOST_SUBDIR)/gnattools && \
30166 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30168 @endif gnattools
30170 # Other targets (info, dvi, pdf, etc.)
30172 .PHONY: maybe-info-gnattools info-gnattools
30173 maybe-info-gnattools:
30174 @if gnattools
30175 maybe-info-gnattools: info-gnattools
30177 info-gnattools: \
30178 configure-gnattools
30179 @: $(MAKE); $(unstage)
30180 @[ -f ./gnattools/Makefile ] || exit 0; \
30181 r=`${PWD_COMMAND}`; export r; \
30182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30183 $(HOST_EXPORTS) \
30184 for flag in $(EXTRA_HOST_FLAGS) ; do \
30185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30186 done; \
30187 echo "Doing info in gnattools" ; \
30188 (cd $(HOST_SUBDIR)/gnattools && \
30189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30191 "RANLIB=$${RANLIB}" \
30192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30193 info) \
30194 || exit 1
30196 @endif gnattools
30198 .PHONY: maybe-dvi-gnattools dvi-gnattools
30199 maybe-dvi-gnattools:
30200 @if gnattools
30201 maybe-dvi-gnattools: dvi-gnattools
30203 dvi-gnattools: \
30204 configure-gnattools
30205 @: $(MAKE); $(unstage)
30206 @[ -f ./gnattools/Makefile ] || exit 0; \
30207 r=`${PWD_COMMAND}`; export r; \
30208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30209 $(HOST_EXPORTS) \
30210 for flag in $(EXTRA_HOST_FLAGS) ; do \
30211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30212 done; \
30213 echo "Doing dvi in gnattools" ; \
30214 (cd $(HOST_SUBDIR)/gnattools && \
30215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30217 "RANLIB=$${RANLIB}" \
30218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30219 dvi) \
30220 || exit 1
30222 @endif gnattools
30224 .PHONY: maybe-pdf-gnattools pdf-gnattools
30225 maybe-pdf-gnattools:
30226 @if gnattools
30227 maybe-pdf-gnattools: pdf-gnattools
30229 pdf-gnattools: \
30230 configure-gnattools
30231 @: $(MAKE); $(unstage)
30232 @[ -f ./gnattools/Makefile ] || exit 0; \
30233 r=`${PWD_COMMAND}`; export r; \
30234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30235 $(HOST_EXPORTS) \
30236 for flag in $(EXTRA_HOST_FLAGS) ; do \
30237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30238 done; \
30239 echo "Doing pdf in gnattools" ; \
30240 (cd $(HOST_SUBDIR)/gnattools && \
30241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30243 "RANLIB=$${RANLIB}" \
30244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30245 pdf) \
30246 || exit 1
30248 @endif gnattools
30250 .PHONY: maybe-html-gnattools html-gnattools
30251 maybe-html-gnattools:
30252 @if gnattools
30253 maybe-html-gnattools: html-gnattools
30255 html-gnattools: \
30256 configure-gnattools
30257 @: $(MAKE); $(unstage)
30258 @[ -f ./gnattools/Makefile ] || exit 0; \
30259 r=`${PWD_COMMAND}`; export r; \
30260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30261 $(HOST_EXPORTS) \
30262 for flag in $(EXTRA_HOST_FLAGS) ; do \
30263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30264 done; \
30265 echo "Doing html in gnattools" ; \
30266 (cd $(HOST_SUBDIR)/gnattools && \
30267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30269 "RANLIB=$${RANLIB}" \
30270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30271 html) \
30272 || exit 1
30274 @endif gnattools
30276 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
30277 maybe-TAGS-gnattools:
30278 @if gnattools
30279 maybe-TAGS-gnattools: TAGS-gnattools
30281 TAGS-gnattools: \
30282 configure-gnattools
30283 @: $(MAKE); $(unstage)
30284 @[ -f ./gnattools/Makefile ] || exit 0; \
30285 r=`${PWD_COMMAND}`; export r; \
30286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30287 $(HOST_EXPORTS) \
30288 for flag in $(EXTRA_HOST_FLAGS) ; do \
30289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30290 done; \
30291 echo "Doing TAGS in gnattools" ; \
30292 (cd $(HOST_SUBDIR)/gnattools && \
30293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30295 "RANLIB=$${RANLIB}" \
30296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30297 TAGS) \
30298 || exit 1
30300 @endif gnattools
30302 .PHONY: maybe-install-info-gnattools install-info-gnattools
30303 maybe-install-info-gnattools:
30304 @if gnattools
30305 maybe-install-info-gnattools: install-info-gnattools
30307 install-info-gnattools: \
30308 configure-gnattools \
30309 info-gnattools
30310 @: $(MAKE); $(unstage)
30311 @[ -f ./gnattools/Makefile ] || exit 0; \
30312 r=`${PWD_COMMAND}`; export r; \
30313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30314 $(HOST_EXPORTS) \
30315 for flag in $(EXTRA_HOST_FLAGS) ; do \
30316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30317 done; \
30318 echo "Doing install-info in gnattools" ; \
30319 (cd $(HOST_SUBDIR)/gnattools && \
30320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30322 "RANLIB=$${RANLIB}" \
30323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30324 install-info) \
30325 || exit 1
30327 @endif gnattools
30329 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
30330 maybe-install-pdf-gnattools:
30331 @if gnattools
30332 maybe-install-pdf-gnattools: install-pdf-gnattools
30334 install-pdf-gnattools: \
30335 configure-gnattools \
30336 pdf-gnattools
30337 @: $(MAKE); $(unstage)
30338 @[ -f ./gnattools/Makefile ] || exit 0; \
30339 r=`${PWD_COMMAND}`; export r; \
30340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30341 $(HOST_EXPORTS) \
30342 for flag in $(EXTRA_HOST_FLAGS) ; do \
30343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30344 done; \
30345 echo "Doing install-pdf in gnattools" ; \
30346 (cd $(HOST_SUBDIR)/gnattools && \
30347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30349 "RANLIB=$${RANLIB}" \
30350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30351 install-pdf) \
30352 || exit 1
30354 @endif gnattools
30356 .PHONY: maybe-install-html-gnattools install-html-gnattools
30357 maybe-install-html-gnattools:
30358 @if gnattools
30359 maybe-install-html-gnattools: install-html-gnattools
30361 install-html-gnattools: \
30362 configure-gnattools \
30363 html-gnattools
30364 @: $(MAKE); $(unstage)
30365 @[ -f ./gnattools/Makefile ] || exit 0; \
30366 r=`${PWD_COMMAND}`; export r; \
30367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30368 $(HOST_EXPORTS) \
30369 for flag in $(EXTRA_HOST_FLAGS) ; do \
30370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30371 done; \
30372 echo "Doing install-html in gnattools" ; \
30373 (cd $(HOST_SUBDIR)/gnattools && \
30374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30376 "RANLIB=$${RANLIB}" \
30377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30378 install-html) \
30379 || exit 1
30381 @endif gnattools
30383 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
30384 maybe-installcheck-gnattools:
30385 @if gnattools
30386 maybe-installcheck-gnattools: installcheck-gnattools
30388 installcheck-gnattools: \
30389 configure-gnattools
30390 @: $(MAKE); $(unstage)
30391 @[ -f ./gnattools/Makefile ] || exit 0; \
30392 r=`${PWD_COMMAND}`; export r; \
30393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30394 $(HOST_EXPORTS) \
30395 for flag in $(EXTRA_HOST_FLAGS) ; do \
30396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30397 done; \
30398 echo "Doing installcheck in gnattools" ; \
30399 (cd $(HOST_SUBDIR)/gnattools && \
30400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30402 "RANLIB=$${RANLIB}" \
30403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30404 installcheck) \
30405 || exit 1
30407 @endif gnattools
30409 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
30410 maybe-mostlyclean-gnattools:
30411 @if gnattools
30412 maybe-mostlyclean-gnattools: mostlyclean-gnattools
30414 mostlyclean-gnattools:
30415 @: $(MAKE); $(unstage)
30416 @[ -f ./gnattools/Makefile ] || exit 0; \
30417 r=`${PWD_COMMAND}`; export r; \
30418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30419 $(HOST_EXPORTS) \
30420 for flag in $(EXTRA_HOST_FLAGS) ; do \
30421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30422 done; \
30423 echo "Doing mostlyclean in gnattools" ; \
30424 (cd $(HOST_SUBDIR)/gnattools && \
30425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30427 "RANLIB=$${RANLIB}" \
30428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30429 mostlyclean) \
30430 || exit 1
30432 @endif gnattools
30434 .PHONY: maybe-clean-gnattools clean-gnattools
30435 maybe-clean-gnattools:
30436 @if gnattools
30437 maybe-clean-gnattools: clean-gnattools
30439 clean-gnattools:
30440 @: $(MAKE); $(unstage)
30441 @[ -f ./gnattools/Makefile ] || exit 0; \
30442 r=`${PWD_COMMAND}`; export r; \
30443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30444 $(HOST_EXPORTS) \
30445 for flag in $(EXTRA_HOST_FLAGS) ; do \
30446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30447 done; \
30448 echo "Doing clean in gnattools" ; \
30449 (cd $(HOST_SUBDIR)/gnattools && \
30450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30452 "RANLIB=$${RANLIB}" \
30453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30454 clean) \
30455 || exit 1
30457 @endif gnattools
30459 .PHONY: maybe-distclean-gnattools distclean-gnattools
30460 maybe-distclean-gnattools:
30461 @if gnattools
30462 maybe-distclean-gnattools: distclean-gnattools
30464 distclean-gnattools:
30465 @: $(MAKE); $(unstage)
30466 @[ -f ./gnattools/Makefile ] || exit 0; \
30467 r=`${PWD_COMMAND}`; export r; \
30468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30469 $(HOST_EXPORTS) \
30470 for flag in $(EXTRA_HOST_FLAGS) ; do \
30471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30472 done; \
30473 echo "Doing distclean in gnattools" ; \
30474 (cd $(HOST_SUBDIR)/gnattools && \
30475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30477 "RANLIB=$${RANLIB}" \
30478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30479 distclean) \
30480 || exit 1
30482 @endif gnattools
30484 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
30485 maybe-maintainer-clean-gnattools:
30486 @if gnattools
30487 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
30489 maintainer-clean-gnattools:
30490 @: $(MAKE); $(unstage)
30491 @[ -f ./gnattools/Makefile ] || exit 0; \
30492 r=`${PWD_COMMAND}`; export r; \
30493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30494 $(HOST_EXPORTS) \
30495 for flag in $(EXTRA_HOST_FLAGS) ; do \
30496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30497 done; \
30498 echo "Doing maintainer-clean in gnattools" ; \
30499 (cd $(HOST_SUBDIR)/gnattools && \
30500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30502 "RANLIB=$${RANLIB}" \
30503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30504 maintainer-clean) \
30505 || exit 1
30507 @endif gnattools
30511 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
30512 maybe-configure-lto-plugin:
30513 @if gcc-bootstrap
30514 configure-lto-plugin: stage_current
30515 @endif gcc-bootstrap
30516 @if lto-plugin
30517 maybe-configure-lto-plugin: configure-lto-plugin
30518 configure-lto-plugin:
30519 @r=`${PWD_COMMAND}`; export r; \
30520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30521 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30522 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30523 $(HOST_EXPORTS) \
30524 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
30525 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
30526 case $(srcdir) in \
30527 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30528 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30529 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30530 esac; \
30531 module_srcdir=lto-plugin; \
30532 $(SHELL) \
30533 $$s/$$module_srcdir/configure \
30534 --srcdir=$${topdir}/$$module_srcdir \
30535 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30536 --target=${target_alias} --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
30537 || exit 1
30538 @endif lto-plugin
30542 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
30543 maybe-configure-stage1-lto-plugin:
30544 @if lto-plugin-bootstrap
30545 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
30546 configure-stage1-lto-plugin:
30547 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30548 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30549 @r=`${PWD_COMMAND}`; export r; \
30550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30551 TFLAGS="$(STAGE1_TFLAGS)"; \
30552 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30553 $(HOST_EXPORTS) \
30554 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
30555 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
30556 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
30557 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin ; \
30558 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30559 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30560 case $(srcdir) in \
30561 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30562 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30563 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30564 esac; \
30565 module_srcdir=lto-plugin; \
30566 $(SHELL) $$s/$$module_srcdir/configure \
30567 --srcdir=$${topdir}/$$module_srcdir \
30568 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30569 --target=${target_alias} \
30571 $(STAGE1_CONFIGURE_FLAGS) \
30572 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
30573 @endif lto-plugin-bootstrap
30575 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
30576 maybe-configure-stage2-lto-plugin:
30577 @if lto-plugin-bootstrap
30578 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
30579 configure-stage2-lto-plugin:
30580 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30581 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30582 @r=`${PWD_COMMAND}`; export r; \
30583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30584 TFLAGS="$(STAGE2_TFLAGS)"; \
30585 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30586 $(HOST_EXPORTS) \
30587 $(POSTSTAGE1_HOST_EXPORTS) \
30588 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
30589 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
30590 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
30591 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin ; \
30592 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30593 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30594 case $(srcdir) in \
30595 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30596 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30597 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30598 esac; \
30599 module_srcdir=lto-plugin; \
30600 $(SHELL) $$s/$$module_srcdir/configure \
30601 --srcdir=$${topdir}/$$module_srcdir \
30602 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30603 --target=${target_alias} \
30604 --with-build-libsubdir=$(HOST_SUBDIR) \
30605 $(STAGE2_CONFIGURE_FLAGS) \
30606 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
30607 @endif lto-plugin-bootstrap
30609 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
30610 maybe-configure-stage3-lto-plugin:
30611 @if lto-plugin-bootstrap
30612 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
30613 configure-stage3-lto-plugin:
30614 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30615 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30616 @r=`${PWD_COMMAND}`; export r; \
30617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30618 TFLAGS="$(STAGE3_TFLAGS)"; \
30619 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30620 $(HOST_EXPORTS) \
30621 $(POSTSTAGE1_HOST_EXPORTS) \
30622 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
30623 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
30624 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
30625 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin ; \
30626 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30627 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30628 case $(srcdir) in \
30629 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30630 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30631 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30632 esac; \
30633 module_srcdir=lto-plugin; \
30634 $(SHELL) $$s/$$module_srcdir/configure \
30635 --srcdir=$${topdir}/$$module_srcdir \
30636 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30637 --target=${target_alias} \
30638 --with-build-libsubdir=$(HOST_SUBDIR) \
30639 $(STAGE3_CONFIGURE_FLAGS) \
30640 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
30641 @endif lto-plugin-bootstrap
30643 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
30644 maybe-configure-stage4-lto-plugin:
30645 @if lto-plugin-bootstrap
30646 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
30647 configure-stage4-lto-plugin:
30648 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30649 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30650 @r=`${PWD_COMMAND}`; export r; \
30651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30652 TFLAGS="$(STAGE4_TFLAGS)"; \
30653 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30654 $(HOST_EXPORTS) \
30655 $(POSTSTAGE1_HOST_EXPORTS) \
30656 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
30657 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
30658 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
30659 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin ; \
30660 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30661 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30662 case $(srcdir) in \
30663 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30664 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30665 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30666 esac; \
30667 module_srcdir=lto-plugin; \
30668 $(SHELL) $$s/$$module_srcdir/configure \
30669 --srcdir=$${topdir}/$$module_srcdir \
30670 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30671 --target=${target_alias} \
30672 --with-build-libsubdir=$(HOST_SUBDIR) \
30673 $(STAGE4_CONFIGURE_FLAGS) \
30674 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
30675 @endif lto-plugin-bootstrap
30677 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
30678 maybe-configure-stageprofile-lto-plugin:
30679 @if lto-plugin-bootstrap
30680 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
30681 configure-stageprofile-lto-plugin:
30682 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30683 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30684 @r=`${PWD_COMMAND}`; export r; \
30685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30686 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30687 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30688 $(HOST_EXPORTS) \
30689 $(POSTSTAGE1_HOST_EXPORTS) \
30690 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
30691 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
30692 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
30693 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin ; \
30694 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30695 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30696 case $(srcdir) in \
30697 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30698 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30699 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30700 esac; \
30701 module_srcdir=lto-plugin; \
30702 $(SHELL) $$s/$$module_srcdir/configure \
30703 --srcdir=$${topdir}/$$module_srcdir \
30704 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30705 --target=${target_alias} \
30706 --with-build-libsubdir=$(HOST_SUBDIR) \
30707 $(STAGEprofile_CONFIGURE_FLAGS) \
30708 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
30709 @endif lto-plugin-bootstrap
30711 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
30712 maybe-configure-stagefeedback-lto-plugin:
30713 @if lto-plugin-bootstrap
30714 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
30715 configure-stagefeedback-lto-plugin:
30716 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30717 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30718 @r=`${PWD_COMMAND}`; export r; \
30719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30720 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30721 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30722 $(HOST_EXPORTS) \
30723 $(POSTSTAGE1_HOST_EXPORTS) \
30724 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
30725 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
30726 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
30727 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin ; \
30728 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30729 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30730 case $(srcdir) in \
30731 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30732 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30733 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30734 esac; \
30735 module_srcdir=lto-plugin; \
30736 $(SHELL) $$s/$$module_srcdir/configure \
30737 --srcdir=$${topdir}/$$module_srcdir \
30738 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30739 --target=${target_alias} \
30740 --with-build-libsubdir=$(HOST_SUBDIR) \
30741 $(STAGEfeedback_CONFIGURE_FLAGS) \
30742 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
30743 @endif lto-plugin-bootstrap
30749 .PHONY: all-lto-plugin maybe-all-lto-plugin
30750 maybe-all-lto-plugin:
30751 @if gcc-bootstrap
30752 all-lto-plugin: stage_current
30753 @endif gcc-bootstrap
30754 @if lto-plugin
30755 TARGET-lto-plugin=all
30756 maybe-all-lto-plugin: all-lto-plugin
30757 all-lto-plugin: configure-lto-plugin
30758 @r=`${PWD_COMMAND}`; export r; \
30759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30760 $(HOST_EXPORTS) \
30761 (cd $(HOST_SUBDIR)/lto-plugin && \
30762 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30763 $(TARGET-lto-plugin))
30764 @endif lto-plugin
30768 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
30769 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
30770 maybe-all-stage1-lto-plugin:
30771 maybe-clean-stage1-lto-plugin:
30772 @if lto-plugin-bootstrap
30773 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
30774 all-stage1: all-stage1-lto-plugin
30775 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
30776 all-stage1-lto-plugin: configure-stage1-lto-plugin
30777 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30778 @r=`${PWD_COMMAND}`; export r; \
30779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30780 TFLAGS="$(STAGE1_TFLAGS)"; \
30781 $(HOST_EXPORTS) \
30782 cd $(HOST_SUBDIR)/lto-plugin && \
30783 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30784 CFLAGS="$(STAGE1_CFLAGS)" \
30785 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
30786 LIBCFLAGS="$(LIBCFLAGS)" \
30787 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30788 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30789 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30790 $(EXTRA_HOST_FLAGS) \
30791 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30792 TFLAGS="$(STAGE1_TFLAGS)" \
30793 $(TARGET-stage1-lto-plugin)
30795 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
30796 clean-stage1: clean-stage1-lto-plugin
30797 clean-stage1-lto-plugin:
30798 @if [ $(current_stage) = stage1 ]; then \
30799 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30800 else \
30801 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
30802 $(MAKE) stage1-start; \
30803 fi; \
30804 cd $(HOST_SUBDIR)/lto-plugin && \
30805 $(MAKE) $(EXTRA_HOST_FLAGS) \
30806 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30807 @endif lto-plugin-bootstrap
30810 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
30811 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
30812 maybe-all-stage2-lto-plugin:
30813 maybe-clean-stage2-lto-plugin:
30814 @if lto-plugin-bootstrap
30815 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
30816 all-stage2: all-stage2-lto-plugin
30817 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
30818 all-stage2-lto-plugin: configure-stage2-lto-plugin
30819 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30820 @r=`${PWD_COMMAND}`; export r; \
30821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30822 TFLAGS="$(STAGE2_TFLAGS)"; \
30823 $(HOST_EXPORTS) \
30824 $(POSTSTAGE1_HOST_EXPORTS) \
30825 cd $(HOST_SUBDIR)/lto-plugin && \
30826 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30827 CFLAGS="$(STAGE2_CFLAGS)" \
30828 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
30829 LIBCFLAGS="$(STAGE2_CFLAGS)" \
30830 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30831 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30832 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30833 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30834 TFLAGS="$(STAGE2_TFLAGS)" \
30835 $(TARGET-stage2-lto-plugin)
30837 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
30838 clean-stage2: clean-stage2-lto-plugin
30839 clean-stage2-lto-plugin:
30840 @if [ $(current_stage) = stage2 ]; then \
30841 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30842 else \
30843 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
30844 $(MAKE) stage2-start; \
30845 fi; \
30846 cd $(HOST_SUBDIR)/lto-plugin && \
30847 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30848 @endif lto-plugin-bootstrap
30851 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
30852 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
30853 maybe-all-stage3-lto-plugin:
30854 maybe-clean-stage3-lto-plugin:
30855 @if lto-plugin-bootstrap
30856 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
30857 all-stage3: all-stage3-lto-plugin
30858 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
30859 all-stage3-lto-plugin: configure-stage3-lto-plugin
30860 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30861 @r=`${PWD_COMMAND}`; export r; \
30862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30863 TFLAGS="$(STAGE3_TFLAGS)"; \
30864 $(HOST_EXPORTS) \
30865 $(POSTSTAGE1_HOST_EXPORTS) \
30866 cd $(HOST_SUBDIR)/lto-plugin && \
30867 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30868 CFLAGS="$(STAGE3_CFLAGS)" \
30869 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
30870 LIBCFLAGS="$(STAGE3_CFLAGS)" \
30871 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30872 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30873 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30874 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30875 TFLAGS="$(STAGE3_TFLAGS)" \
30876 $(TARGET-stage3-lto-plugin)
30878 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
30879 clean-stage3: clean-stage3-lto-plugin
30880 clean-stage3-lto-plugin:
30881 @if [ $(current_stage) = stage3 ]; then \
30882 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30883 else \
30884 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
30885 $(MAKE) stage3-start; \
30886 fi; \
30887 cd $(HOST_SUBDIR)/lto-plugin && \
30888 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30889 @endif lto-plugin-bootstrap
30892 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
30893 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
30894 maybe-all-stage4-lto-plugin:
30895 maybe-clean-stage4-lto-plugin:
30896 @if lto-plugin-bootstrap
30897 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
30898 all-stage4: all-stage4-lto-plugin
30899 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
30900 all-stage4-lto-plugin: configure-stage4-lto-plugin
30901 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30902 @r=`${PWD_COMMAND}`; export r; \
30903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30904 TFLAGS="$(STAGE4_TFLAGS)"; \
30905 $(HOST_EXPORTS) \
30906 $(POSTSTAGE1_HOST_EXPORTS) \
30907 cd $(HOST_SUBDIR)/lto-plugin && \
30908 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30909 CFLAGS="$(STAGE4_CFLAGS)" \
30910 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
30911 LIBCFLAGS="$(STAGE4_CFLAGS)" \
30912 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30913 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30914 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30915 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30916 TFLAGS="$(STAGE4_TFLAGS)" \
30917 $(TARGET-stage4-lto-plugin)
30919 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
30920 clean-stage4: clean-stage4-lto-plugin
30921 clean-stage4-lto-plugin:
30922 @if [ $(current_stage) = stage4 ]; then \
30923 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30924 else \
30925 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
30926 $(MAKE) stage4-start; \
30927 fi; \
30928 cd $(HOST_SUBDIR)/lto-plugin && \
30929 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30930 @endif lto-plugin-bootstrap
30933 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
30934 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
30935 maybe-all-stageprofile-lto-plugin:
30936 maybe-clean-stageprofile-lto-plugin:
30937 @if lto-plugin-bootstrap
30938 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
30939 all-stageprofile: all-stageprofile-lto-plugin
30940 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
30941 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
30942 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30943 @r=`${PWD_COMMAND}`; export r; \
30944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30945 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30946 $(HOST_EXPORTS) \
30947 $(POSTSTAGE1_HOST_EXPORTS) \
30948 cd $(HOST_SUBDIR)/lto-plugin && \
30949 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30950 CFLAGS="$(STAGEprofile_CFLAGS)" \
30951 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
30952 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
30953 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30954 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30955 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30956 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30957 TFLAGS="$(STAGEprofile_TFLAGS)" \
30958 $(TARGET-stageprofile-lto-plugin)
30960 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
30961 clean-stageprofile: clean-stageprofile-lto-plugin
30962 clean-stageprofile-lto-plugin:
30963 @if [ $(current_stage) = stageprofile ]; then \
30964 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30965 else \
30966 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
30967 $(MAKE) stageprofile-start; \
30968 fi; \
30969 cd $(HOST_SUBDIR)/lto-plugin && \
30970 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30971 @endif lto-plugin-bootstrap
30974 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
30975 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
30976 maybe-all-stagefeedback-lto-plugin:
30977 maybe-clean-stagefeedback-lto-plugin:
30978 @if lto-plugin-bootstrap
30979 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
30980 all-stagefeedback: all-stagefeedback-lto-plugin
30981 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
30982 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
30983 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30984 @r=`${PWD_COMMAND}`; export r; \
30985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30986 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30987 $(HOST_EXPORTS) \
30988 $(POSTSTAGE1_HOST_EXPORTS) \
30989 cd $(HOST_SUBDIR)/lto-plugin && \
30990 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30991 CFLAGS="$(STAGEfeedback_CFLAGS)" \
30992 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
30993 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
30994 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30995 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30996 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30997 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30998 TFLAGS="$(STAGEfeedback_TFLAGS)" \
30999 $(TARGET-stagefeedback-lto-plugin)
31001 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
31002 clean-stagefeedback: clean-stagefeedback-lto-plugin
31003 clean-stagefeedback-lto-plugin:
31004 @if [ $(current_stage) = stagefeedback ]; then \
31005 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
31006 else \
31007 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
31008 $(MAKE) stagefeedback-start; \
31009 fi; \
31010 cd $(HOST_SUBDIR)/lto-plugin && \
31011 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31012 @endif lto-plugin-bootstrap
31018 .PHONY: check-lto-plugin maybe-check-lto-plugin
31019 maybe-check-lto-plugin:
31020 @if lto-plugin
31021 maybe-check-lto-plugin: check-lto-plugin
31023 check-lto-plugin:
31024 @: $(MAKE); $(unstage)
31025 @r=`${PWD_COMMAND}`; export r; \
31026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31027 $(HOST_EXPORTS) \
31028 (cd $(HOST_SUBDIR)/lto-plugin && \
31029 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ check)
31031 @endif lto-plugin
31033 .PHONY: install-lto-plugin maybe-install-lto-plugin
31034 maybe-install-lto-plugin:
31035 @if lto-plugin
31036 maybe-install-lto-plugin: install-lto-plugin
31038 install-lto-plugin: installdirs
31039 @: $(MAKE); $(unstage)
31040 @r=`${PWD_COMMAND}`; export r; \
31041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31042 $(HOST_EXPORTS) \
31043 (cd $(HOST_SUBDIR)/lto-plugin && \
31044 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
31046 @endif lto-plugin
31048 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
31049 maybe-install-strip-lto-plugin:
31050 @if lto-plugin
31051 maybe-install-strip-lto-plugin: install-strip-lto-plugin
31053 install-strip-lto-plugin: installdirs
31054 @: $(MAKE); $(unstage)
31055 @r=`${PWD_COMMAND}`; export r; \
31056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31057 $(HOST_EXPORTS) \
31058 (cd $(HOST_SUBDIR)/lto-plugin && \
31059 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
31061 @endif lto-plugin
31063 # Other targets (info, dvi, pdf, etc.)
31065 .PHONY: maybe-info-lto-plugin info-lto-plugin
31066 maybe-info-lto-plugin:
31067 @if lto-plugin
31068 maybe-info-lto-plugin: info-lto-plugin
31070 info-lto-plugin: \
31071 configure-lto-plugin
31072 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31073 r=`${PWD_COMMAND}`; export r; \
31074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31075 $(HOST_EXPORTS) \
31076 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31078 done; \
31079 echo "Doing info in lto-plugin" ; \
31080 (cd $(HOST_SUBDIR)/lto-plugin && \
31081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31083 "RANLIB=$${RANLIB}" \
31084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31085 info) \
31086 || exit 1
31088 @endif lto-plugin
31090 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
31091 maybe-dvi-lto-plugin:
31092 @if lto-plugin
31093 maybe-dvi-lto-plugin: dvi-lto-plugin
31095 dvi-lto-plugin: \
31096 configure-lto-plugin
31097 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31098 r=`${PWD_COMMAND}`; export r; \
31099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31100 $(HOST_EXPORTS) \
31101 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31103 done; \
31104 echo "Doing dvi in lto-plugin" ; \
31105 (cd $(HOST_SUBDIR)/lto-plugin && \
31106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31108 "RANLIB=$${RANLIB}" \
31109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31110 dvi) \
31111 || exit 1
31113 @endif lto-plugin
31115 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
31116 maybe-pdf-lto-plugin:
31117 @if lto-plugin
31118 maybe-pdf-lto-plugin: pdf-lto-plugin
31120 pdf-lto-plugin: \
31121 configure-lto-plugin
31122 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31123 r=`${PWD_COMMAND}`; export r; \
31124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31125 $(HOST_EXPORTS) \
31126 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31128 done; \
31129 echo "Doing pdf in lto-plugin" ; \
31130 (cd $(HOST_SUBDIR)/lto-plugin && \
31131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31133 "RANLIB=$${RANLIB}" \
31134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31135 pdf) \
31136 || exit 1
31138 @endif lto-plugin
31140 .PHONY: maybe-html-lto-plugin html-lto-plugin
31141 maybe-html-lto-plugin:
31142 @if lto-plugin
31143 maybe-html-lto-plugin: html-lto-plugin
31145 html-lto-plugin: \
31146 configure-lto-plugin
31147 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31148 r=`${PWD_COMMAND}`; export r; \
31149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31150 $(HOST_EXPORTS) \
31151 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31153 done; \
31154 echo "Doing html in lto-plugin" ; \
31155 (cd $(HOST_SUBDIR)/lto-plugin && \
31156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31158 "RANLIB=$${RANLIB}" \
31159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31160 html) \
31161 || exit 1
31163 @endif lto-plugin
31165 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
31166 maybe-TAGS-lto-plugin:
31167 @if lto-plugin
31168 maybe-TAGS-lto-plugin: TAGS-lto-plugin
31170 TAGS-lto-plugin: \
31171 configure-lto-plugin
31172 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31173 r=`${PWD_COMMAND}`; export r; \
31174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31175 $(HOST_EXPORTS) \
31176 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31178 done; \
31179 echo "Doing TAGS in lto-plugin" ; \
31180 (cd $(HOST_SUBDIR)/lto-plugin && \
31181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31183 "RANLIB=$${RANLIB}" \
31184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31185 TAGS) \
31186 || exit 1
31188 @endif lto-plugin
31190 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
31191 maybe-install-info-lto-plugin:
31192 @if lto-plugin
31193 maybe-install-info-lto-plugin: install-info-lto-plugin
31195 install-info-lto-plugin: \
31196 configure-lto-plugin \
31197 info-lto-plugin
31198 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31199 r=`${PWD_COMMAND}`; export r; \
31200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31201 $(HOST_EXPORTS) \
31202 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31204 done; \
31205 echo "Doing install-info in lto-plugin" ; \
31206 (cd $(HOST_SUBDIR)/lto-plugin && \
31207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31209 "RANLIB=$${RANLIB}" \
31210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31211 install-info) \
31212 || exit 1
31214 @endif lto-plugin
31216 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
31217 maybe-install-pdf-lto-plugin:
31218 @if lto-plugin
31219 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
31221 install-pdf-lto-plugin: \
31222 configure-lto-plugin \
31223 pdf-lto-plugin
31224 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31225 r=`${PWD_COMMAND}`; export r; \
31226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31227 $(HOST_EXPORTS) \
31228 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31230 done; \
31231 echo "Doing install-pdf in lto-plugin" ; \
31232 (cd $(HOST_SUBDIR)/lto-plugin && \
31233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31235 "RANLIB=$${RANLIB}" \
31236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31237 install-pdf) \
31238 || exit 1
31240 @endif lto-plugin
31242 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
31243 maybe-install-html-lto-plugin:
31244 @if lto-plugin
31245 maybe-install-html-lto-plugin: install-html-lto-plugin
31247 install-html-lto-plugin: \
31248 configure-lto-plugin \
31249 html-lto-plugin
31250 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31251 r=`${PWD_COMMAND}`; export r; \
31252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31253 $(HOST_EXPORTS) \
31254 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31256 done; \
31257 echo "Doing install-html in lto-plugin" ; \
31258 (cd $(HOST_SUBDIR)/lto-plugin && \
31259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31261 "RANLIB=$${RANLIB}" \
31262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31263 install-html) \
31264 || exit 1
31266 @endif lto-plugin
31268 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
31269 maybe-installcheck-lto-plugin:
31270 @if lto-plugin
31271 maybe-installcheck-lto-plugin: installcheck-lto-plugin
31273 installcheck-lto-plugin: \
31274 configure-lto-plugin
31275 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31276 r=`${PWD_COMMAND}`; export r; \
31277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31278 $(HOST_EXPORTS) \
31279 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31281 done; \
31282 echo "Doing installcheck in lto-plugin" ; \
31283 (cd $(HOST_SUBDIR)/lto-plugin && \
31284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31286 "RANLIB=$${RANLIB}" \
31287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31288 installcheck) \
31289 || exit 1
31291 @endif lto-plugin
31293 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
31294 maybe-mostlyclean-lto-plugin:
31295 @if lto-plugin
31296 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
31298 mostlyclean-lto-plugin:
31299 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31300 r=`${PWD_COMMAND}`; export r; \
31301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31302 $(HOST_EXPORTS) \
31303 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31305 done; \
31306 echo "Doing mostlyclean in lto-plugin" ; \
31307 (cd $(HOST_SUBDIR)/lto-plugin && \
31308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31310 "RANLIB=$${RANLIB}" \
31311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31312 mostlyclean) \
31313 || exit 1
31315 @endif lto-plugin
31317 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
31318 maybe-clean-lto-plugin:
31319 @if lto-plugin
31320 maybe-clean-lto-plugin: clean-lto-plugin
31322 clean-lto-plugin:
31323 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31324 r=`${PWD_COMMAND}`; export r; \
31325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31326 $(HOST_EXPORTS) \
31327 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31329 done; \
31330 echo "Doing clean in lto-plugin" ; \
31331 (cd $(HOST_SUBDIR)/lto-plugin && \
31332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31334 "RANLIB=$${RANLIB}" \
31335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31336 clean) \
31337 || exit 1
31339 @endif lto-plugin
31341 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
31342 maybe-distclean-lto-plugin:
31343 @if lto-plugin
31344 maybe-distclean-lto-plugin: distclean-lto-plugin
31346 distclean-lto-plugin:
31347 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31348 r=`${PWD_COMMAND}`; export r; \
31349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31350 $(HOST_EXPORTS) \
31351 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31353 done; \
31354 echo "Doing distclean in lto-plugin" ; \
31355 (cd $(HOST_SUBDIR)/lto-plugin && \
31356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31358 "RANLIB=$${RANLIB}" \
31359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31360 distclean) \
31361 || exit 1
31363 @endif lto-plugin
31365 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
31366 maybe-maintainer-clean-lto-plugin:
31367 @if lto-plugin
31368 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
31370 maintainer-clean-lto-plugin:
31371 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31372 r=`${PWD_COMMAND}`; export r; \
31373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31374 $(HOST_EXPORTS) \
31375 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31377 done; \
31378 echo "Doing maintainer-clean in lto-plugin" ; \
31379 (cd $(HOST_SUBDIR)/lto-plugin && \
31380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31382 "RANLIB=$${RANLIB}" \
31383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31384 maintainer-clean) \
31385 || exit 1
31387 @endif lto-plugin
31391 .PHONY: configure-libcc1 maybe-configure-libcc1
31392 maybe-configure-libcc1:
31393 @if gcc-bootstrap
31394 configure-libcc1: stage_current
31395 @endif gcc-bootstrap
31396 @if libcc1
31397 maybe-configure-libcc1: configure-libcc1
31398 configure-libcc1:
31399 @: $(MAKE); $(unstage)
31400 @r=`${PWD_COMMAND}`; export r; \
31401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31402 test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \
31403 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1 ; \
31404 $(HOST_EXPORTS) \
31405 echo Configuring in $(HOST_SUBDIR)/libcc1; \
31406 cd "$(HOST_SUBDIR)/libcc1" || exit 1; \
31407 case $(srcdir) in \
31408 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31409 *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \
31410 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31411 esac; \
31412 module_srcdir=libcc1; \
31413 $(SHELL) \
31414 $$s/$$module_srcdir/configure \
31415 --srcdir=$${topdir}/$$module_srcdir \
31416 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31417 --target=${target_alias} --enable-shared \
31418 || exit 1
31419 @endif libcc1
31425 .PHONY: all-libcc1 maybe-all-libcc1
31426 maybe-all-libcc1:
31427 @if gcc-bootstrap
31428 all-libcc1: stage_current
31429 @endif gcc-bootstrap
31430 @if libcc1
31431 TARGET-libcc1=all
31432 maybe-all-libcc1: all-libcc1
31433 all-libcc1: configure-libcc1
31434 @: $(MAKE); $(unstage)
31435 @r=`${PWD_COMMAND}`; export r; \
31436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31437 $(HOST_EXPORTS) \
31438 (cd $(HOST_SUBDIR)/libcc1 && \
31439 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
31440 $(TARGET-libcc1))
31441 @endif libcc1
31446 .PHONY: check-libcc1 maybe-check-libcc1
31447 maybe-check-libcc1:
31448 @if libcc1
31449 maybe-check-libcc1: check-libcc1
31451 check-libcc1:
31452 @: $(MAKE); $(unstage)
31453 @r=`${PWD_COMMAND}`; export r; \
31454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31455 $(HOST_EXPORTS) \
31456 (cd $(HOST_SUBDIR)/libcc1 && \
31457 $(MAKE) $(FLAGS_TO_PASS) check)
31459 @endif libcc1
31461 .PHONY: install-libcc1 maybe-install-libcc1
31462 maybe-install-libcc1:
31463 @if libcc1
31464 maybe-install-libcc1: install-libcc1
31466 install-libcc1: installdirs
31467 @: $(MAKE); $(unstage)
31468 @r=`${PWD_COMMAND}`; export r; \
31469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31470 $(HOST_EXPORTS) \
31471 (cd $(HOST_SUBDIR)/libcc1 && \
31472 $(MAKE) $(FLAGS_TO_PASS) install)
31474 @endif libcc1
31476 .PHONY: install-strip-libcc1 maybe-install-strip-libcc1
31477 maybe-install-strip-libcc1:
31478 @if libcc1
31479 maybe-install-strip-libcc1: install-strip-libcc1
31481 install-strip-libcc1: installdirs
31482 @: $(MAKE); $(unstage)
31483 @r=`${PWD_COMMAND}`; export r; \
31484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31485 $(HOST_EXPORTS) \
31486 (cd $(HOST_SUBDIR)/libcc1 && \
31487 $(MAKE) $(FLAGS_TO_PASS) install-strip)
31489 @endif libcc1
31491 # Other targets (info, dvi, pdf, etc.)
31493 .PHONY: maybe-info-libcc1 info-libcc1
31494 maybe-info-libcc1:
31495 @if libcc1
31496 maybe-info-libcc1: info-libcc1
31498 info-libcc1: \
31499 configure-libcc1
31500 @: $(MAKE); $(unstage)
31501 @[ -f ./libcc1/Makefile ] || exit 0; \
31502 r=`${PWD_COMMAND}`; export r; \
31503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31504 $(HOST_EXPORTS) \
31505 for flag in $(EXTRA_HOST_FLAGS) ; do \
31506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31507 done; \
31508 echo "Doing info in libcc1" ; \
31509 (cd $(HOST_SUBDIR)/libcc1 && \
31510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31512 "RANLIB=$${RANLIB}" \
31513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31514 info) \
31515 || exit 1
31517 @endif libcc1
31519 .PHONY: maybe-dvi-libcc1 dvi-libcc1
31520 maybe-dvi-libcc1:
31521 @if libcc1
31522 maybe-dvi-libcc1: dvi-libcc1
31524 dvi-libcc1: \
31525 configure-libcc1
31526 @: $(MAKE); $(unstage)
31527 @[ -f ./libcc1/Makefile ] || exit 0; \
31528 r=`${PWD_COMMAND}`; export r; \
31529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31530 $(HOST_EXPORTS) \
31531 for flag in $(EXTRA_HOST_FLAGS) ; do \
31532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31533 done; \
31534 echo "Doing dvi in libcc1" ; \
31535 (cd $(HOST_SUBDIR)/libcc1 && \
31536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31538 "RANLIB=$${RANLIB}" \
31539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31540 dvi) \
31541 || exit 1
31543 @endif libcc1
31545 .PHONY: maybe-pdf-libcc1 pdf-libcc1
31546 maybe-pdf-libcc1:
31547 @if libcc1
31548 maybe-pdf-libcc1: pdf-libcc1
31550 pdf-libcc1: \
31551 configure-libcc1
31552 @: $(MAKE); $(unstage)
31553 @[ -f ./libcc1/Makefile ] || exit 0; \
31554 r=`${PWD_COMMAND}`; export r; \
31555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31556 $(HOST_EXPORTS) \
31557 for flag in $(EXTRA_HOST_FLAGS) ; do \
31558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31559 done; \
31560 echo "Doing pdf in libcc1" ; \
31561 (cd $(HOST_SUBDIR)/libcc1 && \
31562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31564 "RANLIB=$${RANLIB}" \
31565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31566 pdf) \
31567 || exit 1
31569 @endif libcc1
31571 .PHONY: maybe-html-libcc1 html-libcc1
31572 maybe-html-libcc1:
31573 @if libcc1
31574 maybe-html-libcc1: html-libcc1
31576 html-libcc1: \
31577 configure-libcc1
31578 @: $(MAKE); $(unstage)
31579 @[ -f ./libcc1/Makefile ] || exit 0; \
31580 r=`${PWD_COMMAND}`; export r; \
31581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31582 $(HOST_EXPORTS) \
31583 for flag in $(EXTRA_HOST_FLAGS) ; do \
31584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31585 done; \
31586 echo "Doing html in libcc1" ; \
31587 (cd $(HOST_SUBDIR)/libcc1 && \
31588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31590 "RANLIB=$${RANLIB}" \
31591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31592 html) \
31593 || exit 1
31595 @endif libcc1
31597 .PHONY: maybe-TAGS-libcc1 TAGS-libcc1
31598 maybe-TAGS-libcc1:
31599 @if libcc1
31600 maybe-TAGS-libcc1: TAGS-libcc1
31602 TAGS-libcc1: \
31603 configure-libcc1
31604 @: $(MAKE); $(unstage)
31605 @[ -f ./libcc1/Makefile ] || exit 0; \
31606 r=`${PWD_COMMAND}`; export r; \
31607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31608 $(HOST_EXPORTS) \
31609 for flag in $(EXTRA_HOST_FLAGS) ; do \
31610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31611 done; \
31612 echo "Doing TAGS in libcc1" ; \
31613 (cd $(HOST_SUBDIR)/libcc1 && \
31614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31616 "RANLIB=$${RANLIB}" \
31617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31618 TAGS) \
31619 || exit 1
31621 @endif libcc1
31623 .PHONY: maybe-install-info-libcc1 install-info-libcc1
31624 maybe-install-info-libcc1:
31625 @if libcc1
31626 maybe-install-info-libcc1: install-info-libcc1
31628 install-info-libcc1: \
31629 configure-libcc1 \
31630 info-libcc1
31631 @: $(MAKE); $(unstage)
31632 @[ -f ./libcc1/Makefile ] || exit 0; \
31633 r=`${PWD_COMMAND}`; export r; \
31634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31635 $(HOST_EXPORTS) \
31636 for flag in $(EXTRA_HOST_FLAGS) ; do \
31637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31638 done; \
31639 echo "Doing install-info in libcc1" ; \
31640 (cd $(HOST_SUBDIR)/libcc1 && \
31641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31643 "RANLIB=$${RANLIB}" \
31644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31645 install-info) \
31646 || exit 1
31648 @endif libcc1
31650 .PHONY: maybe-install-pdf-libcc1 install-pdf-libcc1
31651 maybe-install-pdf-libcc1:
31652 @if libcc1
31653 maybe-install-pdf-libcc1: install-pdf-libcc1
31655 install-pdf-libcc1: \
31656 configure-libcc1 \
31657 pdf-libcc1
31658 @: $(MAKE); $(unstage)
31659 @[ -f ./libcc1/Makefile ] || exit 0; \
31660 r=`${PWD_COMMAND}`; export r; \
31661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31662 $(HOST_EXPORTS) \
31663 for flag in $(EXTRA_HOST_FLAGS) ; do \
31664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31665 done; \
31666 echo "Doing install-pdf in libcc1" ; \
31667 (cd $(HOST_SUBDIR)/libcc1 && \
31668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31670 "RANLIB=$${RANLIB}" \
31671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31672 install-pdf) \
31673 || exit 1
31675 @endif libcc1
31677 .PHONY: maybe-install-html-libcc1 install-html-libcc1
31678 maybe-install-html-libcc1:
31679 @if libcc1
31680 maybe-install-html-libcc1: install-html-libcc1
31682 install-html-libcc1: \
31683 configure-libcc1 \
31684 html-libcc1
31685 @: $(MAKE); $(unstage)
31686 @[ -f ./libcc1/Makefile ] || exit 0; \
31687 r=`${PWD_COMMAND}`; export r; \
31688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31689 $(HOST_EXPORTS) \
31690 for flag in $(EXTRA_HOST_FLAGS) ; do \
31691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31692 done; \
31693 echo "Doing install-html in libcc1" ; \
31694 (cd $(HOST_SUBDIR)/libcc1 && \
31695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31697 "RANLIB=$${RANLIB}" \
31698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31699 install-html) \
31700 || exit 1
31702 @endif libcc1
31704 .PHONY: maybe-installcheck-libcc1 installcheck-libcc1
31705 maybe-installcheck-libcc1:
31706 @if libcc1
31707 maybe-installcheck-libcc1: installcheck-libcc1
31709 installcheck-libcc1: \
31710 configure-libcc1
31711 @: $(MAKE); $(unstage)
31712 @[ -f ./libcc1/Makefile ] || exit 0; \
31713 r=`${PWD_COMMAND}`; export r; \
31714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31715 $(HOST_EXPORTS) \
31716 for flag in $(EXTRA_HOST_FLAGS) ; do \
31717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31718 done; \
31719 echo "Doing installcheck in libcc1" ; \
31720 (cd $(HOST_SUBDIR)/libcc1 && \
31721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31723 "RANLIB=$${RANLIB}" \
31724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31725 installcheck) \
31726 || exit 1
31728 @endif libcc1
31730 .PHONY: maybe-mostlyclean-libcc1 mostlyclean-libcc1
31731 maybe-mostlyclean-libcc1:
31732 @if libcc1
31733 maybe-mostlyclean-libcc1: mostlyclean-libcc1
31735 mostlyclean-libcc1:
31736 @: $(MAKE); $(unstage)
31737 @[ -f ./libcc1/Makefile ] || exit 0; \
31738 r=`${PWD_COMMAND}`; export r; \
31739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31740 $(HOST_EXPORTS) \
31741 for flag in $(EXTRA_HOST_FLAGS) ; do \
31742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31743 done; \
31744 echo "Doing mostlyclean in libcc1" ; \
31745 (cd $(HOST_SUBDIR)/libcc1 && \
31746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31748 "RANLIB=$${RANLIB}" \
31749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31750 mostlyclean) \
31751 || exit 1
31753 @endif libcc1
31755 .PHONY: maybe-clean-libcc1 clean-libcc1
31756 maybe-clean-libcc1:
31757 @if libcc1
31758 maybe-clean-libcc1: clean-libcc1
31760 clean-libcc1:
31761 @: $(MAKE); $(unstage)
31762 @[ -f ./libcc1/Makefile ] || exit 0; \
31763 r=`${PWD_COMMAND}`; export r; \
31764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31765 $(HOST_EXPORTS) \
31766 for flag in $(EXTRA_HOST_FLAGS) ; do \
31767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31768 done; \
31769 echo "Doing clean in libcc1" ; \
31770 (cd $(HOST_SUBDIR)/libcc1 && \
31771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31773 "RANLIB=$${RANLIB}" \
31774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31775 clean) \
31776 || exit 1
31778 @endif libcc1
31780 .PHONY: maybe-distclean-libcc1 distclean-libcc1
31781 maybe-distclean-libcc1:
31782 @if libcc1
31783 maybe-distclean-libcc1: distclean-libcc1
31785 distclean-libcc1:
31786 @: $(MAKE); $(unstage)
31787 @[ -f ./libcc1/Makefile ] || exit 0; \
31788 r=`${PWD_COMMAND}`; export r; \
31789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31790 $(HOST_EXPORTS) \
31791 for flag in $(EXTRA_HOST_FLAGS) ; do \
31792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31793 done; \
31794 echo "Doing distclean in libcc1" ; \
31795 (cd $(HOST_SUBDIR)/libcc1 && \
31796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31798 "RANLIB=$${RANLIB}" \
31799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31800 distclean) \
31801 || exit 1
31803 @endif libcc1
31805 .PHONY: maybe-maintainer-clean-libcc1 maintainer-clean-libcc1
31806 maybe-maintainer-clean-libcc1:
31807 @if libcc1
31808 maybe-maintainer-clean-libcc1: maintainer-clean-libcc1
31810 maintainer-clean-libcc1:
31811 @: $(MAKE); $(unstage)
31812 @[ -f ./libcc1/Makefile ] || exit 0; \
31813 r=`${PWD_COMMAND}`; export r; \
31814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31815 $(HOST_EXPORTS) \
31816 for flag in $(EXTRA_HOST_FLAGS) ; do \
31817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31818 done; \
31819 echo "Doing maintainer-clean in libcc1" ; \
31820 (cd $(HOST_SUBDIR)/libcc1 && \
31821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31823 "RANLIB=$${RANLIB}" \
31824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31825 maintainer-clean) \
31826 || exit 1
31828 @endif libcc1
31832 # ---------------------------------------
31833 # Modules which run on the target machine
31834 # ---------------------------------------
31839 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
31840 maybe-configure-target-libstdc++-v3:
31841 @if gcc-bootstrap
31842 configure-target-libstdc++-v3: stage_current
31843 @endif gcc-bootstrap
31844 @if target-libstdc++-v3
31845 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
31846 configure-target-libstdc++-v3:
31847 @r=`${PWD_COMMAND}`; export r; \
31848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31849 echo "Checking multilib configuration for libstdc++-v3..."; \
31850 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31851 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31852 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31853 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31854 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31855 else \
31856 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31857 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31858 fi; \
31859 else \
31860 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31861 fi; \
31862 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31863 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31864 $(RAW_CXX_TARGET_EXPORTS) \
31865 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
31866 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
31867 case $(srcdir) in \
31868 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31869 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31870 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31871 esac; \
31872 module_srcdir=libstdc++-v3; \
31873 rm -f no-such-file || : ; \
31874 CONFIG_SITE=no-such-file $(SHELL) \
31875 $$s/$$module_srcdir/configure \
31876 --srcdir=$${topdir}/$$module_srcdir \
31877 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31878 --target=${target_alias} \
31879 || exit 1
31880 @endif target-libstdc++-v3
31884 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
31885 maybe-configure-stage1-target-libstdc++-v3:
31886 @if target-libstdc++-v3-bootstrap
31887 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
31888 configure-stage1-target-libstdc++-v3:
31889 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31890 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
31891 @r=`${PWD_COMMAND}`; export r; \
31892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31893 TFLAGS="$(STAGE1_TFLAGS)"; \
31894 echo "Checking multilib configuration for libstdc++-v3..."; \
31895 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31896 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31897 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31898 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31899 else \
31900 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31901 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31902 fi; \
31903 else \
31904 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31905 fi; \
31906 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31907 $(RAW_CXX_TARGET_EXPORTS) \
31908 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31909 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31910 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31911 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
31912 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31913 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
31914 case $(srcdir) in \
31915 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31916 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31917 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31918 esac; \
31919 module_srcdir=libstdc++-v3; \
31920 $(SHELL) $$s/$$module_srcdir/configure \
31921 --srcdir=$${topdir}/$$module_srcdir \
31922 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31923 --target=${target_alias} \
31925 $(STAGE1_CONFIGURE_FLAGS)
31926 @endif target-libstdc++-v3-bootstrap
31928 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
31929 maybe-configure-stage2-target-libstdc++-v3:
31930 @if target-libstdc++-v3-bootstrap
31931 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
31932 configure-stage2-target-libstdc++-v3:
31933 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31934 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
31935 @r=`${PWD_COMMAND}`; export r; \
31936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31937 TFLAGS="$(STAGE2_TFLAGS)"; \
31938 echo "Checking multilib configuration for libstdc++-v3..."; \
31939 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31940 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31941 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31942 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31943 else \
31944 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31945 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31946 fi; \
31947 else \
31948 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31949 fi; \
31950 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31951 $(RAW_CXX_TARGET_EXPORTS) \
31953 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31954 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31955 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31956 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
31957 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31958 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
31959 case $(srcdir) in \
31960 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31961 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31962 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31963 esac; \
31964 module_srcdir=libstdc++-v3; \
31965 $(SHELL) $$s/$$module_srcdir/configure \
31966 --srcdir=$${topdir}/$$module_srcdir \
31967 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31968 --target=${target_alias} \
31969 --with-build-libsubdir=$(HOST_SUBDIR) \
31970 $(STAGE2_CONFIGURE_FLAGS)
31971 @endif target-libstdc++-v3-bootstrap
31973 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
31974 maybe-configure-stage3-target-libstdc++-v3:
31975 @if target-libstdc++-v3-bootstrap
31976 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
31977 configure-stage3-target-libstdc++-v3:
31978 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31979 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
31980 @r=`${PWD_COMMAND}`; export r; \
31981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31982 TFLAGS="$(STAGE3_TFLAGS)"; \
31983 echo "Checking multilib configuration for libstdc++-v3..."; \
31984 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31985 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31986 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31987 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31988 else \
31989 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31990 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31991 fi; \
31992 else \
31993 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31994 fi; \
31995 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31996 $(RAW_CXX_TARGET_EXPORTS) \
31998 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31999 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32000 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32001 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32002 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32003 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32004 case $(srcdir) in \
32005 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32006 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32007 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32008 esac; \
32009 module_srcdir=libstdc++-v3; \
32010 $(SHELL) $$s/$$module_srcdir/configure \
32011 --srcdir=$${topdir}/$$module_srcdir \
32012 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32013 --target=${target_alias} \
32014 --with-build-libsubdir=$(HOST_SUBDIR) \
32015 $(STAGE3_CONFIGURE_FLAGS)
32016 @endif target-libstdc++-v3-bootstrap
32018 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
32019 maybe-configure-stage4-target-libstdc++-v3:
32020 @if target-libstdc++-v3-bootstrap
32021 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
32022 configure-stage4-target-libstdc++-v3:
32023 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32024 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32025 @r=`${PWD_COMMAND}`; export r; \
32026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32027 TFLAGS="$(STAGE4_TFLAGS)"; \
32028 echo "Checking multilib configuration for libstdc++-v3..."; \
32029 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32030 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32031 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32032 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32033 else \
32034 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32035 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32036 fi; \
32037 else \
32038 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32039 fi; \
32040 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32041 $(RAW_CXX_TARGET_EXPORTS) \
32043 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32044 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32045 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32046 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32047 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32048 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32049 case $(srcdir) in \
32050 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32051 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32052 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32053 esac; \
32054 module_srcdir=libstdc++-v3; \
32055 $(SHELL) $$s/$$module_srcdir/configure \
32056 --srcdir=$${topdir}/$$module_srcdir \
32057 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32058 --target=${target_alias} \
32059 --with-build-libsubdir=$(HOST_SUBDIR) \
32060 $(STAGE4_CONFIGURE_FLAGS)
32061 @endif target-libstdc++-v3-bootstrap
32063 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
32064 maybe-configure-stageprofile-target-libstdc++-v3:
32065 @if target-libstdc++-v3-bootstrap
32066 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
32067 configure-stageprofile-target-libstdc++-v3:
32068 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32069 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32070 @r=`${PWD_COMMAND}`; export r; \
32071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32072 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32073 echo "Checking multilib configuration for libstdc++-v3..."; \
32074 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32075 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32076 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32077 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32078 else \
32079 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32080 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32081 fi; \
32082 else \
32083 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32084 fi; \
32085 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32086 $(RAW_CXX_TARGET_EXPORTS) \
32088 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32089 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32090 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32091 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32092 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32093 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32094 case $(srcdir) in \
32095 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32096 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32097 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32098 esac; \
32099 module_srcdir=libstdc++-v3; \
32100 $(SHELL) $$s/$$module_srcdir/configure \
32101 --srcdir=$${topdir}/$$module_srcdir \
32102 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32103 --target=${target_alias} \
32104 --with-build-libsubdir=$(HOST_SUBDIR) \
32105 $(STAGEprofile_CONFIGURE_FLAGS)
32106 @endif target-libstdc++-v3-bootstrap
32108 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
32109 maybe-configure-stagefeedback-target-libstdc++-v3:
32110 @if target-libstdc++-v3-bootstrap
32111 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
32112 configure-stagefeedback-target-libstdc++-v3:
32113 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32114 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32115 @r=`${PWD_COMMAND}`; export r; \
32116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32117 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32118 echo "Checking multilib configuration for libstdc++-v3..."; \
32119 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32120 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32121 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32122 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32123 else \
32124 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32125 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32126 fi; \
32127 else \
32128 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32129 fi; \
32130 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32131 $(RAW_CXX_TARGET_EXPORTS) \
32133 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32134 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32135 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32136 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32137 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32138 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32139 case $(srcdir) in \
32140 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32141 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32142 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32143 esac; \
32144 module_srcdir=libstdc++-v3; \
32145 $(SHELL) $$s/$$module_srcdir/configure \
32146 --srcdir=$${topdir}/$$module_srcdir \
32147 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32148 --target=${target_alias} \
32149 --with-build-libsubdir=$(HOST_SUBDIR) \
32150 $(STAGEfeedback_CONFIGURE_FLAGS)
32151 @endif target-libstdc++-v3-bootstrap
32157 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
32158 maybe-all-target-libstdc++-v3:
32159 @if gcc-bootstrap
32160 all-target-libstdc++-v3: stage_current
32161 @endif gcc-bootstrap
32162 @if target-libstdc++-v3
32163 TARGET-target-libstdc++-v3=all
32164 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
32165 all-target-libstdc++-v3: configure-target-libstdc++-v3
32166 @r=`${PWD_COMMAND}`; export r; \
32167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32168 $(RAW_CXX_TARGET_EXPORTS) \
32169 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32170 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32171 $(TARGET-target-libstdc++-v3))
32172 @endif target-libstdc++-v3
32176 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
32177 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
32178 maybe-all-stage1-target-libstdc++-v3:
32179 maybe-clean-stage1-target-libstdc++-v3:
32180 @if target-libstdc++-v3-bootstrap
32181 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
32182 all-stage1: all-stage1-target-libstdc++-v3
32183 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32184 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
32185 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32186 @r=`${PWD_COMMAND}`; export r; \
32187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32188 TFLAGS="$(STAGE1_TFLAGS)"; \
32189 $(RAW_CXX_TARGET_EXPORTS) \
32190 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32191 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32192 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32193 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32194 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32195 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32196 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32197 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32198 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32200 TFLAGS="$(STAGE1_TFLAGS)" \
32201 $(TARGET-stage1-target-libstdc++-v3)
32203 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
32204 clean-stage1: clean-stage1-target-libstdc++-v3
32205 clean-stage1-target-libstdc++-v3:
32206 @if [ $(current_stage) = stage1 ]; then \
32207 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32208 else \
32209 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
32210 $(MAKE) stage1-start; \
32211 fi; \
32212 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32213 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32214 clean
32215 @endif target-libstdc++-v3-bootstrap
32218 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
32219 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
32220 maybe-all-stage2-target-libstdc++-v3:
32221 maybe-clean-stage2-target-libstdc++-v3:
32222 @if target-libstdc++-v3-bootstrap
32223 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
32224 all-stage2: all-stage2-target-libstdc++-v3
32225 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32226 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
32227 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32228 @r=`${PWD_COMMAND}`; export r; \
32229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32230 TFLAGS="$(STAGE2_TFLAGS)"; \
32231 $(RAW_CXX_TARGET_EXPORTS) \
32233 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32234 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32235 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32236 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32237 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32238 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32239 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32240 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32241 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32242 TFLAGS="$(STAGE2_TFLAGS)" \
32243 $(TARGET-stage2-target-libstdc++-v3)
32245 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
32246 clean-stage2: clean-stage2-target-libstdc++-v3
32247 clean-stage2-target-libstdc++-v3:
32248 @if [ $(current_stage) = stage2 ]; then \
32249 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32250 else \
32251 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
32252 $(MAKE) stage2-start; \
32253 fi; \
32254 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32255 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32256 @endif target-libstdc++-v3-bootstrap
32259 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
32260 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
32261 maybe-all-stage3-target-libstdc++-v3:
32262 maybe-clean-stage3-target-libstdc++-v3:
32263 @if target-libstdc++-v3-bootstrap
32264 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
32265 all-stage3: all-stage3-target-libstdc++-v3
32266 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32267 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
32268 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32269 @r=`${PWD_COMMAND}`; export r; \
32270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32271 TFLAGS="$(STAGE3_TFLAGS)"; \
32272 $(RAW_CXX_TARGET_EXPORTS) \
32274 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32275 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32276 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32277 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32278 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32279 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32280 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32281 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32282 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32283 TFLAGS="$(STAGE3_TFLAGS)" \
32284 $(TARGET-stage3-target-libstdc++-v3)
32286 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
32287 clean-stage3: clean-stage3-target-libstdc++-v3
32288 clean-stage3-target-libstdc++-v3:
32289 @if [ $(current_stage) = stage3 ]; then \
32290 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32291 else \
32292 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
32293 $(MAKE) stage3-start; \
32294 fi; \
32295 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32296 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32297 @endif target-libstdc++-v3-bootstrap
32300 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
32301 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
32302 maybe-all-stage4-target-libstdc++-v3:
32303 maybe-clean-stage4-target-libstdc++-v3:
32304 @if target-libstdc++-v3-bootstrap
32305 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
32306 all-stage4: all-stage4-target-libstdc++-v3
32307 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32308 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
32309 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32310 @r=`${PWD_COMMAND}`; export r; \
32311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32312 TFLAGS="$(STAGE4_TFLAGS)"; \
32313 $(RAW_CXX_TARGET_EXPORTS) \
32315 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32316 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32317 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32318 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32319 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32320 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32321 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32322 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32323 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32324 TFLAGS="$(STAGE4_TFLAGS)" \
32325 $(TARGET-stage4-target-libstdc++-v3)
32327 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
32328 clean-stage4: clean-stage4-target-libstdc++-v3
32329 clean-stage4-target-libstdc++-v3:
32330 @if [ $(current_stage) = stage4 ]; then \
32331 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32332 else \
32333 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
32334 $(MAKE) stage4-start; \
32335 fi; \
32336 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32337 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32338 @endif target-libstdc++-v3-bootstrap
32341 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
32342 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
32343 maybe-all-stageprofile-target-libstdc++-v3:
32344 maybe-clean-stageprofile-target-libstdc++-v3:
32345 @if target-libstdc++-v3-bootstrap
32346 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
32347 all-stageprofile: all-stageprofile-target-libstdc++-v3
32348 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32349 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
32350 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32351 @r=`${PWD_COMMAND}`; export r; \
32352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32353 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32354 $(RAW_CXX_TARGET_EXPORTS) \
32356 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32357 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32358 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32359 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32360 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32361 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32362 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32363 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32364 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32365 TFLAGS="$(STAGEprofile_TFLAGS)" \
32366 $(TARGET-stageprofile-target-libstdc++-v3)
32368 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
32369 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
32370 clean-stageprofile-target-libstdc++-v3:
32371 @if [ $(current_stage) = stageprofile ]; then \
32372 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32373 else \
32374 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
32375 $(MAKE) stageprofile-start; \
32376 fi; \
32377 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32378 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32379 @endif target-libstdc++-v3-bootstrap
32382 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
32383 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
32384 maybe-all-stagefeedback-target-libstdc++-v3:
32385 maybe-clean-stagefeedback-target-libstdc++-v3:
32386 @if target-libstdc++-v3-bootstrap
32387 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
32388 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
32389 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32390 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
32391 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32392 @r=`${PWD_COMMAND}`; export r; \
32393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32394 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32395 $(RAW_CXX_TARGET_EXPORTS) \
32397 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32398 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32399 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32400 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32401 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32402 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32403 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32404 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32405 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32406 TFLAGS="$(STAGEfeedback_TFLAGS)" \
32407 $(TARGET-stagefeedback-target-libstdc++-v3)
32409 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
32410 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
32411 clean-stagefeedback-target-libstdc++-v3:
32412 @if [ $(current_stage) = stagefeedback ]; then \
32413 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32414 else \
32415 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
32416 $(MAKE) stagefeedback-start; \
32417 fi; \
32418 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32419 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32420 @endif target-libstdc++-v3-bootstrap
32427 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
32428 maybe-check-target-libstdc++-v3:
32429 @if target-libstdc++-v3
32430 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
32432 check-target-libstdc++-v3:
32433 @: $(MAKE); $(unstage)
32434 @r=`${PWD_COMMAND}`; export r; \
32435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32436 $(RAW_CXX_TARGET_EXPORTS) \
32437 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32438 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
32440 @endif target-libstdc++-v3
32442 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
32443 maybe-install-target-libstdc++-v3:
32444 @if target-libstdc++-v3
32445 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
32447 install-target-libstdc++-v3: installdirs
32448 @: $(MAKE); $(unstage)
32449 @r=`${PWD_COMMAND}`; export r; \
32450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32451 $(RAW_CXX_TARGET_EXPORTS) \
32452 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32453 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32455 @endif target-libstdc++-v3
32457 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
32458 maybe-install-strip-target-libstdc++-v3:
32459 @if target-libstdc++-v3
32460 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
32462 install-strip-target-libstdc++-v3: installdirs
32463 @: $(MAKE); $(unstage)
32464 @r=`${PWD_COMMAND}`; export r; \
32465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32466 $(RAW_CXX_TARGET_EXPORTS) \
32467 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32468 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
32470 @endif target-libstdc++-v3
32472 # Other targets (info, dvi, pdf, etc.)
32474 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
32475 maybe-info-target-libstdc++-v3:
32476 @if target-libstdc++-v3
32477 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
32479 info-target-libstdc++-v3: \
32480 configure-target-libstdc++-v3
32481 @: $(MAKE); $(unstage)
32482 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32483 r=`${PWD_COMMAND}`; export r; \
32484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32485 $(RAW_CXX_TARGET_EXPORTS) \
32486 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32487 for flag in $(EXTRA_TARGET_FLAGS); do \
32488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32489 done; \
32490 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32493 "RANLIB=$${RANLIB}" \
32494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32495 info) \
32496 || exit 1
32498 @endif target-libstdc++-v3
32500 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
32501 maybe-dvi-target-libstdc++-v3:
32502 @if target-libstdc++-v3
32503 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
32505 dvi-target-libstdc++-v3: \
32506 configure-target-libstdc++-v3
32507 @: $(MAKE); $(unstage)
32508 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32509 r=`${PWD_COMMAND}`; export r; \
32510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32511 $(RAW_CXX_TARGET_EXPORTS) \
32512 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32513 for flag in $(EXTRA_TARGET_FLAGS); do \
32514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32515 done; \
32516 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32519 "RANLIB=$${RANLIB}" \
32520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32521 dvi) \
32522 || exit 1
32524 @endif target-libstdc++-v3
32526 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
32527 maybe-pdf-target-libstdc++-v3:
32528 @if target-libstdc++-v3
32529 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
32531 pdf-target-libstdc++-v3: \
32532 configure-target-libstdc++-v3
32533 @: $(MAKE); $(unstage)
32534 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32535 r=`${PWD_COMMAND}`; export r; \
32536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32537 $(RAW_CXX_TARGET_EXPORTS) \
32538 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32539 for flag in $(EXTRA_TARGET_FLAGS); do \
32540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32541 done; \
32542 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32545 "RANLIB=$${RANLIB}" \
32546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32547 pdf) \
32548 || exit 1
32550 @endif target-libstdc++-v3
32552 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
32553 maybe-html-target-libstdc++-v3:
32554 @if target-libstdc++-v3
32555 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
32557 html-target-libstdc++-v3: \
32558 configure-target-libstdc++-v3
32559 @: $(MAKE); $(unstage)
32560 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32561 r=`${PWD_COMMAND}`; export r; \
32562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32563 $(RAW_CXX_TARGET_EXPORTS) \
32564 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32565 for flag in $(EXTRA_TARGET_FLAGS); do \
32566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32567 done; \
32568 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32571 "RANLIB=$${RANLIB}" \
32572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32573 html) \
32574 || exit 1
32576 @endif target-libstdc++-v3
32578 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
32579 maybe-TAGS-target-libstdc++-v3:
32580 @if target-libstdc++-v3
32581 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
32583 TAGS-target-libstdc++-v3: \
32584 configure-target-libstdc++-v3
32585 @: $(MAKE); $(unstage)
32586 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32587 r=`${PWD_COMMAND}`; export r; \
32588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32589 $(RAW_CXX_TARGET_EXPORTS) \
32590 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32591 for flag in $(EXTRA_TARGET_FLAGS); do \
32592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32593 done; \
32594 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32597 "RANLIB=$${RANLIB}" \
32598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32599 TAGS) \
32600 || exit 1
32602 @endif target-libstdc++-v3
32604 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
32605 maybe-install-info-target-libstdc++-v3:
32606 @if target-libstdc++-v3
32607 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
32609 install-info-target-libstdc++-v3: \
32610 configure-target-libstdc++-v3 \
32611 info-target-libstdc++-v3
32612 @: $(MAKE); $(unstage)
32613 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32614 r=`${PWD_COMMAND}`; export r; \
32615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32616 $(RAW_CXX_TARGET_EXPORTS) \
32617 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32618 for flag in $(EXTRA_TARGET_FLAGS); do \
32619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32620 done; \
32621 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32624 "RANLIB=$${RANLIB}" \
32625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32626 install-info) \
32627 || exit 1
32629 @endif target-libstdc++-v3
32631 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
32632 maybe-install-pdf-target-libstdc++-v3:
32633 @if target-libstdc++-v3
32634 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
32636 install-pdf-target-libstdc++-v3: \
32637 configure-target-libstdc++-v3 \
32638 pdf-target-libstdc++-v3
32639 @: $(MAKE); $(unstage)
32640 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32641 r=`${PWD_COMMAND}`; export r; \
32642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32643 $(RAW_CXX_TARGET_EXPORTS) \
32644 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32645 for flag in $(EXTRA_TARGET_FLAGS); do \
32646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32647 done; \
32648 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32651 "RANLIB=$${RANLIB}" \
32652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32653 install-pdf) \
32654 || exit 1
32656 @endif target-libstdc++-v3
32658 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
32659 maybe-install-html-target-libstdc++-v3:
32660 @if target-libstdc++-v3
32661 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
32663 install-html-target-libstdc++-v3: \
32664 configure-target-libstdc++-v3 \
32665 html-target-libstdc++-v3
32666 @: $(MAKE); $(unstage)
32667 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32668 r=`${PWD_COMMAND}`; export r; \
32669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32670 $(RAW_CXX_TARGET_EXPORTS) \
32671 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32672 for flag in $(EXTRA_TARGET_FLAGS); do \
32673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32674 done; \
32675 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32678 "RANLIB=$${RANLIB}" \
32679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32680 install-html) \
32681 || exit 1
32683 @endif target-libstdc++-v3
32685 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
32686 maybe-installcheck-target-libstdc++-v3:
32687 @if target-libstdc++-v3
32688 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
32690 installcheck-target-libstdc++-v3: \
32691 configure-target-libstdc++-v3
32692 @: $(MAKE); $(unstage)
32693 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32694 r=`${PWD_COMMAND}`; export r; \
32695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32696 $(RAW_CXX_TARGET_EXPORTS) \
32697 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32698 for flag in $(EXTRA_TARGET_FLAGS); do \
32699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32700 done; \
32701 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32704 "RANLIB=$${RANLIB}" \
32705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32706 installcheck) \
32707 || exit 1
32709 @endif target-libstdc++-v3
32711 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
32712 maybe-mostlyclean-target-libstdc++-v3:
32713 @if target-libstdc++-v3
32714 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
32716 mostlyclean-target-libstdc++-v3:
32717 @: $(MAKE); $(unstage)
32718 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32719 r=`${PWD_COMMAND}`; export r; \
32720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32721 $(RAW_CXX_TARGET_EXPORTS) \
32722 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32723 for flag in $(EXTRA_TARGET_FLAGS); do \
32724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32725 done; \
32726 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32729 "RANLIB=$${RANLIB}" \
32730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32731 mostlyclean) \
32732 || exit 1
32734 @endif target-libstdc++-v3
32736 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
32737 maybe-clean-target-libstdc++-v3:
32738 @if target-libstdc++-v3
32739 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
32741 clean-target-libstdc++-v3:
32742 @: $(MAKE); $(unstage)
32743 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32744 r=`${PWD_COMMAND}`; export r; \
32745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32746 $(RAW_CXX_TARGET_EXPORTS) \
32747 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32748 for flag in $(EXTRA_TARGET_FLAGS); do \
32749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32750 done; \
32751 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32754 "RANLIB=$${RANLIB}" \
32755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32756 clean) \
32757 || exit 1
32759 @endif target-libstdc++-v3
32761 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
32762 maybe-distclean-target-libstdc++-v3:
32763 @if target-libstdc++-v3
32764 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
32766 distclean-target-libstdc++-v3:
32767 @: $(MAKE); $(unstage)
32768 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32769 r=`${PWD_COMMAND}`; export r; \
32770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32771 $(RAW_CXX_TARGET_EXPORTS) \
32772 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32773 for flag in $(EXTRA_TARGET_FLAGS); do \
32774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32775 done; \
32776 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32779 "RANLIB=$${RANLIB}" \
32780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32781 distclean) \
32782 || exit 1
32784 @endif target-libstdc++-v3
32786 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
32787 maybe-maintainer-clean-target-libstdc++-v3:
32788 @if target-libstdc++-v3
32789 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
32791 maintainer-clean-target-libstdc++-v3:
32792 @: $(MAKE); $(unstage)
32793 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32794 r=`${PWD_COMMAND}`; export r; \
32795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32796 $(RAW_CXX_TARGET_EXPORTS) \
32797 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32798 for flag in $(EXTRA_TARGET_FLAGS); do \
32799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32800 done; \
32801 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32804 "RANLIB=$${RANLIB}" \
32805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32806 maintainer-clean) \
32807 || exit 1
32809 @endif target-libstdc++-v3
32815 .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer
32816 maybe-configure-target-libsanitizer:
32817 @if gcc-bootstrap
32818 configure-target-libsanitizer: stage_current
32819 @endif gcc-bootstrap
32820 @if target-libsanitizer
32821 maybe-configure-target-libsanitizer: configure-target-libsanitizer
32822 configure-target-libsanitizer:
32823 @r=`${PWD_COMMAND}`; export r; \
32824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32825 echo "Checking multilib configuration for libsanitizer..."; \
32826 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32827 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32828 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32829 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32830 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32831 else \
32832 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32833 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32834 fi; \
32835 else \
32836 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32837 fi; \
32838 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32839 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32840 $(RAW_CXX_TARGET_EXPORTS) \
32841 echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \
32842 cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \
32843 case $(srcdir) in \
32844 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32845 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32846 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32847 esac; \
32848 module_srcdir=libsanitizer; \
32849 rm -f no-such-file || : ; \
32850 CONFIG_SITE=no-such-file $(SHELL) \
32851 $$s/$$module_srcdir/configure \
32852 --srcdir=$${topdir}/$$module_srcdir \
32853 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32854 --target=${target_alias} \
32855 || exit 1
32856 @endif target-libsanitizer
32860 .PHONY: configure-stage1-target-libsanitizer maybe-configure-stage1-target-libsanitizer
32861 maybe-configure-stage1-target-libsanitizer:
32862 @if target-libsanitizer-bootstrap
32863 maybe-configure-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
32864 configure-stage1-target-libsanitizer:
32865 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32866 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
32867 @r=`${PWD_COMMAND}`; export r; \
32868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32869 TFLAGS="$(STAGE1_TFLAGS)"; \
32870 echo "Checking multilib configuration for libsanitizer..."; \
32871 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32872 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32873 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32874 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32875 else \
32876 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32877 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32878 fi; \
32879 else \
32880 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32881 fi; \
32882 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32883 $(RAW_CXX_TARGET_EXPORTS) \
32884 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32885 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32886 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32887 echo Configuring stage 1 in $(TARGET_SUBDIR)/libsanitizer ; \
32888 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32889 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
32890 case $(srcdir) in \
32891 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32892 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32893 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32894 esac; \
32895 module_srcdir=libsanitizer; \
32896 $(SHELL) $$s/$$module_srcdir/configure \
32897 --srcdir=$${topdir}/$$module_srcdir \
32898 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32899 --target=${target_alias} \
32901 $(STAGE1_CONFIGURE_FLAGS)
32902 @endif target-libsanitizer-bootstrap
32904 .PHONY: configure-stage2-target-libsanitizer maybe-configure-stage2-target-libsanitizer
32905 maybe-configure-stage2-target-libsanitizer:
32906 @if target-libsanitizer-bootstrap
32907 maybe-configure-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
32908 configure-stage2-target-libsanitizer:
32909 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32910 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
32911 @r=`${PWD_COMMAND}`; export r; \
32912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32913 TFLAGS="$(STAGE2_TFLAGS)"; \
32914 echo "Checking multilib configuration for libsanitizer..."; \
32915 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32916 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32917 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32918 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32919 else \
32920 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32921 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32922 fi; \
32923 else \
32924 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32925 fi; \
32926 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32927 $(RAW_CXX_TARGET_EXPORTS) \
32929 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32930 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32931 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32932 echo Configuring stage 2 in $(TARGET_SUBDIR)/libsanitizer ; \
32933 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32934 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
32935 case $(srcdir) in \
32936 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32937 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32938 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32939 esac; \
32940 module_srcdir=libsanitizer; \
32941 $(SHELL) $$s/$$module_srcdir/configure \
32942 --srcdir=$${topdir}/$$module_srcdir \
32943 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32944 --target=${target_alias} \
32945 --with-build-libsubdir=$(HOST_SUBDIR) \
32946 $(STAGE2_CONFIGURE_FLAGS)
32947 @endif target-libsanitizer-bootstrap
32949 .PHONY: configure-stage3-target-libsanitizer maybe-configure-stage3-target-libsanitizer
32950 maybe-configure-stage3-target-libsanitizer:
32951 @if target-libsanitizer-bootstrap
32952 maybe-configure-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
32953 configure-stage3-target-libsanitizer:
32954 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32955 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
32956 @r=`${PWD_COMMAND}`; export r; \
32957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32958 TFLAGS="$(STAGE3_TFLAGS)"; \
32959 echo "Checking multilib configuration for libsanitizer..."; \
32960 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32961 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32962 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32963 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32964 else \
32965 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32966 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32967 fi; \
32968 else \
32969 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32970 fi; \
32971 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32972 $(RAW_CXX_TARGET_EXPORTS) \
32974 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32975 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32976 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32977 echo Configuring stage 3 in $(TARGET_SUBDIR)/libsanitizer ; \
32978 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32979 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
32980 case $(srcdir) in \
32981 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32982 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32983 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32984 esac; \
32985 module_srcdir=libsanitizer; \
32986 $(SHELL) $$s/$$module_srcdir/configure \
32987 --srcdir=$${topdir}/$$module_srcdir \
32988 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32989 --target=${target_alias} \
32990 --with-build-libsubdir=$(HOST_SUBDIR) \
32991 $(STAGE3_CONFIGURE_FLAGS)
32992 @endif target-libsanitizer-bootstrap
32994 .PHONY: configure-stage4-target-libsanitizer maybe-configure-stage4-target-libsanitizer
32995 maybe-configure-stage4-target-libsanitizer:
32996 @if target-libsanitizer-bootstrap
32997 maybe-configure-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
32998 configure-stage4-target-libsanitizer:
32999 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33000 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33001 @r=`${PWD_COMMAND}`; export r; \
33002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33003 TFLAGS="$(STAGE4_TFLAGS)"; \
33004 echo "Checking multilib configuration for libsanitizer..."; \
33005 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33006 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33007 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33008 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33009 else \
33010 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33011 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33012 fi; \
33013 else \
33014 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33015 fi; \
33016 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33017 $(RAW_CXX_TARGET_EXPORTS) \
33019 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33020 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33021 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33022 echo Configuring stage 4 in $(TARGET_SUBDIR)/libsanitizer ; \
33023 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33024 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33025 case $(srcdir) in \
33026 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33027 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33028 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33029 esac; \
33030 module_srcdir=libsanitizer; \
33031 $(SHELL) $$s/$$module_srcdir/configure \
33032 --srcdir=$${topdir}/$$module_srcdir \
33033 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33034 --target=${target_alias} \
33035 --with-build-libsubdir=$(HOST_SUBDIR) \
33036 $(STAGE4_CONFIGURE_FLAGS)
33037 @endif target-libsanitizer-bootstrap
33039 .PHONY: configure-stageprofile-target-libsanitizer maybe-configure-stageprofile-target-libsanitizer
33040 maybe-configure-stageprofile-target-libsanitizer:
33041 @if target-libsanitizer-bootstrap
33042 maybe-configure-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
33043 configure-stageprofile-target-libsanitizer:
33044 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33045 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33046 @r=`${PWD_COMMAND}`; export r; \
33047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33048 TFLAGS="$(STAGEprofile_TFLAGS)"; \
33049 echo "Checking multilib configuration for libsanitizer..."; \
33050 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33051 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33052 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33053 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33054 else \
33055 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33056 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33057 fi; \
33058 else \
33059 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33060 fi; \
33061 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33062 $(RAW_CXX_TARGET_EXPORTS) \
33064 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33065 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33066 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33067 echo Configuring stage profile in $(TARGET_SUBDIR)/libsanitizer ; \
33068 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33069 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33070 case $(srcdir) in \
33071 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33072 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33073 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33074 esac; \
33075 module_srcdir=libsanitizer; \
33076 $(SHELL) $$s/$$module_srcdir/configure \
33077 --srcdir=$${topdir}/$$module_srcdir \
33078 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33079 --target=${target_alias} \
33080 --with-build-libsubdir=$(HOST_SUBDIR) \
33081 $(STAGEprofile_CONFIGURE_FLAGS)
33082 @endif target-libsanitizer-bootstrap
33084 .PHONY: configure-stagefeedback-target-libsanitizer maybe-configure-stagefeedback-target-libsanitizer
33085 maybe-configure-stagefeedback-target-libsanitizer:
33086 @if target-libsanitizer-bootstrap
33087 maybe-configure-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
33088 configure-stagefeedback-target-libsanitizer:
33089 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33090 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33091 @r=`${PWD_COMMAND}`; export r; \
33092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33093 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
33094 echo "Checking multilib configuration for libsanitizer..."; \
33095 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33096 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33097 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33098 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33099 else \
33100 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33101 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33102 fi; \
33103 else \
33104 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33105 fi; \
33106 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33107 $(RAW_CXX_TARGET_EXPORTS) \
33109 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33110 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33111 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33112 echo Configuring stage feedback in $(TARGET_SUBDIR)/libsanitizer ; \
33113 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33114 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33115 case $(srcdir) in \
33116 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33117 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33118 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33119 esac; \
33120 module_srcdir=libsanitizer; \
33121 $(SHELL) $$s/$$module_srcdir/configure \
33122 --srcdir=$${topdir}/$$module_srcdir \
33123 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33124 --target=${target_alias} \
33125 --with-build-libsubdir=$(HOST_SUBDIR) \
33126 $(STAGEfeedback_CONFIGURE_FLAGS)
33127 @endif target-libsanitizer-bootstrap
33133 .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer
33134 maybe-all-target-libsanitizer:
33135 @if gcc-bootstrap
33136 all-target-libsanitizer: stage_current
33137 @endif gcc-bootstrap
33138 @if target-libsanitizer
33139 TARGET-target-libsanitizer=all
33140 maybe-all-target-libsanitizer: all-target-libsanitizer
33141 all-target-libsanitizer: configure-target-libsanitizer
33142 @r=`${PWD_COMMAND}`; export r; \
33143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33144 $(RAW_CXX_TARGET_EXPORTS) \
33145 (cd $(TARGET_SUBDIR)/libsanitizer && \
33146 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33147 $(TARGET-target-libsanitizer))
33148 @endif target-libsanitizer
33152 .PHONY: all-stage1-target-libsanitizer maybe-all-stage1-target-libsanitizer
33153 .PHONY: clean-stage1-target-libsanitizer maybe-clean-stage1-target-libsanitizer
33154 maybe-all-stage1-target-libsanitizer:
33155 maybe-clean-stage1-target-libsanitizer:
33156 @if target-libsanitizer-bootstrap
33157 maybe-all-stage1-target-libsanitizer: all-stage1-target-libsanitizer
33158 all-stage1: all-stage1-target-libsanitizer
33159 TARGET-stage1-target-libsanitizer = $(TARGET-target-libsanitizer)
33160 all-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
33161 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33162 @r=`${PWD_COMMAND}`; export r; \
33163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33164 TFLAGS="$(STAGE1_TFLAGS)"; \
33165 $(RAW_CXX_TARGET_EXPORTS) \
33166 cd $(TARGET_SUBDIR)/libsanitizer && \
33167 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33168 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33169 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33170 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33171 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33172 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33173 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33174 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33176 TFLAGS="$(STAGE1_TFLAGS)" \
33177 $(TARGET-stage1-target-libsanitizer)
33179 maybe-clean-stage1-target-libsanitizer: clean-stage1-target-libsanitizer
33180 clean-stage1: clean-stage1-target-libsanitizer
33181 clean-stage1-target-libsanitizer:
33182 @if [ $(current_stage) = stage1 ]; then \
33183 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33184 else \
33185 [ -f $(TARGET_SUBDIR)/stage1-libsanitizer/Makefile ] || exit 0; \
33186 $(MAKE) stage1-start; \
33187 fi; \
33188 cd $(TARGET_SUBDIR)/libsanitizer && \
33189 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33190 clean
33191 @endif target-libsanitizer-bootstrap
33194 .PHONY: all-stage2-target-libsanitizer maybe-all-stage2-target-libsanitizer
33195 .PHONY: clean-stage2-target-libsanitizer maybe-clean-stage2-target-libsanitizer
33196 maybe-all-stage2-target-libsanitizer:
33197 maybe-clean-stage2-target-libsanitizer:
33198 @if target-libsanitizer-bootstrap
33199 maybe-all-stage2-target-libsanitizer: all-stage2-target-libsanitizer
33200 all-stage2: all-stage2-target-libsanitizer
33201 TARGET-stage2-target-libsanitizer = $(TARGET-target-libsanitizer)
33202 all-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
33203 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33204 @r=`${PWD_COMMAND}`; export r; \
33205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33206 TFLAGS="$(STAGE2_TFLAGS)"; \
33207 $(RAW_CXX_TARGET_EXPORTS) \
33209 cd $(TARGET_SUBDIR)/libsanitizer && \
33210 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33211 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33212 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33213 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33214 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33215 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33216 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33217 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33218 TFLAGS="$(STAGE2_TFLAGS)" \
33219 $(TARGET-stage2-target-libsanitizer)
33221 maybe-clean-stage2-target-libsanitizer: clean-stage2-target-libsanitizer
33222 clean-stage2: clean-stage2-target-libsanitizer
33223 clean-stage2-target-libsanitizer:
33224 @if [ $(current_stage) = stage2 ]; then \
33225 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33226 else \
33227 [ -f $(TARGET_SUBDIR)/stage2-libsanitizer/Makefile ] || exit 0; \
33228 $(MAKE) stage2-start; \
33229 fi; \
33230 cd $(TARGET_SUBDIR)/libsanitizer && \
33231 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33232 @endif target-libsanitizer-bootstrap
33235 .PHONY: all-stage3-target-libsanitizer maybe-all-stage3-target-libsanitizer
33236 .PHONY: clean-stage3-target-libsanitizer maybe-clean-stage3-target-libsanitizer
33237 maybe-all-stage3-target-libsanitizer:
33238 maybe-clean-stage3-target-libsanitizer:
33239 @if target-libsanitizer-bootstrap
33240 maybe-all-stage3-target-libsanitizer: all-stage3-target-libsanitizer
33241 all-stage3: all-stage3-target-libsanitizer
33242 TARGET-stage3-target-libsanitizer = $(TARGET-target-libsanitizer)
33243 all-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
33244 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33245 @r=`${PWD_COMMAND}`; export r; \
33246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33247 TFLAGS="$(STAGE3_TFLAGS)"; \
33248 $(RAW_CXX_TARGET_EXPORTS) \
33250 cd $(TARGET_SUBDIR)/libsanitizer && \
33251 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33252 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33253 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33254 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33255 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33256 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33257 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33258 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33259 TFLAGS="$(STAGE3_TFLAGS)" \
33260 $(TARGET-stage3-target-libsanitizer)
33262 maybe-clean-stage3-target-libsanitizer: clean-stage3-target-libsanitizer
33263 clean-stage3: clean-stage3-target-libsanitizer
33264 clean-stage3-target-libsanitizer:
33265 @if [ $(current_stage) = stage3 ]; then \
33266 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33267 else \
33268 [ -f $(TARGET_SUBDIR)/stage3-libsanitizer/Makefile ] || exit 0; \
33269 $(MAKE) stage3-start; \
33270 fi; \
33271 cd $(TARGET_SUBDIR)/libsanitizer && \
33272 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33273 @endif target-libsanitizer-bootstrap
33276 .PHONY: all-stage4-target-libsanitizer maybe-all-stage4-target-libsanitizer
33277 .PHONY: clean-stage4-target-libsanitizer maybe-clean-stage4-target-libsanitizer
33278 maybe-all-stage4-target-libsanitizer:
33279 maybe-clean-stage4-target-libsanitizer:
33280 @if target-libsanitizer-bootstrap
33281 maybe-all-stage4-target-libsanitizer: all-stage4-target-libsanitizer
33282 all-stage4: all-stage4-target-libsanitizer
33283 TARGET-stage4-target-libsanitizer = $(TARGET-target-libsanitizer)
33284 all-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
33285 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33286 @r=`${PWD_COMMAND}`; export r; \
33287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33288 TFLAGS="$(STAGE4_TFLAGS)"; \
33289 $(RAW_CXX_TARGET_EXPORTS) \
33291 cd $(TARGET_SUBDIR)/libsanitizer && \
33292 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33293 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33294 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33295 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33296 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33297 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33298 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33299 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33300 TFLAGS="$(STAGE4_TFLAGS)" \
33301 $(TARGET-stage4-target-libsanitizer)
33303 maybe-clean-stage4-target-libsanitizer: clean-stage4-target-libsanitizer
33304 clean-stage4: clean-stage4-target-libsanitizer
33305 clean-stage4-target-libsanitizer:
33306 @if [ $(current_stage) = stage4 ]; then \
33307 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33308 else \
33309 [ -f $(TARGET_SUBDIR)/stage4-libsanitizer/Makefile ] || exit 0; \
33310 $(MAKE) stage4-start; \
33311 fi; \
33312 cd $(TARGET_SUBDIR)/libsanitizer && \
33313 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33314 @endif target-libsanitizer-bootstrap
33317 .PHONY: all-stageprofile-target-libsanitizer maybe-all-stageprofile-target-libsanitizer
33318 .PHONY: clean-stageprofile-target-libsanitizer maybe-clean-stageprofile-target-libsanitizer
33319 maybe-all-stageprofile-target-libsanitizer:
33320 maybe-clean-stageprofile-target-libsanitizer:
33321 @if target-libsanitizer-bootstrap
33322 maybe-all-stageprofile-target-libsanitizer: all-stageprofile-target-libsanitizer
33323 all-stageprofile: all-stageprofile-target-libsanitizer
33324 TARGET-stageprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
33325 all-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
33326 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33327 @r=`${PWD_COMMAND}`; export r; \
33328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33329 TFLAGS="$(STAGEprofile_TFLAGS)"; \
33330 $(RAW_CXX_TARGET_EXPORTS) \
33332 cd $(TARGET_SUBDIR)/libsanitizer && \
33333 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33334 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33335 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33336 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33337 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33338 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33339 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33340 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33341 TFLAGS="$(STAGEprofile_TFLAGS)" \
33342 $(TARGET-stageprofile-target-libsanitizer)
33344 maybe-clean-stageprofile-target-libsanitizer: clean-stageprofile-target-libsanitizer
33345 clean-stageprofile: clean-stageprofile-target-libsanitizer
33346 clean-stageprofile-target-libsanitizer:
33347 @if [ $(current_stage) = stageprofile ]; then \
33348 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33349 else \
33350 [ -f $(TARGET_SUBDIR)/stageprofile-libsanitizer/Makefile ] || exit 0; \
33351 $(MAKE) stageprofile-start; \
33352 fi; \
33353 cd $(TARGET_SUBDIR)/libsanitizer && \
33354 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33355 @endif target-libsanitizer-bootstrap
33358 .PHONY: all-stagefeedback-target-libsanitizer maybe-all-stagefeedback-target-libsanitizer
33359 .PHONY: clean-stagefeedback-target-libsanitizer maybe-clean-stagefeedback-target-libsanitizer
33360 maybe-all-stagefeedback-target-libsanitizer:
33361 maybe-clean-stagefeedback-target-libsanitizer:
33362 @if target-libsanitizer-bootstrap
33363 maybe-all-stagefeedback-target-libsanitizer: all-stagefeedback-target-libsanitizer
33364 all-stagefeedback: all-stagefeedback-target-libsanitizer
33365 TARGET-stagefeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
33366 all-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
33367 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33368 @r=`${PWD_COMMAND}`; export r; \
33369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33370 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
33371 $(RAW_CXX_TARGET_EXPORTS) \
33373 cd $(TARGET_SUBDIR)/libsanitizer && \
33374 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33375 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33376 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33377 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33378 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33379 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33380 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33381 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33382 TFLAGS="$(STAGEfeedback_TFLAGS)" \
33383 $(TARGET-stagefeedback-target-libsanitizer)
33385 maybe-clean-stagefeedback-target-libsanitizer: clean-stagefeedback-target-libsanitizer
33386 clean-stagefeedback: clean-stagefeedback-target-libsanitizer
33387 clean-stagefeedback-target-libsanitizer:
33388 @if [ $(current_stage) = stagefeedback ]; then \
33389 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33390 else \
33391 [ -f $(TARGET_SUBDIR)/stagefeedback-libsanitizer/Makefile ] || exit 0; \
33392 $(MAKE) stagefeedback-start; \
33393 fi; \
33394 cd $(TARGET_SUBDIR)/libsanitizer && \
33395 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33396 @endif target-libsanitizer-bootstrap
33403 .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer
33404 maybe-check-target-libsanitizer:
33405 @if target-libsanitizer
33406 maybe-check-target-libsanitizer: check-target-libsanitizer
33408 check-target-libsanitizer:
33409 @: $(MAKE); $(unstage)
33410 @r=`${PWD_COMMAND}`; export r; \
33411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33412 $(RAW_CXX_TARGET_EXPORTS) \
33413 (cd $(TARGET_SUBDIR)/libsanitizer && \
33414 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
33416 @endif target-libsanitizer
33418 .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer
33419 maybe-install-target-libsanitizer:
33420 @if target-libsanitizer
33421 maybe-install-target-libsanitizer: install-target-libsanitizer
33423 install-target-libsanitizer: installdirs
33424 @: $(MAKE); $(unstage)
33425 @r=`${PWD_COMMAND}`; export r; \
33426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33427 $(RAW_CXX_TARGET_EXPORTS) \
33428 (cd $(TARGET_SUBDIR)/libsanitizer && \
33429 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33431 @endif target-libsanitizer
33433 .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer
33434 maybe-install-strip-target-libsanitizer:
33435 @if target-libsanitizer
33436 maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer
33438 install-strip-target-libsanitizer: installdirs
33439 @: $(MAKE); $(unstage)
33440 @r=`${PWD_COMMAND}`; export r; \
33441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33442 $(RAW_CXX_TARGET_EXPORTS) \
33443 (cd $(TARGET_SUBDIR)/libsanitizer && \
33444 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33446 @endif target-libsanitizer
33448 # Other targets (info, dvi, pdf, etc.)
33450 .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer
33451 maybe-info-target-libsanitizer:
33452 @if target-libsanitizer
33453 maybe-info-target-libsanitizer: info-target-libsanitizer
33455 info-target-libsanitizer: \
33456 configure-target-libsanitizer
33457 @: $(MAKE); $(unstage)
33458 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33459 r=`${PWD_COMMAND}`; export r; \
33460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33461 $(RAW_CXX_TARGET_EXPORTS) \
33462 echo "Doing info in $(TARGET_SUBDIR)/libsanitizer" ; \
33463 for flag in $(EXTRA_TARGET_FLAGS); do \
33464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33465 done; \
33466 (cd $(TARGET_SUBDIR)/libsanitizer && \
33467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33469 "RANLIB=$${RANLIB}" \
33470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33471 info) \
33472 || exit 1
33474 @endif target-libsanitizer
33476 .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer
33477 maybe-dvi-target-libsanitizer:
33478 @if target-libsanitizer
33479 maybe-dvi-target-libsanitizer: dvi-target-libsanitizer
33481 dvi-target-libsanitizer: \
33482 configure-target-libsanitizer
33483 @: $(MAKE); $(unstage)
33484 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33485 r=`${PWD_COMMAND}`; export r; \
33486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33487 $(RAW_CXX_TARGET_EXPORTS) \
33488 echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer" ; \
33489 for flag in $(EXTRA_TARGET_FLAGS); do \
33490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33491 done; \
33492 (cd $(TARGET_SUBDIR)/libsanitizer && \
33493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33495 "RANLIB=$${RANLIB}" \
33496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33497 dvi) \
33498 || exit 1
33500 @endif target-libsanitizer
33502 .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer
33503 maybe-pdf-target-libsanitizer:
33504 @if target-libsanitizer
33505 maybe-pdf-target-libsanitizer: pdf-target-libsanitizer
33507 pdf-target-libsanitizer: \
33508 configure-target-libsanitizer
33509 @: $(MAKE); $(unstage)
33510 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33511 r=`${PWD_COMMAND}`; export r; \
33512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33513 $(RAW_CXX_TARGET_EXPORTS) \
33514 echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer" ; \
33515 for flag in $(EXTRA_TARGET_FLAGS); do \
33516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33517 done; \
33518 (cd $(TARGET_SUBDIR)/libsanitizer && \
33519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33521 "RANLIB=$${RANLIB}" \
33522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33523 pdf) \
33524 || exit 1
33526 @endif target-libsanitizer
33528 .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer
33529 maybe-html-target-libsanitizer:
33530 @if target-libsanitizer
33531 maybe-html-target-libsanitizer: html-target-libsanitizer
33533 html-target-libsanitizer: \
33534 configure-target-libsanitizer
33535 @: $(MAKE); $(unstage)
33536 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33537 r=`${PWD_COMMAND}`; export r; \
33538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33539 $(RAW_CXX_TARGET_EXPORTS) \
33540 echo "Doing html in $(TARGET_SUBDIR)/libsanitizer" ; \
33541 for flag in $(EXTRA_TARGET_FLAGS); do \
33542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33543 done; \
33544 (cd $(TARGET_SUBDIR)/libsanitizer && \
33545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33547 "RANLIB=$${RANLIB}" \
33548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33549 html) \
33550 || exit 1
33552 @endif target-libsanitizer
33554 .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer
33555 maybe-TAGS-target-libsanitizer:
33556 @if target-libsanitizer
33557 maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer
33559 TAGS-target-libsanitizer: \
33560 configure-target-libsanitizer
33561 @: $(MAKE); $(unstage)
33562 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33563 r=`${PWD_COMMAND}`; export r; \
33564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33565 $(RAW_CXX_TARGET_EXPORTS) \
33566 echo "Doing TAGS in $(TARGET_SUBDIR)/libsanitizer" ; \
33567 for flag in $(EXTRA_TARGET_FLAGS); do \
33568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33569 done; \
33570 (cd $(TARGET_SUBDIR)/libsanitizer && \
33571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33573 "RANLIB=$${RANLIB}" \
33574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33575 TAGS) \
33576 || exit 1
33578 @endif target-libsanitizer
33580 .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer
33581 maybe-install-info-target-libsanitizer:
33582 @if target-libsanitizer
33583 maybe-install-info-target-libsanitizer: install-info-target-libsanitizer
33585 install-info-target-libsanitizer: \
33586 configure-target-libsanitizer \
33587 info-target-libsanitizer
33588 @: $(MAKE); $(unstage)
33589 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33590 r=`${PWD_COMMAND}`; export r; \
33591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33592 $(RAW_CXX_TARGET_EXPORTS) \
33593 echo "Doing install-info in $(TARGET_SUBDIR)/libsanitizer" ; \
33594 for flag in $(EXTRA_TARGET_FLAGS); do \
33595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33596 done; \
33597 (cd $(TARGET_SUBDIR)/libsanitizer && \
33598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33600 "RANLIB=$${RANLIB}" \
33601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33602 install-info) \
33603 || exit 1
33605 @endif target-libsanitizer
33607 .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer
33608 maybe-install-pdf-target-libsanitizer:
33609 @if target-libsanitizer
33610 maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer
33612 install-pdf-target-libsanitizer: \
33613 configure-target-libsanitizer \
33614 pdf-target-libsanitizer
33615 @: $(MAKE); $(unstage)
33616 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33617 r=`${PWD_COMMAND}`; export r; \
33618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33619 $(RAW_CXX_TARGET_EXPORTS) \
33620 echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer" ; \
33621 for flag in $(EXTRA_TARGET_FLAGS); do \
33622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33623 done; \
33624 (cd $(TARGET_SUBDIR)/libsanitizer && \
33625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33627 "RANLIB=$${RANLIB}" \
33628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33629 install-pdf) \
33630 || exit 1
33632 @endif target-libsanitizer
33634 .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer
33635 maybe-install-html-target-libsanitizer:
33636 @if target-libsanitizer
33637 maybe-install-html-target-libsanitizer: install-html-target-libsanitizer
33639 install-html-target-libsanitizer: \
33640 configure-target-libsanitizer \
33641 html-target-libsanitizer
33642 @: $(MAKE); $(unstage)
33643 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33644 r=`${PWD_COMMAND}`; export r; \
33645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33646 $(RAW_CXX_TARGET_EXPORTS) \
33647 echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer" ; \
33648 for flag in $(EXTRA_TARGET_FLAGS); do \
33649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33650 done; \
33651 (cd $(TARGET_SUBDIR)/libsanitizer && \
33652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33654 "RANLIB=$${RANLIB}" \
33655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33656 install-html) \
33657 || exit 1
33659 @endif target-libsanitizer
33661 .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer
33662 maybe-installcheck-target-libsanitizer:
33663 @if target-libsanitizer
33664 maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer
33666 installcheck-target-libsanitizer: \
33667 configure-target-libsanitizer
33668 @: $(MAKE); $(unstage)
33669 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33670 r=`${PWD_COMMAND}`; export r; \
33671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33672 $(RAW_CXX_TARGET_EXPORTS) \
33673 echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer" ; \
33674 for flag in $(EXTRA_TARGET_FLAGS); do \
33675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33676 done; \
33677 (cd $(TARGET_SUBDIR)/libsanitizer && \
33678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33680 "RANLIB=$${RANLIB}" \
33681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33682 installcheck) \
33683 || exit 1
33685 @endif target-libsanitizer
33687 .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer
33688 maybe-mostlyclean-target-libsanitizer:
33689 @if target-libsanitizer
33690 maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer
33692 mostlyclean-target-libsanitizer:
33693 @: $(MAKE); $(unstage)
33694 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33695 r=`${PWD_COMMAND}`; export r; \
33696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33697 $(RAW_CXX_TARGET_EXPORTS) \
33698 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libsanitizer" ; \
33699 for flag in $(EXTRA_TARGET_FLAGS); do \
33700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33701 done; \
33702 (cd $(TARGET_SUBDIR)/libsanitizer && \
33703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33705 "RANLIB=$${RANLIB}" \
33706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33707 mostlyclean) \
33708 || exit 1
33710 @endif target-libsanitizer
33712 .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer
33713 maybe-clean-target-libsanitizer:
33714 @if target-libsanitizer
33715 maybe-clean-target-libsanitizer: clean-target-libsanitizer
33717 clean-target-libsanitizer:
33718 @: $(MAKE); $(unstage)
33719 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33720 r=`${PWD_COMMAND}`; export r; \
33721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33722 $(RAW_CXX_TARGET_EXPORTS) \
33723 echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer" ; \
33724 for flag in $(EXTRA_TARGET_FLAGS); do \
33725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33726 done; \
33727 (cd $(TARGET_SUBDIR)/libsanitizer && \
33728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33730 "RANLIB=$${RANLIB}" \
33731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33732 clean) \
33733 || exit 1
33735 @endif target-libsanitizer
33737 .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer
33738 maybe-distclean-target-libsanitizer:
33739 @if target-libsanitizer
33740 maybe-distclean-target-libsanitizer: distclean-target-libsanitizer
33742 distclean-target-libsanitizer:
33743 @: $(MAKE); $(unstage)
33744 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33745 r=`${PWD_COMMAND}`; export r; \
33746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33747 $(RAW_CXX_TARGET_EXPORTS) \
33748 echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer" ; \
33749 for flag in $(EXTRA_TARGET_FLAGS); do \
33750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33751 done; \
33752 (cd $(TARGET_SUBDIR)/libsanitizer && \
33753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33755 "RANLIB=$${RANLIB}" \
33756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33757 distclean) \
33758 || exit 1
33760 @endif target-libsanitizer
33762 .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer
33763 maybe-maintainer-clean-target-libsanitizer:
33764 @if target-libsanitizer
33765 maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer
33767 maintainer-clean-target-libsanitizer:
33768 @: $(MAKE); $(unstage)
33769 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33770 r=`${PWD_COMMAND}`; export r; \
33771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33772 $(RAW_CXX_TARGET_EXPORTS) \
33773 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer" ; \
33774 for flag in $(EXTRA_TARGET_FLAGS); do \
33775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33776 done; \
33777 (cd $(TARGET_SUBDIR)/libsanitizer && \
33778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33780 "RANLIB=$${RANLIB}" \
33781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33782 maintainer-clean) \
33783 || exit 1
33785 @endif target-libsanitizer
33791 .PHONY: configure-target-libvtv maybe-configure-target-libvtv
33792 maybe-configure-target-libvtv:
33793 @if gcc-bootstrap
33794 configure-target-libvtv: stage_current
33795 @endif gcc-bootstrap
33796 @if target-libvtv
33797 maybe-configure-target-libvtv: configure-target-libvtv
33798 configure-target-libvtv:
33799 @r=`${PWD_COMMAND}`; export r; \
33800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33801 echo "Checking multilib configuration for libvtv..."; \
33802 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
33803 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
33804 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33805 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33806 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
33807 else \
33808 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
33809 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33810 fi; \
33811 else \
33812 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33813 fi; \
33814 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
33815 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
33816 $(RAW_CXX_TARGET_EXPORTS) \
33817 echo Configuring in $(TARGET_SUBDIR)/libvtv; \
33818 cd "$(TARGET_SUBDIR)/libvtv" || exit 1; \
33819 case $(srcdir) in \
33820 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33821 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
33822 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33823 esac; \
33824 module_srcdir=libvtv; \
33825 rm -f no-such-file || : ; \
33826 CONFIG_SITE=no-such-file $(SHELL) \
33827 $$s/$$module_srcdir/configure \
33828 --srcdir=$${topdir}/$$module_srcdir \
33829 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33830 --target=${target_alias} \
33831 || exit 1
33832 @endif target-libvtv
33836 .PHONY: configure-stage1-target-libvtv maybe-configure-stage1-target-libvtv
33837 maybe-configure-stage1-target-libvtv:
33838 @if target-libvtv-bootstrap
33839 maybe-configure-stage1-target-libvtv: configure-stage1-target-libvtv
33840 configure-stage1-target-libvtv:
33841 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33842 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
33843 @r=`${PWD_COMMAND}`; export r; \
33844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33845 TFLAGS="$(STAGE1_TFLAGS)"; \
33846 echo "Checking multilib configuration for libvtv..."; \
33847 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
33848 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33849 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33850 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
33851 else \
33852 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
33853 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33854 fi; \
33855 else \
33856 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33857 fi; \
33858 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
33859 $(RAW_CXX_TARGET_EXPORTS) \
33860 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33861 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33862 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33863 echo Configuring stage 1 in $(TARGET_SUBDIR)/libvtv ; \
33864 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
33865 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
33866 case $(srcdir) in \
33867 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33868 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
33869 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33870 esac; \
33871 module_srcdir=libvtv; \
33872 $(SHELL) $$s/$$module_srcdir/configure \
33873 --srcdir=$${topdir}/$$module_srcdir \
33874 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33875 --target=${target_alias} \
33877 $(STAGE1_CONFIGURE_FLAGS)
33878 @endif target-libvtv-bootstrap
33880 .PHONY: configure-stage2-target-libvtv maybe-configure-stage2-target-libvtv
33881 maybe-configure-stage2-target-libvtv:
33882 @if target-libvtv-bootstrap
33883 maybe-configure-stage2-target-libvtv: configure-stage2-target-libvtv
33884 configure-stage2-target-libvtv:
33885 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33886 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
33887 @r=`${PWD_COMMAND}`; export r; \
33888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33889 TFLAGS="$(STAGE2_TFLAGS)"; \
33890 echo "Checking multilib configuration for libvtv..."; \
33891 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
33892 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33893 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33894 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
33895 else \
33896 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
33897 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33898 fi; \
33899 else \
33900 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33901 fi; \
33902 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
33903 $(RAW_CXX_TARGET_EXPORTS) \
33905 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33906 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33907 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33908 echo Configuring stage 2 in $(TARGET_SUBDIR)/libvtv ; \
33909 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
33910 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
33911 case $(srcdir) in \
33912 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33913 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
33914 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33915 esac; \
33916 module_srcdir=libvtv; \
33917 $(SHELL) $$s/$$module_srcdir/configure \
33918 --srcdir=$${topdir}/$$module_srcdir \
33919 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33920 --target=${target_alias} \
33921 --with-build-libsubdir=$(HOST_SUBDIR) \
33922 $(STAGE2_CONFIGURE_FLAGS)
33923 @endif target-libvtv-bootstrap
33925 .PHONY: configure-stage3-target-libvtv maybe-configure-stage3-target-libvtv
33926 maybe-configure-stage3-target-libvtv:
33927 @if target-libvtv-bootstrap
33928 maybe-configure-stage3-target-libvtv: configure-stage3-target-libvtv
33929 configure-stage3-target-libvtv:
33930 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33931 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
33932 @r=`${PWD_COMMAND}`; export r; \
33933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33934 TFLAGS="$(STAGE3_TFLAGS)"; \
33935 echo "Checking multilib configuration for libvtv..."; \
33936 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
33937 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33938 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33939 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
33940 else \
33941 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
33942 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33943 fi; \
33944 else \
33945 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33946 fi; \
33947 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
33948 $(RAW_CXX_TARGET_EXPORTS) \
33950 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33951 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33952 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33953 echo Configuring stage 3 in $(TARGET_SUBDIR)/libvtv ; \
33954 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
33955 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
33956 case $(srcdir) in \
33957 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33958 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
33959 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33960 esac; \
33961 module_srcdir=libvtv; \
33962 $(SHELL) $$s/$$module_srcdir/configure \
33963 --srcdir=$${topdir}/$$module_srcdir \
33964 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33965 --target=${target_alias} \
33966 --with-build-libsubdir=$(HOST_SUBDIR) \
33967 $(STAGE3_CONFIGURE_FLAGS)
33968 @endif target-libvtv-bootstrap
33970 .PHONY: configure-stage4-target-libvtv maybe-configure-stage4-target-libvtv
33971 maybe-configure-stage4-target-libvtv:
33972 @if target-libvtv-bootstrap
33973 maybe-configure-stage4-target-libvtv: configure-stage4-target-libvtv
33974 configure-stage4-target-libvtv:
33975 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33976 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
33977 @r=`${PWD_COMMAND}`; export r; \
33978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33979 TFLAGS="$(STAGE4_TFLAGS)"; \
33980 echo "Checking multilib configuration for libvtv..."; \
33981 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
33982 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33983 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33984 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
33985 else \
33986 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
33987 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33988 fi; \
33989 else \
33990 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33991 fi; \
33992 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
33993 $(RAW_CXX_TARGET_EXPORTS) \
33995 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33996 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33997 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33998 echo Configuring stage 4 in $(TARGET_SUBDIR)/libvtv ; \
33999 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34000 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34001 case $(srcdir) in \
34002 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34003 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34004 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34005 esac; \
34006 module_srcdir=libvtv; \
34007 $(SHELL) $$s/$$module_srcdir/configure \
34008 --srcdir=$${topdir}/$$module_srcdir \
34009 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34010 --target=${target_alias} \
34011 --with-build-libsubdir=$(HOST_SUBDIR) \
34012 $(STAGE4_CONFIGURE_FLAGS)
34013 @endif target-libvtv-bootstrap
34015 .PHONY: configure-stageprofile-target-libvtv maybe-configure-stageprofile-target-libvtv
34016 maybe-configure-stageprofile-target-libvtv:
34017 @if target-libvtv-bootstrap
34018 maybe-configure-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
34019 configure-stageprofile-target-libvtv:
34020 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34021 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34022 @r=`${PWD_COMMAND}`; export r; \
34023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34024 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34025 echo "Checking multilib configuration for libvtv..."; \
34026 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34027 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34028 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34029 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34030 else \
34031 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34032 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34033 fi; \
34034 else \
34035 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34036 fi; \
34037 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34038 $(RAW_CXX_TARGET_EXPORTS) \
34040 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34041 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34042 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34043 echo Configuring stage profile in $(TARGET_SUBDIR)/libvtv ; \
34044 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34045 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34046 case $(srcdir) in \
34047 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34048 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34049 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34050 esac; \
34051 module_srcdir=libvtv; \
34052 $(SHELL) $$s/$$module_srcdir/configure \
34053 --srcdir=$${topdir}/$$module_srcdir \
34054 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34055 --target=${target_alias} \
34056 --with-build-libsubdir=$(HOST_SUBDIR) \
34057 $(STAGEprofile_CONFIGURE_FLAGS)
34058 @endif target-libvtv-bootstrap
34060 .PHONY: configure-stagefeedback-target-libvtv maybe-configure-stagefeedback-target-libvtv
34061 maybe-configure-stagefeedback-target-libvtv:
34062 @if target-libvtv-bootstrap
34063 maybe-configure-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
34064 configure-stagefeedback-target-libvtv:
34065 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34066 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34067 @r=`${PWD_COMMAND}`; export r; \
34068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34069 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34070 echo "Checking multilib configuration for libvtv..."; \
34071 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34072 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34073 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34074 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34075 else \
34076 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34077 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34078 fi; \
34079 else \
34080 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34081 fi; \
34082 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34083 $(RAW_CXX_TARGET_EXPORTS) \
34085 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34086 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34087 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34088 echo Configuring stage feedback in $(TARGET_SUBDIR)/libvtv ; \
34089 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34090 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34091 case $(srcdir) in \
34092 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34093 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34094 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34095 esac; \
34096 module_srcdir=libvtv; \
34097 $(SHELL) $$s/$$module_srcdir/configure \
34098 --srcdir=$${topdir}/$$module_srcdir \
34099 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34100 --target=${target_alias} \
34101 --with-build-libsubdir=$(HOST_SUBDIR) \
34102 $(STAGEfeedback_CONFIGURE_FLAGS)
34103 @endif target-libvtv-bootstrap
34109 .PHONY: all-target-libvtv maybe-all-target-libvtv
34110 maybe-all-target-libvtv:
34111 @if gcc-bootstrap
34112 all-target-libvtv: stage_current
34113 @endif gcc-bootstrap
34114 @if target-libvtv
34115 TARGET-target-libvtv=all
34116 maybe-all-target-libvtv: all-target-libvtv
34117 all-target-libvtv: configure-target-libvtv
34118 @r=`${PWD_COMMAND}`; export r; \
34119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34120 $(RAW_CXX_TARGET_EXPORTS) \
34121 (cd $(TARGET_SUBDIR)/libvtv && \
34122 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34123 $(TARGET-target-libvtv))
34124 @endif target-libvtv
34128 .PHONY: all-stage1-target-libvtv maybe-all-stage1-target-libvtv
34129 .PHONY: clean-stage1-target-libvtv maybe-clean-stage1-target-libvtv
34130 maybe-all-stage1-target-libvtv:
34131 maybe-clean-stage1-target-libvtv:
34132 @if target-libvtv-bootstrap
34133 maybe-all-stage1-target-libvtv: all-stage1-target-libvtv
34134 all-stage1: all-stage1-target-libvtv
34135 TARGET-stage1-target-libvtv = $(TARGET-target-libvtv)
34136 all-stage1-target-libvtv: configure-stage1-target-libvtv
34137 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
34138 @r=`${PWD_COMMAND}`; export r; \
34139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34140 TFLAGS="$(STAGE1_TFLAGS)"; \
34141 $(RAW_CXX_TARGET_EXPORTS) \
34142 cd $(TARGET_SUBDIR)/libvtv && \
34143 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34144 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34145 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34146 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34147 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34148 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34149 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34150 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34152 TFLAGS="$(STAGE1_TFLAGS)" \
34153 $(TARGET-stage1-target-libvtv)
34155 maybe-clean-stage1-target-libvtv: clean-stage1-target-libvtv
34156 clean-stage1: clean-stage1-target-libvtv
34157 clean-stage1-target-libvtv:
34158 @if [ $(current_stage) = stage1 ]; then \
34159 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34160 else \
34161 [ -f $(TARGET_SUBDIR)/stage1-libvtv/Makefile ] || exit 0; \
34162 $(MAKE) stage1-start; \
34163 fi; \
34164 cd $(TARGET_SUBDIR)/libvtv && \
34165 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34166 clean
34167 @endif target-libvtv-bootstrap
34170 .PHONY: all-stage2-target-libvtv maybe-all-stage2-target-libvtv
34171 .PHONY: clean-stage2-target-libvtv maybe-clean-stage2-target-libvtv
34172 maybe-all-stage2-target-libvtv:
34173 maybe-clean-stage2-target-libvtv:
34174 @if target-libvtv-bootstrap
34175 maybe-all-stage2-target-libvtv: all-stage2-target-libvtv
34176 all-stage2: all-stage2-target-libvtv
34177 TARGET-stage2-target-libvtv = $(TARGET-target-libvtv)
34178 all-stage2-target-libvtv: configure-stage2-target-libvtv
34179 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
34180 @r=`${PWD_COMMAND}`; export r; \
34181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34182 TFLAGS="$(STAGE2_TFLAGS)"; \
34183 $(RAW_CXX_TARGET_EXPORTS) \
34185 cd $(TARGET_SUBDIR)/libvtv && \
34186 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34187 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34188 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34189 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34190 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34191 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34192 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34193 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34194 TFLAGS="$(STAGE2_TFLAGS)" \
34195 $(TARGET-stage2-target-libvtv)
34197 maybe-clean-stage2-target-libvtv: clean-stage2-target-libvtv
34198 clean-stage2: clean-stage2-target-libvtv
34199 clean-stage2-target-libvtv:
34200 @if [ $(current_stage) = stage2 ]; then \
34201 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34202 else \
34203 [ -f $(TARGET_SUBDIR)/stage2-libvtv/Makefile ] || exit 0; \
34204 $(MAKE) stage2-start; \
34205 fi; \
34206 cd $(TARGET_SUBDIR)/libvtv && \
34207 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34208 @endif target-libvtv-bootstrap
34211 .PHONY: all-stage3-target-libvtv maybe-all-stage3-target-libvtv
34212 .PHONY: clean-stage3-target-libvtv maybe-clean-stage3-target-libvtv
34213 maybe-all-stage3-target-libvtv:
34214 maybe-clean-stage3-target-libvtv:
34215 @if target-libvtv-bootstrap
34216 maybe-all-stage3-target-libvtv: all-stage3-target-libvtv
34217 all-stage3: all-stage3-target-libvtv
34218 TARGET-stage3-target-libvtv = $(TARGET-target-libvtv)
34219 all-stage3-target-libvtv: configure-stage3-target-libvtv
34220 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
34221 @r=`${PWD_COMMAND}`; export r; \
34222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34223 TFLAGS="$(STAGE3_TFLAGS)"; \
34224 $(RAW_CXX_TARGET_EXPORTS) \
34226 cd $(TARGET_SUBDIR)/libvtv && \
34227 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34228 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34229 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34230 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34231 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34232 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34233 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34234 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34235 TFLAGS="$(STAGE3_TFLAGS)" \
34236 $(TARGET-stage3-target-libvtv)
34238 maybe-clean-stage3-target-libvtv: clean-stage3-target-libvtv
34239 clean-stage3: clean-stage3-target-libvtv
34240 clean-stage3-target-libvtv:
34241 @if [ $(current_stage) = stage3 ]; then \
34242 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34243 else \
34244 [ -f $(TARGET_SUBDIR)/stage3-libvtv/Makefile ] || exit 0; \
34245 $(MAKE) stage3-start; \
34246 fi; \
34247 cd $(TARGET_SUBDIR)/libvtv && \
34248 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34249 @endif target-libvtv-bootstrap
34252 .PHONY: all-stage4-target-libvtv maybe-all-stage4-target-libvtv
34253 .PHONY: clean-stage4-target-libvtv maybe-clean-stage4-target-libvtv
34254 maybe-all-stage4-target-libvtv:
34255 maybe-clean-stage4-target-libvtv:
34256 @if target-libvtv-bootstrap
34257 maybe-all-stage4-target-libvtv: all-stage4-target-libvtv
34258 all-stage4: all-stage4-target-libvtv
34259 TARGET-stage4-target-libvtv = $(TARGET-target-libvtv)
34260 all-stage4-target-libvtv: configure-stage4-target-libvtv
34261 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
34262 @r=`${PWD_COMMAND}`; export r; \
34263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34264 TFLAGS="$(STAGE4_TFLAGS)"; \
34265 $(RAW_CXX_TARGET_EXPORTS) \
34267 cd $(TARGET_SUBDIR)/libvtv && \
34268 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34269 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34270 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34271 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34272 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34273 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34274 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34275 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34276 TFLAGS="$(STAGE4_TFLAGS)" \
34277 $(TARGET-stage4-target-libvtv)
34279 maybe-clean-stage4-target-libvtv: clean-stage4-target-libvtv
34280 clean-stage4: clean-stage4-target-libvtv
34281 clean-stage4-target-libvtv:
34282 @if [ $(current_stage) = stage4 ]; then \
34283 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34284 else \
34285 [ -f $(TARGET_SUBDIR)/stage4-libvtv/Makefile ] || exit 0; \
34286 $(MAKE) stage4-start; \
34287 fi; \
34288 cd $(TARGET_SUBDIR)/libvtv && \
34289 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34290 @endif target-libvtv-bootstrap
34293 .PHONY: all-stageprofile-target-libvtv maybe-all-stageprofile-target-libvtv
34294 .PHONY: clean-stageprofile-target-libvtv maybe-clean-stageprofile-target-libvtv
34295 maybe-all-stageprofile-target-libvtv:
34296 maybe-clean-stageprofile-target-libvtv:
34297 @if target-libvtv-bootstrap
34298 maybe-all-stageprofile-target-libvtv: all-stageprofile-target-libvtv
34299 all-stageprofile: all-stageprofile-target-libvtv
34300 TARGET-stageprofile-target-libvtv = $(TARGET-target-libvtv)
34301 all-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
34302 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34303 @r=`${PWD_COMMAND}`; export r; \
34304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34305 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34306 $(RAW_CXX_TARGET_EXPORTS) \
34308 cd $(TARGET_SUBDIR)/libvtv && \
34309 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34310 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34311 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34312 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34313 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34314 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34315 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34316 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34317 TFLAGS="$(STAGEprofile_TFLAGS)" \
34318 $(TARGET-stageprofile-target-libvtv)
34320 maybe-clean-stageprofile-target-libvtv: clean-stageprofile-target-libvtv
34321 clean-stageprofile: clean-stageprofile-target-libvtv
34322 clean-stageprofile-target-libvtv:
34323 @if [ $(current_stage) = stageprofile ]; then \
34324 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34325 else \
34326 [ -f $(TARGET_SUBDIR)/stageprofile-libvtv/Makefile ] || exit 0; \
34327 $(MAKE) stageprofile-start; \
34328 fi; \
34329 cd $(TARGET_SUBDIR)/libvtv && \
34330 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34331 @endif target-libvtv-bootstrap
34334 .PHONY: all-stagefeedback-target-libvtv maybe-all-stagefeedback-target-libvtv
34335 .PHONY: clean-stagefeedback-target-libvtv maybe-clean-stagefeedback-target-libvtv
34336 maybe-all-stagefeedback-target-libvtv:
34337 maybe-clean-stagefeedback-target-libvtv:
34338 @if target-libvtv-bootstrap
34339 maybe-all-stagefeedback-target-libvtv: all-stagefeedback-target-libvtv
34340 all-stagefeedback: all-stagefeedback-target-libvtv
34341 TARGET-stagefeedback-target-libvtv = $(TARGET-target-libvtv)
34342 all-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
34343 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34344 @r=`${PWD_COMMAND}`; export r; \
34345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34346 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34347 $(RAW_CXX_TARGET_EXPORTS) \
34349 cd $(TARGET_SUBDIR)/libvtv && \
34350 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34351 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34352 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34353 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34354 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34355 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34356 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34357 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34358 TFLAGS="$(STAGEfeedback_TFLAGS)" \
34359 $(TARGET-stagefeedback-target-libvtv)
34361 maybe-clean-stagefeedback-target-libvtv: clean-stagefeedback-target-libvtv
34362 clean-stagefeedback: clean-stagefeedback-target-libvtv
34363 clean-stagefeedback-target-libvtv:
34364 @if [ $(current_stage) = stagefeedback ]; then \
34365 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34366 else \
34367 [ -f $(TARGET_SUBDIR)/stagefeedback-libvtv/Makefile ] || exit 0; \
34368 $(MAKE) stagefeedback-start; \
34369 fi; \
34370 cd $(TARGET_SUBDIR)/libvtv && \
34371 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34372 @endif target-libvtv-bootstrap
34379 .PHONY: check-target-libvtv maybe-check-target-libvtv
34380 maybe-check-target-libvtv:
34381 @if target-libvtv
34382 maybe-check-target-libvtv: check-target-libvtv
34384 check-target-libvtv:
34385 @: $(MAKE); $(unstage)
34386 @r=`${PWD_COMMAND}`; export r; \
34387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34388 $(RAW_CXX_TARGET_EXPORTS) \
34389 (cd $(TARGET_SUBDIR)/libvtv && \
34390 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
34392 @endif target-libvtv
34394 .PHONY: install-target-libvtv maybe-install-target-libvtv
34395 maybe-install-target-libvtv:
34396 @if target-libvtv
34397 maybe-install-target-libvtv: install-target-libvtv
34399 install-target-libvtv: installdirs
34400 @: $(MAKE); $(unstage)
34401 @r=`${PWD_COMMAND}`; export r; \
34402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34403 $(RAW_CXX_TARGET_EXPORTS) \
34404 (cd $(TARGET_SUBDIR)/libvtv && \
34405 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34407 @endif target-libvtv
34409 .PHONY: install-strip-target-libvtv maybe-install-strip-target-libvtv
34410 maybe-install-strip-target-libvtv:
34411 @if target-libvtv
34412 maybe-install-strip-target-libvtv: install-strip-target-libvtv
34414 install-strip-target-libvtv: installdirs
34415 @: $(MAKE); $(unstage)
34416 @r=`${PWD_COMMAND}`; export r; \
34417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34418 $(RAW_CXX_TARGET_EXPORTS) \
34419 (cd $(TARGET_SUBDIR)/libvtv && \
34420 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34422 @endif target-libvtv
34424 # Other targets (info, dvi, pdf, etc.)
34426 .PHONY: maybe-info-target-libvtv info-target-libvtv
34427 maybe-info-target-libvtv:
34428 @if target-libvtv
34429 maybe-info-target-libvtv: info-target-libvtv
34431 info-target-libvtv: \
34432 configure-target-libvtv
34433 @: $(MAKE); $(unstage)
34434 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34435 r=`${PWD_COMMAND}`; export r; \
34436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34437 $(RAW_CXX_TARGET_EXPORTS) \
34438 echo "Doing info in $(TARGET_SUBDIR)/libvtv" ; \
34439 for flag in $(EXTRA_TARGET_FLAGS); do \
34440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34441 done; \
34442 (cd $(TARGET_SUBDIR)/libvtv && \
34443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34445 "RANLIB=$${RANLIB}" \
34446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34447 info) \
34448 || exit 1
34450 @endif target-libvtv
34452 .PHONY: maybe-dvi-target-libvtv dvi-target-libvtv
34453 maybe-dvi-target-libvtv:
34454 @if target-libvtv
34455 maybe-dvi-target-libvtv: dvi-target-libvtv
34457 dvi-target-libvtv: \
34458 configure-target-libvtv
34459 @: $(MAKE); $(unstage)
34460 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34461 r=`${PWD_COMMAND}`; export r; \
34462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34463 $(RAW_CXX_TARGET_EXPORTS) \
34464 echo "Doing dvi in $(TARGET_SUBDIR)/libvtv" ; \
34465 for flag in $(EXTRA_TARGET_FLAGS); do \
34466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34467 done; \
34468 (cd $(TARGET_SUBDIR)/libvtv && \
34469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34471 "RANLIB=$${RANLIB}" \
34472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34473 dvi) \
34474 || exit 1
34476 @endif target-libvtv
34478 .PHONY: maybe-pdf-target-libvtv pdf-target-libvtv
34479 maybe-pdf-target-libvtv:
34480 @if target-libvtv
34481 maybe-pdf-target-libvtv: pdf-target-libvtv
34483 pdf-target-libvtv: \
34484 configure-target-libvtv
34485 @: $(MAKE); $(unstage)
34486 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34487 r=`${PWD_COMMAND}`; export r; \
34488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34489 $(RAW_CXX_TARGET_EXPORTS) \
34490 echo "Doing pdf in $(TARGET_SUBDIR)/libvtv" ; \
34491 for flag in $(EXTRA_TARGET_FLAGS); do \
34492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34493 done; \
34494 (cd $(TARGET_SUBDIR)/libvtv && \
34495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34497 "RANLIB=$${RANLIB}" \
34498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34499 pdf) \
34500 || exit 1
34502 @endif target-libvtv
34504 .PHONY: maybe-html-target-libvtv html-target-libvtv
34505 maybe-html-target-libvtv:
34506 @if target-libvtv
34507 maybe-html-target-libvtv: html-target-libvtv
34509 html-target-libvtv: \
34510 configure-target-libvtv
34511 @: $(MAKE); $(unstage)
34512 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34513 r=`${PWD_COMMAND}`; export r; \
34514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34515 $(RAW_CXX_TARGET_EXPORTS) \
34516 echo "Doing html in $(TARGET_SUBDIR)/libvtv" ; \
34517 for flag in $(EXTRA_TARGET_FLAGS); do \
34518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34519 done; \
34520 (cd $(TARGET_SUBDIR)/libvtv && \
34521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34523 "RANLIB=$${RANLIB}" \
34524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34525 html) \
34526 || exit 1
34528 @endif target-libvtv
34530 .PHONY: maybe-TAGS-target-libvtv TAGS-target-libvtv
34531 maybe-TAGS-target-libvtv:
34532 @if target-libvtv
34533 maybe-TAGS-target-libvtv: TAGS-target-libvtv
34535 TAGS-target-libvtv: \
34536 configure-target-libvtv
34537 @: $(MAKE); $(unstage)
34538 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34539 r=`${PWD_COMMAND}`; export r; \
34540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34541 $(RAW_CXX_TARGET_EXPORTS) \
34542 echo "Doing TAGS in $(TARGET_SUBDIR)/libvtv" ; \
34543 for flag in $(EXTRA_TARGET_FLAGS); do \
34544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34545 done; \
34546 (cd $(TARGET_SUBDIR)/libvtv && \
34547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34549 "RANLIB=$${RANLIB}" \
34550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34551 TAGS) \
34552 || exit 1
34554 @endif target-libvtv
34556 .PHONY: maybe-install-info-target-libvtv install-info-target-libvtv
34557 maybe-install-info-target-libvtv:
34558 @if target-libvtv
34559 maybe-install-info-target-libvtv: install-info-target-libvtv
34561 install-info-target-libvtv: \
34562 configure-target-libvtv \
34563 info-target-libvtv
34564 @: $(MAKE); $(unstage)
34565 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34566 r=`${PWD_COMMAND}`; export r; \
34567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34568 $(RAW_CXX_TARGET_EXPORTS) \
34569 echo "Doing install-info in $(TARGET_SUBDIR)/libvtv" ; \
34570 for flag in $(EXTRA_TARGET_FLAGS); do \
34571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34572 done; \
34573 (cd $(TARGET_SUBDIR)/libvtv && \
34574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34576 "RANLIB=$${RANLIB}" \
34577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34578 install-info) \
34579 || exit 1
34581 @endif target-libvtv
34583 .PHONY: maybe-install-pdf-target-libvtv install-pdf-target-libvtv
34584 maybe-install-pdf-target-libvtv:
34585 @if target-libvtv
34586 maybe-install-pdf-target-libvtv: install-pdf-target-libvtv
34588 install-pdf-target-libvtv: \
34589 configure-target-libvtv \
34590 pdf-target-libvtv
34591 @: $(MAKE); $(unstage)
34592 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34593 r=`${PWD_COMMAND}`; export r; \
34594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34595 $(RAW_CXX_TARGET_EXPORTS) \
34596 echo "Doing install-pdf in $(TARGET_SUBDIR)/libvtv" ; \
34597 for flag in $(EXTRA_TARGET_FLAGS); do \
34598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34599 done; \
34600 (cd $(TARGET_SUBDIR)/libvtv && \
34601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34603 "RANLIB=$${RANLIB}" \
34604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34605 install-pdf) \
34606 || exit 1
34608 @endif target-libvtv
34610 .PHONY: maybe-install-html-target-libvtv install-html-target-libvtv
34611 maybe-install-html-target-libvtv:
34612 @if target-libvtv
34613 maybe-install-html-target-libvtv: install-html-target-libvtv
34615 install-html-target-libvtv: \
34616 configure-target-libvtv \
34617 html-target-libvtv
34618 @: $(MAKE); $(unstage)
34619 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34620 r=`${PWD_COMMAND}`; export r; \
34621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34622 $(RAW_CXX_TARGET_EXPORTS) \
34623 echo "Doing install-html in $(TARGET_SUBDIR)/libvtv" ; \
34624 for flag in $(EXTRA_TARGET_FLAGS); do \
34625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34626 done; \
34627 (cd $(TARGET_SUBDIR)/libvtv && \
34628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34630 "RANLIB=$${RANLIB}" \
34631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34632 install-html) \
34633 || exit 1
34635 @endif target-libvtv
34637 .PHONY: maybe-installcheck-target-libvtv installcheck-target-libvtv
34638 maybe-installcheck-target-libvtv:
34639 @if target-libvtv
34640 maybe-installcheck-target-libvtv: installcheck-target-libvtv
34642 installcheck-target-libvtv: \
34643 configure-target-libvtv
34644 @: $(MAKE); $(unstage)
34645 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34646 r=`${PWD_COMMAND}`; export r; \
34647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34648 $(RAW_CXX_TARGET_EXPORTS) \
34649 echo "Doing installcheck in $(TARGET_SUBDIR)/libvtv" ; \
34650 for flag in $(EXTRA_TARGET_FLAGS); do \
34651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34652 done; \
34653 (cd $(TARGET_SUBDIR)/libvtv && \
34654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34656 "RANLIB=$${RANLIB}" \
34657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34658 installcheck) \
34659 || exit 1
34661 @endif target-libvtv
34663 .PHONY: maybe-mostlyclean-target-libvtv mostlyclean-target-libvtv
34664 maybe-mostlyclean-target-libvtv:
34665 @if target-libvtv
34666 maybe-mostlyclean-target-libvtv: mostlyclean-target-libvtv
34668 mostlyclean-target-libvtv:
34669 @: $(MAKE); $(unstage)
34670 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34671 r=`${PWD_COMMAND}`; export r; \
34672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34673 $(RAW_CXX_TARGET_EXPORTS) \
34674 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libvtv" ; \
34675 for flag in $(EXTRA_TARGET_FLAGS); do \
34676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34677 done; \
34678 (cd $(TARGET_SUBDIR)/libvtv && \
34679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34681 "RANLIB=$${RANLIB}" \
34682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34683 mostlyclean) \
34684 || exit 1
34686 @endif target-libvtv
34688 .PHONY: maybe-clean-target-libvtv clean-target-libvtv
34689 maybe-clean-target-libvtv:
34690 @if target-libvtv
34691 maybe-clean-target-libvtv: clean-target-libvtv
34693 clean-target-libvtv:
34694 @: $(MAKE); $(unstage)
34695 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34696 r=`${PWD_COMMAND}`; export r; \
34697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34698 $(RAW_CXX_TARGET_EXPORTS) \
34699 echo "Doing clean in $(TARGET_SUBDIR)/libvtv" ; \
34700 for flag in $(EXTRA_TARGET_FLAGS); do \
34701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34702 done; \
34703 (cd $(TARGET_SUBDIR)/libvtv && \
34704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34706 "RANLIB=$${RANLIB}" \
34707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34708 clean) \
34709 || exit 1
34711 @endif target-libvtv
34713 .PHONY: maybe-distclean-target-libvtv distclean-target-libvtv
34714 maybe-distclean-target-libvtv:
34715 @if target-libvtv
34716 maybe-distclean-target-libvtv: distclean-target-libvtv
34718 distclean-target-libvtv:
34719 @: $(MAKE); $(unstage)
34720 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34721 r=`${PWD_COMMAND}`; export r; \
34722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34723 $(RAW_CXX_TARGET_EXPORTS) \
34724 echo "Doing distclean in $(TARGET_SUBDIR)/libvtv" ; \
34725 for flag in $(EXTRA_TARGET_FLAGS); do \
34726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34727 done; \
34728 (cd $(TARGET_SUBDIR)/libvtv && \
34729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34731 "RANLIB=$${RANLIB}" \
34732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34733 distclean) \
34734 || exit 1
34736 @endif target-libvtv
34738 .PHONY: maybe-maintainer-clean-target-libvtv maintainer-clean-target-libvtv
34739 maybe-maintainer-clean-target-libvtv:
34740 @if target-libvtv
34741 maybe-maintainer-clean-target-libvtv: maintainer-clean-target-libvtv
34743 maintainer-clean-target-libvtv:
34744 @: $(MAKE); $(unstage)
34745 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34746 r=`${PWD_COMMAND}`; export r; \
34747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34748 $(RAW_CXX_TARGET_EXPORTS) \
34749 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libvtv" ; \
34750 for flag in $(EXTRA_TARGET_FLAGS); do \
34751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34752 done; \
34753 (cd $(TARGET_SUBDIR)/libvtv && \
34754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34756 "RANLIB=$${RANLIB}" \
34757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34758 maintainer-clean) \
34759 || exit 1
34761 @endif target-libvtv
34767 .PHONY: configure-target-libcilkrts maybe-configure-target-libcilkrts
34768 maybe-configure-target-libcilkrts:
34769 @if gcc-bootstrap
34770 configure-target-libcilkrts: stage_current
34771 @endif gcc-bootstrap
34772 @if target-libcilkrts
34773 maybe-configure-target-libcilkrts: configure-target-libcilkrts
34774 configure-target-libcilkrts:
34775 @: $(MAKE); $(unstage)
34776 @r=`${PWD_COMMAND}`; export r; \
34777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34778 echo "Checking multilib configuration for libcilkrts..."; \
34779 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
34780 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \
34781 if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
34782 if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
34783 rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
34784 else \
34785 rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
34786 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
34787 fi; \
34788 else \
34789 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
34790 fi; \
34791 test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
34792 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
34793 $(NORMAL_TARGET_EXPORTS) \
34794 echo Configuring in $(TARGET_SUBDIR)/libcilkrts; \
34795 cd "$(TARGET_SUBDIR)/libcilkrts" || exit 1; \
34796 case $(srcdir) in \
34797 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34798 *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
34799 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34800 esac; \
34801 module_srcdir=libcilkrts; \
34802 rm -f no-such-file || : ; \
34803 CONFIG_SITE=no-such-file $(SHELL) \
34804 $$s/$$module_srcdir/configure \
34805 --srcdir=$${topdir}/$$module_srcdir \
34806 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34807 --target=${target_alias} \
34808 || exit 1
34809 @endif target-libcilkrts
34815 .PHONY: all-target-libcilkrts maybe-all-target-libcilkrts
34816 maybe-all-target-libcilkrts:
34817 @if gcc-bootstrap
34818 all-target-libcilkrts: stage_current
34819 @endif gcc-bootstrap
34820 @if target-libcilkrts
34821 TARGET-target-libcilkrts=all
34822 maybe-all-target-libcilkrts: all-target-libcilkrts
34823 all-target-libcilkrts: configure-target-libcilkrts
34824 @: $(MAKE); $(unstage)
34825 @r=`${PWD_COMMAND}`; export r; \
34826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34827 $(NORMAL_TARGET_EXPORTS) \
34828 (cd $(TARGET_SUBDIR)/libcilkrts && \
34829 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34830 $(TARGET-target-libcilkrts))
34831 @endif target-libcilkrts
34837 .PHONY: check-target-libcilkrts maybe-check-target-libcilkrts
34838 maybe-check-target-libcilkrts:
34839 @if target-libcilkrts
34840 maybe-check-target-libcilkrts: check-target-libcilkrts
34842 check-target-libcilkrts:
34843 @: $(MAKE); $(unstage)
34844 @r=`${PWD_COMMAND}`; export r; \
34845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34846 $(NORMAL_TARGET_EXPORTS) \
34847 (cd $(TARGET_SUBDIR)/libcilkrts && \
34848 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34850 @endif target-libcilkrts
34852 .PHONY: install-target-libcilkrts maybe-install-target-libcilkrts
34853 maybe-install-target-libcilkrts:
34854 @if target-libcilkrts
34855 maybe-install-target-libcilkrts: install-target-libcilkrts
34857 install-target-libcilkrts: installdirs
34858 @: $(MAKE); $(unstage)
34859 @r=`${PWD_COMMAND}`; export r; \
34860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34861 $(NORMAL_TARGET_EXPORTS) \
34862 (cd $(TARGET_SUBDIR)/libcilkrts && \
34863 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34865 @endif target-libcilkrts
34867 .PHONY: install-strip-target-libcilkrts maybe-install-strip-target-libcilkrts
34868 maybe-install-strip-target-libcilkrts:
34869 @if target-libcilkrts
34870 maybe-install-strip-target-libcilkrts: install-strip-target-libcilkrts
34872 install-strip-target-libcilkrts: installdirs
34873 @: $(MAKE); $(unstage)
34874 @r=`${PWD_COMMAND}`; export r; \
34875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34876 $(NORMAL_TARGET_EXPORTS) \
34877 (cd $(TARGET_SUBDIR)/libcilkrts && \
34878 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34880 @endif target-libcilkrts
34882 # Other targets (info, dvi, pdf, etc.)
34884 .PHONY: maybe-info-target-libcilkrts info-target-libcilkrts
34885 maybe-info-target-libcilkrts:
34886 @if target-libcilkrts
34887 maybe-info-target-libcilkrts: info-target-libcilkrts
34889 info-target-libcilkrts: \
34890 configure-target-libcilkrts
34891 @: $(MAKE); $(unstage)
34892 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
34893 r=`${PWD_COMMAND}`; export r; \
34894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34895 $(NORMAL_TARGET_EXPORTS) \
34896 echo "Doing info in $(TARGET_SUBDIR)/libcilkrts" ; \
34897 for flag in $(EXTRA_TARGET_FLAGS); do \
34898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34899 done; \
34900 (cd $(TARGET_SUBDIR)/libcilkrts && \
34901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34903 "RANLIB=$${RANLIB}" \
34904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34905 info) \
34906 || exit 1
34908 @endif target-libcilkrts
34910 .PHONY: maybe-dvi-target-libcilkrts dvi-target-libcilkrts
34911 maybe-dvi-target-libcilkrts:
34912 @if target-libcilkrts
34913 maybe-dvi-target-libcilkrts: dvi-target-libcilkrts
34915 dvi-target-libcilkrts: \
34916 configure-target-libcilkrts
34917 @: $(MAKE); $(unstage)
34918 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
34919 r=`${PWD_COMMAND}`; export r; \
34920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34921 $(NORMAL_TARGET_EXPORTS) \
34922 echo "Doing dvi in $(TARGET_SUBDIR)/libcilkrts" ; \
34923 for flag in $(EXTRA_TARGET_FLAGS); do \
34924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34925 done; \
34926 (cd $(TARGET_SUBDIR)/libcilkrts && \
34927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34929 "RANLIB=$${RANLIB}" \
34930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34931 dvi) \
34932 || exit 1
34934 @endif target-libcilkrts
34936 .PHONY: maybe-pdf-target-libcilkrts pdf-target-libcilkrts
34937 maybe-pdf-target-libcilkrts:
34938 @if target-libcilkrts
34939 maybe-pdf-target-libcilkrts: pdf-target-libcilkrts
34941 pdf-target-libcilkrts: \
34942 configure-target-libcilkrts
34943 @: $(MAKE); $(unstage)
34944 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
34945 r=`${PWD_COMMAND}`; export r; \
34946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34947 $(NORMAL_TARGET_EXPORTS) \
34948 echo "Doing pdf in $(TARGET_SUBDIR)/libcilkrts" ; \
34949 for flag in $(EXTRA_TARGET_FLAGS); do \
34950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34951 done; \
34952 (cd $(TARGET_SUBDIR)/libcilkrts && \
34953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34955 "RANLIB=$${RANLIB}" \
34956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34957 pdf) \
34958 || exit 1
34960 @endif target-libcilkrts
34962 .PHONY: maybe-html-target-libcilkrts html-target-libcilkrts
34963 maybe-html-target-libcilkrts:
34964 @if target-libcilkrts
34965 maybe-html-target-libcilkrts: html-target-libcilkrts
34967 html-target-libcilkrts: \
34968 configure-target-libcilkrts
34969 @: $(MAKE); $(unstage)
34970 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
34971 r=`${PWD_COMMAND}`; export r; \
34972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34973 $(NORMAL_TARGET_EXPORTS) \
34974 echo "Doing html in $(TARGET_SUBDIR)/libcilkrts" ; \
34975 for flag in $(EXTRA_TARGET_FLAGS); do \
34976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34977 done; \
34978 (cd $(TARGET_SUBDIR)/libcilkrts && \
34979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34981 "RANLIB=$${RANLIB}" \
34982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34983 html) \
34984 || exit 1
34986 @endif target-libcilkrts
34988 .PHONY: maybe-TAGS-target-libcilkrts TAGS-target-libcilkrts
34989 maybe-TAGS-target-libcilkrts:
34990 @if target-libcilkrts
34991 maybe-TAGS-target-libcilkrts: TAGS-target-libcilkrts
34993 TAGS-target-libcilkrts: \
34994 configure-target-libcilkrts
34995 @: $(MAKE); $(unstage)
34996 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
34997 r=`${PWD_COMMAND}`; export r; \
34998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34999 $(NORMAL_TARGET_EXPORTS) \
35000 echo "Doing TAGS in $(TARGET_SUBDIR)/libcilkrts" ; \
35001 for flag in $(EXTRA_TARGET_FLAGS); do \
35002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35003 done; \
35004 (cd $(TARGET_SUBDIR)/libcilkrts && \
35005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35007 "RANLIB=$${RANLIB}" \
35008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35009 TAGS) \
35010 || exit 1
35012 @endif target-libcilkrts
35014 .PHONY: maybe-install-info-target-libcilkrts install-info-target-libcilkrts
35015 maybe-install-info-target-libcilkrts:
35016 @if target-libcilkrts
35017 maybe-install-info-target-libcilkrts: install-info-target-libcilkrts
35019 install-info-target-libcilkrts: \
35020 configure-target-libcilkrts \
35021 info-target-libcilkrts
35022 @: $(MAKE); $(unstage)
35023 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35024 r=`${PWD_COMMAND}`; export r; \
35025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35026 $(NORMAL_TARGET_EXPORTS) \
35027 echo "Doing install-info in $(TARGET_SUBDIR)/libcilkrts" ; \
35028 for flag in $(EXTRA_TARGET_FLAGS); do \
35029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35030 done; \
35031 (cd $(TARGET_SUBDIR)/libcilkrts && \
35032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35034 "RANLIB=$${RANLIB}" \
35035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35036 install-info) \
35037 || exit 1
35039 @endif target-libcilkrts
35041 .PHONY: maybe-install-pdf-target-libcilkrts install-pdf-target-libcilkrts
35042 maybe-install-pdf-target-libcilkrts:
35043 @if target-libcilkrts
35044 maybe-install-pdf-target-libcilkrts: install-pdf-target-libcilkrts
35046 install-pdf-target-libcilkrts: \
35047 configure-target-libcilkrts \
35048 pdf-target-libcilkrts
35049 @: $(MAKE); $(unstage)
35050 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35051 r=`${PWD_COMMAND}`; export r; \
35052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35053 $(NORMAL_TARGET_EXPORTS) \
35054 echo "Doing install-pdf in $(TARGET_SUBDIR)/libcilkrts" ; \
35055 for flag in $(EXTRA_TARGET_FLAGS); do \
35056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35057 done; \
35058 (cd $(TARGET_SUBDIR)/libcilkrts && \
35059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35061 "RANLIB=$${RANLIB}" \
35062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35063 install-pdf) \
35064 || exit 1
35066 @endif target-libcilkrts
35068 .PHONY: maybe-install-html-target-libcilkrts install-html-target-libcilkrts
35069 maybe-install-html-target-libcilkrts:
35070 @if target-libcilkrts
35071 maybe-install-html-target-libcilkrts: install-html-target-libcilkrts
35073 install-html-target-libcilkrts: \
35074 configure-target-libcilkrts \
35075 html-target-libcilkrts
35076 @: $(MAKE); $(unstage)
35077 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35078 r=`${PWD_COMMAND}`; export r; \
35079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35080 $(NORMAL_TARGET_EXPORTS) \
35081 echo "Doing install-html in $(TARGET_SUBDIR)/libcilkrts" ; \
35082 for flag in $(EXTRA_TARGET_FLAGS); do \
35083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35084 done; \
35085 (cd $(TARGET_SUBDIR)/libcilkrts && \
35086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35088 "RANLIB=$${RANLIB}" \
35089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35090 install-html) \
35091 || exit 1
35093 @endif target-libcilkrts
35095 .PHONY: maybe-installcheck-target-libcilkrts installcheck-target-libcilkrts
35096 maybe-installcheck-target-libcilkrts:
35097 @if target-libcilkrts
35098 maybe-installcheck-target-libcilkrts: installcheck-target-libcilkrts
35100 installcheck-target-libcilkrts: \
35101 configure-target-libcilkrts
35102 @: $(MAKE); $(unstage)
35103 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35104 r=`${PWD_COMMAND}`; export r; \
35105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35106 $(NORMAL_TARGET_EXPORTS) \
35107 echo "Doing installcheck in $(TARGET_SUBDIR)/libcilkrts" ; \
35108 for flag in $(EXTRA_TARGET_FLAGS); do \
35109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35110 done; \
35111 (cd $(TARGET_SUBDIR)/libcilkrts && \
35112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35114 "RANLIB=$${RANLIB}" \
35115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35116 installcheck) \
35117 || exit 1
35119 @endif target-libcilkrts
35121 .PHONY: maybe-mostlyclean-target-libcilkrts mostlyclean-target-libcilkrts
35122 maybe-mostlyclean-target-libcilkrts:
35123 @if target-libcilkrts
35124 maybe-mostlyclean-target-libcilkrts: mostlyclean-target-libcilkrts
35126 mostlyclean-target-libcilkrts:
35127 @: $(MAKE); $(unstage)
35128 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35129 r=`${PWD_COMMAND}`; export r; \
35130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35131 $(NORMAL_TARGET_EXPORTS) \
35132 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libcilkrts" ; \
35133 for flag in $(EXTRA_TARGET_FLAGS); do \
35134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35135 done; \
35136 (cd $(TARGET_SUBDIR)/libcilkrts && \
35137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35139 "RANLIB=$${RANLIB}" \
35140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35141 mostlyclean) \
35142 || exit 1
35144 @endif target-libcilkrts
35146 .PHONY: maybe-clean-target-libcilkrts clean-target-libcilkrts
35147 maybe-clean-target-libcilkrts:
35148 @if target-libcilkrts
35149 maybe-clean-target-libcilkrts: clean-target-libcilkrts
35151 clean-target-libcilkrts:
35152 @: $(MAKE); $(unstage)
35153 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35154 r=`${PWD_COMMAND}`; export r; \
35155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35156 $(NORMAL_TARGET_EXPORTS) \
35157 echo "Doing clean in $(TARGET_SUBDIR)/libcilkrts" ; \
35158 for flag in $(EXTRA_TARGET_FLAGS); do \
35159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35160 done; \
35161 (cd $(TARGET_SUBDIR)/libcilkrts && \
35162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35164 "RANLIB=$${RANLIB}" \
35165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35166 clean) \
35167 || exit 1
35169 @endif target-libcilkrts
35171 .PHONY: maybe-distclean-target-libcilkrts distclean-target-libcilkrts
35172 maybe-distclean-target-libcilkrts:
35173 @if target-libcilkrts
35174 maybe-distclean-target-libcilkrts: distclean-target-libcilkrts
35176 distclean-target-libcilkrts:
35177 @: $(MAKE); $(unstage)
35178 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35179 r=`${PWD_COMMAND}`; export r; \
35180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35181 $(NORMAL_TARGET_EXPORTS) \
35182 echo "Doing distclean in $(TARGET_SUBDIR)/libcilkrts" ; \
35183 for flag in $(EXTRA_TARGET_FLAGS); do \
35184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35185 done; \
35186 (cd $(TARGET_SUBDIR)/libcilkrts && \
35187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35189 "RANLIB=$${RANLIB}" \
35190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35191 distclean) \
35192 || exit 1
35194 @endif target-libcilkrts
35196 .PHONY: maybe-maintainer-clean-target-libcilkrts maintainer-clean-target-libcilkrts
35197 maybe-maintainer-clean-target-libcilkrts:
35198 @if target-libcilkrts
35199 maybe-maintainer-clean-target-libcilkrts: maintainer-clean-target-libcilkrts
35201 maintainer-clean-target-libcilkrts:
35202 @: $(MAKE); $(unstage)
35203 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35204 r=`${PWD_COMMAND}`; export r; \
35205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35206 $(NORMAL_TARGET_EXPORTS) \
35207 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libcilkrts" ; \
35208 for flag in $(EXTRA_TARGET_FLAGS); do \
35209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35210 done; \
35211 (cd $(TARGET_SUBDIR)/libcilkrts && \
35212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35214 "RANLIB=$${RANLIB}" \
35215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35216 maintainer-clean) \
35217 || exit 1
35219 @endif target-libcilkrts
35225 .PHONY: configure-target-liboffloadmic maybe-configure-target-liboffloadmic
35226 maybe-configure-target-liboffloadmic:
35227 @if gcc-bootstrap
35228 configure-target-liboffloadmic: stage_current
35229 @endif gcc-bootstrap
35230 @if target-liboffloadmic
35231 maybe-configure-target-liboffloadmic: configure-target-liboffloadmic
35232 configure-target-liboffloadmic:
35233 @: $(MAKE); $(unstage)
35234 @r=`${PWD_COMMAND}`; export r; \
35235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35236 echo "Checking multilib configuration for liboffloadmic..."; \
35237 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic ; \
35238 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp 2> /dev/null ; \
35239 if test -r $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
35240 if cmp -s $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
35241 rm -f $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp; \
35242 else \
35243 rm -f $(TARGET_SUBDIR)/liboffloadmic/Makefile; \
35244 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
35245 fi; \
35246 else \
35247 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
35248 fi; \
35249 test ! -f $(TARGET_SUBDIR)/liboffloadmic/Makefile || exit 0; \
35250 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic ; \
35251 $(NORMAL_TARGET_EXPORTS) \
35252 echo Configuring in $(TARGET_SUBDIR)/liboffloadmic; \
35253 cd "$(TARGET_SUBDIR)/liboffloadmic" || exit 1; \
35254 case $(srcdir) in \
35255 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35256 *) topdir=`echo $(TARGET_SUBDIR)/liboffloadmic/ | \
35257 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35258 esac; \
35259 module_srcdir=liboffloadmic; \
35260 rm -f no-such-file || : ; \
35261 CONFIG_SITE=no-such-file $(SHELL) \
35262 $$s/$$module_srcdir/configure \
35263 --srcdir=$${topdir}/$$module_srcdir \
35264 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35265 --target=${target_alias} @extra_liboffloadmic_configure_flags@ \
35266 || exit 1
35267 @endif target-liboffloadmic
35273 .PHONY: all-target-liboffloadmic maybe-all-target-liboffloadmic
35274 maybe-all-target-liboffloadmic:
35275 @if gcc-bootstrap
35276 all-target-liboffloadmic: stage_current
35277 @endif gcc-bootstrap
35278 @if target-liboffloadmic
35279 TARGET-target-liboffloadmic=all
35280 maybe-all-target-liboffloadmic: all-target-liboffloadmic
35281 all-target-liboffloadmic: configure-target-liboffloadmic
35282 @: $(MAKE); $(unstage)
35283 @r=`${PWD_COMMAND}`; export r; \
35284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35285 $(NORMAL_TARGET_EXPORTS) \
35286 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35287 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35288 $(TARGET-target-liboffloadmic))
35289 @endif target-liboffloadmic
35295 .PHONY: check-target-liboffloadmic maybe-check-target-liboffloadmic
35296 maybe-check-target-liboffloadmic:
35297 @if target-liboffloadmic
35298 maybe-check-target-liboffloadmic: check-target-liboffloadmic
35300 check-target-liboffloadmic:
35301 @: $(MAKE); $(unstage)
35302 @r=`${PWD_COMMAND}`; export r; \
35303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35304 $(NORMAL_TARGET_EXPORTS) \
35305 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35306 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35308 @endif target-liboffloadmic
35310 .PHONY: install-target-liboffloadmic maybe-install-target-liboffloadmic
35311 maybe-install-target-liboffloadmic:
35312 @if target-liboffloadmic
35313 maybe-install-target-liboffloadmic: install-target-liboffloadmic
35315 install-target-liboffloadmic: installdirs
35316 @: $(MAKE); $(unstage)
35317 @r=`${PWD_COMMAND}`; export r; \
35318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35319 $(NORMAL_TARGET_EXPORTS) \
35320 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35321 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35323 @endif target-liboffloadmic
35325 .PHONY: install-strip-target-liboffloadmic maybe-install-strip-target-liboffloadmic
35326 maybe-install-strip-target-liboffloadmic:
35327 @if target-liboffloadmic
35328 maybe-install-strip-target-liboffloadmic: install-strip-target-liboffloadmic
35330 install-strip-target-liboffloadmic: installdirs
35331 @: $(MAKE); $(unstage)
35332 @r=`${PWD_COMMAND}`; export r; \
35333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35334 $(NORMAL_TARGET_EXPORTS) \
35335 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35336 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35338 @endif target-liboffloadmic
35340 # Other targets (info, dvi, pdf, etc.)
35342 .PHONY: maybe-info-target-liboffloadmic info-target-liboffloadmic
35343 maybe-info-target-liboffloadmic:
35344 @if target-liboffloadmic
35345 maybe-info-target-liboffloadmic: info-target-liboffloadmic
35347 info-target-liboffloadmic: \
35348 configure-target-liboffloadmic
35349 @: $(MAKE); $(unstage)
35350 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35351 r=`${PWD_COMMAND}`; export r; \
35352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35353 $(NORMAL_TARGET_EXPORTS) \
35354 echo "Doing info in $(TARGET_SUBDIR)/liboffloadmic" ; \
35355 for flag in $(EXTRA_TARGET_FLAGS); do \
35356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35357 done; \
35358 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35361 "RANLIB=$${RANLIB}" \
35362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35363 info) \
35364 || exit 1
35366 @endif target-liboffloadmic
35368 .PHONY: maybe-dvi-target-liboffloadmic dvi-target-liboffloadmic
35369 maybe-dvi-target-liboffloadmic:
35370 @if target-liboffloadmic
35371 maybe-dvi-target-liboffloadmic: dvi-target-liboffloadmic
35373 dvi-target-liboffloadmic: \
35374 configure-target-liboffloadmic
35375 @: $(MAKE); $(unstage)
35376 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35377 r=`${PWD_COMMAND}`; export r; \
35378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35379 $(NORMAL_TARGET_EXPORTS) \
35380 echo "Doing dvi in $(TARGET_SUBDIR)/liboffloadmic" ; \
35381 for flag in $(EXTRA_TARGET_FLAGS); do \
35382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35383 done; \
35384 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35387 "RANLIB=$${RANLIB}" \
35388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35389 dvi) \
35390 || exit 1
35392 @endif target-liboffloadmic
35394 .PHONY: maybe-pdf-target-liboffloadmic pdf-target-liboffloadmic
35395 maybe-pdf-target-liboffloadmic:
35396 @if target-liboffloadmic
35397 maybe-pdf-target-liboffloadmic: pdf-target-liboffloadmic
35399 pdf-target-liboffloadmic: \
35400 configure-target-liboffloadmic
35401 @: $(MAKE); $(unstage)
35402 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35403 r=`${PWD_COMMAND}`; export r; \
35404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35405 $(NORMAL_TARGET_EXPORTS) \
35406 echo "Doing pdf in $(TARGET_SUBDIR)/liboffloadmic" ; \
35407 for flag in $(EXTRA_TARGET_FLAGS); do \
35408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35409 done; \
35410 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35413 "RANLIB=$${RANLIB}" \
35414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35415 pdf) \
35416 || exit 1
35418 @endif target-liboffloadmic
35420 .PHONY: maybe-html-target-liboffloadmic html-target-liboffloadmic
35421 maybe-html-target-liboffloadmic:
35422 @if target-liboffloadmic
35423 maybe-html-target-liboffloadmic: html-target-liboffloadmic
35425 html-target-liboffloadmic: \
35426 configure-target-liboffloadmic
35427 @: $(MAKE); $(unstage)
35428 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35429 r=`${PWD_COMMAND}`; export r; \
35430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35431 $(NORMAL_TARGET_EXPORTS) \
35432 echo "Doing html in $(TARGET_SUBDIR)/liboffloadmic" ; \
35433 for flag in $(EXTRA_TARGET_FLAGS); do \
35434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35435 done; \
35436 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35439 "RANLIB=$${RANLIB}" \
35440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35441 html) \
35442 || exit 1
35444 @endif target-liboffloadmic
35446 .PHONY: maybe-TAGS-target-liboffloadmic TAGS-target-liboffloadmic
35447 maybe-TAGS-target-liboffloadmic:
35448 @if target-liboffloadmic
35449 maybe-TAGS-target-liboffloadmic: TAGS-target-liboffloadmic
35451 TAGS-target-liboffloadmic: \
35452 configure-target-liboffloadmic
35453 @: $(MAKE); $(unstage)
35454 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35455 r=`${PWD_COMMAND}`; export r; \
35456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35457 $(NORMAL_TARGET_EXPORTS) \
35458 echo "Doing TAGS in $(TARGET_SUBDIR)/liboffloadmic" ; \
35459 for flag in $(EXTRA_TARGET_FLAGS); do \
35460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35461 done; \
35462 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35465 "RANLIB=$${RANLIB}" \
35466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35467 TAGS) \
35468 || exit 1
35470 @endif target-liboffloadmic
35472 .PHONY: maybe-install-info-target-liboffloadmic install-info-target-liboffloadmic
35473 maybe-install-info-target-liboffloadmic:
35474 @if target-liboffloadmic
35475 maybe-install-info-target-liboffloadmic: install-info-target-liboffloadmic
35477 install-info-target-liboffloadmic: \
35478 configure-target-liboffloadmic \
35479 info-target-liboffloadmic
35480 @: $(MAKE); $(unstage)
35481 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35482 r=`${PWD_COMMAND}`; export r; \
35483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35484 $(NORMAL_TARGET_EXPORTS) \
35485 echo "Doing install-info in $(TARGET_SUBDIR)/liboffloadmic" ; \
35486 for flag in $(EXTRA_TARGET_FLAGS); do \
35487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35488 done; \
35489 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35492 "RANLIB=$${RANLIB}" \
35493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35494 install-info) \
35495 || exit 1
35497 @endif target-liboffloadmic
35499 .PHONY: maybe-install-pdf-target-liboffloadmic install-pdf-target-liboffloadmic
35500 maybe-install-pdf-target-liboffloadmic:
35501 @if target-liboffloadmic
35502 maybe-install-pdf-target-liboffloadmic: install-pdf-target-liboffloadmic
35504 install-pdf-target-liboffloadmic: \
35505 configure-target-liboffloadmic \
35506 pdf-target-liboffloadmic
35507 @: $(MAKE); $(unstage)
35508 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35509 r=`${PWD_COMMAND}`; export r; \
35510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35511 $(NORMAL_TARGET_EXPORTS) \
35512 echo "Doing install-pdf in $(TARGET_SUBDIR)/liboffloadmic" ; \
35513 for flag in $(EXTRA_TARGET_FLAGS); do \
35514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35515 done; \
35516 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35519 "RANLIB=$${RANLIB}" \
35520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35521 install-pdf) \
35522 || exit 1
35524 @endif target-liboffloadmic
35526 .PHONY: maybe-install-html-target-liboffloadmic install-html-target-liboffloadmic
35527 maybe-install-html-target-liboffloadmic:
35528 @if target-liboffloadmic
35529 maybe-install-html-target-liboffloadmic: install-html-target-liboffloadmic
35531 install-html-target-liboffloadmic: \
35532 configure-target-liboffloadmic \
35533 html-target-liboffloadmic
35534 @: $(MAKE); $(unstage)
35535 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35536 r=`${PWD_COMMAND}`; export r; \
35537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35538 $(NORMAL_TARGET_EXPORTS) \
35539 echo "Doing install-html in $(TARGET_SUBDIR)/liboffloadmic" ; \
35540 for flag in $(EXTRA_TARGET_FLAGS); do \
35541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35542 done; \
35543 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35546 "RANLIB=$${RANLIB}" \
35547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35548 install-html) \
35549 || exit 1
35551 @endif target-liboffloadmic
35553 .PHONY: maybe-installcheck-target-liboffloadmic installcheck-target-liboffloadmic
35554 maybe-installcheck-target-liboffloadmic:
35555 @if target-liboffloadmic
35556 maybe-installcheck-target-liboffloadmic: installcheck-target-liboffloadmic
35558 installcheck-target-liboffloadmic: \
35559 configure-target-liboffloadmic
35560 @: $(MAKE); $(unstage)
35561 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35562 r=`${PWD_COMMAND}`; export r; \
35563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35564 $(NORMAL_TARGET_EXPORTS) \
35565 echo "Doing installcheck in $(TARGET_SUBDIR)/liboffloadmic" ; \
35566 for flag in $(EXTRA_TARGET_FLAGS); do \
35567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35568 done; \
35569 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35572 "RANLIB=$${RANLIB}" \
35573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35574 installcheck) \
35575 || exit 1
35577 @endif target-liboffloadmic
35579 .PHONY: maybe-mostlyclean-target-liboffloadmic mostlyclean-target-liboffloadmic
35580 maybe-mostlyclean-target-liboffloadmic:
35581 @if target-liboffloadmic
35582 maybe-mostlyclean-target-liboffloadmic: mostlyclean-target-liboffloadmic
35584 mostlyclean-target-liboffloadmic:
35585 @: $(MAKE); $(unstage)
35586 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35587 r=`${PWD_COMMAND}`; export r; \
35588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35589 $(NORMAL_TARGET_EXPORTS) \
35590 echo "Doing mostlyclean in $(TARGET_SUBDIR)/liboffloadmic" ; \
35591 for flag in $(EXTRA_TARGET_FLAGS); do \
35592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35593 done; \
35594 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35597 "RANLIB=$${RANLIB}" \
35598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35599 mostlyclean) \
35600 || exit 1
35602 @endif target-liboffloadmic
35604 .PHONY: maybe-clean-target-liboffloadmic clean-target-liboffloadmic
35605 maybe-clean-target-liboffloadmic:
35606 @if target-liboffloadmic
35607 maybe-clean-target-liboffloadmic: clean-target-liboffloadmic
35609 clean-target-liboffloadmic:
35610 @: $(MAKE); $(unstage)
35611 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35612 r=`${PWD_COMMAND}`; export r; \
35613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35614 $(NORMAL_TARGET_EXPORTS) \
35615 echo "Doing clean in $(TARGET_SUBDIR)/liboffloadmic" ; \
35616 for flag in $(EXTRA_TARGET_FLAGS); do \
35617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35618 done; \
35619 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35622 "RANLIB=$${RANLIB}" \
35623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35624 clean) \
35625 || exit 1
35627 @endif target-liboffloadmic
35629 .PHONY: maybe-distclean-target-liboffloadmic distclean-target-liboffloadmic
35630 maybe-distclean-target-liboffloadmic:
35631 @if target-liboffloadmic
35632 maybe-distclean-target-liboffloadmic: distclean-target-liboffloadmic
35634 distclean-target-liboffloadmic:
35635 @: $(MAKE); $(unstage)
35636 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35637 r=`${PWD_COMMAND}`; export r; \
35638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35639 $(NORMAL_TARGET_EXPORTS) \
35640 echo "Doing distclean in $(TARGET_SUBDIR)/liboffloadmic" ; \
35641 for flag in $(EXTRA_TARGET_FLAGS); do \
35642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35643 done; \
35644 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35647 "RANLIB=$${RANLIB}" \
35648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35649 distclean) \
35650 || exit 1
35652 @endif target-liboffloadmic
35654 .PHONY: maybe-maintainer-clean-target-liboffloadmic maintainer-clean-target-liboffloadmic
35655 maybe-maintainer-clean-target-liboffloadmic:
35656 @if target-liboffloadmic
35657 maybe-maintainer-clean-target-liboffloadmic: maintainer-clean-target-liboffloadmic
35659 maintainer-clean-target-liboffloadmic:
35660 @: $(MAKE); $(unstage)
35661 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35662 r=`${PWD_COMMAND}`; export r; \
35663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35664 $(NORMAL_TARGET_EXPORTS) \
35665 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/liboffloadmic" ; \
35666 for flag in $(EXTRA_TARGET_FLAGS); do \
35667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35668 done; \
35669 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35672 "RANLIB=$${RANLIB}" \
35673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35674 maintainer-clean) \
35675 || exit 1
35677 @endif target-liboffloadmic
35683 .PHONY: configure-target-libssp maybe-configure-target-libssp
35684 maybe-configure-target-libssp:
35685 @if gcc-bootstrap
35686 configure-target-libssp: stage_current
35687 @endif gcc-bootstrap
35688 @if target-libssp
35689 maybe-configure-target-libssp: configure-target-libssp
35690 configure-target-libssp:
35691 @: $(MAKE); $(unstage)
35692 @r=`${PWD_COMMAND}`; export r; \
35693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35694 echo "Checking multilib configuration for libssp..."; \
35695 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
35696 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
35697 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
35698 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
35699 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
35700 else \
35701 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
35702 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
35703 fi; \
35704 else \
35705 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
35706 fi; \
35707 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
35708 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
35709 $(NORMAL_TARGET_EXPORTS) \
35710 echo Configuring in $(TARGET_SUBDIR)/libssp; \
35711 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
35712 case $(srcdir) in \
35713 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35714 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
35715 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35716 esac; \
35717 module_srcdir=libssp; \
35718 rm -f no-such-file || : ; \
35719 CONFIG_SITE=no-such-file $(SHELL) \
35720 $$s/$$module_srcdir/configure \
35721 --srcdir=$${topdir}/$$module_srcdir \
35722 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35723 --target=${target_alias} \
35724 || exit 1
35725 @endif target-libssp
35731 .PHONY: all-target-libssp maybe-all-target-libssp
35732 maybe-all-target-libssp:
35733 @if gcc-bootstrap
35734 all-target-libssp: stage_current
35735 @endif gcc-bootstrap
35736 @if target-libssp
35737 TARGET-target-libssp=all
35738 maybe-all-target-libssp: all-target-libssp
35739 all-target-libssp: configure-target-libssp
35740 @: $(MAKE); $(unstage)
35741 @r=`${PWD_COMMAND}`; export r; \
35742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35743 $(NORMAL_TARGET_EXPORTS) \
35744 (cd $(TARGET_SUBDIR)/libssp && \
35745 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35746 $(TARGET-target-libssp))
35747 @endif target-libssp
35753 .PHONY: check-target-libssp maybe-check-target-libssp
35754 maybe-check-target-libssp:
35755 @if target-libssp
35756 maybe-check-target-libssp: check-target-libssp
35758 check-target-libssp:
35759 @: $(MAKE); $(unstage)
35760 @r=`${PWD_COMMAND}`; export r; \
35761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35762 $(NORMAL_TARGET_EXPORTS) \
35763 (cd $(TARGET_SUBDIR)/libssp && \
35764 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35766 @endif target-libssp
35768 .PHONY: install-target-libssp maybe-install-target-libssp
35769 maybe-install-target-libssp:
35770 @if target-libssp
35771 maybe-install-target-libssp: install-target-libssp
35773 install-target-libssp: installdirs
35774 @: $(MAKE); $(unstage)
35775 @r=`${PWD_COMMAND}`; export r; \
35776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35777 $(NORMAL_TARGET_EXPORTS) \
35778 (cd $(TARGET_SUBDIR)/libssp && \
35779 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35781 @endif target-libssp
35783 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
35784 maybe-install-strip-target-libssp:
35785 @if target-libssp
35786 maybe-install-strip-target-libssp: install-strip-target-libssp
35788 install-strip-target-libssp: installdirs
35789 @: $(MAKE); $(unstage)
35790 @r=`${PWD_COMMAND}`; export r; \
35791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35792 $(NORMAL_TARGET_EXPORTS) \
35793 (cd $(TARGET_SUBDIR)/libssp && \
35794 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35796 @endif target-libssp
35798 # Other targets (info, dvi, pdf, etc.)
35800 .PHONY: maybe-info-target-libssp info-target-libssp
35801 maybe-info-target-libssp:
35802 @if target-libssp
35803 maybe-info-target-libssp: info-target-libssp
35805 info-target-libssp: \
35806 configure-target-libssp
35807 @: $(MAKE); $(unstage)
35808 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35809 r=`${PWD_COMMAND}`; export r; \
35810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35811 $(NORMAL_TARGET_EXPORTS) \
35812 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
35813 for flag in $(EXTRA_TARGET_FLAGS); do \
35814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35815 done; \
35816 (cd $(TARGET_SUBDIR)/libssp && \
35817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35819 "RANLIB=$${RANLIB}" \
35820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35821 info) \
35822 || exit 1
35824 @endif target-libssp
35826 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
35827 maybe-dvi-target-libssp:
35828 @if target-libssp
35829 maybe-dvi-target-libssp: dvi-target-libssp
35831 dvi-target-libssp: \
35832 configure-target-libssp
35833 @: $(MAKE); $(unstage)
35834 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35835 r=`${PWD_COMMAND}`; export r; \
35836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35837 $(NORMAL_TARGET_EXPORTS) \
35838 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
35839 for flag in $(EXTRA_TARGET_FLAGS); do \
35840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35841 done; \
35842 (cd $(TARGET_SUBDIR)/libssp && \
35843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35845 "RANLIB=$${RANLIB}" \
35846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35847 dvi) \
35848 || exit 1
35850 @endif target-libssp
35852 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
35853 maybe-pdf-target-libssp:
35854 @if target-libssp
35855 maybe-pdf-target-libssp: pdf-target-libssp
35857 pdf-target-libssp: \
35858 configure-target-libssp
35859 @: $(MAKE); $(unstage)
35860 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35861 r=`${PWD_COMMAND}`; export r; \
35862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35863 $(NORMAL_TARGET_EXPORTS) \
35864 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
35865 for flag in $(EXTRA_TARGET_FLAGS); do \
35866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35867 done; \
35868 (cd $(TARGET_SUBDIR)/libssp && \
35869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35871 "RANLIB=$${RANLIB}" \
35872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35873 pdf) \
35874 || exit 1
35876 @endif target-libssp
35878 .PHONY: maybe-html-target-libssp html-target-libssp
35879 maybe-html-target-libssp:
35880 @if target-libssp
35881 maybe-html-target-libssp: html-target-libssp
35883 html-target-libssp: \
35884 configure-target-libssp
35885 @: $(MAKE); $(unstage)
35886 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35887 r=`${PWD_COMMAND}`; export r; \
35888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35889 $(NORMAL_TARGET_EXPORTS) \
35890 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
35891 for flag in $(EXTRA_TARGET_FLAGS); do \
35892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35893 done; \
35894 (cd $(TARGET_SUBDIR)/libssp && \
35895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35897 "RANLIB=$${RANLIB}" \
35898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35899 html) \
35900 || exit 1
35902 @endif target-libssp
35904 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
35905 maybe-TAGS-target-libssp:
35906 @if target-libssp
35907 maybe-TAGS-target-libssp: TAGS-target-libssp
35909 TAGS-target-libssp: \
35910 configure-target-libssp
35911 @: $(MAKE); $(unstage)
35912 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35913 r=`${PWD_COMMAND}`; export r; \
35914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35915 $(NORMAL_TARGET_EXPORTS) \
35916 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
35917 for flag in $(EXTRA_TARGET_FLAGS); do \
35918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35919 done; \
35920 (cd $(TARGET_SUBDIR)/libssp && \
35921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35923 "RANLIB=$${RANLIB}" \
35924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35925 TAGS) \
35926 || exit 1
35928 @endif target-libssp
35930 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
35931 maybe-install-info-target-libssp:
35932 @if target-libssp
35933 maybe-install-info-target-libssp: install-info-target-libssp
35935 install-info-target-libssp: \
35936 configure-target-libssp \
35937 info-target-libssp
35938 @: $(MAKE); $(unstage)
35939 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35940 r=`${PWD_COMMAND}`; export r; \
35941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35942 $(NORMAL_TARGET_EXPORTS) \
35943 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
35944 for flag in $(EXTRA_TARGET_FLAGS); do \
35945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35946 done; \
35947 (cd $(TARGET_SUBDIR)/libssp && \
35948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35950 "RANLIB=$${RANLIB}" \
35951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35952 install-info) \
35953 || exit 1
35955 @endif target-libssp
35957 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
35958 maybe-install-pdf-target-libssp:
35959 @if target-libssp
35960 maybe-install-pdf-target-libssp: install-pdf-target-libssp
35962 install-pdf-target-libssp: \
35963 configure-target-libssp \
35964 pdf-target-libssp
35965 @: $(MAKE); $(unstage)
35966 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35967 r=`${PWD_COMMAND}`; export r; \
35968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35969 $(NORMAL_TARGET_EXPORTS) \
35970 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \
35971 for flag in $(EXTRA_TARGET_FLAGS); do \
35972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35973 done; \
35974 (cd $(TARGET_SUBDIR)/libssp && \
35975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35977 "RANLIB=$${RANLIB}" \
35978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35979 install-pdf) \
35980 || exit 1
35982 @endif target-libssp
35984 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
35985 maybe-install-html-target-libssp:
35986 @if target-libssp
35987 maybe-install-html-target-libssp: install-html-target-libssp
35989 install-html-target-libssp: \
35990 configure-target-libssp \
35991 html-target-libssp
35992 @: $(MAKE); $(unstage)
35993 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35994 r=`${PWD_COMMAND}`; export r; \
35995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35996 $(NORMAL_TARGET_EXPORTS) \
35997 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
35998 for flag in $(EXTRA_TARGET_FLAGS); do \
35999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36000 done; \
36001 (cd $(TARGET_SUBDIR)/libssp && \
36002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36004 "RANLIB=$${RANLIB}" \
36005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36006 install-html) \
36007 || exit 1
36009 @endif target-libssp
36011 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
36012 maybe-installcheck-target-libssp:
36013 @if target-libssp
36014 maybe-installcheck-target-libssp: installcheck-target-libssp
36016 installcheck-target-libssp: \
36017 configure-target-libssp
36018 @: $(MAKE); $(unstage)
36019 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36020 r=`${PWD_COMMAND}`; export r; \
36021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36022 $(NORMAL_TARGET_EXPORTS) \
36023 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
36024 for flag in $(EXTRA_TARGET_FLAGS); do \
36025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36026 done; \
36027 (cd $(TARGET_SUBDIR)/libssp && \
36028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36030 "RANLIB=$${RANLIB}" \
36031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36032 installcheck) \
36033 || exit 1
36035 @endif target-libssp
36037 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
36038 maybe-mostlyclean-target-libssp:
36039 @if target-libssp
36040 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
36042 mostlyclean-target-libssp:
36043 @: $(MAKE); $(unstage)
36044 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36045 r=`${PWD_COMMAND}`; export r; \
36046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36047 $(NORMAL_TARGET_EXPORTS) \
36048 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
36049 for flag in $(EXTRA_TARGET_FLAGS); do \
36050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36051 done; \
36052 (cd $(TARGET_SUBDIR)/libssp && \
36053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36055 "RANLIB=$${RANLIB}" \
36056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36057 mostlyclean) \
36058 || exit 1
36060 @endif target-libssp
36062 .PHONY: maybe-clean-target-libssp clean-target-libssp
36063 maybe-clean-target-libssp:
36064 @if target-libssp
36065 maybe-clean-target-libssp: clean-target-libssp
36067 clean-target-libssp:
36068 @: $(MAKE); $(unstage)
36069 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36070 r=`${PWD_COMMAND}`; export r; \
36071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36072 $(NORMAL_TARGET_EXPORTS) \
36073 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
36074 for flag in $(EXTRA_TARGET_FLAGS); do \
36075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36076 done; \
36077 (cd $(TARGET_SUBDIR)/libssp && \
36078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36080 "RANLIB=$${RANLIB}" \
36081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36082 clean) \
36083 || exit 1
36085 @endif target-libssp
36087 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
36088 maybe-distclean-target-libssp:
36089 @if target-libssp
36090 maybe-distclean-target-libssp: distclean-target-libssp
36092 distclean-target-libssp:
36093 @: $(MAKE); $(unstage)
36094 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36095 r=`${PWD_COMMAND}`; export r; \
36096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36097 $(NORMAL_TARGET_EXPORTS) \
36098 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
36099 for flag in $(EXTRA_TARGET_FLAGS); do \
36100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36101 done; \
36102 (cd $(TARGET_SUBDIR)/libssp && \
36103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36105 "RANLIB=$${RANLIB}" \
36106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36107 distclean) \
36108 || exit 1
36110 @endif target-libssp
36112 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
36113 maybe-maintainer-clean-target-libssp:
36114 @if target-libssp
36115 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
36117 maintainer-clean-target-libssp:
36118 @: $(MAKE); $(unstage)
36119 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36120 r=`${PWD_COMMAND}`; export r; \
36121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36122 $(NORMAL_TARGET_EXPORTS) \
36123 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
36124 for flag in $(EXTRA_TARGET_FLAGS); do \
36125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36126 done; \
36127 (cd $(TARGET_SUBDIR)/libssp && \
36128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36130 "RANLIB=$${RANLIB}" \
36131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36132 maintainer-clean) \
36133 || exit 1
36135 @endif target-libssp
36141 .PHONY: configure-target-newlib maybe-configure-target-newlib
36142 maybe-configure-target-newlib:
36143 @if gcc-bootstrap
36144 configure-target-newlib: stage_current
36145 @endif gcc-bootstrap
36146 @if target-newlib
36147 maybe-configure-target-newlib: configure-target-newlib
36148 configure-target-newlib:
36149 @: $(MAKE); $(unstage)
36150 @r=`${PWD_COMMAND}`; export r; \
36151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36152 echo "Checking multilib configuration for newlib..."; \
36153 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
36154 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
36155 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
36156 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
36157 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
36158 else \
36159 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
36160 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
36161 fi; \
36162 else \
36163 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
36164 fi; \
36165 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
36166 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
36167 $(NORMAL_TARGET_EXPORTS) \
36168 echo Configuring in $(TARGET_SUBDIR)/newlib; \
36169 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
36170 case $(srcdir) in \
36171 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36172 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
36173 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36174 esac; \
36175 module_srcdir=newlib; \
36176 rm -f no-such-file || : ; \
36177 CONFIG_SITE=no-such-file $(SHELL) \
36178 $$s/$$module_srcdir/configure \
36179 --srcdir=$${topdir}/$$module_srcdir \
36180 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36181 --target=${target_alias} \
36182 || exit 1
36183 @endif target-newlib
36189 .PHONY: all-target-newlib maybe-all-target-newlib
36190 maybe-all-target-newlib:
36191 @if gcc-bootstrap
36192 all-target-newlib: stage_current
36193 @endif gcc-bootstrap
36194 @if target-newlib
36195 TARGET-target-newlib=all
36196 maybe-all-target-newlib: all-target-newlib
36197 all-target-newlib: configure-target-newlib
36198 @: $(MAKE); $(unstage)
36199 @r=`${PWD_COMMAND}`; export r; \
36200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36201 $(NORMAL_TARGET_EXPORTS) \
36202 (cd $(TARGET_SUBDIR)/newlib && \
36203 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36204 $(TARGET-target-newlib))
36205 @endif target-newlib
36211 .PHONY: check-target-newlib maybe-check-target-newlib
36212 maybe-check-target-newlib:
36213 @if target-newlib
36214 maybe-check-target-newlib: check-target-newlib
36216 check-target-newlib:
36217 @: $(MAKE); $(unstage)
36218 @r=`${PWD_COMMAND}`; export r; \
36219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36220 $(NORMAL_TARGET_EXPORTS) \
36221 (cd $(TARGET_SUBDIR)/newlib && \
36222 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36224 @endif target-newlib
36226 .PHONY: install-target-newlib maybe-install-target-newlib
36227 maybe-install-target-newlib:
36228 @if target-newlib
36229 maybe-install-target-newlib: install-target-newlib
36231 install-target-newlib: installdirs
36232 @: $(MAKE); $(unstage)
36233 @r=`${PWD_COMMAND}`; export r; \
36234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36235 $(NORMAL_TARGET_EXPORTS) \
36236 (cd $(TARGET_SUBDIR)/newlib && \
36237 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36239 @endif target-newlib
36241 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
36242 maybe-install-strip-target-newlib:
36243 @if target-newlib
36244 maybe-install-strip-target-newlib: install-strip-target-newlib
36246 install-strip-target-newlib: installdirs
36247 @: $(MAKE); $(unstage)
36248 @r=`${PWD_COMMAND}`; export r; \
36249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36250 $(NORMAL_TARGET_EXPORTS) \
36251 (cd $(TARGET_SUBDIR)/newlib && \
36252 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36254 @endif target-newlib
36256 # Other targets (info, dvi, pdf, etc.)
36258 .PHONY: maybe-info-target-newlib info-target-newlib
36259 maybe-info-target-newlib:
36260 @if target-newlib
36261 maybe-info-target-newlib: info-target-newlib
36263 info-target-newlib: \
36264 configure-target-newlib
36265 @: $(MAKE); $(unstage)
36266 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36267 r=`${PWD_COMMAND}`; export r; \
36268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36269 $(NORMAL_TARGET_EXPORTS) \
36270 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
36271 for flag in $(EXTRA_TARGET_FLAGS); do \
36272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36273 done; \
36274 (cd $(TARGET_SUBDIR)/newlib && \
36275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36277 "RANLIB=$${RANLIB}" \
36278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36279 info) \
36280 || exit 1
36282 @endif target-newlib
36284 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
36285 maybe-dvi-target-newlib:
36286 @if target-newlib
36287 maybe-dvi-target-newlib: dvi-target-newlib
36289 dvi-target-newlib: \
36290 configure-target-newlib
36291 @: $(MAKE); $(unstage)
36292 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36293 r=`${PWD_COMMAND}`; export r; \
36294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36295 $(NORMAL_TARGET_EXPORTS) \
36296 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
36297 for flag in $(EXTRA_TARGET_FLAGS); do \
36298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36299 done; \
36300 (cd $(TARGET_SUBDIR)/newlib && \
36301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36303 "RANLIB=$${RANLIB}" \
36304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36305 dvi) \
36306 || exit 1
36308 @endif target-newlib
36310 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
36311 maybe-pdf-target-newlib:
36312 @if target-newlib
36313 maybe-pdf-target-newlib: pdf-target-newlib
36315 pdf-target-newlib: \
36316 configure-target-newlib
36317 @: $(MAKE); $(unstage)
36318 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36319 r=`${PWD_COMMAND}`; export r; \
36320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36321 $(NORMAL_TARGET_EXPORTS) \
36322 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
36323 for flag in $(EXTRA_TARGET_FLAGS); do \
36324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36325 done; \
36326 (cd $(TARGET_SUBDIR)/newlib && \
36327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36329 "RANLIB=$${RANLIB}" \
36330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36331 pdf) \
36332 || exit 1
36334 @endif target-newlib
36336 .PHONY: maybe-html-target-newlib html-target-newlib
36337 maybe-html-target-newlib:
36338 @if target-newlib
36339 maybe-html-target-newlib: html-target-newlib
36341 html-target-newlib: \
36342 configure-target-newlib
36343 @: $(MAKE); $(unstage)
36344 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36345 r=`${PWD_COMMAND}`; export r; \
36346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36347 $(NORMAL_TARGET_EXPORTS) \
36348 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
36349 for flag in $(EXTRA_TARGET_FLAGS); do \
36350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36351 done; \
36352 (cd $(TARGET_SUBDIR)/newlib && \
36353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36355 "RANLIB=$${RANLIB}" \
36356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36357 html) \
36358 || exit 1
36360 @endif target-newlib
36362 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
36363 maybe-TAGS-target-newlib:
36364 @if target-newlib
36365 maybe-TAGS-target-newlib: TAGS-target-newlib
36367 TAGS-target-newlib: \
36368 configure-target-newlib
36369 @: $(MAKE); $(unstage)
36370 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36371 r=`${PWD_COMMAND}`; export r; \
36372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36373 $(NORMAL_TARGET_EXPORTS) \
36374 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
36375 for flag in $(EXTRA_TARGET_FLAGS); do \
36376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36377 done; \
36378 (cd $(TARGET_SUBDIR)/newlib && \
36379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36381 "RANLIB=$${RANLIB}" \
36382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36383 TAGS) \
36384 || exit 1
36386 @endif target-newlib
36388 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
36389 maybe-install-info-target-newlib:
36390 @if target-newlib
36391 maybe-install-info-target-newlib: install-info-target-newlib
36393 install-info-target-newlib: \
36394 configure-target-newlib \
36395 info-target-newlib
36396 @: $(MAKE); $(unstage)
36397 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36398 r=`${PWD_COMMAND}`; export r; \
36399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36400 $(NORMAL_TARGET_EXPORTS) \
36401 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
36402 for flag in $(EXTRA_TARGET_FLAGS); do \
36403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36404 done; \
36405 (cd $(TARGET_SUBDIR)/newlib && \
36406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36408 "RANLIB=$${RANLIB}" \
36409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36410 install-info) \
36411 || exit 1
36413 @endif target-newlib
36415 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
36416 maybe-install-pdf-target-newlib:
36417 @if target-newlib
36418 maybe-install-pdf-target-newlib: install-pdf-target-newlib
36420 install-pdf-target-newlib: \
36421 configure-target-newlib \
36422 pdf-target-newlib
36423 @: $(MAKE); $(unstage)
36424 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36425 r=`${PWD_COMMAND}`; export r; \
36426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36427 $(NORMAL_TARGET_EXPORTS) \
36428 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \
36429 for flag in $(EXTRA_TARGET_FLAGS); do \
36430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36431 done; \
36432 (cd $(TARGET_SUBDIR)/newlib && \
36433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36435 "RANLIB=$${RANLIB}" \
36436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36437 install-pdf) \
36438 || exit 1
36440 @endif target-newlib
36442 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
36443 maybe-install-html-target-newlib:
36444 @if target-newlib
36445 maybe-install-html-target-newlib: install-html-target-newlib
36447 install-html-target-newlib: \
36448 configure-target-newlib \
36449 html-target-newlib
36450 @: $(MAKE); $(unstage)
36451 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36452 r=`${PWD_COMMAND}`; export r; \
36453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36454 $(NORMAL_TARGET_EXPORTS) \
36455 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
36456 for flag in $(EXTRA_TARGET_FLAGS); do \
36457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36458 done; \
36459 (cd $(TARGET_SUBDIR)/newlib && \
36460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36462 "RANLIB=$${RANLIB}" \
36463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36464 install-html) \
36465 || exit 1
36467 @endif target-newlib
36469 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
36470 maybe-installcheck-target-newlib:
36471 @if target-newlib
36472 maybe-installcheck-target-newlib: installcheck-target-newlib
36474 installcheck-target-newlib: \
36475 configure-target-newlib
36476 @: $(MAKE); $(unstage)
36477 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36478 r=`${PWD_COMMAND}`; export r; \
36479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36480 $(NORMAL_TARGET_EXPORTS) \
36481 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
36482 for flag in $(EXTRA_TARGET_FLAGS); do \
36483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36484 done; \
36485 (cd $(TARGET_SUBDIR)/newlib && \
36486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36488 "RANLIB=$${RANLIB}" \
36489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36490 installcheck) \
36491 || exit 1
36493 @endif target-newlib
36495 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
36496 maybe-mostlyclean-target-newlib:
36497 @if target-newlib
36498 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
36500 mostlyclean-target-newlib:
36501 @: $(MAKE); $(unstage)
36502 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36503 r=`${PWD_COMMAND}`; export r; \
36504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36505 $(NORMAL_TARGET_EXPORTS) \
36506 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
36507 for flag in $(EXTRA_TARGET_FLAGS); do \
36508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36509 done; \
36510 (cd $(TARGET_SUBDIR)/newlib && \
36511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36513 "RANLIB=$${RANLIB}" \
36514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36515 mostlyclean) \
36516 || exit 1
36518 @endif target-newlib
36520 .PHONY: maybe-clean-target-newlib clean-target-newlib
36521 maybe-clean-target-newlib:
36522 @if target-newlib
36523 maybe-clean-target-newlib: clean-target-newlib
36525 clean-target-newlib:
36526 @: $(MAKE); $(unstage)
36527 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36528 r=`${PWD_COMMAND}`; export r; \
36529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36530 $(NORMAL_TARGET_EXPORTS) \
36531 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
36532 for flag in $(EXTRA_TARGET_FLAGS); do \
36533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36534 done; \
36535 (cd $(TARGET_SUBDIR)/newlib && \
36536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36538 "RANLIB=$${RANLIB}" \
36539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36540 clean) \
36541 || exit 1
36543 @endif target-newlib
36545 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
36546 maybe-distclean-target-newlib:
36547 @if target-newlib
36548 maybe-distclean-target-newlib: distclean-target-newlib
36550 distclean-target-newlib:
36551 @: $(MAKE); $(unstage)
36552 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36553 r=`${PWD_COMMAND}`; export r; \
36554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36555 $(NORMAL_TARGET_EXPORTS) \
36556 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
36557 for flag in $(EXTRA_TARGET_FLAGS); do \
36558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36559 done; \
36560 (cd $(TARGET_SUBDIR)/newlib && \
36561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36563 "RANLIB=$${RANLIB}" \
36564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36565 distclean) \
36566 || exit 1
36568 @endif target-newlib
36570 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
36571 maybe-maintainer-clean-target-newlib:
36572 @if target-newlib
36573 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
36575 maintainer-clean-target-newlib:
36576 @: $(MAKE); $(unstage)
36577 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36578 r=`${PWD_COMMAND}`; export r; \
36579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36580 $(NORMAL_TARGET_EXPORTS) \
36581 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
36582 for flag in $(EXTRA_TARGET_FLAGS); do \
36583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36584 done; \
36585 (cd $(TARGET_SUBDIR)/newlib && \
36586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36588 "RANLIB=$${RANLIB}" \
36589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36590 maintainer-clean) \
36591 || exit 1
36593 @endif target-newlib
36599 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
36600 maybe-configure-target-libgcc:
36601 @if gcc-bootstrap
36602 configure-target-libgcc: stage_current
36603 @endif gcc-bootstrap
36604 @if target-libgcc
36605 maybe-configure-target-libgcc: configure-target-libgcc
36606 configure-target-libgcc:
36607 @r=`${PWD_COMMAND}`; export r; \
36608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36609 echo "Checking multilib configuration for libgcc..."; \
36610 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36611 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36612 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36613 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36614 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36615 else \
36616 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36617 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36618 fi; \
36619 else \
36620 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36621 fi; \
36622 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36623 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36624 $(NORMAL_TARGET_EXPORTS) \
36625 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
36626 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
36627 case $(srcdir) in \
36628 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36629 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36630 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36631 esac; \
36632 module_srcdir=libgcc; \
36633 rm -f no-such-file || : ; \
36634 CONFIG_SITE=no-such-file $(SHELL) \
36635 $$s/$$module_srcdir/configure \
36636 --srcdir=$${topdir}/$$module_srcdir \
36637 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36638 --target=${target_alias} \
36639 || exit 1
36640 @endif target-libgcc
36644 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
36645 maybe-configure-stage1-target-libgcc:
36646 @if target-libgcc-bootstrap
36647 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
36648 configure-stage1-target-libgcc:
36649 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36650 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36651 @r=`${PWD_COMMAND}`; export r; \
36652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36653 TFLAGS="$(STAGE1_TFLAGS)"; \
36654 echo "Checking multilib configuration for libgcc..."; \
36655 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36656 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36657 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36658 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36659 else \
36660 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36661 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36662 fi; \
36663 else \
36664 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36665 fi; \
36666 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36667 $(NORMAL_TARGET_EXPORTS) \
36668 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36669 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36670 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36671 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
36672 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36673 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36674 case $(srcdir) in \
36675 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36676 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36677 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36678 esac; \
36679 module_srcdir=libgcc; \
36680 $(SHELL) $$s/$$module_srcdir/configure \
36681 --srcdir=$${topdir}/$$module_srcdir \
36682 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36683 --target=${target_alias} \
36685 $(STAGE1_CONFIGURE_FLAGS)
36686 @endif target-libgcc-bootstrap
36688 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
36689 maybe-configure-stage2-target-libgcc:
36690 @if target-libgcc-bootstrap
36691 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
36692 configure-stage2-target-libgcc:
36693 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
36694 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36695 @r=`${PWD_COMMAND}`; export r; \
36696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36697 TFLAGS="$(STAGE2_TFLAGS)"; \
36698 echo "Checking multilib configuration for libgcc..."; \
36699 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36700 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36701 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36702 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36703 else \
36704 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36705 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36706 fi; \
36707 else \
36708 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36709 fi; \
36710 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36711 $(NORMAL_TARGET_EXPORTS) \
36713 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36714 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36715 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36716 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
36717 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36718 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36719 case $(srcdir) in \
36720 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36721 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36722 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36723 esac; \
36724 module_srcdir=libgcc; \
36725 $(SHELL) $$s/$$module_srcdir/configure \
36726 --srcdir=$${topdir}/$$module_srcdir \
36727 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36728 --target=${target_alias} \
36729 --with-build-libsubdir=$(HOST_SUBDIR) \
36730 $(STAGE2_CONFIGURE_FLAGS)
36731 @endif target-libgcc-bootstrap
36733 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
36734 maybe-configure-stage3-target-libgcc:
36735 @if target-libgcc-bootstrap
36736 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
36737 configure-stage3-target-libgcc:
36738 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
36739 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36740 @r=`${PWD_COMMAND}`; export r; \
36741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36742 TFLAGS="$(STAGE3_TFLAGS)"; \
36743 echo "Checking multilib configuration for libgcc..."; \
36744 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36745 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36746 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36747 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36748 else \
36749 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36750 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36751 fi; \
36752 else \
36753 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36754 fi; \
36755 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36756 $(NORMAL_TARGET_EXPORTS) \
36758 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36759 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36760 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36761 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
36762 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36763 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36764 case $(srcdir) in \
36765 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36766 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36767 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36768 esac; \
36769 module_srcdir=libgcc; \
36770 $(SHELL) $$s/$$module_srcdir/configure \
36771 --srcdir=$${topdir}/$$module_srcdir \
36772 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36773 --target=${target_alias} \
36774 --with-build-libsubdir=$(HOST_SUBDIR) \
36775 $(STAGE3_CONFIGURE_FLAGS)
36776 @endif target-libgcc-bootstrap
36778 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
36779 maybe-configure-stage4-target-libgcc:
36780 @if target-libgcc-bootstrap
36781 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
36782 configure-stage4-target-libgcc:
36783 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
36784 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36785 @r=`${PWD_COMMAND}`; export r; \
36786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36787 TFLAGS="$(STAGE4_TFLAGS)"; \
36788 echo "Checking multilib configuration for libgcc..."; \
36789 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36790 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36791 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36792 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36793 else \
36794 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36795 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36796 fi; \
36797 else \
36798 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36799 fi; \
36800 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36801 $(NORMAL_TARGET_EXPORTS) \
36803 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36804 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36805 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36806 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
36807 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36808 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36809 case $(srcdir) in \
36810 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36811 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36812 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36813 esac; \
36814 module_srcdir=libgcc; \
36815 $(SHELL) $$s/$$module_srcdir/configure \
36816 --srcdir=$${topdir}/$$module_srcdir \
36817 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36818 --target=${target_alias} \
36819 --with-build-libsubdir=$(HOST_SUBDIR) \
36820 $(STAGE4_CONFIGURE_FLAGS)
36821 @endif target-libgcc-bootstrap
36823 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
36824 maybe-configure-stageprofile-target-libgcc:
36825 @if target-libgcc-bootstrap
36826 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
36827 configure-stageprofile-target-libgcc:
36828 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
36829 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36830 @r=`${PWD_COMMAND}`; export r; \
36831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36832 TFLAGS="$(STAGEprofile_TFLAGS)"; \
36833 echo "Checking multilib configuration for libgcc..."; \
36834 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36835 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36836 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36837 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36838 else \
36839 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36840 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36841 fi; \
36842 else \
36843 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36844 fi; \
36845 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36846 $(NORMAL_TARGET_EXPORTS) \
36848 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36849 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36850 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36851 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
36852 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36853 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36854 case $(srcdir) in \
36855 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36856 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36857 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36858 esac; \
36859 module_srcdir=libgcc; \
36860 $(SHELL) $$s/$$module_srcdir/configure \
36861 --srcdir=$${topdir}/$$module_srcdir \
36862 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36863 --target=${target_alias} \
36864 --with-build-libsubdir=$(HOST_SUBDIR) \
36865 $(STAGEprofile_CONFIGURE_FLAGS)
36866 @endif target-libgcc-bootstrap
36868 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
36869 maybe-configure-stagefeedback-target-libgcc:
36870 @if target-libgcc-bootstrap
36871 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
36872 configure-stagefeedback-target-libgcc:
36873 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
36874 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36875 @r=`${PWD_COMMAND}`; export r; \
36876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36877 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
36878 echo "Checking multilib configuration for libgcc..."; \
36879 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36880 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36881 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36882 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36883 else \
36884 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36885 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36886 fi; \
36887 else \
36888 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36889 fi; \
36890 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36891 $(NORMAL_TARGET_EXPORTS) \
36893 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36894 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36895 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36896 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
36897 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36898 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36899 case $(srcdir) in \
36900 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36901 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36902 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36903 esac; \
36904 module_srcdir=libgcc; \
36905 $(SHELL) $$s/$$module_srcdir/configure \
36906 --srcdir=$${topdir}/$$module_srcdir \
36907 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36908 --target=${target_alias} \
36909 --with-build-libsubdir=$(HOST_SUBDIR) \
36910 $(STAGEfeedback_CONFIGURE_FLAGS)
36911 @endif target-libgcc-bootstrap
36917 .PHONY: all-target-libgcc maybe-all-target-libgcc
36918 maybe-all-target-libgcc:
36919 @if gcc-bootstrap
36920 all-target-libgcc: stage_current
36921 @endif gcc-bootstrap
36922 @if target-libgcc
36923 TARGET-target-libgcc=all
36924 maybe-all-target-libgcc: all-target-libgcc
36925 all-target-libgcc: configure-target-libgcc
36926 @r=`${PWD_COMMAND}`; export r; \
36927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36928 $(NORMAL_TARGET_EXPORTS) \
36929 (cd $(TARGET_SUBDIR)/libgcc && \
36930 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36931 $(TARGET-target-libgcc))
36932 @endif target-libgcc
36936 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
36937 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
36938 maybe-all-stage1-target-libgcc:
36939 maybe-clean-stage1-target-libgcc:
36940 @if target-libgcc-bootstrap
36941 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
36942 all-stage1: all-stage1-target-libgcc
36943 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
36944 all-stage1-target-libgcc: configure-stage1-target-libgcc
36945 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36946 @r=`${PWD_COMMAND}`; export r; \
36947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36948 TFLAGS="$(STAGE1_TFLAGS)"; \
36949 $(NORMAL_TARGET_EXPORTS) \
36950 cd $(TARGET_SUBDIR)/libgcc && \
36951 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36952 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36953 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36954 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36955 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36956 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36957 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36958 $(EXTRA_TARGET_FLAGS) \
36960 TFLAGS="$(STAGE1_TFLAGS)" \
36961 $(TARGET-stage1-target-libgcc)
36963 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
36964 clean-stage1: clean-stage1-target-libgcc
36965 clean-stage1-target-libgcc:
36966 @if [ $(current_stage) = stage1 ]; then \
36967 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
36968 else \
36969 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
36970 $(MAKE) stage1-start; \
36971 fi; \
36972 cd $(TARGET_SUBDIR)/libgcc && \
36973 $(MAKE) $(EXTRA_TARGET_FLAGS) \
36974 clean
36975 @endif target-libgcc-bootstrap
36978 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
36979 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
36980 maybe-all-stage2-target-libgcc:
36981 maybe-clean-stage2-target-libgcc:
36982 @if target-libgcc-bootstrap
36983 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
36984 all-stage2: all-stage2-target-libgcc
36985 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
36986 all-stage2-target-libgcc: configure-stage2-target-libgcc
36987 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
36988 @r=`${PWD_COMMAND}`; export r; \
36989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36990 TFLAGS="$(STAGE2_TFLAGS)"; \
36991 $(NORMAL_TARGET_EXPORTS) \
36993 cd $(TARGET_SUBDIR)/libgcc && \
36994 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36995 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36996 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36997 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36998 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36999 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37000 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37001 $(EXTRA_TARGET_FLAGS) \
37002 TFLAGS="$(STAGE2_TFLAGS)" \
37003 $(TARGET-stage2-target-libgcc)
37005 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
37006 clean-stage2: clean-stage2-target-libgcc
37007 clean-stage2-target-libgcc:
37008 @if [ $(current_stage) = stage2 ]; then \
37009 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37010 else \
37011 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
37012 $(MAKE) stage2-start; \
37013 fi; \
37014 cd $(TARGET_SUBDIR)/libgcc && \
37015 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
37016 @endif target-libgcc-bootstrap
37019 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
37020 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
37021 maybe-all-stage3-target-libgcc:
37022 maybe-clean-stage3-target-libgcc:
37023 @if target-libgcc-bootstrap
37024 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
37025 all-stage3: all-stage3-target-libgcc
37026 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
37027 all-stage3-target-libgcc: configure-stage3-target-libgcc
37028 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
37029 @r=`${PWD_COMMAND}`; export r; \
37030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37031 TFLAGS="$(STAGE3_TFLAGS)"; \
37032 $(NORMAL_TARGET_EXPORTS) \
37034 cd $(TARGET_SUBDIR)/libgcc && \
37035 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37036 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37037 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37038 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37039 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37040 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37041 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37042 $(EXTRA_TARGET_FLAGS) \
37043 TFLAGS="$(STAGE3_TFLAGS)" \
37044 $(TARGET-stage3-target-libgcc)
37046 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
37047 clean-stage3: clean-stage3-target-libgcc
37048 clean-stage3-target-libgcc:
37049 @if [ $(current_stage) = stage3 ]; then \
37050 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37051 else \
37052 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
37053 $(MAKE) stage3-start; \
37054 fi; \
37055 cd $(TARGET_SUBDIR)/libgcc && \
37056 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
37057 @endif target-libgcc-bootstrap
37060 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
37061 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
37062 maybe-all-stage4-target-libgcc:
37063 maybe-clean-stage4-target-libgcc:
37064 @if target-libgcc-bootstrap
37065 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
37066 all-stage4: all-stage4-target-libgcc
37067 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
37068 all-stage4-target-libgcc: configure-stage4-target-libgcc
37069 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
37070 @r=`${PWD_COMMAND}`; export r; \
37071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37072 TFLAGS="$(STAGE4_TFLAGS)"; \
37073 $(NORMAL_TARGET_EXPORTS) \
37075 cd $(TARGET_SUBDIR)/libgcc && \
37076 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37077 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37078 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37079 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37080 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37081 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37082 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37083 $(EXTRA_TARGET_FLAGS) \
37084 TFLAGS="$(STAGE4_TFLAGS)" \
37085 $(TARGET-stage4-target-libgcc)
37087 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
37088 clean-stage4: clean-stage4-target-libgcc
37089 clean-stage4-target-libgcc:
37090 @if [ $(current_stage) = stage4 ]; then \
37091 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37092 else \
37093 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
37094 $(MAKE) stage4-start; \
37095 fi; \
37096 cd $(TARGET_SUBDIR)/libgcc && \
37097 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
37098 @endif target-libgcc-bootstrap
37101 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
37102 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
37103 maybe-all-stageprofile-target-libgcc:
37104 maybe-clean-stageprofile-target-libgcc:
37105 @if target-libgcc-bootstrap
37106 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
37107 all-stageprofile: all-stageprofile-target-libgcc
37108 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
37109 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
37110 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
37111 @r=`${PWD_COMMAND}`; export r; \
37112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37113 TFLAGS="$(STAGEprofile_TFLAGS)"; \
37114 $(NORMAL_TARGET_EXPORTS) \
37116 cd $(TARGET_SUBDIR)/libgcc && \
37117 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37118 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37119 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37120 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37121 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37122 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37123 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37124 $(EXTRA_TARGET_FLAGS) \
37125 TFLAGS="$(STAGEprofile_TFLAGS)" \
37126 $(TARGET-stageprofile-target-libgcc)
37128 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
37129 clean-stageprofile: clean-stageprofile-target-libgcc
37130 clean-stageprofile-target-libgcc:
37131 @if [ $(current_stage) = stageprofile ]; then \
37132 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37133 else \
37134 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
37135 $(MAKE) stageprofile-start; \
37136 fi; \
37137 cd $(TARGET_SUBDIR)/libgcc && \
37138 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
37139 @endif target-libgcc-bootstrap
37142 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
37143 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
37144 maybe-all-stagefeedback-target-libgcc:
37145 maybe-clean-stagefeedback-target-libgcc:
37146 @if target-libgcc-bootstrap
37147 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
37148 all-stagefeedback: all-stagefeedback-target-libgcc
37149 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
37150 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
37151 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
37152 @r=`${PWD_COMMAND}`; export r; \
37153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37154 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
37155 $(NORMAL_TARGET_EXPORTS) \
37157 cd $(TARGET_SUBDIR)/libgcc && \
37158 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37159 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37160 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37161 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37162 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37163 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37164 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37165 $(EXTRA_TARGET_FLAGS) \
37166 TFLAGS="$(STAGEfeedback_TFLAGS)" \
37167 $(TARGET-stagefeedback-target-libgcc)
37169 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
37170 clean-stagefeedback: clean-stagefeedback-target-libgcc
37171 clean-stagefeedback-target-libgcc:
37172 @if [ $(current_stage) = stagefeedback ]; then \
37173 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37174 else \
37175 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
37176 $(MAKE) stagefeedback-start; \
37177 fi; \
37178 cd $(TARGET_SUBDIR)/libgcc && \
37179 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
37180 @endif target-libgcc-bootstrap
37187 .PHONY: check-target-libgcc maybe-check-target-libgcc
37188 maybe-check-target-libgcc:
37189 @if target-libgcc
37190 maybe-check-target-libgcc: check-target-libgcc
37192 # Dummy target for uncheckable module.
37193 check-target-libgcc:
37195 @endif target-libgcc
37197 .PHONY: install-target-libgcc maybe-install-target-libgcc
37198 maybe-install-target-libgcc:
37199 @if target-libgcc
37200 maybe-install-target-libgcc: install-target-libgcc
37202 install-target-libgcc: installdirs
37203 @: $(MAKE); $(unstage)
37204 @r=`${PWD_COMMAND}`; export r; \
37205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37206 $(NORMAL_TARGET_EXPORTS) \
37207 (cd $(TARGET_SUBDIR)/libgcc && \
37208 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37210 @endif target-libgcc
37212 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
37213 maybe-install-strip-target-libgcc:
37214 @if target-libgcc
37215 maybe-install-strip-target-libgcc: install-strip-target-libgcc
37217 install-strip-target-libgcc: installdirs
37218 @: $(MAKE); $(unstage)
37219 @r=`${PWD_COMMAND}`; export r; \
37220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37221 $(NORMAL_TARGET_EXPORTS) \
37222 (cd $(TARGET_SUBDIR)/libgcc && \
37223 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37225 @endif target-libgcc
37227 # Other targets (info, dvi, pdf, etc.)
37229 .PHONY: maybe-info-target-libgcc info-target-libgcc
37230 maybe-info-target-libgcc:
37231 @if target-libgcc
37232 maybe-info-target-libgcc: info-target-libgcc
37234 info-target-libgcc: \
37235 configure-target-libgcc
37236 @: $(MAKE); $(unstage)
37237 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37238 r=`${PWD_COMMAND}`; export r; \
37239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37240 $(NORMAL_TARGET_EXPORTS) \
37241 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
37242 for flag in $(EXTRA_TARGET_FLAGS); do \
37243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37244 done; \
37245 (cd $(TARGET_SUBDIR)/libgcc && \
37246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37248 "RANLIB=$${RANLIB}" \
37249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37250 info) \
37251 || exit 1
37253 @endif target-libgcc
37255 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
37256 maybe-dvi-target-libgcc:
37257 @if target-libgcc
37258 maybe-dvi-target-libgcc: dvi-target-libgcc
37260 dvi-target-libgcc: \
37261 configure-target-libgcc
37262 @: $(MAKE); $(unstage)
37263 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37264 r=`${PWD_COMMAND}`; export r; \
37265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37266 $(NORMAL_TARGET_EXPORTS) \
37267 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
37268 for flag in $(EXTRA_TARGET_FLAGS); do \
37269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37270 done; \
37271 (cd $(TARGET_SUBDIR)/libgcc && \
37272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37274 "RANLIB=$${RANLIB}" \
37275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37276 dvi) \
37277 || exit 1
37279 @endif target-libgcc
37281 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
37282 maybe-pdf-target-libgcc:
37283 @if target-libgcc
37284 maybe-pdf-target-libgcc: pdf-target-libgcc
37286 pdf-target-libgcc: \
37287 configure-target-libgcc
37288 @: $(MAKE); $(unstage)
37289 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37290 r=`${PWD_COMMAND}`; export r; \
37291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37292 $(NORMAL_TARGET_EXPORTS) \
37293 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
37294 for flag in $(EXTRA_TARGET_FLAGS); do \
37295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37296 done; \
37297 (cd $(TARGET_SUBDIR)/libgcc && \
37298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37300 "RANLIB=$${RANLIB}" \
37301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37302 pdf) \
37303 || exit 1
37305 @endif target-libgcc
37307 .PHONY: maybe-html-target-libgcc html-target-libgcc
37308 maybe-html-target-libgcc:
37309 @if target-libgcc
37310 maybe-html-target-libgcc: html-target-libgcc
37312 html-target-libgcc: \
37313 configure-target-libgcc
37314 @: $(MAKE); $(unstage)
37315 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37316 r=`${PWD_COMMAND}`; export r; \
37317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37318 $(NORMAL_TARGET_EXPORTS) \
37319 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
37320 for flag in $(EXTRA_TARGET_FLAGS); do \
37321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37322 done; \
37323 (cd $(TARGET_SUBDIR)/libgcc && \
37324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37326 "RANLIB=$${RANLIB}" \
37327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37328 html) \
37329 || exit 1
37331 @endif target-libgcc
37333 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
37334 maybe-TAGS-target-libgcc:
37335 @if target-libgcc
37336 maybe-TAGS-target-libgcc: TAGS-target-libgcc
37338 TAGS-target-libgcc: \
37339 configure-target-libgcc
37340 @: $(MAKE); $(unstage)
37341 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37342 r=`${PWD_COMMAND}`; export r; \
37343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37344 $(NORMAL_TARGET_EXPORTS) \
37345 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
37346 for flag in $(EXTRA_TARGET_FLAGS); do \
37347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37348 done; \
37349 (cd $(TARGET_SUBDIR)/libgcc && \
37350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37352 "RANLIB=$${RANLIB}" \
37353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37354 TAGS) \
37355 || exit 1
37357 @endif target-libgcc
37359 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
37360 maybe-install-info-target-libgcc:
37361 @if target-libgcc
37362 maybe-install-info-target-libgcc: install-info-target-libgcc
37364 install-info-target-libgcc: \
37365 configure-target-libgcc \
37366 info-target-libgcc
37367 @: $(MAKE); $(unstage)
37368 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37369 r=`${PWD_COMMAND}`; export r; \
37370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37371 $(NORMAL_TARGET_EXPORTS) \
37372 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
37373 for flag in $(EXTRA_TARGET_FLAGS); do \
37374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37375 done; \
37376 (cd $(TARGET_SUBDIR)/libgcc && \
37377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37379 "RANLIB=$${RANLIB}" \
37380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37381 install-info) \
37382 || exit 1
37384 @endif target-libgcc
37386 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
37387 maybe-install-pdf-target-libgcc:
37388 @if target-libgcc
37389 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
37391 install-pdf-target-libgcc: \
37392 configure-target-libgcc \
37393 pdf-target-libgcc
37394 @: $(MAKE); $(unstage)
37395 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37396 r=`${PWD_COMMAND}`; export r; \
37397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37398 $(NORMAL_TARGET_EXPORTS) \
37399 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
37400 for flag in $(EXTRA_TARGET_FLAGS); do \
37401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37402 done; \
37403 (cd $(TARGET_SUBDIR)/libgcc && \
37404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37406 "RANLIB=$${RANLIB}" \
37407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37408 install-pdf) \
37409 || exit 1
37411 @endif target-libgcc
37413 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
37414 maybe-install-html-target-libgcc:
37415 @if target-libgcc
37416 maybe-install-html-target-libgcc: install-html-target-libgcc
37418 install-html-target-libgcc: \
37419 configure-target-libgcc \
37420 html-target-libgcc
37421 @: $(MAKE); $(unstage)
37422 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37423 r=`${PWD_COMMAND}`; export r; \
37424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37425 $(NORMAL_TARGET_EXPORTS) \
37426 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
37427 for flag in $(EXTRA_TARGET_FLAGS); do \
37428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37429 done; \
37430 (cd $(TARGET_SUBDIR)/libgcc && \
37431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37433 "RANLIB=$${RANLIB}" \
37434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37435 install-html) \
37436 || exit 1
37438 @endif target-libgcc
37440 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
37441 maybe-installcheck-target-libgcc:
37442 @if target-libgcc
37443 maybe-installcheck-target-libgcc: installcheck-target-libgcc
37445 installcheck-target-libgcc: \
37446 configure-target-libgcc
37447 @: $(MAKE); $(unstage)
37448 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37449 r=`${PWD_COMMAND}`; export r; \
37450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37451 $(NORMAL_TARGET_EXPORTS) \
37452 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
37453 for flag in $(EXTRA_TARGET_FLAGS); do \
37454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37455 done; \
37456 (cd $(TARGET_SUBDIR)/libgcc && \
37457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37459 "RANLIB=$${RANLIB}" \
37460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37461 installcheck) \
37462 || exit 1
37464 @endif target-libgcc
37466 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
37467 maybe-mostlyclean-target-libgcc:
37468 @if target-libgcc
37469 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
37471 mostlyclean-target-libgcc:
37472 @: $(MAKE); $(unstage)
37473 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37474 r=`${PWD_COMMAND}`; export r; \
37475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37476 $(NORMAL_TARGET_EXPORTS) \
37477 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
37478 for flag in $(EXTRA_TARGET_FLAGS); do \
37479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37480 done; \
37481 (cd $(TARGET_SUBDIR)/libgcc && \
37482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37484 "RANLIB=$${RANLIB}" \
37485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37486 mostlyclean) \
37487 || exit 1
37489 @endif target-libgcc
37491 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
37492 maybe-clean-target-libgcc:
37493 @if target-libgcc
37494 maybe-clean-target-libgcc: clean-target-libgcc
37496 clean-target-libgcc:
37497 @: $(MAKE); $(unstage)
37498 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37499 r=`${PWD_COMMAND}`; export r; \
37500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37501 $(NORMAL_TARGET_EXPORTS) \
37502 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
37503 for flag in $(EXTRA_TARGET_FLAGS); do \
37504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37505 done; \
37506 (cd $(TARGET_SUBDIR)/libgcc && \
37507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37509 "RANLIB=$${RANLIB}" \
37510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37511 clean) \
37512 || exit 1
37514 @endif target-libgcc
37516 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
37517 maybe-distclean-target-libgcc:
37518 @if target-libgcc
37519 maybe-distclean-target-libgcc: distclean-target-libgcc
37521 distclean-target-libgcc:
37522 @: $(MAKE); $(unstage)
37523 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37524 r=`${PWD_COMMAND}`; export r; \
37525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37526 $(NORMAL_TARGET_EXPORTS) \
37527 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
37528 for flag in $(EXTRA_TARGET_FLAGS); do \
37529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37530 done; \
37531 (cd $(TARGET_SUBDIR)/libgcc && \
37532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37534 "RANLIB=$${RANLIB}" \
37535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37536 distclean) \
37537 || exit 1
37539 @endif target-libgcc
37541 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
37542 maybe-maintainer-clean-target-libgcc:
37543 @if target-libgcc
37544 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
37546 maintainer-clean-target-libgcc:
37547 @: $(MAKE); $(unstage)
37548 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37549 r=`${PWD_COMMAND}`; export r; \
37550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37551 $(NORMAL_TARGET_EXPORTS) \
37552 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
37553 for flag in $(EXTRA_TARGET_FLAGS); do \
37554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37555 done; \
37556 (cd $(TARGET_SUBDIR)/libgcc && \
37557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37559 "RANLIB=$${RANLIB}" \
37560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37561 maintainer-clean) \
37562 || exit 1
37564 @endif target-libgcc
37570 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
37571 maybe-configure-target-libbacktrace:
37572 @if gcc-bootstrap
37573 configure-target-libbacktrace: stage_current
37574 @endif gcc-bootstrap
37575 @if target-libbacktrace
37576 maybe-configure-target-libbacktrace: configure-target-libbacktrace
37577 configure-target-libbacktrace:
37578 @: $(MAKE); $(unstage)
37579 @r=`${PWD_COMMAND}`; export r; \
37580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37581 echo "Checking multilib configuration for libbacktrace..."; \
37582 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
37583 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null ; \
37584 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
37585 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
37586 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
37587 else \
37588 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
37589 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
37590 fi; \
37591 else \
37592 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
37593 fi; \
37594 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
37595 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
37596 $(NORMAL_TARGET_EXPORTS) \
37597 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
37598 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
37599 case $(srcdir) in \
37600 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37601 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
37602 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37603 esac; \
37604 module_srcdir=libbacktrace; \
37605 rm -f no-such-file || : ; \
37606 CONFIG_SITE=no-such-file $(SHELL) \
37607 $$s/$$module_srcdir/configure \
37608 --srcdir=$${topdir}/$$module_srcdir \
37609 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37610 --target=${target_alias} \
37611 || exit 1
37612 @endif target-libbacktrace
37618 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
37619 maybe-all-target-libbacktrace:
37620 @if gcc-bootstrap
37621 all-target-libbacktrace: stage_current
37622 @endif gcc-bootstrap
37623 @if target-libbacktrace
37624 TARGET-target-libbacktrace=all
37625 maybe-all-target-libbacktrace: all-target-libbacktrace
37626 all-target-libbacktrace: configure-target-libbacktrace
37627 @: $(MAKE); $(unstage)
37628 @r=`${PWD_COMMAND}`; export r; \
37629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37630 $(NORMAL_TARGET_EXPORTS) \
37631 (cd $(TARGET_SUBDIR)/libbacktrace && \
37632 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37633 $(TARGET-target-libbacktrace))
37634 @endif target-libbacktrace
37640 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
37641 maybe-check-target-libbacktrace:
37642 @if target-libbacktrace
37643 maybe-check-target-libbacktrace: check-target-libbacktrace
37645 check-target-libbacktrace:
37646 @: $(MAKE); $(unstage)
37647 @r=`${PWD_COMMAND}`; export r; \
37648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37649 $(NORMAL_TARGET_EXPORTS) \
37650 (cd $(TARGET_SUBDIR)/libbacktrace && \
37651 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37653 @endif target-libbacktrace
37655 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
37656 maybe-install-target-libbacktrace:
37657 @if target-libbacktrace
37658 maybe-install-target-libbacktrace: install-target-libbacktrace
37660 install-target-libbacktrace: installdirs
37661 @: $(MAKE); $(unstage)
37662 @r=`${PWD_COMMAND}`; export r; \
37663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37664 $(NORMAL_TARGET_EXPORTS) \
37665 (cd $(TARGET_SUBDIR)/libbacktrace && \
37666 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37668 @endif target-libbacktrace
37670 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
37671 maybe-install-strip-target-libbacktrace:
37672 @if target-libbacktrace
37673 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
37675 install-strip-target-libbacktrace: installdirs
37676 @: $(MAKE); $(unstage)
37677 @r=`${PWD_COMMAND}`; export r; \
37678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37679 $(NORMAL_TARGET_EXPORTS) \
37680 (cd $(TARGET_SUBDIR)/libbacktrace && \
37681 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37683 @endif target-libbacktrace
37685 # Other targets (info, dvi, pdf, etc.)
37687 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
37688 maybe-info-target-libbacktrace:
37689 @if target-libbacktrace
37690 maybe-info-target-libbacktrace: info-target-libbacktrace
37692 info-target-libbacktrace: \
37693 configure-target-libbacktrace
37694 @: $(MAKE); $(unstage)
37695 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37696 r=`${PWD_COMMAND}`; export r; \
37697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37698 $(NORMAL_TARGET_EXPORTS) \
37699 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace" ; \
37700 for flag in $(EXTRA_TARGET_FLAGS); do \
37701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37702 done; \
37703 (cd $(TARGET_SUBDIR)/libbacktrace && \
37704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37706 "RANLIB=$${RANLIB}" \
37707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37708 info) \
37709 || exit 1
37711 @endif target-libbacktrace
37713 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
37714 maybe-dvi-target-libbacktrace:
37715 @if target-libbacktrace
37716 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
37718 dvi-target-libbacktrace: \
37719 configure-target-libbacktrace
37720 @: $(MAKE); $(unstage)
37721 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37722 r=`${PWD_COMMAND}`; export r; \
37723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37724 $(NORMAL_TARGET_EXPORTS) \
37725 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace" ; \
37726 for flag in $(EXTRA_TARGET_FLAGS); do \
37727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37728 done; \
37729 (cd $(TARGET_SUBDIR)/libbacktrace && \
37730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37732 "RANLIB=$${RANLIB}" \
37733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37734 dvi) \
37735 || exit 1
37737 @endif target-libbacktrace
37739 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
37740 maybe-pdf-target-libbacktrace:
37741 @if target-libbacktrace
37742 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
37744 pdf-target-libbacktrace: \
37745 configure-target-libbacktrace
37746 @: $(MAKE); $(unstage)
37747 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37748 r=`${PWD_COMMAND}`; export r; \
37749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37750 $(NORMAL_TARGET_EXPORTS) \
37751 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
37752 for flag in $(EXTRA_TARGET_FLAGS); do \
37753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37754 done; \
37755 (cd $(TARGET_SUBDIR)/libbacktrace && \
37756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37758 "RANLIB=$${RANLIB}" \
37759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37760 pdf) \
37761 || exit 1
37763 @endif target-libbacktrace
37765 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
37766 maybe-html-target-libbacktrace:
37767 @if target-libbacktrace
37768 maybe-html-target-libbacktrace: html-target-libbacktrace
37770 html-target-libbacktrace: \
37771 configure-target-libbacktrace
37772 @: $(MAKE); $(unstage)
37773 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37774 r=`${PWD_COMMAND}`; export r; \
37775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37776 $(NORMAL_TARGET_EXPORTS) \
37777 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace" ; \
37778 for flag in $(EXTRA_TARGET_FLAGS); do \
37779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37780 done; \
37781 (cd $(TARGET_SUBDIR)/libbacktrace && \
37782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37784 "RANLIB=$${RANLIB}" \
37785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37786 html) \
37787 || exit 1
37789 @endif target-libbacktrace
37791 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
37792 maybe-TAGS-target-libbacktrace:
37793 @if target-libbacktrace
37794 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
37796 TAGS-target-libbacktrace: \
37797 configure-target-libbacktrace
37798 @: $(MAKE); $(unstage)
37799 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37800 r=`${PWD_COMMAND}`; export r; \
37801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37802 $(NORMAL_TARGET_EXPORTS) \
37803 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace" ; \
37804 for flag in $(EXTRA_TARGET_FLAGS); do \
37805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37806 done; \
37807 (cd $(TARGET_SUBDIR)/libbacktrace && \
37808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37810 "RANLIB=$${RANLIB}" \
37811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37812 TAGS) \
37813 || exit 1
37815 @endif target-libbacktrace
37817 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
37818 maybe-install-info-target-libbacktrace:
37819 @if target-libbacktrace
37820 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
37822 install-info-target-libbacktrace: \
37823 configure-target-libbacktrace \
37824 info-target-libbacktrace
37825 @: $(MAKE); $(unstage)
37826 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37827 r=`${PWD_COMMAND}`; export r; \
37828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37829 $(NORMAL_TARGET_EXPORTS) \
37830 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace" ; \
37831 for flag in $(EXTRA_TARGET_FLAGS); do \
37832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37833 done; \
37834 (cd $(TARGET_SUBDIR)/libbacktrace && \
37835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37837 "RANLIB=$${RANLIB}" \
37838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37839 install-info) \
37840 || exit 1
37842 @endif target-libbacktrace
37844 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
37845 maybe-install-pdf-target-libbacktrace:
37846 @if target-libbacktrace
37847 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
37849 install-pdf-target-libbacktrace: \
37850 configure-target-libbacktrace \
37851 pdf-target-libbacktrace
37852 @: $(MAKE); $(unstage)
37853 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37854 r=`${PWD_COMMAND}`; export r; \
37855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37856 $(NORMAL_TARGET_EXPORTS) \
37857 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
37858 for flag in $(EXTRA_TARGET_FLAGS); do \
37859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37860 done; \
37861 (cd $(TARGET_SUBDIR)/libbacktrace && \
37862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37864 "RANLIB=$${RANLIB}" \
37865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37866 install-pdf) \
37867 || exit 1
37869 @endif target-libbacktrace
37871 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
37872 maybe-install-html-target-libbacktrace:
37873 @if target-libbacktrace
37874 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
37876 install-html-target-libbacktrace: \
37877 configure-target-libbacktrace \
37878 html-target-libbacktrace
37879 @: $(MAKE); $(unstage)
37880 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37881 r=`${PWD_COMMAND}`; export r; \
37882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37883 $(NORMAL_TARGET_EXPORTS) \
37884 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace" ; \
37885 for flag in $(EXTRA_TARGET_FLAGS); do \
37886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37887 done; \
37888 (cd $(TARGET_SUBDIR)/libbacktrace && \
37889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37891 "RANLIB=$${RANLIB}" \
37892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37893 install-html) \
37894 || exit 1
37896 @endif target-libbacktrace
37898 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
37899 maybe-installcheck-target-libbacktrace:
37900 @if target-libbacktrace
37901 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
37903 installcheck-target-libbacktrace: \
37904 configure-target-libbacktrace
37905 @: $(MAKE); $(unstage)
37906 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37907 r=`${PWD_COMMAND}`; export r; \
37908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37909 $(NORMAL_TARGET_EXPORTS) \
37910 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace" ; \
37911 for flag in $(EXTRA_TARGET_FLAGS); do \
37912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37913 done; \
37914 (cd $(TARGET_SUBDIR)/libbacktrace && \
37915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37917 "RANLIB=$${RANLIB}" \
37918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37919 installcheck) \
37920 || exit 1
37922 @endif target-libbacktrace
37924 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
37925 maybe-mostlyclean-target-libbacktrace:
37926 @if target-libbacktrace
37927 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
37929 mostlyclean-target-libbacktrace:
37930 @: $(MAKE); $(unstage)
37931 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37932 r=`${PWD_COMMAND}`; export r; \
37933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37934 $(NORMAL_TARGET_EXPORTS) \
37935 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace" ; \
37936 for flag in $(EXTRA_TARGET_FLAGS); do \
37937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37938 done; \
37939 (cd $(TARGET_SUBDIR)/libbacktrace && \
37940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37942 "RANLIB=$${RANLIB}" \
37943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37944 mostlyclean) \
37945 || exit 1
37947 @endif target-libbacktrace
37949 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
37950 maybe-clean-target-libbacktrace:
37951 @if target-libbacktrace
37952 maybe-clean-target-libbacktrace: clean-target-libbacktrace
37954 clean-target-libbacktrace:
37955 @: $(MAKE); $(unstage)
37956 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37957 r=`${PWD_COMMAND}`; export r; \
37958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37959 $(NORMAL_TARGET_EXPORTS) \
37960 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace" ; \
37961 for flag in $(EXTRA_TARGET_FLAGS); do \
37962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37963 done; \
37964 (cd $(TARGET_SUBDIR)/libbacktrace && \
37965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37967 "RANLIB=$${RANLIB}" \
37968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37969 clean) \
37970 || exit 1
37972 @endif target-libbacktrace
37974 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
37975 maybe-distclean-target-libbacktrace:
37976 @if target-libbacktrace
37977 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
37979 distclean-target-libbacktrace:
37980 @: $(MAKE); $(unstage)
37981 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37982 r=`${PWD_COMMAND}`; export r; \
37983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37984 $(NORMAL_TARGET_EXPORTS) \
37985 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace" ; \
37986 for flag in $(EXTRA_TARGET_FLAGS); do \
37987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37988 done; \
37989 (cd $(TARGET_SUBDIR)/libbacktrace && \
37990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37992 "RANLIB=$${RANLIB}" \
37993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37994 distclean) \
37995 || exit 1
37997 @endif target-libbacktrace
37999 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
38000 maybe-maintainer-clean-target-libbacktrace:
38001 @if target-libbacktrace
38002 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
38004 maintainer-clean-target-libbacktrace:
38005 @: $(MAKE); $(unstage)
38006 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
38007 r=`${PWD_COMMAND}`; export r; \
38008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38009 $(NORMAL_TARGET_EXPORTS) \
38010 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace" ; \
38011 for flag in $(EXTRA_TARGET_FLAGS); do \
38012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38013 done; \
38014 (cd $(TARGET_SUBDIR)/libbacktrace && \
38015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38017 "RANLIB=$${RANLIB}" \
38018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38019 maintainer-clean) \
38020 || exit 1
38022 @endif target-libbacktrace
38028 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
38029 maybe-configure-target-libquadmath:
38030 @if gcc-bootstrap
38031 configure-target-libquadmath: stage_current
38032 @endif gcc-bootstrap
38033 @if target-libquadmath
38034 maybe-configure-target-libquadmath: configure-target-libquadmath
38035 configure-target-libquadmath:
38036 @: $(MAKE); $(unstage)
38037 @r=`${PWD_COMMAND}`; export r; \
38038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38039 echo "Checking multilib configuration for libquadmath..."; \
38040 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
38041 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null ; \
38042 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
38043 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
38044 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
38045 else \
38046 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
38047 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
38048 fi; \
38049 else \
38050 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
38051 fi; \
38052 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
38053 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
38054 $(NORMAL_TARGET_EXPORTS) \
38055 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
38056 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
38057 case $(srcdir) in \
38058 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38059 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
38060 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38061 esac; \
38062 module_srcdir=libquadmath; \
38063 rm -f no-such-file || : ; \
38064 CONFIG_SITE=no-such-file $(SHELL) \
38065 $$s/$$module_srcdir/configure \
38066 --srcdir=$${topdir}/$$module_srcdir \
38067 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38068 --target=${target_alias} \
38069 || exit 1
38070 @endif target-libquadmath
38076 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
38077 maybe-all-target-libquadmath:
38078 @if gcc-bootstrap
38079 all-target-libquadmath: stage_current
38080 @endif gcc-bootstrap
38081 @if target-libquadmath
38082 TARGET-target-libquadmath=all
38083 maybe-all-target-libquadmath: all-target-libquadmath
38084 all-target-libquadmath: configure-target-libquadmath
38085 @: $(MAKE); $(unstage)
38086 @r=`${PWD_COMMAND}`; export r; \
38087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38088 $(NORMAL_TARGET_EXPORTS) \
38089 (cd $(TARGET_SUBDIR)/libquadmath && \
38090 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38091 $(TARGET-target-libquadmath))
38092 @endif target-libquadmath
38098 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
38099 maybe-check-target-libquadmath:
38100 @if target-libquadmath
38101 maybe-check-target-libquadmath: check-target-libquadmath
38103 check-target-libquadmath:
38104 @: $(MAKE); $(unstage)
38105 @r=`${PWD_COMMAND}`; export r; \
38106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38107 $(NORMAL_TARGET_EXPORTS) \
38108 (cd $(TARGET_SUBDIR)/libquadmath && \
38109 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38111 @endif target-libquadmath
38113 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
38114 maybe-install-target-libquadmath:
38115 @if target-libquadmath
38116 maybe-install-target-libquadmath: install-target-libquadmath
38118 install-target-libquadmath: installdirs
38119 @: $(MAKE); $(unstage)
38120 @r=`${PWD_COMMAND}`; export r; \
38121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38122 $(NORMAL_TARGET_EXPORTS) \
38123 (cd $(TARGET_SUBDIR)/libquadmath && \
38124 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38126 @endif target-libquadmath
38128 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
38129 maybe-install-strip-target-libquadmath:
38130 @if target-libquadmath
38131 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
38133 install-strip-target-libquadmath: installdirs
38134 @: $(MAKE); $(unstage)
38135 @r=`${PWD_COMMAND}`; export r; \
38136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38137 $(NORMAL_TARGET_EXPORTS) \
38138 (cd $(TARGET_SUBDIR)/libquadmath && \
38139 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38141 @endif target-libquadmath
38143 # Other targets (info, dvi, pdf, etc.)
38145 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
38146 maybe-info-target-libquadmath:
38147 @if target-libquadmath
38148 maybe-info-target-libquadmath: info-target-libquadmath
38150 info-target-libquadmath: \
38151 configure-target-libquadmath
38152 @: $(MAKE); $(unstage)
38153 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38154 r=`${PWD_COMMAND}`; export r; \
38155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38156 $(NORMAL_TARGET_EXPORTS) \
38157 echo "Doing info in $(TARGET_SUBDIR)/libquadmath" ; \
38158 for flag in $(EXTRA_TARGET_FLAGS); do \
38159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38160 done; \
38161 (cd $(TARGET_SUBDIR)/libquadmath && \
38162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38164 "RANLIB=$${RANLIB}" \
38165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38166 info) \
38167 || exit 1
38169 @endif target-libquadmath
38171 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
38172 maybe-dvi-target-libquadmath:
38173 @if target-libquadmath
38174 maybe-dvi-target-libquadmath: dvi-target-libquadmath
38176 dvi-target-libquadmath: \
38177 configure-target-libquadmath
38178 @: $(MAKE); $(unstage)
38179 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38180 r=`${PWD_COMMAND}`; export r; \
38181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38182 $(NORMAL_TARGET_EXPORTS) \
38183 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath" ; \
38184 for flag in $(EXTRA_TARGET_FLAGS); do \
38185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38186 done; \
38187 (cd $(TARGET_SUBDIR)/libquadmath && \
38188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38190 "RANLIB=$${RANLIB}" \
38191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38192 dvi) \
38193 || exit 1
38195 @endif target-libquadmath
38197 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
38198 maybe-pdf-target-libquadmath:
38199 @if target-libquadmath
38200 maybe-pdf-target-libquadmath: pdf-target-libquadmath
38202 pdf-target-libquadmath: \
38203 configure-target-libquadmath
38204 @: $(MAKE); $(unstage)
38205 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38206 r=`${PWD_COMMAND}`; export r; \
38207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38208 $(NORMAL_TARGET_EXPORTS) \
38209 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath" ; \
38210 for flag in $(EXTRA_TARGET_FLAGS); do \
38211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38212 done; \
38213 (cd $(TARGET_SUBDIR)/libquadmath && \
38214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38216 "RANLIB=$${RANLIB}" \
38217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38218 pdf) \
38219 || exit 1
38221 @endif target-libquadmath
38223 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
38224 maybe-html-target-libquadmath:
38225 @if target-libquadmath
38226 maybe-html-target-libquadmath: html-target-libquadmath
38228 html-target-libquadmath: \
38229 configure-target-libquadmath
38230 @: $(MAKE); $(unstage)
38231 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38232 r=`${PWD_COMMAND}`; export r; \
38233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38234 $(NORMAL_TARGET_EXPORTS) \
38235 echo "Doing html in $(TARGET_SUBDIR)/libquadmath" ; \
38236 for flag in $(EXTRA_TARGET_FLAGS); do \
38237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38238 done; \
38239 (cd $(TARGET_SUBDIR)/libquadmath && \
38240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38242 "RANLIB=$${RANLIB}" \
38243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38244 html) \
38245 || exit 1
38247 @endif target-libquadmath
38249 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
38250 maybe-TAGS-target-libquadmath:
38251 @if target-libquadmath
38252 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
38254 TAGS-target-libquadmath: \
38255 configure-target-libquadmath
38256 @: $(MAKE); $(unstage)
38257 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38258 r=`${PWD_COMMAND}`; export r; \
38259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38260 $(NORMAL_TARGET_EXPORTS) \
38261 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath" ; \
38262 for flag in $(EXTRA_TARGET_FLAGS); do \
38263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38264 done; \
38265 (cd $(TARGET_SUBDIR)/libquadmath && \
38266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38268 "RANLIB=$${RANLIB}" \
38269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38270 TAGS) \
38271 || exit 1
38273 @endif target-libquadmath
38275 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
38276 maybe-install-info-target-libquadmath:
38277 @if target-libquadmath
38278 maybe-install-info-target-libquadmath: install-info-target-libquadmath
38280 install-info-target-libquadmath: \
38281 configure-target-libquadmath \
38282 info-target-libquadmath
38283 @: $(MAKE); $(unstage)
38284 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38285 r=`${PWD_COMMAND}`; export r; \
38286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38287 $(NORMAL_TARGET_EXPORTS) \
38288 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath" ; \
38289 for flag in $(EXTRA_TARGET_FLAGS); do \
38290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38291 done; \
38292 (cd $(TARGET_SUBDIR)/libquadmath && \
38293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38295 "RANLIB=$${RANLIB}" \
38296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38297 install-info) \
38298 || exit 1
38300 @endif target-libquadmath
38302 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
38303 maybe-install-pdf-target-libquadmath:
38304 @if target-libquadmath
38305 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
38307 install-pdf-target-libquadmath: \
38308 configure-target-libquadmath \
38309 pdf-target-libquadmath
38310 @: $(MAKE); $(unstage)
38311 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38312 r=`${PWD_COMMAND}`; export r; \
38313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38314 $(NORMAL_TARGET_EXPORTS) \
38315 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath" ; \
38316 for flag in $(EXTRA_TARGET_FLAGS); do \
38317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38318 done; \
38319 (cd $(TARGET_SUBDIR)/libquadmath && \
38320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38322 "RANLIB=$${RANLIB}" \
38323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38324 install-pdf) \
38325 || exit 1
38327 @endif target-libquadmath
38329 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
38330 maybe-install-html-target-libquadmath:
38331 @if target-libquadmath
38332 maybe-install-html-target-libquadmath: install-html-target-libquadmath
38334 install-html-target-libquadmath: \
38335 configure-target-libquadmath \
38336 html-target-libquadmath
38337 @: $(MAKE); $(unstage)
38338 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38339 r=`${PWD_COMMAND}`; export r; \
38340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38341 $(NORMAL_TARGET_EXPORTS) \
38342 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath" ; \
38343 for flag in $(EXTRA_TARGET_FLAGS); do \
38344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38345 done; \
38346 (cd $(TARGET_SUBDIR)/libquadmath && \
38347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38349 "RANLIB=$${RANLIB}" \
38350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38351 install-html) \
38352 || exit 1
38354 @endif target-libquadmath
38356 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
38357 maybe-installcheck-target-libquadmath:
38358 @if target-libquadmath
38359 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
38361 installcheck-target-libquadmath: \
38362 configure-target-libquadmath
38363 @: $(MAKE); $(unstage)
38364 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38365 r=`${PWD_COMMAND}`; export r; \
38366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38367 $(NORMAL_TARGET_EXPORTS) \
38368 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath" ; \
38369 for flag in $(EXTRA_TARGET_FLAGS); do \
38370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38371 done; \
38372 (cd $(TARGET_SUBDIR)/libquadmath && \
38373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38375 "RANLIB=$${RANLIB}" \
38376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38377 installcheck) \
38378 || exit 1
38380 @endif target-libquadmath
38382 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
38383 maybe-mostlyclean-target-libquadmath:
38384 @if target-libquadmath
38385 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
38387 mostlyclean-target-libquadmath:
38388 @: $(MAKE); $(unstage)
38389 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38390 r=`${PWD_COMMAND}`; export r; \
38391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38392 $(NORMAL_TARGET_EXPORTS) \
38393 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath" ; \
38394 for flag in $(EXTRA_TARGET_FLAGS); do \
38395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38396 done; \
38397 (cd $(TARGET_SUBDIR)/libquadmath && \
38398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38400 "RANLIB=$${RANLIB}" \
38401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38402 mostlyclean) \
38403 || exit 1
38405 @endif target-libquadmath
38407 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
38408 maybe-clean-target-libquadmath:
38409 @if target-libquadmath
38410 maybe-clean-target-libquadmath: clean-target-libquadmath
38412 clean-target-libquadmath:
38413 @: $(MAKE); $(unstage)
38414 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38415 r=`${PWD_COMMAND}`; export r; \
38416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38417 $(NORMAL_TARGET_EXPORTS) \
38418 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath" ; \
38419 for flag in $(EXTRA_TARGET_FLAGS); do \
38420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38421 done; \
38422 (cd $(TARGET_SUBDIR)/libquadmath && \
38423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38425 "RANLIB=$${RANLIB}" \
38426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38427 clean) \
38428 || exit 1
38430 @endif target-libquadmath
38432 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
38433 maybe-distclean-target-libquadmath:
38434 @if target-libquadmath
38435 maybe-distclean-target-libquadmath: distclean-target-libquadmath
38437 distclean-target-libquadmath:
38438 @: $(MAKE); $(unstage)
38439 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38440 r=`${PWD_COMMAND}`; export r; \
38441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38442 $(NORMAL_TARGET_EXPORTS) \
38443 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath" ; \
38444 for flag in $(EXTRA_TARGET_FLAGS); do \
38445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38446 done; \
38447 (cd $(TARGET_SUBDIR)/libquadmath && \
38448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38450 "RANLIB=$${RANLIB}" \
38451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38452 distclean) \
38453 || exit 1
38455 @endif target-libquadmath
38457 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
38458 maybe-maintainer-clean-target-libquadmath:
38459 @if target-libquadmath
38460 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
38462 maintainer-clean-target-libquadmath:
38463 @: $(MAKE); $(unstage)
38464 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38465 r=`${PWD_COMMAND}`; export r; \
38466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38467 $(NORMAL_TARGET_EXPORTS) \
38468 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath" ; \
38469 for flag in $(EXTRA_TARGET_FLAGS); do \
38470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38471 done; \
38472 (cd $(TARGET_SUBDIR)/libquadmath && \
38473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38475 "RANLIB=$${RANLIB}" \
38476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38477 maintainer-clean) \
38478 || exit 1
38480 @endif target-libquadmath
38486 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
38487 maybe-configure-target-libgfortran:
38488 @if gcc-bootstrap
38489 configure-target-libgfortran: stage_current
38490 @endif gcc-bootstrap
38491 @if target-libgfortran
38492 maybe-configure-target-libgfortran: configure-target-libgfortran
38493 configure-target-libgfortran:
38494 @: $(MAKE); $(unstage)
38495 @r=`${PWD_COMMAND}`; export r; \
38496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38497 echo "Checking multilib configuration for libgfortran..."; \
38498 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
38499 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
38500 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
38501 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
38502 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
38503 else \
38504 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
38505 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
38506 fi; \
38507 else \
38508 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
38509 fi; \
38510 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
38511 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
38512 $(NORMAL_TARGET_EXPORTS) \
38513 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
38514 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
38515 case $(srcdir) in \
38516 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38517 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
38518 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38519 esac; \
38520 module_srcdir=libgfortran; \
38521 rm -f no-such-file || : ; \
38522 CONFIG_SITE=no-such-file $(SHELL) \
38523 $$s/$$module_srcdir/configure \
38524 --srcdir=$${topdir}/$$module_srcdir \
38525 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38526 --target=${target_alias} \
38527 || exit 1
38528 @endif target-libgfortran
38534 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
38535 maybe-all-target-libgfortran:
38536 @if gcc-bootstrap
38537 all-target-libgfortran: stage_current
38538 @endif gcc-bootstrap
38539 @if target-libgfortran
38540 TARGET-target-libgfortran=all
38541 maybe-all-target-libgfortran: all-target-libgfortran
38542 all-target-libgfortran: configure-target-libgfortran
38543 @: $(MAKE); $(unstage)
38544 @r=`${PWD_COMMAND}`; export r; \
38545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38546 $(NORMAL_TARGET_EXPORTS) \
38547 (cd $(TARGET_SUBDIR)/libgfortran && \
38548 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38549 $(TARGET-target-libgfortran))
38550 @endif target-libgfortran
38556 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
38557 maybe-check-target-libgfortran:
38558 @if target-libgfortran
38559 maybe-check-target-libgfortran: check-target-libgfortran
38561 check-target-libgfortran:
38562 @: $(MAKE); $(unstage)
38563 @r=`${PWD_COMMAND}`; export r; \
38564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38565 $(NORMAL_TARGET_EXPORTS) \
38566 (cd $(TARGET_SUBDIR)/libgfortran && \
38567 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38569 @endif target-libgfortran
38571 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
38572 maybe-install-target-libgfortran:
38573 @if target-libgfortran
38574 maybe-install-target-libgfortran: install-target-libgfortran
38576 install-target-libgfortran: installdirs
38577 @: $(MAKE); $(unstage)
38578 @r=`${PWD_COMMAND}`; export r; \
38579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38580 $(NORMAL_TARGET_EXPORTS) \
38581 (cd $(TARGET_SUBDIR)/libgfortran && \
38582 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38584 @endif target-libgfortran
38586 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
38587 maybe-install-strip-target-libgfortran:
38588 @if target-libgfortran
38589 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
38591 install-strip-target-libgfortran: installdirs
38592 @: $(MAKE); $(unstage)
38593 @r=`${PWD_COMMAND}`; export r; \
38594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38595 $(NORMAL_TARGET_EXPORTS) \
38596 (cd $(TARGET_SUBDIR)/libgfortran && \
38597 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38599 @endif target-libgfortran
38601 # Other targets (info, dvi, pdf, etc.)
38603 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
38604 maybe-info-target-libgfortran:
38605 @if target-libgfortran
38606 maybe-info-target-libgfortran: info-target-libgfortran
38608 info-target-libgfortran: \
38609 configure-target-libgfortran
38610 @: $(MAKE); $(unstage)
38611 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38612 r=`${PWD_COMMAND}`; export r; \
38613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38614 $(NORMAL_TARGET_EXPORTS) \
38615 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
38616 for flag in $(EXTRA_TARGET_FLAGS); do \
38617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38618 done; \
38619 (cd $(TARGET_SUBDIR)/libgfortran && \
38620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38622 "RANLIB=$${RANLIB}" \
38623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38624 info) \
38625 || exit 1
38627 @endif target-libgfortran
38629 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
38630 maybe-dvi-target-libgfortran:
38631 @if target-libgfortran
38632 maybe-dvi-target-libgfortran: dvi-target-libgfortran
38634 dvi-target-libgfortran: \
38635 configure-target-libgfortran
38636 @: $(MAKE); $(unstage)
38637 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38638 r=`${PWD_COMMAND}`; export r; \
38639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38640 $(NORMAL_TARGET_EXPORTS) \
38641 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
38642 for flag in $(EXTRA_TARGET_FLAGS); do \
38643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38644 done; \
38645 (cd $(TARGET_SUBDIR)/libgfortran && \
38646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38648 "RANLIB=$${RANLIB}" \
38649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38650 dvi) \
38651 || exit 1
38653 @endif target-libgfortran
38655 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
38656 maybe-pdf-target-libgfortran:
38657 @if target-libgfortran
38658 maybe-pdf-target-libgfortran: pdf-target-libgfortran
38660 pdf-target-libgfortran: \
38661 configure-target-libgfortran
38662 @: $(MAKE); $(unstage)
38663 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38664 r=`${PWD_COMMAND}`; export r; \
38665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38666 $(NORMAL_TARGET_EXPORTS) \
38667 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
38668 for flag in $(EXTRA_TARGET_FLAGS); do \
38669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38670 done; \
38671 (cd $(TARGET_SUBDIR)/libgfortran && \
38672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38674 "RANLIB=$${RANLIB}" \
38675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38676 pdf) \
38677 || exit 1
38679 @endif target-libgfortran
38681 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
38682 maybe-html-target-libgfortran:
38683 @if target-libgfortran
38684 maybe-html-target-libgfortran: html-target-libgfortran
38686 html-target-libgfortran: \
38687 configure-target-libgfortran
38688 @: $(MAKE); $(unstage)
38689 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38690 r=`${PWD_COMMAND}`; export r; \
38691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38692 $(NORMAL_TARGET_EXPORTS) \
38693 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
38694 for flag in $(EXTRA_TARGET_FLAGS); do \
38695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38696 done; \
38697 (cd $(TARGET_SUBDIR)/libgfortran && \
38698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38700 "RANLIB=$${RANLIB}" \
38701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38702 html) \
38703 || exit 1
38705 @endif target-libgfortran
38707 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
38708 maybe-TAGS-target-libgfortran:
38709 @if target-libgfortran
38710 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
38712 TAGS-target-libgfortran: \
38713 configure-target-libgfortran
38714 @: $(MAKE); $(unstage)
38715 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38716 r=`${PWD_COMMAND}`; export r; \
38717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38718 $(NORMAL_TARGET_EXPORTS) \
38719 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
38720 for flag in $(EXTRA_TARGET_FLAGS); do \
38721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38722 done; \
38723 (cd $(TARGET_SUBDIR)/libgfortran && \
38724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38726 "RANLIB=$${RANLIB}" \
38727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38728 TAGS) \
38729 || exit 1
38731 @endif target-libgfortran
38733 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
38734 maybe-install-info-target-libgfortran:
38735 @if target-libgfortran
38736 maybe-install-info-target-libgfortran: install-info-target-libgfortran
38738 install-info-target-libgfortran: \
38739 configure-target-libgfortran \
38740 info-target-libgfortran
38741 @: $(MAKE); $(unstage)
38742 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38743 r=`${PWD_COMMAND}`; export r; \
38744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38745 $(NORMAL_TARGET_EXPORTS) \
38746 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
38747 for flag in $(EXTRA_TARGET_FLAGS); do \
38748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38749 done; \
38750 (cd $(TARGET_SUBDIR)/libgfortran && \
38751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38753 "RANLIB=$${RANLIB}" \
38754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38755 install-info) \
38756 || exit 1
38758 @endif target-libgfortran
38760 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
38761 maybe-install-pdf-target-libgfortran:
38762 @if target-libgfortran
38763 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
38765 install-pdf-target-libgfortran: \
38766 configure-target-libgfortran \
38767 pdf-target-libgfortran
38768 @: $(MAKE); $(unstage)
38769 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38770 r=`${PWD_COMMAND}`; export r; \
38771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38772 $(NORMAL_TARGET_EXPORTS) \
38773 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
38774 for flag in $(EXTRA_TARGET_FLAGS); do \
38775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38776 done; \
38777 (cd $(TARGET_SUBDIR)/libgfortran && \
38778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38780 "RANLIB=$${RANLIB}" \
38781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38782 install-pdf) \
38783 || exit 1
38785 @endif target-libgfortran
38787 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
38788 maybe-install-html-target-libgfortran:
38789 @if target-libgfortran
38790 maybe-install-html-target-libgfortran: install-html-target-libgfortran
38792 install-html-target-libgfortran: \
38793 configure-target-libgfortran \
38794 html-target-libgfortran
38795 @: $(MAKE); $(unstage)
38796 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38797 r=`${PWD_COMMAND}`; export r; \
38798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38799 $(NORMAL_TARGET_EXPORTS) \
38800 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
38801 for flag in $(EXTRA_TARGET_FLAGS); do \
38802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38803 done; \
38804 (cd $(TARGET_SUBDIR)/libgfortran && \
38805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38807 "RANLIB=$${RANLIB}" \
38808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38809 install-html) \
38810 || exit 1
38812 @endif target-libgfortran
38814 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
38815 maybe-installcheck-target-libgfortran:
38816 @if target-libgfortran
38817 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
38819 installcheck-target-libgfortran: \
38820 configure-target-libgfortran
38821 @: $(MAKE); $(unstage)
38822 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38823 r=`${PWD_COMMAND}`; export r; \
38824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38825 $(NORMAL_TARGET_EXPORTS) \
38826 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
38827 for flag in $(EXTRA_TARGET_FLAGS); do \
38828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38829 done; \
38830 (cd $(TARGET_SUBDIR)/libgfortran && \
38831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38833 "RANLIB=$${RANLIB}" \
38834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38835 installcheck) \
38836 || exit 1
38838 @endif target-libgfortran
38840 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
38841 maybe-mostlyclean-target-libgfortran:
38842 @if target-libgfortran
38843 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
38845 mostlyclean-target-libgfortran:
38846 @: $(MAKE); $(unstage)
38847 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38848 r=`${PWD_COMMAND}`; export r; \
38849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38850 $(NORMAL_TARGET_EXPORTS) \
38851 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
38852 for flag in $(EXTRA_TARGET_FLAGS); do \
38853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38854 done; \
38855 (cd $(TARGET_SUBDIR)/libgfortran && \
38856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38858 "RANLIB=$${RANLIB}" \
38859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38860 mostlyclean) \
38861 || exit 1
38863 @endif target-libgfortran
38865 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
38866 maybe-clean-target-libgfortran:
38867 @if target-libgfortran
38868 maybe-clean-target-libgfortran: clean-target-libgfortran
38870 clean-target-libgfortran:
38871 @: $(MAKE); $(unstage)
38872 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38873 r=`${PWD_COMMAND}`; export r; \
38874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38875 $(NORMAL_TARGET_EXPORTS) \
38876 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
38877 for flag in $(EXTRA_TARGET_FLAGS); do \
38878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38879 done; \
38880 (cd $(TARGET_SUBDIR)/libgfortran && \
38881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38883 "RANLIB=$${RANLIB}" \
38884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38885 clean) \
38886 || exit 1
38888 @endif target-libgfortran
38890 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
38891 maybe-distclean-target-libgfortran:
38892 @if target-libgfortran
38893 maybe-distclean-target-libgfortran: distclean-target-libgfortran
38895 distclean-target-libgfortran:
38896 @: $(MAKE); $(unstage)
38897 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38898 r=`${PWD_COMMAND}`; export r; \
38899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38900 $(NORMAL_TARGET_EXPORTS) \
38901 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
38902 for flag in $(EXTRA_TARGET_FLAGS); do \
38903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38904 done; \
38905 (cd $(TARGET_SUBDIR)/libgfortran && \
38906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38908 "RANLIB=$${RANLIB}" \
38909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38910 distclean) \
38911 || exit 1
38913 @endif target-libgfortran
38915 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
38916 maybe-maintainer-clean-target-libgfortran:
38917 @if target-libgfortran
38918 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
38920 maintainer-clean-target-libgfortran:
38921 @: $(MAKE); $(unstage)
38922 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38923 r=`${PWD_COMMAND}`; export r; \
38924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38925 $(NORMAL_TARGET_EXPORTS) \
38926 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
38927 for flag in $(EXTRA_TARGET_FLAGS); do \
38928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38929 done; \
38930 (cd $(TARGET_SUBDIR)/libgfortran && \
38931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38933 "RANLIB=$${RANLIB}" \
38934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38935 maintainer-clean) \
38936 || exit 1
38938 @endif target-libgfortran
38944 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
38945 maybe-configure-target-libobjc:
38946 @if gcc-bootstrap
38947 configure-target-libobjc: stage_current
38948 @endif gcc-bootstrap
38949 @if target-libobjc
38950 maybe-configure-target-libobjc: configure-target-libobjc
38951 configure-target-libobjc:
38952 @: $(MAKE); $(unstage)
38953 @r=`${PWD_COMMAND}`; export r; \
38954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38955 echo "Checking multilib configuration for libobjc..."; \
38956 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
38957 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
38958 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
38959 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
38960 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
38961 else \
38962 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
38963 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
38964 fi; \
38965 else \
38966 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
38967 fi; \
38968 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
38969 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
38970 $(NORMAL_TARGET_EXPORTS) \
38971 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
38972 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
38973 case $(srcdir) in \
38974 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38975 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
38976 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38977 esac; \
38978 module_srcdir=libobjc; \
38979 rm -f no-such-file || : ; \
38980 CONFIG_SITE=no-such-file $(SHELL) \
38981 $$s/$$module_srcdir/configure \
38982 --srcdir=$${topdir}/$$module_srcdir \
38983 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38984 --target=${target_alias} \
38985 || exit 1
38986 @endif target-libobjc
38992 .PHONY: all-target-libobjc maybe-all-target-libobjc
38993 maybe-all-target-libobjc:
38994 @if gcc-bootstrap
38995 all-target-libobjc: stage_current
38996 @endif gcc-bootstrap
38997 @if target-libobjc
38998 TARGET-target-libobjc=all
38999 maybe-all-target-libobjc: all-target-libobjc
39000 all-target-libobjc: configure-target-libobjc
39001 @: $(MAKE); $(unstage)
39002 @r=`${PWD_COMMAND}`; export r; \
39003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39004 $(NORMAL_TARGET_EXPORTS) \
39005 (cd $(TARGET_SUBDIR)/libobjc && \
39006 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39007 $(TARGET-target-libobjc))
39008 @endif target-libobjc
39014 .PHONY: check-target-libobjc maybe-check-target-libobjc
39015 maybe-check-target-libobjc:
39016 @if target-libobjc
39017 maybe-check-target-libobjc: check-target-libobjc
39019 check-target-libobjc:
39020 @: $(MAKE); $(unstage)
39021 @r=`${PWD_COMMAND}`; export r; \
39022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39023 $(NORMAL_TARGET_EXPORTS) \
39024 (cd $(TARGET_SUBDIR)/libobjc && \
39025 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39027 @endif target-libobjc
39029 .PHONY: install-target-libobjc maybe-install-target-libobjc
39030 maybe-install-target-libobjc:
39031 @if target-libobjc
39032 maybe-install-target-libobjc: install-target-libobjc
39034 install-target-libobjc: installdirs
39035 @: $(MAKE); $(unstage)
39036 @r=`${PWD_COMMAND}`; export r; \
39037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39038 $(NORMAL_TARGET_EXPORTS) \
39039 (cd $(TARGET_SUBDIR)/libobjc && \
39040 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39042 @endif target-libobjc
39044 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
39045 maybe-install-strip-target-libobjc:
39046 @if target-libobjc
39047 maybe-install-strip-target-libobjc: install-strip-target-libobjc
39049 install-strip-target-libobjc: installdirs
39050 @: $(MAKE); $(unstage)
39051 @r=`${PWD_COMMAND}`; export r; \
39052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39053 $(NORMAL_TARGET_EXPORTS) \
39054 (cd $(TARGET_SUBDIR)/libobjc && \
39055 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39057 @endif target-libobjc
39059 # Other targets (info, dvi, pdf, etc.)
39061 .PHONY: maybe-info-target-libobjc info-target-libobjc
39062 maybe-info-target-libobjc:
39063 @if target-libobjc
39064 maybe-info-target-libobjc: info-target-libobjc
39066 info-target-libobjc: \
39067 configure-target-libobjc
39068 @: $(MAKE); $(unstage)
39069 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39070 r=`${PWD_COMMAND}`; export r; \
39071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39072 $(NORMAL_TARGET_EXPORTS) \
39073 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
39074 for flag in $(EXTRA_TARGET_FLAGS); do \
39075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39076 done; \
39077 (cd $(TARGET_SUBDIR)/libobjc && \
39078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39080 "RANLIB=$${RANLIB}" \
39081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39082 info) \
39083 || exit 1
39085 @endif target-libobjc
39087 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
39088 maybe-dvi-target-libobjc:
39089 @if target-libobjc
39090 maybe-dvi-target-libobjc: dvi-target-libobjc
39092 dvi-target-libobjc: \
39093 configure-target-libobjc
39094 @: $(MAKE); $(unstage)
39095 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39096 r=`${PWD_COMMAND}`; export r; \
39097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39098 $(NORMAL_TARGET_EXPORTS) \
39099 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
39100 for flag in $(EXTRA_TARGET_FLAGS); do \
39101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39102 done; \
39103 (cd $(TARGET_SUBDIR)/libobjc && \
39104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39106 "RANLIB=$${RANLIB}" \
39107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39108 dvi) \
39109 || exit 1
39111 @endif target-libobjc
39113 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
39114 maybe-pdf-target-libobjc:
39115 @if target-libobjc
39116 maybe-pdf-target-libobjc: pdf-target-libobjc
39118 pdf-target-libobjc: \
39119 configure-target-libobjc
39120 @: $(MAKE); $(unstage)
39121 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39122 r=`${PWD_COMMAND}`; export r; \
39123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39124 $(NORMAL_TARGET_EXPORTS) \
39125 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
39126 for flag in $(EXTRA_TARGET_FLAGS); do \
39127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39128 done; \
39129 (cd $(TARGET_SUBDIR)/libobjc && \
39130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39132 "RANLIB=$${RANLIB}" \
39133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39134 pdf) \
39135 || exit 1
39137 @endif target-libobjc
39139 .PHONY: maybe-html-target-libobjc html-target-libobjc
39140 maybe-html-target-libobjc:
39141 @if target-libobjc
39142 maybe-html-target-libobjc: html-target-libobjc
39144 html-target-libobjc: \
39145 configure-target-libobjc
39146 @: $(MAKE); $(unstage)
39147 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39148 r=`${PWD_COMMAND}`; export r; \
39149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39150 $(NORMAL_TARGET_EXPORTS) \
39151 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
39152 for flag in $(EXTRA_TARGET_FLAGS); do \
39153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39154 done; \
39155 (cd $(TARGET_SUBDIR)/libobjc && \
39156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39158 "RANLIB=$${RANLIB}" \
39159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39160 html) \
39161 || exit 1
39163 @endif target-libobjc
39165 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
39166 maybe-TAGS-target-libobjc:
39167 @if target-libobjc
39168 maybe-TAGS-target-libobjc: TAGS-target-libobjc
39170 TAGS-target-libobjc: \
39171 configure-target-libobjc
39172 @: $(MAKE); $(unstage)
39173 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39174 r=`${PWD_COMMAND}`; export r; \
39175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39176 $(NORMAL_TARGET_EXPORTS) \
39177 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
39178 for flag in $(EXTRA_TARGET_FLAGS); do \
39179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39180 done; \
39181 (cd $(TARGET_SUBDIR)/libobjc && \
39182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39184 "RANLIB=$${RANLIB}" \
39185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39186 TAGS) \
39187 || exit 1
39189 @endif target-libobjc
39191 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
39192 maybe-install-info-target-libobjc:
39193 @if target-libobjc
39194 maybe-install-info-target-libobjc: install-info-target-libobjc
39196 install-info-target-libobjc: \
39197 configure-target-libobjc \
39198 info-target-libobjc
39199 @: $(MAKE); $(unstage)
39200 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39201 r=`${PWD_COMMAND}`; export r; \
39202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39203 $(NORMAL_TARGET_EXPORTS) \
39204 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
39205 for flag in $(EXTRA_TARGET_FLAGS); do \
39206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39207 done; \
39208 (cd $(TARGET_SUBDIR)/libobjc && \
39209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39211 "RANLIB=$${RANLIB}" \
39212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39213 install-info) \
39214 || exit 1
39216 @endif target-libobjc
39218 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
39219 maybe-install-pdf-target-libobjc:
39220 @if target-libobjc
39221 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
39223 install-pdf-target-libobjc: \
39224 configure-target-libobjc \
39225 pdf-target-libobjc
39226 @: $(MAKE); $(unstage)
39227 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39228 r=`${PWD_COMMAND}`; export r; \
39229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39230 $(NORMAL_TARGET_EXPORTS) \
39231 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
39232 for flag in $(EXTRA_TARGET_FLAGS); do \
39233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39234 done; \
39235 (cd $(TARGET_SUBDIR)/libobjc && \
39236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39238 "RANLIB=$${RANLIB}" \
39239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39240 install-pdf) \
39241 || exit 1
39243 @endif target-libobjc
39245 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
39246 maybe-install-html-target-libobjc:
39247 @if target-libobjc
39248 maybe-install-html-target-libobjc: install-html-target-libobjc
39250 install-html-target-libobjc: \
39251 configure-target-libobjc \
39252 html-target-libobjc
39253 @: $(MAKE); $(unstage)
39254 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39255 r=`${PWD_COMMAND}`; export r; \
39256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39257 $(NORMAL_TARGET_EXPORTS) \
39258 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
39259 for flag in $(EXTRA_TARGET_FLAGS); do \
39260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39261 done; \
39262 (cd $(TARGET_SUBDIR)/libobjc && \
39263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39265 "RANLIB=$${RANLIB}" \
39266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39267 install-html) \
39268 || exit 1
39270 @endif target-libobjc
39272 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
39273 maybe-installcheck-target-libobjc:
39274 @if target-libobjc
39275 maybe-installcheck-target-libobjc: installcheck-target-libobjc
39277 installcheck-target-libobjc: \
39278 configure-target-libobjc
39279 @: $(MAKE); $(unstage)
39280 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39281 r=`${PWD_COMMAND}`; export r; \
39282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39283 $(NORMAL_TARGET_EXPORTS) \
39284 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
39285 for flag in $(EXTRA_TARGET_FLAGS); do \
39286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39287 done; \
39288 (cd $(TARGET_SUBDIR)/libobjc && \
39289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39291 "RANLIB=$${RANLIB}" \
39292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39293 installcheck) \
39294 || exit 1
39296 @endif target-libobjc
39298 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
39299 maybe-mostlyclean-target-libobjc:
39300 @if target-libobjc
39301 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
39303 mostlyclean-target-libobjc:
39304 @: $(MAKE); $(unstage)
39305 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39306 r=`${PWD_COMMAND}`; export r; \
39307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39308 $(NORMAL_TARGET_EXPORTS) \
39309 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
39310 for flag in $(EXTRA_TARGET_FLAGS); do \
39311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39312 done; \
39313 (cd $(TARGET_SUBDIR)/libobjc && \
39314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39316 "RANLIB=$${RANLIB}" \
39317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39318 mostlyclean) \
39319 || exit 1
39321 @endif target-libobjc
39323 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
39324 maybe-clean-target-libobjc:
39325 @if target-libobjc
39326 maybe-clean-target-libobjc: clean-target-libobjc
39328 clean-target-libobjc:
39329 @: $(MAKE); $(unstage)
39330 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39331 r=`${PWD_COMMAND}`; export r; \
39332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39333 $(NORMAL_TARGET_EXPORTS) \
39334 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
39335 for flag in $(EXTRA_TARGET_FLAGS); do \
39336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39337 done; \
39338 (cd $(TARGET_SUBDIR)/libobjc && \
39339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39341 "RANLIB=$${RANLIB}" \
39342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39343 clean) \
39344 || exit 1
39346 @endif target-libobjc
39348 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
39349 maybe-distclean-target-libobjc:
39350 @if target-libobjc
39351 maybe-distclean-target-libobjc: distclean-target-libobjc
39353 distclean-target-libobjc:
39354 @: $(MAKE); $(unstage)
39355 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39356 r=`${PWD_COMMAND}`; export r; \
39357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39358 $(NORMAL_TARGET_EXPORTS) \
39359 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
39360 for flag in $(EXTRA_TARGET_FLAGS); do \
39361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39362 done; \
39363 (cd $(TARGET_SUBDIR)/libobjc && \
39364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39366 "RANLIB=$${RANLIB}" \
39367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39368 distclean) \
39369 || exit 1
39371 @endif target-libobjc
39373 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
39374 maybe-maintainer-clean-target-libobjc:
39375 @if target-libobjc
39376 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
39378 maintainer-clean-target-libobjc:
39379 @: $(MAKE); $(unstage)
39380 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39381 r=`${PWD_COMMAND}`; export r; \
39382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39383 $(NORMAL_TARGET_EXPORTS) \
39384 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
39385 for flag in $(EXTRA_TARGET_FLAGS); do \
39386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39387 done; \
39388 (cd $(TARGET_SUBDIR)/libobjc && \
39389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39391 "RANLIB=$${RANLIB}" \
39392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39393 maintainer-clean) \
39394 || exit 1
39396 @endif target-libobjc
39402 .PHONY: configure-target-libgo maybe-configure-target-libgo
39403 maybe-configure-target-libgo:
39404 @if gcc-bootstrap
39405 configure-target-libgo: stage_current
39406 @endif gcc-bootstrap
39407 @if target-libgo
39408 maybe-configure-target-libgo: configure-target-libgo
39409 configure-target-libgo:
39410 @: $(MAKE); $(unstage)
39411 @r=`${PWD_COMMAND}`; export r; \
39412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39413 echo "Checking multilib configuration for libgo..."; \
39414 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
39415 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null ; \
39416 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
39417 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
39418 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
39419 else \
39420 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
39421 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
39422 fi; \
39423 else \
39424 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
39425 fi; \
39426 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
39427 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
39428 $(NORMAL_TARGET_EXPORTS) \
39429 echo Configuring in $(TARGET_SUBDIR)/libgo; \
39430 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
39431 case $(srcdir) in \
39432 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39433 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
39434 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39435 esac; \
39436 module_srcdir=libgo; \
39437 rm -f no-such-file || : ; \
39438 CONFIG_SITE=no-such-file $(SHELL) \
39439 $$s/$$module_srcdir/configure \
39440 --srcdir=$${topdir}/$$module_srcdir \
39441 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39442 --target=${target_alias} \
39443 || exit 1
39444 @endif target-libgo
39450 .PHONY: all-target-libgo maybe-all-target-libgo
39451 maybe-all-target-libgo:
39452 @if gcc-bootstrap
39453 all-target-libgo: stage_current
39454 @endif gcc-bootstrap
39455 @if target-libgo
39456 TARGET-target-libgo=all
39457 maybe-all-target-libgo: all-target-libgo
39458 all-target-libgo: configure-target-libgo
39459 @: $(MAKE); $(unstage)
39460 @r=`${PWD_COMMAND}`; export r; \
39461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39462 $(NORMAL_TARGET_EXPORTS) \
39463 (cd $(TARGET_SUBDIR)/libgo && \
39464 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39465 $(TARGET-target-libgo))
39466 @endif target-libgo
39472 .PHONY: check-target-libgo maybe-check-target-libgo
39473 maybe-check-target-libgo:
39474 @if target-libgo
39475 maybe-check-target-libgo: check-target-libgo
39477 check-target-libgo:
39478 @: $(MAKE); $(unstage)
39479 @r=`${PWD_COMMAND}`; export r; \
39480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39481 $(NORMAL_TARGET_EXPORTS) \
39482 (cd $(TARGET_SUBDIR)/libgo && \
39483 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39485 @endif target-libgo
39487 .PHONY: install-target-libgo maybe-install-target-libgo
39488 maybe-install-target-libgo:
39489 @if target-libgo
39490 maybe-install-target-libgo: install-target-libgo
39492 install-target-libgo: installdirs
39493 @: $(MAKE); $(unstage)
39494 @r=`${PWD_COMMAND}`; export r; \
39495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39496 $(NORMAL_TARGET_EXPORTS) \
39497 (cd $(TARGET_SUBDIR)/libgo && \
39498 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39500 @endif target-libgo
39502 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
39503 maybe-install-strip-target-libgo:
39504 @if target-libgo
39505 maybe-install-strip-target-libgo: install-strip-target-libgo
39507 install-strip-target-libgo: installdirs
39508 @: $(MAKE); $(unstage)
39509 @r=`${PWD_COMMAND}`; export r; \
39510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39511 $(NORMAL_TARGET_EXPORTS) \
39512 (cd $(TARGET_SUBDIR)/libgo && \
39513 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39515 @endif target-libgo
39517 # Other targets (info, dvi, pdf, etc.)
39519 .PHONY: maybe-info-target-libgo info-target-libgo
39520 maybe-info-target-libgo:
39521 @if target-libgo
39522 maybe-info-target-libgo: info-target-libgo
39524 info-target-libgo: \
39525 configure-target-libgo
39526 @: $(MAKE); $(unstage)
39527 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39528 r=`${PWD_COMMAND}`; export r; \
39529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39530 $(NORMAL_TARGET_EXPORTS) \
39531 echo "Doing info in $(TARGET_SUBDIR)/libgo" ; \
39532 for flag in $(EXTRA_TARGET_FLAGS); do \
39533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39534 done; \
39535 (cd $(TARGET_SUBDIR)/libgo && \
39536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39538 "RANLIB=$${RANLIB}" \
39539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39540 info) \
39541 || exit 1
39543 @endif target-libgo
39545 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
39546 maybe-dvi-target-libgo:
39547 @if target-libgo
39548 maybe-dvi-target-libgo: dvi-target-libgo
39550 dvi-target-libgo: \
39551 configure-target-libgo
39552 @: $(MAKE); $(unstage)
39553 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39554 r=`${PWD_COMMAND}`; export r; \
39555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39556 $(NORMAL_TARGET_EXPORTS) \
39557 echo "Doing dvi in $(TARGET_SUBDIR)/libgo" ; \
39558 for flag in $(EXTRA_TARGET_FLAGS); do \
39559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39560 done; \
39561 (cd $(TARGET_SUBDIR)/libgo && \
39562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39564 "RANLIB=$${RANLIB}" \
39565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39566 dvi) \
39567 || exit 1
39569 @endif target-libgo
39571 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
39572 maybe-pdf-target-libgo:
39573 @if target-libgo
39574 maybe-pdf-target-libgo: pdf-target-libgo
39576 pdf-target-libgo: \
39577 configure-target-libgo
39578 @: $(MAKE); $(unstage)
39579 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39580 r=`${PWD_COMMAND}`; export r; \
39581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39582 $(NORMAL_TARGET_EXPORTS) \
39583 echo "Doing pdf in $(TARGET_SUBDIR)/libgo" ; \
39584 for flag in $(EXTRA_TARGET_FLAGS); do \
39585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39586 done; \
39587 (cd $(TARGET_SUBDIR)/libgo && \
39588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39590 "RANLIB=$${RANLIB}" \
39591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39592 pdf) \
39593 || exit 1
39595 @endif target-libgo
39597 .PHONY: maybe-html-target-libgo html-target-libgo
39598 maybe-html-target-libgo:
39599 @if target-libgo
39600 maybe-html-target-libgo: html-target-libgo
39602 html-target-libgo: \
39603 configure-target-libgo
39604 @: $(MAKE); $(unstage)
39605 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39606 r=`${PWD_COMMAND}`; export r; \
39607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39608 $(NORMAL_TARGET_EXPORTS) \
39609 echo "Doing html in $(TARGET_SUBDIR)/libgo" ; \
39610 for flag in $(EXTRA_TARGET_FLAGS); do \
39611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39612 done; \
39613 (cd $(TARGET_SUBDIR)/libgo && \
39614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39616 "RANLIB=$${RANLIB}" \
39617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39618 html) \
39619 || exit 1
39621 @endif target-libgo
39623 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
39624 maybe-TAGS-target-libgo:
39625 @if target-libgo
39626 maybe-TAGS-target-libgo: TAGS-target-libgo
39628 TAGS-target-libgo: \
39629 configure-target-libgo
39630 @: $(MAKE); $(unstage)
39631 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39632 r=`${PWD_COMMAND}`; export r; \
39633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39634 $(NORMAL_TARGET_EXPORTS) \
39635 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo" ; \
39636 for flag in $(EXTRA_TARGET_FLAGS); do \
39637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39638 done; \
39639 (cd $(TARGET_SUBDIR)/libgo && \
39640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39642 "RANLIB=$${RANLIB}" \
39643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39644 TAGS) \
39645 || exit 1
39647 @endif target-libgo
39649 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
39650 maybe-install-info-target-libgo:
39651 @if target-libgo
39652 maybe-install-info-target-libgo: install-info-target-libgo
39654 install-info-target-libgo: \
39655 configure-target-libgo \
39656 info-target-libgo
39657 @: $(MAKE); $(unstage)
39658 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39659 r=`${PWD_COMMAND}`; export r; \
39660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39661 $(NORMAL_TARGET_EXPORTS) \
39662 echo "Doing install-info in $(TARGET_SUBDIR)/libgo" ; \
39663 for flag in $(EXTRA_TARGET_FLAGS); do \
39664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39665 done; \
39666 (cd $(TARGET_SUBDIR)/libgo && \
39667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39669 "RANLIB=$${RANLIB}" \
39670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39671 install-info) \
39672 || exit 1
39674 @endif target-libgo
39676 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
39677 maybe-install-pdf-target-libgo:
39678 @if target-libgo
39679 maybe-install-pdf-target-libgo: install-pdf-target-libgo
39681 install-pdf-target-libgo: \
39682 configure-target-libgo \
39683 pdf-target-libgo
39684 @: $(MAKE); $(unstage)
39685 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39686 r=`${PWD_COMMAND}`; export r; \
39687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39688 $(NORMAL_TARGET_EXPORTS) \
39689 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo" ; \
39690 for flag in $(EXTRA_TARGET_FLAGS); do \
39691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39692 done; \
39693 (cd $(TARGET_SUBDIR)/libgo && \
39694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39696 "RANLIB=$${RANLIB}" \
39697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39698 install-pdf) \
39699 || exit 1
39701 @endif target-libgo
39703 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
39704 maybe-install-html-target-libgo:
39705 @if target-libgo
39706 maybe-install-html-target-libgo: install-html-target-libgo
39708 install-html-target-libgo: \
39709 configure-target-libgo \
39710 html-target-libgo
39711 @: $(MAKE); $(unstage)
39712 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39713 r=`${PWD_COMMAND}`; export r; \
39714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39715 $(NORMAL_TARGET_EXPORTS) \
39716 echo "Doing install-html in $(TARGET_SUBDIR)/libgo" ; \
39717 for flag in $(EXTRA_TARGET_FLAGS); do \
39718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39719 done; \
39720 (cd $(TARGET_SUBDIR)/libgo && \
39721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39723 "RANLIB=$${RANLIB}" \
39724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39725 install-html) \
39726 || exit 1
39728 @endif target-libgo
39730 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
39731 maybe-installcheck-target-libgo:
39732 @if target-libgo
39733 maybe-installcheck-target-libgo: installcheck-target-libgo
39735 installcheck-target-libgo: \
39736 configure-target-libgo
39737 @: $(MAKE); $(unstage)
39738 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39739 r=`${PWD_COMMAND}`; export r; \
39740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39741 $(NORMAL_TARGET_EXPORTS) \
39742 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo" ; \
39743 for flag in $(EXTRA_TARGET_FLAGS); do \
39744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39745 done; \
39746 (cd $(TARGET_SUBDIR)/libgo && \
39747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39749 "RANLIB=$${RANLIB}" \
39750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39751 installcheck) \
39752 || exit 1
39754 @endif target-libgo
39756 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
39757 maybe-mostlyclean-target-libgo:
39758 @if target-libgo
39759 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
39761 mostlyclean-target-libgo:
39762 @: $(MAKE); $(unstage)
39763 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39764 r=`${PWD_COMMAND}`; export r; \
39765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39766 $(NORMAL_TARGET_EXPORTS) \
39767 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo" ; \
39768 for flag in $(EXTRA_TARGET_FLAGS); do \
39769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39770 done; \
39771 (cd $(TARGET_SUBDIR)/libgo && \
39772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39774 "RANLIB=$${RANLIB}" \
39775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39776 mostlyclean) \
39777 || exit 1
39779 @endif target-libgo
39781 .PHONY: maybe-clean-target-libgo clean-target-libgo
39782 maybe-clean-target-libgo:
39783 @if target-libgo
39784 maybe-clean-target-libgo: clean-target-libgo
39786 clean-target-libgo:
39787 @: $(MAKE); $(unstage)
39788 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39789 r=`${PWD_COMMAND}`; export r; \
39790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39791 $(NORMAL_TARGET_EXPORTS) \
39792 echo "Doing clean in $(TARGET_SUBDIR)/libgo" ; \
39793 for flag in $(EXTRA_TARGET_FLAGS); do \
39794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39795 done; \
39796 (cd $(TARGET_SUBDIR)/libgo && \
39797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39799 "RANLIB=$${RANLIB}" \
39800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39801 clean) \
39802 || exit 1
39804 @endif target-libgo
39806 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
39807 maybe-distclean-target-libgo:
39808 @if target-libgo
39809 maybe-distclean-target-libgo: distclean-target-libgo
39811 distclean-target-libgo:
39812 @: $(MAKE); $(unstage)
39813 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39814 r=`${PWD_COMMAND}`; export r; \
39815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39816 $(NORMAL_TARGET_EXPORTS) \
39817 echo "Doing distclean in $(TARGET_SUBDIR)/libgo" ; \
39818 for flag in $(EXTRA_TARGET_FLAGS); do \
39819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39820 done; \
39821 (cd $(TARGET_SUBDIR)/libgo && \
39822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39824 "RANLIB=$${RANLIB}" \
39825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39826 distclean) \
39827 || exit 1
39829 @endif target-libgo
39831 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
39832 maybe-maintainer-clean-target-libgo:
39833 @if target-libgo
39834 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
39836 maintainer-clean-target-libgo:
39837 @: $(MAKE); $(unstage)
39838 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39839 r=`${PWD_COMMAND}`; export r; \
39840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39841 $(NORMAL_TARGET_EXPORTS) \
39842 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo" ; \
39843 for flag in $(EXTRA_TARGET_FLAGS); do \
39844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39845 done; \
39846 (cd $(TARGET_SUBDIR)/libgo && \
39847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39849 "RANLIB=$${RANLIB}" \
39850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39851 maintainer-clean) \
39852 || exit 1
39854 @endif target-libgo
39860 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
39861 maybe-configure-target-libtermcap:
39862 @if gcc-bootstrap
39863 configure-target-libtermcap: stage_current
39864 @endif gcc-bootstrap
39865 @if target-libtermcap
39866 maybe-configure-target-libtermcap: configure-target-libtermcap
39867 configure-target-libtermcap:
39868 @: $(MAKE); $(unstage)
39869 @r=`${PWD_COMMAND}`; export r; \
39870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39871 echo "Checking multilib configuration for libtermcap..."; \
39872 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
39873 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
39874 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
39875 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
39876 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
39877 else \
39878 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
39879 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
39880 fi; \
39881 else \
39882 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
39883 fi; \
39884 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
39885 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
39886 $(NORMAL_TARGET_EXPORTS) \
39887 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
39888 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
39889 case $(srcdir) in \
39890 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39891 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
39892 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39893 esac; \
39894 module_srcdir=libtermcap; \
39895 rm -f no-such-file || : ; \
39896 CONFIG_SITE=no-such-file $(SHELL) \
39897 $$s/$$module_srcdir/configure \
39898 --srcdir=$${topdir}/$$module_srcdir \
39899 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39900 --target=${target_alias} \
39901 || exit 1
39902 @endif target-libtermcap
39908 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
39909 maybe-all-target-libtermcap:
39910 @if gcc-bootstrap
39911 all-target-libtermcap: stage_current
39912 @endif gcc-bootstrap
39913 @if target-libtermcap
39914 TARGET-target-libtermcap=all
39915 maybe-all-target-libtermcap: all-target-libtermcap
39916 all-target-libtermcap: configure-target-libtermcap
39917 @: $(MAKE); $(unstage)
39918 @r=`${PWD_COMMAND}`; export r; \
39919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39920 $(NORMAL_TARGET_EXPORTS) \
39921 (cd $(TARGET_SUBDIR)/libtermcap && \
39922 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39923 $(TARGET-target-libtermcap))
39924 @endif target-libtermcap
39930 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
39931 maybe-check-target-libtermcap:
39932 @if target-libtermcap
39933 maybe-check-target-libtermcap: check-target-libtermcap
39935 # Dummy target for uncheckable module.
39936 check-target-libtermcap:
39938 @endif target-libtermcap
39940 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
39941 maybe-install-target-libtermcap:
39942 @if target-libtermcap
39943 maybe-install-target-libtermcap: install-target-libtermcap
39945 install-target-libtermcap: installdirs
39946 @: $(MAKE); $(unstage)
39947 @r=`${PWD_COMMAND}`; export r; \
39948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39949 $(NORMAL_TARGET_EXPORTS) \
39950 (cd $(TARGET_SUBDIR)/libtermcap && \
39951 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39953 @endif target-libtermcap
39955 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
39956 maybe-install-strip-target-libtermcap:
39957 @if target-libtermcap
39958 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
39960 install-strip-target-libtermcap: installdirs
39961 @: $(MAKE); $(unstage)
39962 @r=`${PWD_COMMAND}`; export r; \
39963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39964 $(NORMAL_TARGET_EXPORTS) \
39965 (cd $(TARGET_SUBDIR)/libtermcap && \
39966 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39968 @endif target-libtermcap
39970 # Other targets (info, dvi, pdf, etc.)
39972 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
39973 maybe-info-target-libtermcap:
39974 @if target-libtermcap
39975 maybe-info-target-libtermcap: info-target-libtermcap
39977 info-target-libtermcap: \
39978 configure-target-libtermcap
39979 @: $(MAKE); $(unstage)
39980 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
39981 r=`${PWD_COMMAND}`; export r; \
39982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39983 $(NORMAL_TARGET_EXPORTS) \
39984 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
39985 for flag in $(EXTRA_TARGET_FLAGS); do \
39986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39987 done; \
39988 (cd $(TARGET_SUBDIR)/libtermcap && \
39989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39991 "RANLIB=$${RANLIB}" \
39992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39993 info) \
39994 || exit 1
39996 @endif target-libtermcap
39998 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
39999 maybe-dvi-target-libtermcap:
40000 @if target-libtermcap
40001 maybe-dvi-target-libtermcap: dvi-target-libtermcap
40003 dvi-target-libtermcap: \
40004 configure-target-libtermcap
40005 @: $(MAKE); $(unstage)
40006 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40007 r=`${PWD_COMMAND}`; export r; \
40008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40009 $(NORMAL_TARGET_EXPORTS) \
40010 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
40011 for flag in $(EXTRA_TARGET_FLAGS); do \
40012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40013 done; \
40014 (cd $(TARGET_SUBDIR)/libtermcap && \
40015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40017 "RANLIB=$${RANLIB}" \
40018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40019 dvi) \
40020 || exit 1
40022 @endif target-libtermcap
40024 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
40025 maybe-pdf-target-libtermcap:
40026 @if target-libtermcap
40027 maybe-pdf-target-libtermcap: pdf-target-libtermcap
40029 pdf-target-libtermcap: \
40030 configure-target-libtermcap
40031 @: $(MAKE); $(unstage)
40032 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40033 r=`${PWD_COMMAND}`; export r; \
40034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40035 $(NORMAL_TARGET_EXPORTS) \
40036 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
40037 for flag in $(EXTRA_TARGET_FLAGS); do \
40038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40039 done; \
40040 (cd $(TARGET_SUBDIR)/libtermcap && \
40041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40043 "RANLIB=$${RANLIB}" \
40044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40045 pdf) \
40046 || exit 1
40048 @endif target-libtermcap
40050 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
40051 maybe-html-target-libtermcap:
40052 @if target-libtermcap
40053 maybe-html-target-libtermcap: html-target-libtermcap
40055 html-target-libtermcap: \
40056 configure-target-libtermcap
40057 @: $(MAKE); $(unstage)
40058 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40059 r=`${PWD_COMMAND}`; export r; \
40060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40061 $(NORMAL_TARGET_EXPORTS) \
40062 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
40063 for flag in $(EXTRA_TARGET_FLAGS); do \
40064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40065 done; \
40066 (cd $(TARGET_SUBDIR)/libtermcap && \
40067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40069 "RANLIB=$${RANLIB}" \
40070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40071 html) \
40072 || exit 1
40074 @endif target-libtermcap
40076 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
40077 maybe-TAGS-target-libtermcap:
40078 @if target-libtermcap
40079 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
40081 TAGS-target-libtermcap: \
40082 configure-target-libtermcap
40083 @: $(MAKE); $(unstage)
40084 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40085 r=`${PWD_COMMAND}`; export r; \
40086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40087 $(NORMAL_TARGET_EXPORTS) \
40088 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
40089 for flag in $(EXTRA_TARGET_FLAGS); do \
40090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40091 done; \
40092 (cd $(TARGET_SUBDIR)/libtermcap && \
40093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40095 "RANLIB=$${RANLIB}" \
40096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40097 TAGS) \
40098 || exit 1
40100 @endif target-libtermcap
40102 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
40103 maybe-install-info-target-libtermcap:
40104 @if target-libtermcap
40105 maybe-install-info-target-libtermcap: install-info-target-libtermcap
40107 install-info-target-libtermcap: \
40108 configure-target-libtermcap \
40109 info-target-libtermcap
40110 @: $(MAKE); $(unstage)
40111 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40112 r=`${PWD_COMMAND}`; export r; \
40113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40114 $(NORMAL_TARGET_EXPORTS) \
40115 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
40116 for flag in $(EXTRA_TARGET_FLAGS); do \
40117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40118 done; \
40119 (cd $(TARGET_SUBDIR)/libtermcap && \
40120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40122 "RANLIB=$${RANLIB}" \
40123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40124 install-info) \
40125 || exit 1
40127 @endif target-libtermcap
40129 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
40130 maybe-install-pdf-target-libtermcap:
40131 @if target-libtermcap
40132 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
40134 install-pdf-target-libtermcap: \
40135 configure-target-libtermcap \
40136 pdf-target-libtermcap
40137 @: $(MAKE); $(unstage)
40138 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40139 r=`${PWD_COMMAND}`; export r; \
40140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40141 $(NORMAL_TARGET_EXPORTS) \
40142 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
40143 for flag in $(EXTRA_TARGET_FLAGS); do \
40144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40145 done; \
40146 (cd $(TARGET_SUBDIR)/libtermcap && \
40147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40149 "RANLIB=$${RANLIB}" \
40150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40151 install-pdf) \
40152 || exit 1
40154 @endif target-libtermcap
40156 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
40157 maybe-install-html-target-libtermcap:
40158 @if target-libtermcap
40159 maybe-install-html-target-libtermcap: install-html-target-libtermcap
40161 install-html-target-libtermcap: \
40162 configure-target-libtermcap \
40163 html-target-libtermcap
40164 @: $(MAKE); $(unstage)
40165 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40166 r=`${PWD_COMMAND}`; export r; \
40167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40168 $(NORMAL_TARGET_EXPORTS) \
40169 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
40170 for flag in $(EXTRA_TARGET_FLAGS); do \
40171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40172 done; \
40173 (cd $(TARGET_SUBDIR)/libtermcap && \
40174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40176 "RANLIB=$${RANLIB}" \
40177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40178 install-html) \
40179 || exit 1
40181 @endif target-libtermcap
40183 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
40184 maybe-installcheck-target-libtermcap:
40185 @if target-libtermcap
40186 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
40188 installcheck-target-libtermcap: \
40189 configure-target-libtermcap
40190 @: $(MAKE); $(unstage)
40191 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40192 r=`${PWD_COMMAND}`; export r; \
40193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40194 $(NORMAL_TARGET_EXPORTS) \
40195 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
40196 for flag in $(EXTRA_TARGET_FLAGS); do \
40197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40198 done; \
40199 (cd $(TARGET_SUBDIR)/libtermcap && \
40200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40202 "RANLIB=$${RANLIB}" \
40203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40204 installcheck) \
40205 || exit 1
40207 @endif target-libtermcap
40209 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
40210 maybe-mostlyclean-target-libtermcap:
40211 @if target-libtermcap
40212 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
40214 # libtermcap doesn't support mostlyclean.
40215 mostlyclean-target-libtermcap:
40217 @endif target-libtermcap
40219 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
40220 maybe-clean-target-libtermcap:
40221 @if target-libtermcap
40222 maybe-clean-target-libtermcap: clean-target-libtermcap
40224 # libtermcap doesn't support clean.
40225 clean-target-libtermcap:
40227 @endif target-libtermcap
40229 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
40230 maybe-distclean-target-libtermcap:
40231 @if target-libtermcap
40232 maybe-distclean-target-libtermcap: distclean-target-libtermcap
40234 # libtermcap doesn't support distclean.
40235 distclean-target-libtermcap:
40237 @endif target-libtermcap
40239 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
40240 maybe-maintainer-clean-target-libtermcap:
40241 @if target-libtermcap
40242 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
40244 # libtermcap doesn't support maintainer-clean.
40245 maintainer-clean-target-libtermcap:
40247 @endif target-libtermcap
40253 .PHONY: configure-target-winsup maybe-configure-target-winsup
40254 maybe-configure-target-winsup:
40255 @if gcc-bootstrap
40256 configure-target-winsup: stage_current
40257 @endif gcc-bootstrap
40258 @if target-winsup
40259 maybe-configure-target-winsup: configure-target-winsup
40260 configure-target-winsup:
40261 @: $(MAKE); $(unstage)
40262 @r=`${PWD_COMMAND}`; export r; \
40263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40264 echo "Checking multilib configuration for winsup..."; \
40265 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
40266 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
40267 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
40268 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
40269 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
40270 else \
40271 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
40272 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
40273 fi; \
40274 else \
40275 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
40276 fi; \
40277 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
40278 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
40279 $(NORMAL_TARGET_EXPORTS) \
40280 echo Configuring in $(TARGET_SUBDIR)/winsup; \
40281 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
40282 case $(srcdir) in \
40283 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40284 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
40285 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40286 esac; \
40287 module_srcdir=winsup; \
40288 rm -f no-such-file || : ; \
40289 CONFIG_SITE=no-such-file $(SHELL) \
40290 $$s/$$module_srcdir/configure \
40291 --srcdir=$${topdir}/$$module_srcdir \
40292 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40293 --target=${target_alias} \
40294 || exit 1
40295 @endif target-winsup
40301 .PHONY: all-target-winsup maybe-all-target-winsup
40302 maybe-all-target-winsup:
40303 @if gcc-bootstrap
40304 all-target-winsup: stage_current
40305 @endif gcc-bootstrap
40306 @if target-winsup
40307 TARGET-target-winsup=all
40308 maybe-all-target-winsup: all-target-winsup
40309 all-target-winsup: configure-target-winsup
40310 @: $(MAKE); $(unstage)
40311 @r=`${PWD_COMMAND}`; export r; \
40312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40313 $(NORMAL_TARGET_EXPORTS) \
40314 (cd $(TARGET_SUBDIR)/winsup && \
40315 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40316 $(TARGET-target-winsup))
40317 @endif target-winsup
40323 .PHONY: check-target-winsup maybe-check-target-winsup
40324 maybe-check-target-winsup:
40325 @if target-winsup
40326 maybe-check-target-winsup: check-target-winsup
40328 check-target-winsup:
40329 @: $(MAKE); $(unstage)
40330 @r=`${PWD_COMMAND}`; export r; \
40331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40332 $(NORMAL_TARGET_EXPORTS) \
40333 (cd $(TARGET_SUBDIR)/winsup && \
40334 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40336 @endif target-winsup
40338 .PHONY: install-target-winsup maybe-install-target-winsup
40339 maybe-install-target-winsup:
40340 @if target-winsup
40341 maybe-install-target-winsup: install-target-winsup
40343 install-target-winsup: installdirs
40344 @: $(MAKE); $(unstage)
40345 @r=`${PWD_COMMAND}`; export r; \
40346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40347 $(NORMAL_TARGET_EXPORTS) \
40348 (cd $(TARGET_SUBDIR)/winsup && \
40349 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40351 @endif target-winsup
40353 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
40354 maybe-install-strip-target-winsup:
40355 @if target-winsup
40356 maybe-install-strip-target-winsup: install-strip-target-winsup
40358 install-strip-target-winsup: installdirs
40359 @: $(MAKE); $(unstage)
40360 @r=`${PWD_COMMAND}`; export r; \
40361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40362 $(NORMAL_TARGET_EXPORTS) \
40363 (cd $(TARGET_SUBDIR)/winsup && \
40364 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40366 @endif target-winsup
40368 # Other targets (info, dvi, pdf, etc.)
40370 .PHONY: maybe-info-target-winsup info-target-winsup
40371 maybe-info-target-winsup:
40372 @if target-winsup
40373 maybe-info-target-winsup: info-target-winsup
40375 info-target-winsup: \
40376 configure-target-winsup
40377 @: $(MAKE); $(unstage)
40378 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40379 r=`${PWD_COMMAND}`; export r; \
40380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40381 $(NORMAL_TARGET_EXPORTS) \
40382 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
40383 for flag in $(EXTRA_TARGET_FLAGS); do \
40384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40385 done; \
40386 (cd $(TARGET_SUBDIR)/winsup && \
40387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40389 "RANLIB=$${RANLIB}" \
40390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40391 info) \
40392 || exit 1
40394 @endif target-winsup
40396 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
40397 maybe-dvi-target-winsup:
40398 @if target-winsup
40399 maybe-dvi-target-winsup: dvi-target-winsup
40401 dvi-target-winsup: \
40402 configure-target-winsup
40403 @: $(MAKE); $(unstage)
40404 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40405 r=`${PWD_COMMAND}`; export r; \
40406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40407 $(NORMAL_TARGET_EXPORTS) \
40408 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
40409 for flag in $(EXTRA_TARGET_FLAGS); do \
40410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40411 done; \
40412 (cd $(TARGET_SUBDIR)/winsup && \
40413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40415 "RANLIB=$${RANLIB}" \
40416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40417 dvi) \
40418 || exit 1
40420 @endif target-winsup
40422 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
40423 maybe-pdf-target-winsup:
40424 @if target-winsup
40425 maybe-pdf-target-winsup: pdf-target-winsup
40427 pdf-target-winsup: \
40428 configure-target-winsup
40429 @: $(MAKE); $(unstage)
40430 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40431 r=`${PWD_COMMAND}`; export r; \
40432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40433 $(NORMAL_TARGET_EXPORTS) \
40434 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
40435 for flag in $(EXTRA_TARGET_FLAGS); do \
40436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40437 done; \
40438 (cd $(TARGET_SUBDIR)/winsup && \
40439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40441 "RANLIB=$${RANLIB}" \
40442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40443 pdf) \
40444 || exit 1
40446 @endif target-winsup
40448 .PHONY: maybe-html-target-winsup html-target-winsup
40449 maybe-html-target-winsup:
40450 @if target-winsup
40451 maybe-html-target-winsup: html-target-winsup
40453 html-target-winsup: \
40454 configure-target-winsup
40455 @: $(MAKE); $(unstage)
40456 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40457 r=`${PWD_COMMAND}`; export r; \
40458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40459 $(NORMAL_TARGET_EXPORTS) \
40460 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
40461 for flag in $(EXTRA_TARGET_FLAGS); do \
40462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40463 done; \
40464 (cd $(TARGET_SUBDIR)/winsup && \
40465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40467 "RANLIB=$${RANLIB}" \
40468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40469 html) \
40470 || exit 1
40472 @endif target-winsup
40474 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
40475 maybe-TAGS-target-winsup:
40476 @if target-winsup
40477 maybe-TAGS-target-winsup: TAGS-target-winsup
40479 TAGS-target-winsup: \
40480 configure-target-winsup
40481 @: $(MAKE); $(unstage)
40482 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40483 r=`${PWD_COMMAND}`; export r; \
40484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40485 $(NORMAL_TARGET_EXPORTS) \
40486 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
40487 for flag in $(EXTRA_TARGET_FLAGS); do \
40488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40489 done; \
40490 (cd $(TARGET_SUBDIR)/winsup && \
40491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40493 "RANLIB=$${RANLIB}" \
40494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40495 TAGS) \
40496 || exit 1
40498 @endif target-winsup
40500 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
40501 maybe-install-info-target-winsup:
40502 @if target-winsup
40503 maybe-install-info-target-winsup: install-info-target-winsup
40505 install-info-target-winsup: \
40506 configure-target-winsup \
40507 info-target-winsup
40508 @: $(MAKE); $(unstage)
40509 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40510 r=`${PWD_COMMAND}`; export r; \
40511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40512 $(NORMAL_TARGET_EXPORTS) \
40513 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
40514 for flag in $(EXTRA_TARGET_FLAGS); do \
40515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40516 done; \
40517 (cd $(TARGET_SUBDIR)/winsup && \
40518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40520 "RANLIB=$${RANLIB}" \
40521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40522 install-info) \
40523 || exit 1
40525 @endif target-winsup
40527 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
40528 maybe-install-pdf-target-winsup:
40529 @if target-winsup
40530 maybe-install-pdf-target-winsup: install-pdf-target-winsup
40532 install-pdf-target-winsup: \
40533 configure-target-winsup \
40534 pdf-target-winsup
40535 @: $(MAKE); $(unstage)
40536 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40537 r=`${PWD_COMMAND}`; export r; \
40538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40539 $(NORMAL_TARGET_EXPORTS) \
40540 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
40541 for flag in $(EXTRA_TARGET_FLAGS); do \
40542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40543 done; \
40544 (cd $(TARGET_SUBDIR)/winsup && \
40545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40547 "RANLIB=$${RANLIB}" \
40548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40549 install-pdf) \
40550 || exit 1
40552 @endif target-winsup
40554 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
40555 maybe-install-html-target-winsup:
40556 @if target-winsup
40557 maybe-install-html-target-winsup: install-html-target-winsup
40559 install-html-target-winsup: \
40560 configure-target-winsup \
40561 html-target-winsup
40562 @: $(MAKE); $(unstage)
40563 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40564 r=`${PWD_COMMAND}`; export r; \
40565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40566 $(NORMAL_TARGET_EXPORTS) \
40567 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
40568 for flag in $(EXTRA_TARGET_FLAGS); do \
40569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40570 done; \
40571 (cd $(TARGET_SUBDIR)/winsup && \
40572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40574 "RANLIB=$${RANLIB}" \
40575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40576 install-html) \
40577 || exit 1
40579 @endif target-winsup
40581 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
40582 maybe-installcheck-target-winsup:
40583 @if target-winsup
40584 maybe-installcheck-target-winsup: installcheck-target-winsup
40586 installcheck-target-winsup: \
40587 configure-target-winsup
40588 @: $(MAKE); $(unstage)
40589 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40590 r=`${PWD_COMMAND}`; export r; \
40591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40592 $(NORMAL_TARGET_EXPORTS) \
40593 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
40594 for flag in $(EXTRA_TARGET_FLAGS); do \
40595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40596 done; \
40597 (cd $(TARGET_SUBDIR)/winsup && \
40598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40600 "RANLIB=$${RANLIB}" \
40601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40602 installcheck) \
40603 || exit 1
40605 @endif target-winsup
40607 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
40608 maybe-mostlyclean-target-winsup:
40609 @if target-winsup
40610 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
40612 mostlyclean-target-winsup:
40613 @: $(MAKE); $(unstage)
40614 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40615 r=`${PWD_COMMAND}`; export r; \
40616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40617 $(NORMAL_TARGET_EXPORTS) \
40618 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
40619 for flag in $(EXTRA_TARGET_FLAGS); do \
40620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40621 done; \
40622 (cd $(TARGET_SUBDIR)/winsup && \
40623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40625 "RANLIB=$${RANLIB}" \
40626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40627 mostlyclean) \
40628 || exit 1
40630 @endif target-winsup
40632 .PHONY: maybe-clean-target-winsup clean-target-winsup
40633 maybe-clean-target-winsup:
40634 @if target-winsup
40635 maybe-clean-target-winsup: clean-target-winsup
40637 clean-target-winsup:
40638 @: $(MAKE); $(unstage)
40639 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40640 r=`${PWD_COMMAND}`; export r; \
40641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40642 $(NORMAL_TARGET_EXPORTS) \
40643 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
40644 for flag in $(EXTRA_TARGET_FLAGS); do \
40645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40646 done; \
40647 (cd $(TARGET_SUBDIR)/winsup && \
40648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40650 "RANLIB=$${RANLIB}" \
40651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40652 clean) \
40653 || exit 1
40655 @endif target-winsup
40657 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
40658 maybe-distclean-target-winsup:
40659 @if target-winsup
40660 maybe-distclean-target-winsup: distclean-target-winsup
40662 distclean-target-winsup:
40663 @: $(MAKE); $(unstage)
40664 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40665 r=`${PWD_COMMAND}`; export r; \
40666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40667 $(NORMAL_TARGET_EXPORTS) \
40668 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
40669 for flag in $(EXTRA_TARGET_FLAGS); do \
40670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40671 done; \
40672 (cd $(TARGET_SUBDIR)/winsup && \
40673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40675 "RANLIB=$${RANLIB}" \
40676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40677 distclean) \
40678 || exit 1
40680 @endif target-winsup
40682 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
40683 maybe-maintainer-clean-target-winsup:
40684 @if target-winsup
40685 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
40687 maintainer-clean-target-winsup:
40688 @: $(MAKE); $(unstage)
40689 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40690 r=`${PWD_COMMAND}`; export r; \
40691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40692 $(NORMAL_TARGET_EXPORTS) \
40693 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
40694 for flag in $(EXTRA_TARGET_FLAGS); do \
40695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40696 done; \
40697 (cd $(TARGET_SUBDIR)/winsup && \
40698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40700 "RANLIB=$${RANLIB}" \
40701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40702 maintainer-clean) \
40703 || exit 1
40705 @endif target-winsup
40711 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
40712 maybe-configure-target-libgloss:
40713 @if gcc-bootstrap
40714 configure-target-libgloss: stage_current
40715 @endif gcc-bootstrap
40716 @if target-libgloss
40717 maybe-configure-target-libgloss: configure-target-libgloss
40718 configure-target-libgloss:
40719 @: $(MAKE); $(unstage)
40720 @r=`${PWD_COMMAND}`; export r; \
40721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40722 echo "Checking multilib configuration for libgloss..."; \
40723 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
40724 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
40725 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
40726 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
40727 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
40728 else \
40729 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
40730 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
40731 fi; \
40732 else \
40733 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
40734 fi; \
40735 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
40736 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
40737 $(NORMAL_TARGET_EXPORTS) \
40738 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
40739 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
40740 case $(srcdir) in \
40741 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40742 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
40743 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40744 esac; \
40745 module_srcdir=libgloss; \
40746 rm -f no-such-file || : ; \
40747 CONFIG_SITE=no-such-file $(SHELL) \
40748 $$s/$$module_srcdir/configure \
40749 --srcdir=$${topdir}/$$module_srcdir \
40750 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40751 --target=${target_alias} \
40752 || exit 1
40753 @endif target-libgloss
40759 .PHONY: all-target-libgloss maybe-all-target-libgloss
40760 maybe-all-target-libgloss:
40761 @if gcc-bootstrap
40762 all-target-libgloss: stage_current
40763 @endif gcc-bootstrap
40764 @if target-libgloss
40765 TARGET-target-libgloss=all
40766 maybe-all-target-libgloss: all-target-libgloss
40767 all-target-libgloss: configure-target-libgloss
40768 @: $(MAKE); $(unstage)
40769 @r=`${PWD_COMMAND}`; export r; \
40770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40771 $(NORMAL_TARGET_EXPORTS) \
40772 (cd $(TARGET_SUBDIR)/libgloss && \
40773 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40774 $(TARGET-target-libgloss))
40775 @endif target-libgloss
40781 .PHONY: check-target-libgloss maybe-check-target-libgloss
40782 maybe-check-target-libgloss:
40783 @if target-libgloss
40784 maybe-check-target-libgloss: check-target-libgloss
40786 # Dummy target for uncheckable module.
40787 check-target-libgloss:
40789 @endif target-libgloss
40791 .PHONY: install-target-libgloss maybe-install-target-libgloss
40792 maybe-install-target-libgloss:
40793 @if target-libgloss
40794 maybe-install-target-libgloss: install-target-libgloss
40796 install-target-libgloss: installdirs
40797 @: $(MAKE); $(unstage)
40798 @r=`${PWD_COMMAND}`; export r; \
40799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40800 $(NORMAL_TARGET_EXPORTS) \
40801 (cd $(TARGET_SUBDIR)/libgloss && \
40802 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40804 @endif target-libgloss
40806 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
40807 maybe-install-strip-target-libgloss:
40808 @if target-libgloss
40809 maybe-install-strip-target-libgloss: install-strip-target-libgloss
40811 install-strip-target-libgloss: installdirs
40812 @: $(MAKE); $(unstage)
40813 @r=`${PWD_COMMAND}`; export r; \
40814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40815 $(NORMAL_TARGET_EXPORTS) \
40816 (cd $(TARGET_SUBDIR)/libgloss && \
40817 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40819 @endif target-libgloss
40821 # Other targets (info, dvi, pdf, etc.)
40823 .PHONY: maybe-info-target-libgloss info-target-libgloss
40824 maybe-info-target-libgloss:
40825 @if target-libgloss
40826 maybe-info-target-libgloss: info-target-libgloss
40828 info-target-libgloss: \
40829 configure-target-libgloss
40830 @: $(MAKE); $(unstage)
40831 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40832 r=`${PWD_COMMAND}`; export r; \
40833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40834 $(NORMAL_TARGET_EXPORTS) \
40835 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
40836 for flag in $(EXTRA_TARGET_FLAGS); do \
40837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40838 done; \
40839 (cd $(TARGET_SUBDIR)/libgloss && \
40840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40842 "RANLIB=$${RANLIB}" \
40843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40844 info) \
40845 || exit 1
40847 @endif target-libgloss
40849 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
40850 maybe-dvi-target-libgloss:
40851 @if target-libgloss
40852 maybe-dvi-target-libgloss: dvi-target-libgloss
40854 dvi-target-libgloss: \
40855 configure-target-libgloss
40856 @: $(MAKE); $(unstage)
40857 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40858 r=`${PWD_COMMAND}`; export r; \
40859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40860 $(NORMAL_TARGET_EXPORTS) \
40861 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
40862 for flag in $(EXTRA_TARGET_FLAGS); do \
40863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40864 done; \
40865 (cd $(TARGET_SUBDIR)/libgloss && \
40866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40868 "RANLIB=$${RANLIB}" \
40869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40870 dvi) \
40871 || exit 1
40873 @endif target-libgloss
40875 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
40876 maybe-pdf-target-libgloss:
40877 @if target-libgloss
40878 maybe-pdf-target-libgloss: pdf-target-libgloss
40880 pdf-target-libgloss: \
40881 configure-target-libgloss
40882 @: $(MAKE); $(unstage)
40883 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40884 r=`${PWD_COMMAND}`; export r; \
40885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40886 $(NORMAL_TARGET_EXPORTS) \
40887 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
40888 for flag in $(EXTRA_TARGET_FLAGS); do \
40889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40890 done; \
40891 (cd $(TARGET_SUBDIR)/libgloss && \
40892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40894 "RANLIB=$${RANLIB}" \
40895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40896 pdf) \
40897 || exit 1
40899 @endif target-libgloss
40901 .PHONY: maybe-html-target-libgloss html-target-libgloss
40902 maybe-html-target-libgloss:
40903 @if target-libgloss
40904 maybe-html-target-libgloss: html-target-libgloss
40906 html-target-libgloss: \
40907 configure-target-libgloss
40908 @: $(MAKE); $(unstage)
40909 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40910 r=`${PWD_COMMAND}`; export r; \
40911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40912 $(NORMAL_TARGET_EXPORTS) \
40913 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
40914 for flag in $(EXTRA_TARGET_FLAGS); do \
40915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40916 done; \
40917 (cd $(TARGET_SUBDIR)/libgloss && \
40918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40920 "RANLIB=$${RANLIB}" \
40921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40922 html) \
40923 || exit 1
40925 @endif target-libgloss
40927 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
40928 maybe-TAGS-target-libgloss:
40929 @if target-libgloss
40930 maybe-TAGS-target-libgloss: TAGS-target-libgloss
40932 TAGS-target-libgloss: \
40933 configure-target-libgloss
40934 @: $(MAKE); $(unstage)
40935 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40936 r=`${PWD_COMMAND}`; export r; \
40937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40938 $(NORMAL_TARGET_EXPORTS) \
40939 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
40940 for flag in $(EXTRA_TARGET_FLAGS); do \
40941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40942 done; \
40943 (cd $(TARGET_SUBDIR)/libgloss && \
40944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40946 "RANLIB=$${RANLIB}" \
40947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40948 TAGS) \
40949 || exit 1
40951 @endif target-libgloss
40953 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
40954 maybe-install-info-target-libgloss:
40955 @if target-libgloss
40956 maybe-install-info-target-libgloss: install-info-target-libgloss
40958 install-info-target-libgloss: \
40959 configure-target-libgloss \
40960 info-target-libgloss
40961 @: $(MAKE); $(unstage)
40962 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40963 r=`${PWD_COMMAND}`; export r; \
40964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40965 $(NORMAL_TARGET_EXPORTS) \
40966 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
40967 for flag in $(EXTRA_TARGET_FLAGS); do \
40968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40969 done; \
40970 (cd $(TARGET_SUBDIR)/libgloss && \
40971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40973 "RANLIB=$${RANLIB}" \
40974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40975 install-info) \
40976 || exit 1
40978 @endif target-libgloss
40980 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
40981 maybe-install-pdf-target-libgloss:
40982 @if target-libgloss
40983 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
40985 install-pdf-target-libgloss: \
40986 configure-target-libgloss \
40987 pdf-target-libgloss
40988 @: $(MAKE); $(unstage)
40989 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40990 r=`${PWD_COMMAND}`; export r; \
40991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40992 $(NORMAL_TARGET_EXPORTS) \
40993 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
40994 for flag in $(EXTRA_TARGET_FLAGS); do \
40995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40996 done; \
40997 (cd $(TARGET_SUBDIR)/libgloss && \
40998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41000 "RANLIB=$${RANLIB}" \
41001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41002 install-pdf) \
41003 || exit 1
41005 @endif target-libgloss
41007 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
41008 maybe-install-html-target-libgloss:
41009 @if target-libgloss
41010 maybe-install-html-target-libgloss: install-html-target-libgloss
41012 install-html-target-libgloss: \
41013 configure-target-libgloss \
41014 html-target-libgloss
41015 @: $(MAKE); $(unstage)
41016 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41017 r=`${PWD_COMMAND}`; export r; \
41018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41019 $(NORMAL_TARGET_EXPORTS) \
41020 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
41021 for flag in $(EXTRA_TARGET_FLAGS); do \
41022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41023 done; \
41024 (cd $(TARGET_SUBDIR)/libgloss && \
41025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41027 "RANLIB=$${RANLIB}" \
41028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41029 install-html) \
41030 || exit 1
41032 @endif target-libgloss
41034 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
41035 maybe-installcheck-target-libgloss:
41036 @if target-libgloss
41037 maybe-installcheck-target-libgloss: installcheck-target-libgloss
41039 installcheck-target-libgloss: \
41040 configure-target-libgloss
41041 @: $(MAKE); $(unstage)
41042 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41043 r=`${PWD_COMMAND}`; export r; \
41044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41045 $(NORMAL_TARGET_EXPORTS) \
41046 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
41047 for flag in $(EXTRA_TARGET_FLAGS); do \
41048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41049 done; \
41050 (cd $(TARGET_SUBDIR)/libgloss && \
41051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41053 "RANLIB=$${RANLIB}" \
41054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41055 installcheck) \
41056 || exit 1
41058 @endif target-libgloss
41060 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
41061 maybe-mostlyclean-target-libgloss:
41062 @if target-libgloss
41063 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
41065 mostlyclean-target-libgloss:
41066 @: $(MAKE); $(unstage)
41067 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41068 r=`${PWD_COMMAND}`; export r; \
41069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41070 $(NORMAL_TARGET_EXPORTS) \
41071 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
41072 for flag in $(EXTRA_TARGET_FLAGS); do \
41073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41074 done; \
41075 (cd $(TARGET_SUBDIR)/libgloss && \
41076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41078 "RANLIB=$${RANLIB}" \
41079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41080 mostlyclean) \
41081 || exit 1
41083 @endif target-libgloss
41085 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
41086 maybe-clean-target-libgloss:
41087 @if target-libgloss
41088 maybe-clean-target-libgloss: clean-target-libgloss
41090 clean-target-libgloss:
41091 @: $(MAKE); $(unstage)
41092 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41093 r=`${PWD_COMMAND}`; export r; \
41094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41095 $(NORMAL_TARGET_EXPORTS) \
41096 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
41097 for flag in $(EXTRA_TARGET_FLAGS); do \
41098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41099 done; \
41100 (cd $(TARGET_SUBDIR)/libgloss && \
41101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41103 "RANLIB=$${RANLIB}" \
41104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41105 clean) \
41106 || exit 1
41108 @endif target-libgloss
41110 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
41111 maybe-distclean-target-libgloss:
41112 @if target-libgloss
41113 maybe-distclean-target-libgloss: distclean-target-libgloss
41115 distclean-target-libgloss:
41116 @: $(MAKE); $(unstage)
41117 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41118 r=`${PWD_COMMAND}`; export r; \
41119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41120 $(NORMAL_TARGET_EXPORTS) \
41121 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
41122 for flag in $(EXTRA_TARGET_FLAGS); do \
41123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41124 done; \
41125 (cd $(TARGET_SUBDIR)/libgloss && \
41126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41128 "RANLIB=$${RANLIB}" \
41129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41130 distclean) \
41131 || exit 1
41133 @endif target-libgloss
41135 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
41136 maybe-maintainer-clean-target-libgloss:
41137 @if target-libgloss
41138 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
41140 maintainer-clean-target-libgloss:
41141 @: $(MAKE); $(unstage)
41142 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41143 r=`${PWD_COMMAND}`; export r; \
41144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41145 $(NORMAL_TARGET_EXPORTS) \
41146 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
41147 for flag in $(EXTRA_TARGET_FLAGS); do \
41148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41149 done; \
41150 (cd $(TARGET_SUBDIR)/libgloss && \
41151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41153 "RANLIB=$${RANLIB}" \
41154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41155 maintainer-clean) \
41156 || exit 1
41158 @endif target-libgloss
41164 .PHONY: configure-target-libffi maybe-configure-target-libffi
41165 maybe-configure-target-libffi:
41166 @if gcc-bootstrap
41167 configure-target-libffi: stage_current
41168 @endif gcc-bootstrap
41169 @if target-libffi
41170 maybe-configure-target-libffi: configure-target-libffi
41171 configure-target-libffi:
41172 @: $(MAKE); $(unstage)
41173 @r=`${PWD_COMMAND}`; export r; \
41174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41175 echo "Checking multilib configuration for libffi..."; \
41176 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
41177 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
41178 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
41179 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
41180 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
41181 else \
41182 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
41183 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
41184 fi; \
41185 else \
41186 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
41187 fi; \
41188 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
41189 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
41190 $(NORMAL_TARGET_EXPORTS) \
41191 echo Configuring in $(TARGET_SUBDIR)/libffi; \
41192 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
41193 case $(srcdir) in \
41194 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41195 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
41196 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41197 esac; \
41198 module_srcdir=libffi; \
41199 rm -f no-such-file || : ; \
41200 CONFIG_SITE=no-such-file $(SHELL) \
41201 $$s/$$module_srcdir/configure \
41202 --srcdir=$${topdir}/$$module_srcdir \
41203 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41204 --target=${target_alias} \
41205 || exit 1
41206 @endif target-libffi
41212 .PHONY: all-target-libffi maybe-all-target-libffi
41213 maybe-all-target-libffi:
41214 @if gcc-bootstrap
41215 all-target-libffi: stage_current
41216 @endif gcc-bootstrap
41217 @if target-libffi
41218 TARGET-target-libffi=all
41219 maybe-all-target-libffi: all-target-libffi
41220 all-target-libffi: configure-target-libffi
41221 @: $(MAKE); $(unstage)
41222 @r=`${PWD_COMMAND}`; export r; \
41223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41224 $(NORMAL_TARGET_EXPORTS) \
41225 (cd $(TARGET_SUBDIR)/libffi && \
41226 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41227 $(TARGET-target-libffi))
41228 @endif target-libffi
41234 .PHONY: check-target-libffi maybe-check-target-libffi
41235 maybe-check-target-libffi:
41236 @if target-libffi
41237 maybe-check-target-libffi: check-target-libffi
41239 check-target-libffi:
41240 @: $(MAKE); $(unstage)
41241 @r=`${PWD_COMMAND}`; export r; \
41242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41243 $(NORMAL_TARGET_EXPORTS) \
41244 (cd $(TARGET_SUBDIR)/libffi && \
41245 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41247 @endif target-libffi
41249 .PHONY: install-target-libffi maybe-install-target-libffi
41250 maybe-install-target-libffi:
41251 @if target-libffi
41252 maybe-install-target-libffi: install-target-libffi
41254 # Dummy target for uninstallable.
41255 install-target-libffi:
41257 @endif target-libffi
41259 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
41260 maybe-install-strip-target-libffi:
41261 @if target-libffi
41262 maybe-install-strip-target-libffi: install-strip-target-libffi
41264 # Dummy target for uninstallable.
41265 install-strip-target-libffi:
41267 @endif target-libffi
41269 # Other targets (info, dvi, pdf, etc.)
41271 .PHONY: maybe-info-target-libffi info-target-libffi
41272 maybe-info-target-libffi:
41273 @if target-libffi
41274 maybe-info-target-libffi: info-target-libffi
41276 info-target-libffi: \
41277 configure-target-libffi
41278 @: $(MAKE); $(unstage)
41279 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41280 r=`${PWD_COMMAND}`; export r; \
41281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41282 $(NORMAL_TARGET_EXPORTS) \
41283 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
41284 for flag in $(EXTRA_TARGET_FLAGS); do \
41285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41286 done; \
41287 (cd $(TARGET_SUBDIR)/libffi && \
41288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41290 "RANLIB=$${RANLIB}" \
41291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41292 info) \
41293 || exit 1
41295 @endif target-libffi
41297 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
41298 maybe-dvi-target-libffi:
41299 @if target-libffi
41300 maybe-dvi-target-libffi: dvi-target-libffi
41302 dvi-target-libffi: \
41303 configure-target-libffi
41304 @: $(MAKE); $(unstage)
41305 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41306 r=`${PWD_COMMAND}`; export r; \
41307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41308 $(NORMAL_TARGET_EXPORTS) \
41309 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
41310 for flag in $(EXTRA_TARGET_FLAGS); do \
41311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41312 done; \
41313 (cd $(TARGET_SUBDIR)/libffi && \
41314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41316 "RANLIB=$${RANLIB}" \
41317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41318 dvi) \
41319 || exit 1
41321 @endif target-libffi
41323 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
41324 maybe-pdf-target-libffi:
41325 @if target-libffi
41326 maybe-pdf-target-libffi: pdf-target-libffi
41328 pdf-target-libffi: \
41329 configure-target-libffi
41330 @: $(MAKE); $(unstage)
41331 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41332 r=`${PWD_COMMAND}`; export r; \
41333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41334 $(NORMAL_TARGET_EXPORTS) \
41335 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
41336 for flag in $(EXTRA_TARGET_FLAGS); do \
41337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41338 done; \
41339 (cd $(TARGET_SUBDIR)/libffi && \
41340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41342 "RANLIB=$${RANLIB}" \
41343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41344 pdf) \
41345 || exit 1
41347 @endif target-libffi
41349 .PHONY: maybe-html-target-libffi html-target-libffi
41350 maybe-html-target-libffi:
41351 @if target-libffi
41352 maybe-html-target-libffi: html-target-libffi
41354 html-target-libffi: \
41355 configure-target-libffi
41356 @: $(MAKE); $(unstage)
41357 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41358 r=`${PWD_COMMAND}`; export r; \
41359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41360 $(NORMAL_TARGET_EXPORTS) \
41361 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
41362 for flag in $(EXTRA_TARGET_FLAGS); do \
41363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41364 done; \
41365 (cd $(TARGET_SUBDIR)/libffi && \
41366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41368 "RANLIB=$${RANLIB}" \
41369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41370 html) \
41371 || exit 1
41373 @endif target-libffi
41375 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
41376 maybe-TAGS-target-libffi:
41377 @if target-libffi
41378 maybe-TAGS-target-libffi: TAGS-target-libffi
41380 TAGS-target-libffi: \
41381 configure-target-libffi
41382 @: $(MAKE); $(unstage)
41383 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41384 r=`${PWD_COMMAND}`; export r; \
41385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41386 $(NORMAL_TARGET_EXPORTS) \
41387 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
41388 for flag in $(EXTRA_TARGET_FLAGS); do \
41389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41390 done; \
41391 (cd $(TARGET_SUBDIR)/libffi && \
41392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41394 "RANLIB=$${RANLIB}" \
41395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41396 TAGS) \
41397 || exit 1
41399 @endif target-libffi
41401 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
41402 maybe-install-info-target-libffi:
41403 @if target-libffi
41404 maybe-install-info-target-libffi: install-info-target-libffi
41406 install-info-target-libffi: \
41407 configure-target-libffi \
41408 info-target-libffi
41409 @: $(MAKE); $(unstage)
41410 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41411 r=`${PWD_COMMAND}`; export r; \
41412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41413 $(NORMAL_TARGET_EXPORTS) \
41414 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
41415 for flag in $(EXTRA_TARGET_FLAGS); do \
41416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41417 done; \
41418 (cd $(TARGET_SUBDIR)/libffi && \
41419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41421 "RANLIB=$${RANLIB}" \
41422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41423 install-info) \
41424 || exit 1
41426 @endif target-libffi
41428 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
41429 maybe-install-pdf-target-libffi:
41430 @if target-libffi
41431 maybe-install-pdf-target-libffi: install-pdf-target-libffi
41433 install-pdf-target-libffi: \
41434 configure-target-libffi \
41435 pdf-target-libffi
41436 @: $(MAKE); $(unstage)
41437 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41438 r=`${PWD_COMMAND}`; export r; \
41439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41440 $(NORMAL_TARGET_EXPORTS) \
41441 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
41442 for flag in $(EXTRA_TARGET_FLAGS); do \
41443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41444 done; \
41445 (cd $(TARGET_SUBDIR)/libffi && \
41446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41448 "RANLIB=$${RANLIB}" \
41449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41450 install-pdf) \
41451 || exit 1
41453 @endif target-libffi
41455 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
41456 maybe-install-html-target-libffi:
41457 @if target-libffi
41458 maybe-install-html-target-libffi: install-html-target-libffi
41460 install-html-target-libffi: \
41461 configure-target-libffi \
41462 html-target-libffi
41463 @: $(MAKE); $(unstage)
41464 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41465 r=`${PWD_COMMAND}`; export r; \
41466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41467 $(NORMAL_TARGET_EXPORTS) \
41468 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
41469 for flag in $(EXTRA_TARGET_FLAGS); do \
41470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41471 done; \
41472 (cd $(TARGET_SUBDIR)/libffi && \
41473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41475 "RANLIB=$${RANLIB}" \
41476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41477 install-html) \
41478 || exit 1
41480 @endif target-libffi
41482 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
41483 maybe-installcheck-target-libffi:
41484 @if target-libffi
41485 maybe-installcheck-target-libffi: installcheck-target-libffi
41487 installcheck-target-libffi: \
41488 configure-target-libffi
41489 @: $(MAKE); $(unstage)
41490 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41491 r=`${PWD_COMMAND}`; export r; \
41492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41493 $(NORMAL_TARGET_EXPORTS) \
41494 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
41495 for flag in $(EXTRA_TARGET_FLAGS); do \
41496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41497 done; \
41498 (cd $(TARGET_SUBDIR)/libffi && \
41499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41501 "RANLIB=$${RANLIB}" \
41502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41503 installcheck) \
41504 || exit 1
41506 @endif target-libffi
41508 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
41509 maybe-mostlyclean-target-libffi:
41510 @if target-libffi
41511 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
41513 mostlyclean-target-libffi:
41514 @: $(MAKE); $(unstage)
41515 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41516 r=`${PWD_COMMAND}`; export r; \
41517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41518 $(NORMAL_TARGET_EXPORTS) \
41519 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
41520 for flag in $(EXTRA_TARGET_FLAGS); do \
41521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41522 done; \
41523 (cd $(TARGET_SUBDIR)/libffi && \
41524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41526 "RANLIB=$${RANLIB}" \
41527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41528 mostlyclean) \
41529 || exit 1
41531 @endif target-libffi
41533 .PHONY: maybe-clean-target-libffi clean-target-libffi
41534 maybe-clean-target-libffi:
41535 @if target-libffi
41536 maybe-clean-target-libffi: clean-target-libffi
41538 clean-target-libffi:
41539 @: $(MAKE); $(unstage)
41540 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41541 r=`${PWD_COMMAND}`; export r; \
41542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41543 $(NORMAL_TARGET_EXPORTS) \
41544 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
41545 for flag in $(EXTRA_TARGET_FLAGS); do \
41546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41547 done; \
41548 (cd $(TARGET_SUBDIR)/libffi && \
41549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41551 "RANLIB=$${RANLIB}" \
41552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41553 clean) \
41554 || exit 1
41556 @endif target-libffi
41558 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
41559 maybe-distclean-target-libffi:
41560 @if target-libffi
41561 maybe-distclean-target-libffi: distclean-target-libffi
41563 distclean-target-libffi:
41564 @: $(MAKE); $(unstage)
41565 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41566 r=`${PWD_COMMAND}`; export r; \
41567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41568 $(NORMAL_TARGET_EXPORTS) \
41569 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
41570 for flag in $(EXTRA_TARGET_FLAGS); do \
41571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41572 done; \
41573 (cd $(TARGET_SUBDIR)/libffi && \
41574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41576 "RANLIB=$${RANLIB}" \
41577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41578 distclean) \
41579 || exit 1
41581 @endif target-libffi
41583 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
41584 maybe-maintainer-clean-target-libffi:
41585 @if target-libffi
41586 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
41588 maintainer-clean-target-libffi:
41589 @: $(MAKE); $(unstage)
41590 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41591 r=`${PWD_COMMAND}`; export r; \
41592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41593 $(NORMAL_TARGET_EXPORTS) \
41594 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
41595 for flag in $(EXTRA_TARGET_FLAGS); do \
41596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41597 done; \
41598 (cd $(TARGET_SUBDIR)/libffi && \
41599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41601 "RANLIB=$${RANLIB}" \
41602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41603 maintainer-clean) \
41604 || exit 1
41606 @endif target-libffi
41612 .PHONY: configure-target-libjava maybe-configure-target-libjava
41613 maybe-configure-target-libjava:
41614 @if gcc-bootstrap
41615 configure-target-libjava: stage_current
41616 @endif gcc-bootstrap
41617 @if target-libjava
41618 maybe-configure-target-libjava: configure-target-libjava
41619 configure-target-libjava:
41620 @: $(MAKE); $(unstage)
41621 @r=`${PWD_COMMAND}`; export r; \
41622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41623 echo "Checking multilib configuration for libjava..."; \
41624 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
41625 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
41626 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
41627 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
41628 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
41629 else \
41630 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
41631 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
41632 fi; \
41633 else \
41634 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
41635 fi; \
41636 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
41637 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
41638 $(RAW_CXX_TARGET_EXPORTS) \
41639 echo Configuring in $(TARGET_SUBDIR)/libjava; \
41640 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
41641 case $(srcdir) in \
41642 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41643 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
41644 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41645 esac; \
41646 module_srcdir=libjava; \
41647 rm -f no-such-file || : ; \
41648 CONFIG_SITE=no-such-file $(SHELL) \
41649 $$s/$$module_srcdir/configure \
41650 --srcdir=$${topdir}/$$module_srcdir \
41651 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41652 --target=${target_alias} $(EXTRA_CONFIGARGS_LIBJAVA) \
41653 || exit 1
41654 @endif target-libjava
41660 .PHONY: all-target-libjava maybe-all-target-libjava
41661 maybe-all-target-libjava:
41662 @if gcc-bootstrap
41663 all-target-libjava: stage_current
41664 @endif gcc-bootstrap
41665 @if target-libjava
41666 TARGET-target-libjava=all
41667 maybe-all-target-libjava: all-target-libjava
41668 all-target-libjava: configure-target-libjava
41669 @: $(MAKE); $(unstage)
41670 @r=`${PWD_COMMAND}`; export r; \
41671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41672 $(RAW_CXX_TARGET_EXPORTS) \
41673 (cd $(TARGET_SUBDIR)/libjava && \
41674 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41675 $(TARGET-target-libjava))
41676 @endif target-libjava
41682 .PHONY: check-target-libjava maybe-check-target-libjava
41683 maybe-check-target-libjava:
41684 @if target-libjava
41685 maybe-check-target-libjava: check-target-libjava
41687 check-target-libjava:
41688 @: $(MAKE); $(unstage)
41689 @r=`${PWD_COMMAND}`; export r; \
41690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41691 $(RAW_CXX_TARGET_EXPORTS) \
41692 (cd $(TARGET_SUBDIR)/libjava && \
41693 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
41695 @endif target-libjava
41697 .PHONY: install-target-libjava maybe-install-target-libjava
41698 maybe-install-target-libjava:
41699 @if target-libjava
41700 maybe-install-target-libjava: install-target-libjava
41702 install-target-libjava: installdirs
41703 @: $(MAKE); $(unstage)
41704 @r=`${PWD_COMMAND}`; export r; \
41705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41706 $(RAW_CXX_TARGET_EXPORTS) \
41707 (cd $(TARGET_SUBDIR)/libjava && \
41708 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41710 @endif target-libjava
41712 .PHONY: install-strip-target-libjava maybe-install-strip-target-libjava
41713 maybe-install-strip-target-libjava:
41714 @if target-libjava
41715 maybe-install-strip-target-libjava: install-strip-target-libjava
41717 install-strip-target-libjava: installdirs
41718 @: $(MAKE); $(unstage)
41719 @r=`${PWD_COMMAND}`; export r; \
41720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41721 $(RAW_CXX_TARGET_EXPORTS) \
41722 (cd $(TARGET_SUBDIR)/libjava && \
41723 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41725 @endif target-libjava
41727 # Other targets (info, dvi, pdf, etc.)
41729 .PHONY: maybe-info-target-libjava info-target-libjava
41730 maybe-info-target-libjava:
41731 @if target-libjava
41732 maybe-info-target-libjava: info-target-libjava
41734 info-target-libjava: \
41735 configure-target-libjava
41736 @: $(MAKE); $(unstage)
41737 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41738 r=`${PWD_COMMAND}`; export r; \
41739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41740 $(RAW_CXX_TARGET_EXPORTS) \
41741 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
41742 for flag in $(EXTRA_TARGET_FLAGS); do \
41743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41744 done; \
41745 (cd $(TARGET_SUBDIR)/libjava && \
41746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41748 "RANLIB=$${RANLIB}" \
41749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41750 info) \
41751 || exit 1
41753 @endif target-libjava
41755 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
41756 maybe-dvi-target-libjava:
41757 @if target-libjava
41758 maybe-dvi-target-libjava: dvi-target-libjava
41760 dvi-target-libjava: \
41761 configure-target-libjava
41762 @: $(MAKE); $(unstage)
41763 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41764 r=`${PWD_COMMAND}`; export r; \
41765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41766 $(RAW_CXX_TARGET_EXPORTS) \
41767 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
41768 for flag in $(EXTRA_TARGET_FLAGS); do \
41769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41770 done; \
41771 (cd $(TARGET_SUBDIR)/libjava && \
41772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41774 "RANLIB=$${RANLIB}" \
41775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41776 dvi) \
41777 || exit 1
41779 @endif target-libjava
41781 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
41782 maybe-pdf-target-libjava:
41783 @if target-libjava
41784 maybe-pdf-target-libjava: pdf-target-libjava
41786 pdf-target-libjava: \
41787 configure-target-libjava
41788 @: $(MAKE); $(unstage)
41789 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41790 r=`${PWD_COMMAND}`; export r; \
41791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41792 $(RAW_CXX_TARGET_EXPORTS) \
41793 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
41794 for flag in $(EXTRA_TARGET_FLAGS); do \
41795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41796 done; \
41797 (cd $(TARGET_SUBDIR)/libjava && \
41798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41800 "RANLIB=$${RANLIB}" \
41801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41802 pdf) \
41803 || exit 1
41805 @endif target-libjava
41807 .PHONY: maybe-html-target-libjava html-target-libjava
41808 maybe-html-target-libjava:
41809 @if target-libjava
41810 maybe-html-target-libjava: html-target-libjava
41812 html-target-libjava: \
41813 configure-target-libjava
41814 @: $(MAKE); $(unstage)
41815 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41816 r=`${PWD_COMMAND}`; export r; \
41817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41818 $(RAW_CXX_TARGET_EXPORTS) \
41819 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
41820 for flag in $(EXTRA_TARGET_FLAGS); do \
41821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41822 done; \
41823 (cd $(TARGET_SUBDIR)/libjava && \
41824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41826 "RANLIB=$${RANLIB}" \
41827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41828 html) \
41829 || exit 1
41831 @endif target-libjava
41833 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
41834 maybe-TAGS-target-libjava:
41835 @if target-libjava
41836 maybe-TAGS-target-libjava: TAGS-target-libjava
41838 TAGS-target-libjava: \
41839 configure-target-libjava
41840 @: $(MAKE); $(unstage)
41841 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41842 r=`${PWD_COMMAND}`; export r; \
41843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41844 $(RAW_CXX_TARGET_EXPORTS) \
41845 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
41846 for flag in $(EXTRA_TARGET_FLAGS); do \
41847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41848 done; \
41849 (cd $(TARGET_SUBDIR)/libjava && \
41850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41852 "RANLIB=$${RANLIB}" \
41853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41854 TAGS) \
41855 || exit 1
41857 @endif target-libjava
41859 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
41860 maybe-install-info-target-libjava:
41861 @if target-libjava
41862 maybe-install-info-target-libjava: install-info-target-libjava
41864 install-info-target-libjava: \
41865 configure-target-libjava \
41866 info-target-libjava
41867 @: $(MAKE); $(unstage)
41868 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41869 r=`${PWD_COMMAND}`; export r; \
41870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41871 $(RAW_CXX_TARGET_EXPORTS) \
41872 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
41873 for flag in $(EXTRA_TARGET_FLAGS); do \
41874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41875 done; \
41876 (cd $(TARGET_SUBDIR)/libjava && \
41877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41879 "RANLIB=$${RANLIB}" \
41880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41881 install-info) \
41882 || exit 1
41884 @endif target-libjava
41886 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
41887 maybe-install-pdf-target-libjava:
41888 @if target-libjava
41889 maybe-install-pdf-target-libjava: install-pdf-target-libjava
41891 install-pdf-target-libjava: \
41892 configure-target-libjava \
41893 pdf-target-libjava
41894 @: $(MAKE); $(unstage)
41895 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41896 r=`${PWD_COMMAND}`; export r; \
41897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41898 $(RAW_CXX_TARGET_EXPORTS) \
41899 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
41900 for flag in $(EXTRA_TARGET_FLAGS); do \
41901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41902 done; \
41903 (cd $(TARGET_SUBDIR)/libjava && \
41904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41906 "RANLIB=$${RANLIB}" \
41907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41908 install-pdf) \
41909 || exit 1
41911 @endif target-libjava
41913 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
41914 maybe-install-html-target-libjava:
41915 @if target-libjava
41916 maybe-install-html-target-libjava: install-html-target-libjava
41918 install-html-target-libjava: \
41919 configure-target-libjava \
41920 html-target-libjava
41921 @: $(MAKE); $(unstage)
41922 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41923 r=`${PWD_COMMAND}`; export r; \
41924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41925 $(RAW_CXX_TARGET_EXPORTS) \
41926 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
41927 for flag in $(EXTRA_TARGET_FLAGS); do \
41928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41929 done; \
41930 (cd $(TARGET_SUBDIR)/libjava && \
41931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41933 "RANLIB=$${RANLIB}" \
41934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41935 install-html) \
41936 || exit 1
41938 @endif target-libjava
41940 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
41941 maybe-installcheck-target-libjava:
41942 @if target-libjava
41943 maybe-installcheck-target-libjava: installcheck-target-libjava
41945 installcheck-target-libjava: \
41946 configure-target-libjava
41947 @: $(MAKE); $(unstage)
41948 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41949 r=`${PWD_COMMAND}`; export r; \
41950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41951 $(RAW_CXX_TARGET_EXPORTS) \
41952 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
41953 for flag in $(EXTRA_TARGET_FLAGS); do \
41954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41955 done; \
41956 (cd $(TARGET_SUBDIR)/libjava && \
41957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41959 "RANLIB=$${RANLIB}" \
41960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41961 installcheck) \
41962 || exit 1
41964 @endif target-libjava
41966 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
41967 maybe-mostlyclean-target-libjava:
41968 @if target-libjava
41969 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
41971 mostlyclean-target-libjava:
41972 @: $(MAKE); $(unstage)
41973 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41974 r=`${PWD_COMMAND}`; export r; \
41975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41976 $(RAW_CXX_TARGET_EXPORTS) \
41977 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
41978 for flag in $(EXTRA_TARGET_FLAGS); do \
41979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41980 done; \
41981 (cd $(TARGET_SUBDIR)/libjava && \
41982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41984 "RANLIB=$${RANLIB}" \
41985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41986 mostlyclean) \
41987 || exit 1
41989 @endif target-libjava
41991 .PHONY: maybe-clean-target-libjava clean-target-libjava
41992 maybe-clean-target-libjava:
41993 @if target-libjava
41994 maybe-clean-target-libjava: clean-target-libjava
41996 clean-target-libjava:
41997 @: $(MAKE); $(unstage)
41998 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41999 r=`${PWD_COMMAND}`; export r; \
42000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42001 $(RAW_CXX_TARGET_EXPORTS) \
42002 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
42003 for flag in $(EXTRA_TARGET_FLAGS); do \
42004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42005 done; \
42006 (cd $(TARGET_SUBDIR)/libjava && \
42007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42009 "RANLIB=$${RANLIB}" \
42010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42011 clean) \
42012 || exit 1
42014 @endif target-libjava
42016 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
42017 maybe-distclean-target-libjava:
42018 @if target-libjava
42019 maybe-distclean-target-libjava: distclean-target-libjava
42021 distclean-target-libjava:
42022 @: $(MAKE); $(unstage)
42023 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
42024 r=`${PWD_COMMAND}`; export r; \
42025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42026 $(RAW_CXX_TARGET_EXPORTS) \
42027 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
42028 for flag in $(EXTRA_TARGET_FLAGS); do \
42029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42030 done; \
42031 (cd $(TARGET_SUBDIR)/libjava && \
42032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42034 "RANLIB=$${RANLIB}" \
42035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42036 distclean) \
42037 || exit 1
42039 @endif target-libjava
42041 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
42042 maybe-maintainer-clean-target-libjava:
42043 @if target-libjava
42044 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
42046 maintainer-clean-target-libjava:
42047 @: $(MAKE); $(unstage)
42048 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
42049 r=`${PWD_COMMAND}`; export r; \
42050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42051 $(RAW_CXX_TARGET_EXPORTS) \
42052 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
42053 for flag in $(EXTRA_TARGET_FLAGS); do \
42054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42055 done; \
42056 (cd $(TARGET_SUBDIR)/libjava && \
42057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42059 "RANLIB=$${RANLIB}" \
42060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42061 maintainer-clean) \
42062 || exit 1
42064 @endif target-libjava
42070 .PHONY: configure-target-zlib maybe-configure-target-zlib
42071 maybe-configure-target-zlib:
42072 @if gcc-bootstrap
42073 configure-target-zlib: stage_current
42074 @endif gcc-bootstrap
42075 @if target-zlib
42076 maybe-configure-target-zlib: configure-target-zlib
42077 configure-target-zlib:
42078 @: $(MAKE); $(unstage)
42079 @r=`${PWD_COMMAND}`; export r; \
42080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42081 echo "Checking multilib configuration for zlib..."; \
42082 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
42083 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
42084 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
42085 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
42086 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
42087 else \
42088 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
42089 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
42090 fi; \
42091 else \
42092 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
42093 fi; \
42094 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
42095 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
42096 $(NORMAL_TARGET_EXPORTS) \
42097 echo Configuring in $(TARGET_SUBDIR)/zlib; \
42098 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
42099 case $(srcdir) in \
42100 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42101 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
42102 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42103 esac; \
42104 module_srcdir=zlib; \
42105 rm -f no-such-file || : ; \
42106 CONFIG_SITE=no-such-file $(SHELL) \
42107 $$s/$$module_srcdir/configure \
42108 --srcdir=$${topdir}/$$module_srcdir \
42109 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42110 --target=${target_alias} \
42111 || exit 1
42112 @endif target-zlib
42118 .PHONY: all-target-zlib maybe-all-target-zlib
42119 maybe-all-target-zlib:
42120 @if gcc-bootstrap
42121 all-target-zlib: stage_current
42122 @endif gcc-bootstrap
42123 @if target-zlib
42124 TARGET-target-zlib=all
42125 maybe-all-target-zlib: all-target-zlib
42126 all-target-zlib: configure-target-zlib
42127 @: $(MAKE); $(unstage)
42128 @r=`${PWD_COMMAND}`; export r; \
42129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42130 $(NORMAL_TARGET_EXPORTS) \
42131 (cd $(TARGET_SUBDIR)/zlib && \
42132 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42133 $(TARGET-target-zlib))
42134 @endif target-zlib
42140 .PHONY: check-target-zlib maybe-check-target-zlib
42141 maybe-check-target-zlib:
42142 @if target-zlib
42143 maybe-check-target-zlib: check-target-zlib
42145 check-target-zlib:
42146 @: $(MAKE); $(unstage)
42147 @r=`${PWD_COMMAND}`; export r; \
42148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42149 $(NORMAL_TARGET_EXPORTS) \
42150 (cd $(TARGET_SUBDIR)/zlib && \
42151 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42153 @endif target-zlib
42155 .PHONY: install-target-zlib maybe-install-target-zlib
42156 maybe-install-target-zlib:
42157 @if target-zlib
42158 maybe-install-target-zlib: install-target-zlib
42160 install-target-zlib: installdirs
42161 @: $(MAKE); $(unstage)
42162 @r=`${PWD_COMMAND}`; export r; \
42163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42164 $(NORMAL_TARGET_EXPORTS) \
42165 (cd $(TARGET_SUBDIR)/zlib && \
42166 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42168 @endif target-zlib
42170 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
42171 maybe-install-strip-target-zlib:
42172 @if target-zlib
42173 maybe-install-strip-target-zlib: install-strip-target-zlib
42175 install-strip-target-zlib: installdirs
42176 @: $(MAKE); $(unstage)
42177 @r=`${PWD_COMMAND}`; export r; \
42178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42179 $(NORMAL_TARGET_EXPORTS) \
42180 (cd $(TARGET_SUBDIR)/zlib && \
42181 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42183 @endif target-zlib
42185 # Other targets (info, dvi, pdf, etc.)
42187 .PHONY: maybe-info-target-zlib info-target-zlib
42188 maybe-info-target-zlib:
42189 @if target-zlib
42190 maybe-info-target-zlib: info-target-zlib
42192 info-target-zlib: \
42193 configure-target-zlib
42194 @: $(MAKE); $(unstage)
42195 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42196 r=`${PWD_COMMAND}`; export r; \
42197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42198 $(NORMAL_TARGET_EXPORTS) \
42199 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
42200 for flag in $(EXTRA_TARGET_FLAGS); do \
42201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42202 done; \
42203 (cd $(TARGET_SUBDIR)/zlib && \
42204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42206 "RANLIB=$${RANLIB}" \
42207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42208 info) \
42209 || exit 1
42211 @endif target-zlib
42213 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
42214 maybe-dvi-target-zlib:
42215 @if target-zlib
42216 maybe-dvi-target-zlib: dvi-target-zlib
42218 dvi-target-zlib: \
42219 configure-target-zlib
42220 @: $(MAKE); $(unstage)
42221 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42222 r=`${PWD_COMMAND}`; export r; \
42223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42224 $(NORMAL_TARGET_EXPORTS) \
42225 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
42226 for flag in $(EXTRA_TARGET_FLAGS); do \
42227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42228 done; \
42229 (cd $(TARGET_SUBDIR)/zlib && \
42230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42232 "RANLIB=$${RANLIB}" \
42233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42234 dvi) \
42235 || exit 1
42237 @endif target-zlib
42239 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
42240 maybe-pdf-target-zlib:
42241 @if target-zlib
42242 maybe-pdf-target-zlib: pdf-target-zlib
42244 pdf-target-zlib: \
42245 configure-target-zlib
42246 @: $(MAKE); $(unstage)
42247 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42248 r=`${PWD_COMMAND}`; export r; \
42249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42250 $(NORMAL_TARGET_EXPORTS) \
42251 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
42252 for flag in $(EXTRA_TARGET_FLAGS); do \
42253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42254 done; \
42255 (cd $(TARGET_SUBDIR)/zlib && \
42256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42258 "RANLIB=$${RANLIB}" \
42259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42260 pdf) \
42261 || exit 1
42263 @endif target-zlib
42265 .PHONY: maybe-html-target-zlib html-target-zlib
42266 maybe-html-target-zlib:
42267 @if target-zlib
42268 maybe-html-target-zlib: html-target-zlib
42270 html-target-zlib: \
42271 configure-target-zlib
42272 @: $(MAKE); $(unstage)
42273 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42274 r=`${PWD_COMMAND}`; export r; \
42275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42276 $(NORMAL_TARGET_EXPORTS) \
42277 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
42278 for flag in $(EXTRA_TARGET_FLAGS); do \
42279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42280 done; \
42281 (cd $(TARGET_SUBDIR)/zlib && \
42282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42284 "RANLIB=$${RANLIB}" \
42285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42286 html) \
42287 || exit 1
42289 @endif target-zlib
42291 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
42292 maybe-TAGS-target-zlib:
42293 @if target-zlib
42294 maybe-TAGS-target-zlib: TAGS-target-zlib
42296 TAGS-target-zlib: \
42297 configure-target-zlib
42298 @: $(MAKE); $(unstage)
42299 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42300 r=`${PWD_COMMAND}`; export r; \
42301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42302 $(NORMAL_TARGET_EXPORTS) \
42303 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
42304 for flag in $(EXTRA_TARGET_FLAGS); do \
42305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42306 done; \
42307 (cd $(TARGET_SUBDIR)/zlib && \
42308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42310 "RANLIB=$${RANLIB}" \
42311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42312 TAGS) \
42313 || exit 1
42315 @endif target-zlib
42317 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
42318 maybe-install-info-target-zlib:
42319 @if target-zlib
42320 maybe-install-info-target-zlib: install-info-target-zlib
42322 install-info-target-zlib: \
42323 configure-target-zlib \
42324 info-target-zlib
42325 @: $(MAKE); $(unstage)
42326 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42327 r=`${PWD_COMMAND}`; export r; \
42328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42329 $(NORMAL_TARGET_EXPORTS) \
42330 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
42331 for flag in $(EXTRA_TARGET_FLAGS); do \
42332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42333 done; \
42334 (cd $(TARGET_SUBDIR)/zlib && \
42335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42337 "RANLIB=$${RANLIB}" \
42338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42339 install-info) \
42340 || exit 1
42342 @endif target-zlib
42344 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
42345 maybe-install-pdf-target-zlib:
42346 @if target-zlib
42347 maybe-install-pdf-target-zlib: install-pdf-target-zlib
42349 install-pdf-target-zlib: \
42350 configure-target-zlib \
42351 pdf-target-zlib
42352 @: $(MAKE); $(unstage)
42353 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42354 r=`${PWD_COMMAND}`; export r; \
42355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42356 $(NORMAL_TARGET_EXPORTS) \
42357 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
42358 for flag in $(EXTRA_TARGET_FLAGS); do \
42359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42360 done; \
42361 (cd $(TARGET_SUBDIR)/zlib && \
42362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42364 "RANLIB=$${RANLIB}" \
42365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42366 install-pdf) \
42367 || exit 1
42369 @endif target-zlib
42371 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
42372 maybe-install-html-target-zlib:
42373 @if target-zlib
42374 maybe-install-html-target-zlib: install-html-target-zlib
42376 install-html-target-zlib: \
42377 configure-target-zlib \
42378 html-target-zlib
42379 @: $(MAKE); $(unstage)
42380 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42381 r=`${PWD_COMMAND}`; export r; \
42382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42383 $(NORMAL_TARGET_EXPORTS) \
42384 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
42385 for flag in $(EXTRA_TARGET_FLAGS); do \
42386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42387 done; \
42388 (cd $(TARGET_SUBDIR)/zlib && \
42389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42391 "RANLIB=$${RANLIB}" \
42392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42393 install-html) \
42394 || exit 1
42396 @endif target-zlib
42398 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
42399 maybe-installcheck-target-zlib:
42400 @if target-zlib
42401 maybe-installcheck-target-zlib: installcheck-target-zlib
42403 installcheck-target-zlib: \
42404 configure-target-zlib
42405 @: $(MAKE); $(unstage)
42406 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42407 r=`${PWD_COMMAND}`; export r; \
42408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42409 $(NORMAL_TARGET_EXPORTS) \
42410 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
42411 for flag in $(EXTRA_TARGET_FLAGS); do \
42412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42413 done; \
42414 (cd $(TARGET_SUBDIR)/zlib && \
42415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42417 "RANLIB=$${RANLIB}" \
42418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42419 installcheck) \
42420 || exit 1
42422 @endif target-zlib
42424 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
42425 maybe-mostlyclean-target-zlib:
42426 @if target-zlib
42427 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
42429 mostlyclean-target-zlib:
42430 @: $(MAKE); $(unstage)
42431 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42432 r=`${PWD_COMMAND}`; export r; \
42433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42434 $(NORMAL_TARGET_EXPORTS) \
42435 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
42436 for flag in $(EXTRA_TARGET_FLAGS); do \
42437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42438 done; \
42439 (cd $(TARGET_SUBDIR)/zlib && \
42440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42442 "RANLIB=$${RANLIB}" \
42443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42444 mostlyclean) \
42445 || exit 1
42447 @endif target-zlib
42449 .PHONY: maybe-clean-target-zlib clean-target-zlib
42450 maybe-clean-target-zlib:
42451 @if target-zlib
42452 maybe-clean-target-zlib: clean-target-zlib
42454 clean-target-zlib:
42455 @: $(MAKE); $(unstage)
42456 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42457 r=`${PWD_COMMAND}`; export r; \
42458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42459 $(NORMAL_TARGET_EXPORTS) \
42460 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
42461 for flag in $(EXTRA_TARGET_FLAGS); do \
42462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42463 done; \
42464 (cd $(TARGET_SUBDIR)/zlib && \
42465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42467 "RANLIB=$${RANLIB}" \
42468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42469 clean) \
42470 || exit 1
42472 @endif target-zlib
42474 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
42475 maybe-distclean-target-zlib:
42476 @if target-zlib
42477 maybe-distclean-target-zlib: distclean-target-zlib
42479 distclean-target-zlib:
42480 @: $(MAKE); $(unstage)
42481 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42482 r=`${PWD_COMMAND}`; export r; \
42483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42484 $(NORMAL_TARGET_EXPORTS) \
42485 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
42486 for flag in $(EXTRA_TARGET_FLAGS); do \
42487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42488 done; \
42489 (cd $(TARGET_SUBDIR)/zlib && \
42490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42492 "RANLIB=$${RANLIB}" \
42493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42494 distclean) \
42495 || exit 1
42497 @endif target-zlib
42499 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
42500 maybe-maintainer-clean-target-zlib:
42501 @if target-zlib
42502 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
42504 maintainer-clean-target-zlib:
42505 @: $(MAKE); $(unstage)
42506 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42507 r=`${PWD_COMMAND}`; export r; \
42508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42509 $(NORMAL_TARGET_EXPORTS) \
42510 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
42511 for flag in $(EXTRA_TARGET_FLAGS); do \
42512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42513 done; \
42514 (cd $(TARGET_SUBDIR)/zlib && \
42515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42517 "RANLIB=$${RANLIB}" \
42518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42519 maintainer-clean) \
42520 || exit 1
42522 @endif target-zlib
42528 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
42529 maybe-configure-target-boehm-gc:
42530 @if gcc-bootstrap
42531 configure-target-boehm-gc: stage_current
42532 @endif gcc-bootstrap
42533 @if target-boehm-gc
42534 maybe-configure-target-boehm-gc: configure-target-boehm-gc
42535 configure-target-boehm-gc:
42536 @: $(MAKE); $(unstage)
42537 @r=`${PWD_COMMAND}`; export r; \
42538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42539 echo "Checking multilib configuration for boehm-gc..."; \
42540 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
42541 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
42542 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
42543 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
42544 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
42545 else \
42546 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
42547 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
42548 fi; \
42549 else \
42550 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
42551 fi; \
42552 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
42553 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
42554 $(NORMAL_TARGET_EXPORTS) \
42555 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
42556 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
42557 case $(srcdir) in \
42558 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42559 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
42560 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42561 esac; \
42562 module_srcdir=boehm-gc; \
42563 rm -f no-such-file || : ; \
42564 CONFIG_SITE=no-such-file $(SHELL) \
42565 $$s/$$module_srcdir/configure \
42566 --srcdir=$${topdir}/$$module_srcdir \
42567 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42568 --target=${target_alias} \
42569 || exit 1
42570 @endif target-boehm-gc
42576 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
42577 maybe-all-target-boehm-gc:
42578 @if gcc-bootstrap
42579 all-target-boehm-gc: stage_current
42580 @endif gcc-bootstrap
42581 @if target-boehm-gc
42582 TARGET-target-boehm-gc=all
42583 maybe-all-target-boehm-gc: all-target-boehm-gc
42584 all-target-boehm-gc: configure-target-boehm-gc
42585 @: $(MAKE); $(unstage)
42586 @r=`${PWD_COMMAND}`; export r; \
42587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42588 $(NORMAL_TARGET_EXPORTS) \
42589 (cd $(TARGET_SUBDIR)/boehm-gc && \
42590 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42591 $(TARGET-target-boehm-gc))
42592 @endif target-boehm-gc
42598 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
42599 maybe-check-target-boehm-gc:
42600 @if target-boehm-gc
42601 maybe-check-target-boehm-gc: check-target-boehm-gc
42603 check-target-boehm-gc:
42604 @: $(MAKE); $(unstage)
42605 @r=`${PWD_COMMAND}`; export r; \
42606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42607 $(NORMAL_TARGET_EXPORTS) \
42608 (cd $(TARGET_SUBDIR)/boehm-gc && \
42609 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42611 @endif target-boehm-gc
42613 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
42614 maybe-install-target-boehm-gc:
42615 @if target-boehm-gc
42616 maybe-install-target-boehm-gc: install-target-boehm-gc
42618 install-target-boehm-gc: installdirs
42619 @: $(MAKE); $(unstage)
42620 @r=`${PWD_COMMAND}`; export r; \
42621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42622 $(NORMAL_TARGET_EXPORTS) \
42623 (cd $(TARGET_SUBDIR)/boehm-gc && \
42624 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42626 @endif target-boehm-gc
42628 .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
42629 maybe-install-strip-target-boehm-gc:
42630 @if target-boehm-gc
42631 maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
42633 install-strip-target-boehm-gc: installdirs
42634 @: $(MAKE); $(unstage)
42635 @r=`${PWD_COMMAND}`; export r; \
42636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42637 $(NORMAL_TARGET_EXPORTS) \
42638 (cd $(TARGET_SUBDIR)/boehm-gc && \
42639 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42641 @endif target-boehm-gc
42643 # Other targets (info, dvi, pdf, etc.)
42645 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
42646 maybe-info-target-boehm-gc:
42647 @if target-boehm-gc
42648 maybe-info-target-boehm-gc: info-target-boehm-gc
42650 info-target-boehm-gc: \
42651 configure-target-boehm-gc
42652 @: $(MAKE); $(unstage)
42653 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42654 r=`${PWD_COMMAND}`; export r; \
42655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42656 $(NORMAL_TARGET_EXPORTS) \
42657 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
42658 for flag in $(EXTRA_TARGET_FLAGS); do \
42659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42660 done; \
42661 (cd $(TARGET_SUBDIR)/boehm-gc && \
42662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42664 "RANLIB=$${RANLIB}" \
42665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42666 info) \
42667 || exit 1
42669 @endif target-boehm-gc
42671 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
42672 maybe-dvi-target-boehm-gc:
42673 @if target-boehm-gc
42674 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
42676 dvi-target-boehm-gc: \
42677 configure-target-boehm-gc
42678 @: $(MAKE); $(unstage)
42679 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42680 r=`${PWD_COMMAND}`; export r; \
42681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42682 $(NORMAL_TARGET_EXPORTS) \
42683 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
42684 for flag in $(EXTRA_TARGET_FLAGS); do \
42685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42686 done; \
42687 (cd $(TARGET_SUBDIR)/boehm-gc && \
42688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42690 "RANLIB=$${RANLIB}" \
42691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42692 dvi) \
42693 || exit 1
42695 @endif target-boehm-gc
42697 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
42698 maybe-pdf-target-boehm-gc:
42699 @if target-boehm-gc
42700 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
42702 pdf-target-boehm-gc: \
42703 configure-target-boehm-gc
42704 @: $(MAKE); $(unstage)
42705 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42706 r=`${PWD_COMMAND}`; export r; \
42707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42708 $(NORMAL_TARGET_EXPORTS) \
42709 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
42710 for flag in $(EXTRA_TARGET_FLAGS); do \
42711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42712 done; \
42713 (cd $(TARGET_SUBDIR)/boehm-gc && \
42714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42716 "RANLIB=$${RANLIB}" \
42717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42718 pdf) \
42719 || exit 1
42721 @endif target-boehm-gc
42723 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
42724 maybe-html-target-boehm-gc:
42725 @if target-boehm-gc
42726 maybe-html-target-boehm-gc: html-target-boehm-gc
42728 html-target-boehm-gc: \
42729 configure-target-boehm-gc
42730 @: $(MAKE); $(unstage)
42731 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42732 r=`${PWD_COMMAND}`; export r; \
42733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42734 $(NORMAL_TARGET_EXPORTS) \
42735 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
42736 for flag in $(EXTRA_TARGET_FLAGS); do \
42737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42738 done; \
42739 (cd $(TARGET_SUBDIR)/boehm-gc && \
42740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42742 "RANLIB=$${RANLIB}" \
42743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42744 html) \
42745 || exit 1
42747 @endif target-boehm-gc
42749 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
42750 maybe-TAGS-target-boehm-gc:
42751 @if target-boehm-gc
42752 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
42754 TAGS-target-boehm-gc: \
42755 configure-target-boehm-gc
42756 @: $(MAKE); $(unstage)
42757 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42758 r=`${PWD_COMMAND}`; export r; \
42759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42760 $(NORMAL_TARGET_EXPORTS) \
42761 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
42762 for flag in $(EXTRA_TARGET_FLAGS); do \
42763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42764 done; \
42765 (cd $(TARGET_SUBDIR)/boehm-gc && \
42766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42768 "RANLIB=$${RANLIB}" \
42769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42770 TAGS) \
42771 || exit 1
42773 @endif target-boehm-gc
42775 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
42776 maybe-install-info-target-boehm-gc:
42777 @if target-boehm-gc
42778 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
42780 install-info-target-boehm-gc: \
42781 configure-target-boehm-gc \
42782 info-target-boehm-gc
42783 @: $(MAKE); $(unstage)
42784 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42785 r=`${PWD_COMMAND}`; export r; \
42786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42787 $(NORMAL_TARGET_EXPORTS) \
42788 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
42789 for flag in $(EXTRA_TARGET_FLAGS); do \
42790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42791 done; \
42792 (cd $(TARGET_SUBDIR)/boehm-gc && \
42793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42795 "RANLIB=$${RANLIB}" \
42796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42797 install-info) \
42798 || exit 1
42800 @endif target-boehm-gc
42802 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
42803 maybe-install-pdf-target-boehm-gc:
42804 @if target-boehm-gc
42805 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
42807 install-pdf-target-boehm-gc: \
42808 configure-target-boehm-gc \
42809 pdf-target-boehm-gc
42810 @: $(MAKE); $(unstage)
42811 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42812 r=`${PWD_COMMAND}`; export r; \
42813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42814 $(NORMAL_TARGET_EXPORTS) \
42815 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
42816 for flag in $(EXTRA_TARGET_FLAGS); do \
42817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42818 done; \
42819 (cd $(TARGET_SUBDIR)/boehm-gc && \
42820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42822 "RANLIB=$${RANLIB}" \
42823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42824 install-pdf) \
42825 || exit 1
42827 @endif target-boehm-gc
42829 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
42830 maybe-install-html-target-boehm-gc:
42831 @if target-boehm-gc
42832 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
42834 install-html-target-boehm-gc: \
42835 configure-target-boehm-gc \
42836 html-target-boehm-gc
42837 @: $(MAKE); $(unstage)
42838 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42839 r=`${PWD_COMMAND}`; export r; \
42840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42841 $(NORMAL_TARGET_EXPORTS) \
42842 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
42843 for flag in $(EXTRA_TARGET_FLAGS); do \
42844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42845 done; \
42846 (cd $(TARGET_SUBDIR)/boehm-gc && \
42847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42849 "RANLIB=$${RANLIB}" \
42850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42851 install-html) \
42852 || exit 1
42854 @endif target-boehm-gc
42856 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
42857 maybe-installcheck-target-boehm-gc:
42858 @if target-boehm-gc
42859 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
42861 installcheck-target-boehm-gc: \
42862 configure-target-boehm-gc
42863 @: $(MAKE); $(unstage)
42864 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42865 r=`${PWD_COMMAND}`; export r; \
42866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42867 $(NORMAL_TARGET_EXPORTS) \
42868 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
42869 for flag in $(EXTRA_TARGET_FLAGS); do \
42870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42871 done; \
42872 (cd $(TARGET_SUBDIR)/boehm-gc && \
42873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42875 "RANLIB=$${RANLIB}" \
42876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42877 installcheck) \
42878 || exit 1
42880 @endif target-boehm-gc
42882 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
42883 maybe-mostlyclean-target-boehm-gc:
42884 @if target-boehm-gc
42885 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
42887 mostlyclean-target-boehm-gc:
42888 @: $(MAKE); $(unstage)
42889 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42890 r=`${PWD_COMMAND}`; export r; \
42891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42892 $(NORMAL_TARGET_EXPORTS) \
42893 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
42894 for flag in $(EXTRA_TARGET_FLAGS); do \
42895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42896 done; \
42897 (cd $(TARGET_SUBDIR)/boehm-gc && \
42898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42900 "RANLIB=$${RANLIB}" \
42901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42902 mostlyclean) \
42903 || exit 1
42905 @endif target-boehm-gc
42907 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
42908 maybe-clean-target-boehm-gc:
42909 @if target-boehm-gc
42910 maybe-clean-target-boehm-gc: clean-target-boehm-gc
42912 clean-target-boehm-gc:
42913 @: $(MAKE); $(unstage)
42914 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42915 r=`${PWD_COMMAND}`; export r; \
42916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42917 $(NORMAL_TARGET_EXPORTS) \
42918 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
42919 for flag in $(EXTRA_TARGET_FLAGS); do \
42920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42921 done; \
42922 (cd $(TARGET_SUBDIR)/boehm-gc && \
42923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42925 "RANLIB=$${RANLIB}" \
42926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42927 clean) \
42928 || exit 1
42930 @endif target-boehm-gc
42932 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
42933 maybe-distclean-target-boehm-gc:
42934 @if target-boehm-gc
42935 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
42937 distclean-target-boehm-gc:
42938 @: $(MAKE); $(unstage)
42939 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42940 r=`${PWD_COMMAND}`; export r; \
42941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42942 $(NORMAL_TARGET_EXPORTS) \
42943 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
42944 for flag in $(EXTRA_TARGET_FLAGS); do \
42945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42946 done; \
42947 (cd $(TARGET_SUBDIR)/boehm-gc && \
42948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42950 "RANLIB=$${RANLIB}" \
42951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42952 distclean) \
42953 || exit 1
42955 @endif target-boehm-gc
42957 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
42958 maybe-maintainer-clean-target-boehm-gc:
42959 @if target-boehm-gc
42960 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
42962 maintainer-clean-target-boehm-gc:
42963 @: $(MAKE); $(unstage)
42964 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42965 r=`${PWD_COMMAND}`; export r; \
42966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42967 $(NORMAL_TARGET_EXPORTS) \
42968 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
42969 for flag in $(EXTRA_TARGET_FLAGS); do \
42970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42971 done; \
42972 (cd $(TARGET_SUBDIR)/boehm-gc && \
42973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42975 "RANLIB=$${RANLIB}" \
42976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42977 maintainer-clean) \
42978 || exit 1
42980 @endif target-boehm-gc
42986 .PHONY: configure-target-rda maybe-configure-target-rda
42987 maybe-configure-target-rda:
42988 @if gcc-bootstrap
42989 configure-target-rda: stage_current
42990 @endif gcc-bootstrap
42991 @if target-rda
42992 maybe-configure-target-rda: configure-target-rda
42993 configure-target-rda:
42994 @: $(MAKE); $(unstage)
42995 @r=`${PWD_COMMAND}`; export r; \
42996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42997 echo "Checking multilib configuration for rda..."; \
42998 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
42999 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
43000 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
43001 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
43002 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
43003 else \
43004 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
43005 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
43006 fi; \
43007 else \
43008 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
43009 fi; \
43010 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
43011 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
43012 $(NORMAL_TARGET_EXPORTS) \
43013 echo Configuring in $(TARGET_SUBDIR)/rda; \
43014 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
43015 case $(srcdir) in \
43016 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43017 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
43018 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43019 esac; \
43020 module_srcdir=rda; \
43021 rm -f no-such-file || : ; \
43022 CONFIG_SITE=no-such-file $(SHELL) \
43023 $$s/$$module_srcdir/configure \
43024 --srcdir=$${topdir}/$$module_srcdir \
43025 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43026 --target=${target_alias} \
43027 || exit 1
43028 @endif target-rda
43034 .PHONY: all-target-rda maybe-all-target-rda
43035 maybe-all-target-rda:
43036 @if gcc-bootstrap
43037 all-target-rda: stage_current
43038 @endif gcc-bootstrap
43039 @if target-rda
43040 TARGET-target-rda=all
43041 maybe-all-target-rda: all-target-rda
43042 all-target-rda: configure-target-rda
43043 @: $(MAKE); $(unstage)
43044 @r=`${PWD_COMMAND}`; export r; \
43045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43046 $(NORMAL_TARGET_EXPORTS) \
43047 (cd $(TARGET_SUBDIR)/rda && \
43048 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43049 $(TARGET-target-rda))
43050 @endif target-rda
43056 .PHONY: check-target-rda maybe-check-target-rda
43057 maybe-check-target-rda:
43058 @if target-rda
43059 maybe-check-target-rda: check-target-rda
43061 check-target-rda:
43062 @: $(MAKE); $(unstage)
43063 @r=`${PWD_COMMAND}`; export r; \
43064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43065 $(NORMAL_TARGET_EXPORTS) \
43066 (cd $(TARGET_SUBDIR)/rda && \
43067 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43069 @endif target-rda
43071 .PHONY: install-target-rda maybe-install-target-rda
43072 maybe-install-target-rda:
43073 @if target-rda
43074 maybe-install-target-rda: install-target-rda
43076 install-target-rda: installdirs
43077 @: $(MAKE); $(unstage)
43078 @r=`${PWD_COMMAND}`; export r; \
43079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43080 $(NORMAL_TARGET_EXPORTS) \
43081 (cd $(TARGET_SUBDIR)/rda && \
43082 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43084 @endif target-rda
43086 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
43087 maybe-install-strip-target-rda:
43088 @if target-rda
43089 maybe-install-strip-target-rda: install-strip-target-rda
43091 install-strip-target-rda: installdirs
43092 @: $(MAKE); $(unstage)
43093 @r=`${PWD_COMMAND}`; export r; \
43094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43095 $(NORMAL_TARGET_EXPORTS) \
43096 (cd $(TARGET_SUBDIR)/rda && \
43097 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43099 @endif target-rda
43101 # Other targets (info, dvi, pdf, etc.)
43103 .PHONY: maybe-info-target-rda info-target-rda
43104 maybe-info-target-rda:
43105 @if target-rda
43106 maybe-info-target-rda: info-target-rda
43108 info-target-rda: \
43109 configure-target-rda
43110 @: $(MAKE); $(unstage)
43111 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43112 r=`${PWD_COMMAND}`; export r; \
43113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43114 $(NORMAL_TARGET_EXPORTS) \
43115 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
43116 for flag in $(EXTRA_TARGET_FLAGS); do \
43117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43118 done; \
43119 (cd $(TARGET_SUBDIR)/rda && \
43120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43122 "RANLIB=$${RANLIB}" \
43123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43124 info) \
43125 || exit 1
43127 @endif target-rda
43129 .PHONY: maybe-dvi-target-rda dvi-target-rda
43130 maybe-dvi-target-rda:
43131 @if target-rda
43132 maybe-dvi-target-rda: dvi-target-rda
43134 dvi-target-rda: \
43135 configure-target-rda
43136 @: $(MAKE); $(unstage)
43137 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43138 r=`${PWD_COMMAND}`; export r; \
43139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43140 $(NORMAL_TARGET_EXPORTS) \
43141 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
43142 for flag in $(EXTRA_TARGET_FLAGS); do \
43143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43144 done; \
43145 (cd $(TARGET_SUBDIR)/rda && \
43146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43148 "RANLIB=$${RANLIB}" \
43149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43150 dvi) \
43151 || exit 1
43153 @endif target-rda
43155 .PHONY: maybe-pdf-target-rda pdf-target-rda
43156 maybe-pdf-target-rda:
43157 @if target-rda
43158 maybe-pdf-target-rda: pdf-target-rda
43160 pdf-target-rda: \
43161 configure-target-rda
43162 @: $(MAKE); $(unstage)
43163 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43164 r=`${PWD_COMMAND}`; export r; \
43165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43166 $(NORMAL_TARGET_EXPORTS) \
43167 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
43168 for flag in $(EXTRA_TARGET_FLAGS); do \
43169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43170 done; \
43171 (cd $(TARGET_SUBDIR)/rda && \
43172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43174 "RANLIB=$${RANLIB}" \
43175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43176 pdf) \
43177 || exit 1
43179 @endif target-rda
43181 .PHONY: maybe-html-target-rda html-target-rda
43182 maybe-html-target-rda:
43183 @if target-rda
43184 maybe-html-target-rda: html-target-rda
43186 html-target-rda: \
43187 configure-target-rda
43188 @: $(MAKE); $(unstage)
43189 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43190 r=`${PWD_COMMAND}`; export r; \
43191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43192 $(NORMAL_TARGET_EXPORTS) \
43193 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
43194 for flag in $(EXTRA_TARGET_FLAGS); do \
43195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43196 done; \
43197 (cd $(TARGET_SUBDIR)/rda && \
43198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43200 "RANLIB=$${RANLIB}" \
43201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43202 html) \
43203 || exit 1
43205 @endif target-rda
43207 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
43208 maybe-TAGS-target-rda:
43209 @if target-rda
43210 maybe-TAGS-target-rda: TAGS-target-rda
43212 TAGS-target-rda: \
43213 configure-target-rda
43214 @: $(MAKE); $(unstage)
43215 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43216 r=`${PWD_COMMAND}`; export r; \
43217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43218 $(NORMAL_TARGET_EXPORTS) \
43219 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
43220 for flag in $(EXTRA_TARGET_FLAGS); do \
43221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43222 done; \
43223 (cd $(TARGET_SUBDIR)/rda && \
43224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43226 "RANLIB=$${RANLIB}" \
43227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43228 TAGS) \
43229 || exit 1
43231 @endif target-rda
43233 .PHONY: maybe-install-info-target-rda install-info-target-rda
43234 maybe-install-info-target-rda:
43235 @if target-rda
43236 maybe-install-info-target-rda: install-info-target-rda
43238 install-info-target-rda: \
43239 configure-target-rda \
43240 info-target-rda
43241 @: $(MAKE); $(unstage)
43242 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43243 r=`${PWD_COMMAND}`; export r; \
43244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43245 $(NORMAL_TARGET_EXPORTS) \
43246 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
43247 for flag in $(EXTRA_TARGET_FLAGS); do \
43248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43249 done; \
43250 (cd $(TARGET_SUBDIR)/rda && \
43251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43253 "RANLIB=$${RANLIB}" \
43254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43255 install-info) \
43256 || exit 1
43258 @endif target-rda
43260 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
43261 maybe-install-pdf-target-rda:
43262 @if target-rda
43263 maybe-install-pdf-target-rda: install-pdf-target-rda
43265 install-pdf-target-rda: \
43266 configure-target-rda \
43267 pdf-target-rda
43268 @: $(MAKE); $(unstage)
43269 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43270 r=`${PWD_COMMAND}`; export r; \
43271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43272 $(NORMAL_TARGET_EXPORTS) \
43273 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
43274 for flag in $(EXTRA_TARGET_FLAGS); do \
43275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43276 done; \
43277 (cd $(TARGET_SUBDIR)/rda && \
43278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43280 "RANLIB=$${RANLIB}" \
43281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43282 install-pdf) \
43283 || exit 1
43285 @endif target-rda
43287 .PHONY: maybe-install-html-target-rda install-html-target-rda
43288 maybe-install-html-target-rda:
43289 @if target-rda
43290 maybe-install-html-target-rda: install-html-target-rda
43292 install-html-target-rda: \
43293 configure-target-rda \
43294 html-target-rda
43295 @: $(MAKE); $(unstage)
43296 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43297 r=`${PWD_COMMAND}`; export r; \
43298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43299 $(NORMAL_TARGET_EXPORTS) \
43300 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
43301 for flag in $(EXTRA_TARGET_FLAGS); do \
43302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43303 done; \
43304 (cd $(TARGET_SUBDIR)/rda && \
43305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43307 "RANLIB=$${RANLIB}" \
43308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43309 install-html) \
43310 || exit 1
43312 @endif target-rda
43314 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
43315 maybe-installcheck-target-rda:
43316 @if target-rda
43317 maybe-installcheck-target-rda: installcheck-target-rda
43319 installcheck-target-rda: \
43320 configure-target-rda
43321 @: $(MAKE); $(unstage)
43322 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43323 r=`${PWD_COMMAND}`; export r; \
43324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43325 $(NORMAL_TARGET_EXPORTS) \
43326 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
43327 for flag in $(EXTRA_TARGET_FLAGS); do \
43328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43329 done; \
43330 (cd $(TARGET_SUBDIR)/rda && \
43331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43333 "RANLIB=$${RANLIB}" \
43334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43335 installcheck) \
43336 || exit 1
43338 @endif target-rda
43340 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
43341 maybe-mostlyclean-target-rda:
43342 @if target-rda
43343 maybe-mostlyclean-target-rda: mostlyclean-target-rda
43345 mostlyclean-target-rda:
43346 @: $(MAKE); $(unstage)
43347 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43348 r=`${PWD_COMMAND}`; export r; \
43349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43350 $(NORMAL_TARGET_EXPORTS) \
43351 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
43352 for flag in $(EXTRA_TARGET_FLAGS); do \
43353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43354 done; \
43355 (cd $(TARGET_SUBDIR)/rda && \
43356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43358 "RANLIB=$${RANLIB}" \
43359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43360 mostlyclean) \
43361 || exit 1
43363 @endif target-rda
43365 .PHONY: maybe-clean-target-rda clean-target-rda
43366 maybe-clean-target-rda:
43367 @if target-rda
43368 maybe-clean-target-rda: clean-target-rda
43370 clean-target-rda:
43371 @: $(MAKE); $(unstage)
43372 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43373 r=`${PWD_COMMAND}`; export r; \
43374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43375 $(NORMAL_TARGET_EXPORTS) \
43376 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
43377 for flag in $(EXTRA_TARGET_FLAGS); do \
43378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43379 done; \
43380 (cd $(TARGET_SUBDIR)/rda && \
43381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43383 "RANLIB=$${RANLIB}" \
43384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43385 clean) \
43386 || exit 1
43388 @endif target-rda
43390 .PHONY: maybe-distclean-target-rda distclean-target-rda
43391 maybe-distclean-target-rda:
43392 @if target-rda
43393 maybe-distclean-target-rda: distclean-target-rda
43395 distclean-target-rda:
43396 @: $(MAKE); $(unstage)
43397 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43398 r=`${PWD_COMMAND}`; export r; \
43399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43400 $(NORMAL_TARGET_EXPORTS) \
43401 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
43402 for flag in $(EXTRA_TARGET_FLAGS); do \
43403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43404 done; \
43405 (cd $(TARGET_SUBDIR)/rda && \
43406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43408 "RANLIB=$${RANLIB}" \
43409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43410 distclean) \
43411 || exit 1
43413 @endif target-rda
43415 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
43416 maybe-maintainer-clean-target-rda:
43417 @if target-rda
43418 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
43420 maintainer-clean-target-rda:
43421 @: $(MAKE); $(unstage)
43422 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43423 r=`${PWD_COMMAND}`; export r; \
43424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43425 $(NORMAL_TARGET_EXPORTS) \
43426 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
43427 for flag in $(EXTRA_TARGET_FLAGS); do \
43428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43429 done; \
43430 (cd $(TARGET_SUBDIR)/rda && \
43431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43433 "RANLIB=$${RANLIB}" \
43434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43435 maintainer-clean) \
43436 || exit 1
43438 @endif target-rda
43444 .PHONY: configure-target-libada maybe-configure-target-libada
43445 maybe-configure-target-libada:
43446 @if gcc-bootstrap
43447 configure-target-libada: stage_current
43448 @endif gcc-bootstrap
43449 @if target-libada
43450 maybe-configure-target-libada: configure-target-libada
43451 configure-target-libada:
43452 @: $(MAKE); $(unstage)
43453 @r=`${PWD_COMMAND}`; export r; \
43454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43455 echo "Checking multilib configuration for libada..."; \
43456 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
43457 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
43458 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
43459 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
43460 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
43461 else \
43462 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
43463 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
43464 fi; \
43465 else \
43466 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
43467 fi; \
43468 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
43469 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
43470 $(NORMAL_TARGET_EXPORTS) \
43471 echo Configuring in $(TARGET_SUBDIR)/libada; \
43472 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
43473 case $(srcdir) in \
43474 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43475 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
43476 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43477 esac; \
43478 module_srcdir=libada; \
43479 rm -f no-such-file || : ; \
43480 CONFIG_SITE=no-such-file $(SHELL) \
43481 $$s/$$module_srcdir/configure \
43482 --srcdir=$${topdir}/$$module_srcdir \
43483 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43484 --target=${target_alias} \
43485 || exit 1
43486 @endif target-libada
43492 .PHONY: all-target-libada maybe-all-target-libada
43493 maybe-all-target-libada:
43494 @if gcc-bootstrap
43495 all-target-libada: stage_current
43496 @endif gcc-bootstrap
43497 @if target-libada
43498 TARGET-target-libada=all
43499 maybe-all-target-libada: all-target-libada
43500 all-target-libada: configure-target-libada
43501 @: $(MAKE); $(unstage)
43502 @r=`${PWD_COMMAND}`; export r; \
43503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43504 $(NORMAL_TARGET_EXPORTS) \
43505 (cd $(TARGET_SUBDIR)/libada && \
43506 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43507 $(TARGET-target-libada))
43508 @endif target-libada
43514 .PHONY: check-target-libada maybe-check-target-libada
43515 maybe-check-target-libada:
43516 @if target-libada
43517 maybe-check-target-libada: check-target-libada
43519 check-target-libada:
43520 @: $(MAKE); $(unstage)
43521 @r=`${PWD_COMMAND}`; export r; \
43522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43523 $(NORMAL_TARGET_EXPORTS) \
43524 (cd $(TARGET_SUBDIR)/libada && \
43525 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43527 @endif target-libada
43529 .PHONY: install-target-libada maybe-install-target-libada
43530 maybe-install-target-libada:
43531 @if target-libada
43532 maybe-install-target-libada: install-target-libada
43534 install-target-libada: installdirs
43535 @: $(MAKE); $(unstage)
43536 @r=`${PWD_COMMAND}`; export r; \
43537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43538 $(NORMAL_TARGET_EXPORTS) \
43539 (cd $(TARGET_SUBDIR)/libada && \
43540 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43542 @endif target-libada
43544 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
43545 maybe-install-strip-target-libada:
43546 @if target-libada
43547 maybe-install-strip-target-libada: install-strip-target-libada
43549 install-strip-target-libada: installdirs
43550 @: $(MAKE); $(unstage)
43551 @r=`${PWD_COMMAND}`; export r; \
43552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43553 $(NORMAL_TARGET_EXPORTS) \
43554 (cd $(TARGET_SUBDIR)/libada && \
43555 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43557 @endif target-libada
43559 # Other targets (info, dvi, pdf, etc.)
43561 .PHONY: maybe-info-target-libada info-target-libada
43562 maybe-info-target-libada:
43563 @if target-libada
43564 maybe-info-target-libada: info-target-libada
43566 info-target-libada: \
43567 configure-target-libada
43568 @: $(MAKE); $(unstage)
43569 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43570 r=`${PWD_COMMAND}`; export r; \
43571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43572 $(NORMAL_TARGET_EXPORTS) \
43573 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
43574 for flag in $(EXTRA_TARGET_FLAGS); do \
43575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43576 done; \
43577 (cd $(TARGET_SUBDIR)/libada && \
43578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43580 "RANLIB=$${RANLIB}" \
43581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43582 info) \
43583 || exit 1
43585 @endif target-libada
43587 .PHONY: maybe-dvi-target-libada dvi-target-libada
43588 maybe-dvi-target-libada:
43589 @if target-libada
43590 maybe-dvi-target-libada: dvi-target-libada
43592 dvi-target-libada: \
43593 configure-target-libada
43594 @: $(MAKE); $(unstage)
43595 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43596 r=`${PWD_COMMAND}`; export r; \
43597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43598 $(NORMAL_TARGET_EXPORTS) \
43599 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
43600 for flag in $(EXTRA_TARGET_FLAGS); do \
43601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43602 done; \
43603 (cd $(TARGET_SUBDIR)/libada && \
43604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43606 "RANLIB=$${RANLIB}" \
43607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43608 dvi) \
43609 || exit 1
43611 @endif target-libada
43613 .PHONY: maybe-pdf-target-libada pdf-target-libada
43614 maybe-pdf-target-libada:
43615 @if target-libada
43616 maybe-pdf-target-libada: pdf-target-libada
43618 pdf-target-libada: \
43619 configure-target-libada
43620 @: $(MAKE); $(unstage)
43621 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43622 r=`${PWD_COMMAND}`; export r; \
43623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43624 $(NORMAL_TARGET_EXPORTS) \
43625 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
43626 for flag in $(EXTRA_TARGET_FLAGS); do \
43627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43628 done; \
43629 (cd $(TARGET_SUBDIR)/libada && \
43630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43632 "RANLIB=$${RANLIB}" \
43633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43634 pdf) \
43635 || exit 1
43637 @endif target-libada
43639 .PHONY: maybe-html-target-libada html-target-libada
43640 maybe-html-target-libada:
43641 @if target-libada
43642 maybe-html-target-libada: html-target-libada
43644 html-target-libada: \
43645 configure-target-libada
43646 @: $(MAKE); $(unstage)
43647 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43648 r=`${PWD_COMMAND}`; export r; \
43649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43650 $(NORMAL_TARGET_EXPORTS) \
43651 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
43652 for flag in $(EXTRA_TARGET_FLAGS); do \
43653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43654 done; \
43655 (cd $(TARGET_SUBDIR)/libada && \
43656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43658 "RANLIB=$${RANLIB}" \
43659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43660 html) \
43661 || exit 1
43663 @endif target-libada
43665 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
43666 maybe-TAGS-target-libada:
43667 @if target-libada
43668 maybe-TAGS-target-libada: TAGS-target-libada
43670 TAGS-target-libada: \
43671 configure-target-libada
43672 @: $(MAKE); $(unstage)
43673 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43674 r=`${PWD_COMMAND}`; export r; \
43675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43676 $(NORMAL_TARGET_EXPORTS) \
43677 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
43678 for flag in $(EXTRA_TARGET_FLAGS); do \
43679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43680 done; \
43681 (cd $(TARGET_SUBDIR)/libada && \
43682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43684 "RANLIB=$${RANLIB}" \
43685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43686 TAGS) \
43687 || exit 1
43689 @endif target-libada
43691 .PHONY: maybe-install-info-target-libada install-info-target-libada
43692 maybe-install-info-target-libada:
43693 @if target-libada
43694 maybe-install-info-target-libada: install-info-target-libada
43696 install-info-target-libada: \
43697 configure-target-libada \
43698 info-target-libada
43699 @: $(MAKE); $(unstage)
43700 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43701 r=`${PWD_COMMAND}`; export r; \
43702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43703 $(NORMAL_TARGET_EXPORTS) \
43704 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
43705 for flag in $(EXTRA_TARGET_FLAGS); do \
43706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43707 done; \
43708 (cd $(TARGET_SUBDIR)/libada && \
43709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43711 "RANLIB=$${RANLIB}" \
43712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43713 install-info) \
43714 || exit 1
43716 @endif target-libada
43718 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
43719 maybe-install-pdf-target-libada:
43720 @if target-libada
43721 maybe-install-pdf-target-libada: install-pdf-target-libada
43723 install-pdf-target-libada: \
43724 configure-target-libada \
43725 pdf-target-libada
43726 @: $(MAKE); $(unstage)
43727 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43728 r=`${PWD_COMMAND}`; export r; \
43729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43730 $(NORMAL_TARGET_EXPORTS) \
43731 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
43732 for flag in $(EXTRA_TARGET_FLAGS); do \
43733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43734 done; \
43735 (cd $(TARGET_SUBDIR)/libada && \
43736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43738 "RANLIB=$${RANLIB}" \
43739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43740 install-pdf) \
43741 || exit 1
43743 @endif target-libada
43745 .PHONY: maybe-install-html-target-libada install-html-target-libada
43746 maybe-install-html-target-libada:
43747 @if target-libada
43748 maybe-install-html-target-libada: install-html-target-libada
43750 install-html-target-libada: \
43751 configure-target-libada \
43752 html-target-libada
43753 @: $(MAKE); $(unstage)
43754 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43755 r=`${PWD_COMMAND}`; export r; \
43756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43757 $(NORMAL_TARGET_EXPORTS) \
43758 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
43759 for flag in $(EXTRA_TARGET_FLAGS); do \
43760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43761 done; \
43762 (cd $(TARGET_SUBDIR)/libada && \
43763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43765 "RANLIB=$${RANLIB}" \
43766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43767 install-html) \
43768 || exit 1
43770 @endif target-libada
43772 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
43773 maybe-installcheck-target-libada:
43774 @if target-libada
43775 maybe-installcheck-target-libada: installcheck-target-libada
43777 installcheck-target-libada: \
43778 configure-target-libada
43779 @: $(MAKE); $(unstage)
43780 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43781 r=`${PWD_COMMAND}`; export r; \
43782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43783 $(NORMAL_TARGET_EXPORTS) \
43784 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
43785 for flag in $(EXTRA_TARGET_FLAGS); do \
43786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43787 done; \
43788 (cd $(TARGET_SUBDIR)/libada && \
43789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43791 "RANLIB=$${RANLIB}" \
43792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43793 installcheck) \
43794 || exit 1
43796 @endif target-libada
43798 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
43799 maybe-mostlyclean-target-libada:
43800 @if target-libada
43801 maybe-mostlyclean-target-libada: mostlyclean-target-libada
43803 mostlyclean-target-libada:
43804 @: $(MAKE); $(unstage)
43805 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43806 r=`${PWD_COMMAND}`; export r; \
43807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43808 $(NORMAL_TARGET_EXPORTS) \
43809 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
43810 for flag in $(EXTRA_TARGET_FLAGS); do \
43811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43812 done; \
43813 (cd $(TARGET_SUBDIR)/libada && \
43814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43816 "RANLIB=$${RANLIB}" \
43817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43818 mostlyclean) \
43819 || exit 1
43821 @endif target-libada
43823 .PHONY: maybe-clean-target-libada clean-target-libada
43824 maybe-clean-target-libada:
43825 @if target-libada
43826 maybe-clean-target-libada: clean-target-libada
43828 clean-target-libada:
43829 @: $(MAKE); $(unstage)
43830 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43831 r=`${PWD_COMMAND}`; export r; \
43832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43833 $(NORMAL_TARGET_EXPORTS) \
43834 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
43835 for flag in $(EXTRA_TARGET_FLAGS); do \
43836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43837 done; \
43838 (cd $(TARGET_SUBDIR)/libada && \
43839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43841 "RANLIB=$${RANLIB}" \
43842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43843 clean) \
43844 || exit 1
43846 @endif target-libada
43848 .PHONY: maybe-distclean-target-libada distclean-target-libada
43849 maybe-distclean-target-libada:
43850 @if target-libada
43851 maybe-distclean-target-libada: distclean-target-libada
43853 distclean-target-libada:
43854 @: $(MAKE); $(unstage)
43855 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43856 r=`${PWD_COMMAND}`; export r; \
43857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43858 $(NORMAL_TARGET_EXPORTS) \
43859 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
43860 for flag in $(EXTRA_TARGET_FLAGS); do \
43861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43862 done; \
43863 (cd $(TARGET_SUBDIR)/libada && \
43864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43866 "RANLIB=$${RANLIB}" \
43867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43868 distclean) \
43869 || exit 1
43871 @endif target-libada
43873 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
43874 maybe-maintainer-clean-target-libada:
43875 @if target-libada
43876 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
43878 maintainer-clean-target-libada:
43879 @: $(MAKE); $(unstage)
43880 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43881 r=`${PWD_COMMAND}`; export r; \
43882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43883 $(NORMAL_TARGET_EXPORTS) \
43884 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
43885 for flag in $(EXTRA_TARGET_FLAGS); do \
43886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43887 done; \
43888 (cd $(TARGET_SUBDIR)/libada && \
43889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43891 "RANLIB=$${RANLIB}" \
43892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43893 maintainer-clean) \
43894 || exit 1
43896 @endif target-libada
43902 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
43903 maybe-configure-target-libgomp:
43904 @if gcc-bootstrap
43905 configure-target-libgomp: stage_current
43906 @endif gcc-bootstrap
43907 @if target-libgomp
43908 maybe-configure-target-libgomp: configure-target-libgomp
43909 configure-target-libgomp:
43910 @r=`${PWD_COMMAND}`; export r; \
43911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43912 echo "Checking multilib configuration for libgomp..."; \
43913 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43914 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43915 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43916 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43917 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43918 else \
43919 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43920 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43921 fi; \
43922 else \
43923 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43924 fi; \
43925 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43926 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43927 $(NORMAL_TARGET_EXPORTS) \
43928 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
43929 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
43930 case $(srcdir) in \
43931 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43932 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
43933 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43934 esac; \
43935 module_srcdir=libgomp; \
43936 rm -f no-such-file || : ; \
43937 CONFIG_SITE=no-such-file $(SHELL) \
43938 $$s/$$module_srcdir/configure \
43939 --srcdir=$${topdir}/$$module_srcdir \
43940 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43941 --target=${target_alias} \
43942 || exit 1
43943 @endif target-libgomp
43947 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
43948 maybe-configure-stage1-target-libgomp:
43949 @if target-libgomp-bootstrap
43950 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
43951 configure-stage1-target-libgomp:
43952 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
43953 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
43954 @r=`${PWD_COMMAND}`; export r; \
43955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43956 TFLAGS="$(STAGE1_TFLAGS)"; \
43957 echo "Checking multilib configuration for libgomp..."; \
43958 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43959 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43960 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43961 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43962 else \
43963 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43964 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43965 fi; \
43966 else \
43967 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43968 fi; \
43969 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43970 $(NORMAL_TARGET_EXPORTS) \
43971 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43972 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43973 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43974 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \
43975 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43976 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
43977 case $(srcdir) in \
43978 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43979 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
43980 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43981 esac; \
43982 module_srcdir=libgomp; \
43983 $(SHELL) $$s/$$module_srcdir/configure \
43984 --srcdir=$${topdir}/$$module_srcdir \
43985 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43986 --target=${target_alias} \
43988 $(STAGE1_CONFIGURE_FLAGS)
43989 @endif target-libgomp-bootstrap
43991 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
43992 maybe-configure-stage2-target-libgomp:
43993 @if target-libgomp-bootstrap
43994 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
43995 configure-stage2-target-libgomp:
43996 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
43997 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
43998 @r=`${PWD_COMMAND}`; export r; \
43999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44000 TFLAGS="$(STAGE2_TFLAGS)"; \
44001 echo "Checking multilib configuration for libgomp..."; \
44002 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
44003 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44004 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44005 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
44006 else \
44007 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
44008 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44009 fi; \
44010 else \
44011 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44012 fi; \
44013 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
44014 $(NORMAL_TARGET_EXPORTS) \
44016 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44017 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44018 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44019 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \
44020 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
44021 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
44022 case $(srcdir) in \
44023 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44024 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
44025 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44026 esac; \
44027 module_srcdir=libgomp; \
44028 $(SHELL) $$s/$$module_srcdir/configure \
44029 --srcdir=$${topdir}/$$module_srcdir \
44030 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44031 --target=${target_alias} \
44032 --with-build-libsubdir=$(HOST_SUBDIR) \
44033 $(STAGE2_CONFIGURE_FLAGS)
44034 @endif target-libgomp-bootstrap
44036 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
44037 maybe-configure-stage3-target-libgomp:
44038 @if target-libgomp-bootstrap
44039 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
44040 configure-stage3-target-libgomp:
44041 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
44042 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
44043 @r=`${PWD_COMMAND}`; export r; \
44044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44045 TFLAGS="$(STAGE3_TFLAGS)"; \
44046 echo "Checking multilib configuration for libgomp..."; \
44047 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
44048 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44049 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44050 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
44051 else \
44052 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
44053 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44054 fi; \
44055 else \
44056 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44057 fi; \
44058 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
44059 $(NORMAL_TARGET_EXPORTS) \
44061 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44062 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44063 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44064 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \
44065 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
44066 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
44067 case $(srcdir) in \
44068 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44069 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
44070 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44071 esac; \
44072 module_srcdir=libgomp; \
44073 $(SHELL) $$s/$$module_srcdir/configure \
44074 --srcdir=$${topdir}/$$module_srcdir \
44075 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44076 --target=${target_alias} \
44077 --with-build-libsubdir=$(HOST_SUBDIR) \
44078 $(STAGE3_CONFIGURE_FLAGS)
44079 @endif target-libgomp-bootstrap
44081 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
44082 maybe-configure-stage4-target-libgomp:
44083 @if target-libgomp-bootstrap
44084 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
44085 configure-stage4-target-libgomp:
44086 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
44087 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
44088 @r=`${PWD_COMMAND}`; export r; \
44089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44090 TFLAGS="$(STAGE4_TFLAGS)"; \
44091 echo "Checking multilib configuration for libgomp..."; \
44092 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
44093 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44094 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44095 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
44096 else \
44097 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
44098 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44099 fi; \
44100 else \
44101 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44102 fi; \
44103 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
44104 $(NORMAL_TARGET_EXPORTS) \
44106 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44107 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44108 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44109 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \
44110 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
44111 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
44112 case $(srcdir) in \
44113 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44114 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
44115 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44116 esac; \
44117 module_srcdir=libgomp; \
44118 $(SHELL) $$s/$$module_srcdir/configure \
44119 --srcdir=$${topdir}/$$module_srcdir \
44120 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44121 --target=${target_alias} \
44122 --with-build-libsubdir=$(HOST_SUBDIR) \
44123 $(STAGE4_CONFIGURE_FLAGS)
44124 @endif target-libgomp-bootstrap
44126 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
44127 maybe-configure-stageprofile-target-libgomp:
44128 @if target-libgomp-bootstrap
44129 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
44130 configure-stageprofile-target-libgomp:
44131 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
44132 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
44133 @r=`${PWD_COMMAND}`; export r; \
44134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44135 TFLAGS="$(STAGEprofile_TFLAGS)"; \
44136 echo "Checking multilib configuration for libgomp..."; \
44137 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
44138 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44139 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44140 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
44141 else \
44142 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
44143 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44144 fi; \
44145 else \
44146 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44147 fi; \
44148 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
44149 $(NORMAL_TARGET_EXPORTS) \
44151 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44152 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44153 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44154 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \
44155 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
44156 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
44157 case $(srcdir) in \
44158 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44159 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
44160 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44161 esac; \
44162 module_srcdir=libgomp; \
44163 $(SHELL) $$s/$$module_srcdir/configure \
44164 --srcdir=$${topdir}/$$module_srcdir \
44165 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44166 --target=${target_alias} \
44167 --with-build-libsubdir=$(HOST_SUBDIR) \
44168 $(STAGEprofile_CONFIGURE_FLAGS)
44169 @endif target-libgomp-bootstrap
44171 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
44172 maybe-configure-stagefeedback-target-libgomp:
44173 @if target-libgomp-bootstrap
44174 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
44175 configure-stagefeedback-target-libgomp:
44176 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
44177 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
44178 @r=`${PWD_COMMAND}`; export r; \
44179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44180 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
44181 echo "Checking multilib configuration for libgomp..."; \
44182 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
44183 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44184 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44185 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
44186 else \
44187 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
44188 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44189 fi; \
44190 else \
44191 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44192 fi; \
44193 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
44194 $(NORMAL_TARGET_EXPORTS) \
44196 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44197 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44198 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44199 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \
44200 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
44201 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
44202 case $(srcdir) in \
44203 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44204 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
44205 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44206 esac; \
44207 module_srcdir=libgomp; \
44208 $(SHELL) $$s/$$module_srcdir/configure \
44209 --srcdir=$${topdir}/$$module_srcdir \
44210 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44211 --target=${target_alias} \
44212 --with-build-libsubdir=$(HOST_SUBDIR) \
44213 $(STAGEfeedback_CONFIGURE_FLAGS)
44214 @endif target-libgomp-bootstrap
44220 .PHONY: all-target-libgomp maybe-all-target-libgomp
44221 maybe-all-target-libgomp:
44222 @if gcc-bootstrap
44223 all-target-libgomp: stage_current
44224 @endif gcc-bootstrap
44225 @if target-libgomp
44226 TARGET-target-libgomp=all
44227 maybe-all-target-libgomp: all-target-libgomp
44228 all-target-libgomp: configure-target-libgomp
44229 @r=`${PWD_COMMAND}`; export r; \
44230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44231 $(NORMAL_TARGET_EXPORTS) \
44232 (cd $(TARGET_SUBDIR)/libgomp && \
44233 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44234 $(TARGET-target-libgomp))
44235 @endif target-libgomp
44239 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
44240 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
44241 maybe-all-stage1-target-libgomp:
44242 maybe-clean-stage1-target-libgomp:
44243 @if target-libgomp-bootstrap
44244 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
44245 all-stage1: all-stage1-target-libgomp
44246 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
44247 all-stage1-target-libgomp: configure-stage1-target-libgomp
44248 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
44249 @r=`${PWD_COMMAND}`; export r; \
44250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44251 TFLAGS="$(STAGE1_TFLAGS)"; \
44252 $(NORMAL_TARGET_EXPORTS) \
44253 cd $(TARGET_SUBDIR)/libgomp && \
44254 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44255 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44256 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44257 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44258 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44259 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44260 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44261 $(EXTRA_TARGET_FLAGS) \
44263 TFLAGS="$(STAGE1_TFLAGS)" \
44264 $(TARGET-stage1-target-libgomp)
44266 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
44267 clean-stage1: clean-stage1-target-libgomp
44268 clean-stage1-target-libgomp:
44269 @if [ $(current_stage) = stage1 ]; then \
44270 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44271 else \
44272 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
44273 $(MAKE) stage1-start; \
44274 fi; \
44275 cd $(TARGET_SUBDIR)/libgomp && \
44276 $(MAKE) $(EXTRA_TARGET_FLAGS) \
44277 clean
44278 @endif target-libgomp-bootstrap
44281 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
44282 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
44283 maybe-all-stage2-target-libgomp:
44284 maybe-clean-stage2-target-libgomp:
44285 @if target-libgomp-bootstrap
44286 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
44287 all-stage2: all-stage2-target-libgomp
44288 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
44289 all-stage2-target-libgomp: configure-stage2-target-libgomp
44290 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
44291 @r=`${PWD_COMMAND}`; export r; \
44292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44293 TFLAGS="$(STAGE2_TFLAGS)"; \
44294 $(NORMAL_TARGET_EXPORTS) \
44296 cd $(TARGET_SUBDIR)/libgomp && \
44297 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44298 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44299 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44300 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44301 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44302 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44303 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44304 $(EXTRA_TARGET_FLAGS) \
44305 TFLAGS="$(STAGE2_TFLAGS)" \
44306 $(TARGET-stage2-target-libgomp)
44308 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
44309 clean-stage2: clean-stage2-target-libgomp
44310 clean-stage2-target-libgomp:
44311 @if [ $(current_stage) = stage2 ]; then \
44312 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44313 else \
44314 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
44315 $(MAKE) stage2-start; \
44316 fi; \
44317 cd $(TARGET_SUBDIR)/libgomp && \
44318 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44319 @endif target-libgomp-bootstrap
44322 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
44323 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
44324 maybe-all-stage3-target-libgomp:
44325 maybe-clean-stage3-target-libgomp:
44326 @if target-libgomp-bootstrap
44327 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
44328 all-stage3: all-stage3-target-libgomp
44329 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
44330 all-stage3-target-libgomp: configure-stage3-target-libgomp
44331 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
44332 @r=`${PWD_COMMAND}`; export r; \
44333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44334 TFLAGS="$(STAGE3_TFLAGS)"; \
44335 $(NORMAL_TARGET_EXPORTS) \
44337 cd $(TARGET_SUBDIR)/libgomp && \
44338 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44339 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44340 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44341 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44342 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44343 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44344 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44345 $(EXTRA_TARGET_FLAGS) \
44346 TFLAGS="$(STAGE3_TFLAGS)" \
44347 $(TARGET-stage3-target-libgomp)
44349 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
44350 clean-stage3: clean-stage3-target-libgomp
44351 clean-stage3-target-libgomp:
44352 @if [ $(current_stage) = stage3 ]; then \
44353 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44354 else \
44355 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
44356 $(MAKE) stage3-start; \
44357 fi; \
44358 cd $(TARGET_SUBDIR)/libgomp && \
44359 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44360 @endif target-libgomp-bootstrap
44363 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
44364 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
44365 maybe-all-stage4-target-libgomp:
44366 maybe-clean-stage4-target-libgomp:
44367 @if target-libgomp-bootstrap
44368 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
44369 all-stage4: all-stage4-target-libgomp
44370 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
44371 all-stage4-target-libgomp: configure-stage4-target-libgomp
44372 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
44373 @r=`${PWD_COMMAND}`; export r; \
44374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44375 TFLAGS="$(STAGE4_TFLAGS)"; \
44376 $(NORMAL_TARGET_EXPORTS) \
44378 cd $(TARGET_SUBDIR)/libgomp && \
44379 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44380 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44381 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44382 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44383 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44384 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44385 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44386 $(EXTRA_TARGET_FLAGS) \
44387 TFLAGS="$(STAGE4_TFLAGS)" \
44388 $(TARGET-stage4-target-libgomp)
44390 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
44391 clean-stage4: clean-stage4-target-libgomp
44392 clean-stage4-target-libgomp:
44393 @if [ $(current_stage) = stage4 ]; then \
44394 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44395 else \
44396 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
44397 $(MAKE) stage4-start; \
44398 fi; \
44399 cd $(TARGET_SUBDIR)/libgomp && \
44400 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44401 @endif target-libgomp-bootstrap
44404 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
44405 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
44406 maybe-all-stageprofile-target-libgomp:
44407 maybe-clean-stageprofile-target-libgomp:
44408 @if target-libgomp-bootstrap
44409 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
44410 all-stageprofile: all-stageprofile-target-libgomp
44411 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
44412 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
44413 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
44414 @r=`${PWD_COMMAND}`; export r; \
44415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44416 TFLAGS="$(STAGEprofile_TFLAGS)"; \
44417 $(NORMAL_TARGET_EXPORTS) \
44419 cd $(TARGET_SUBDIR)/libgomp && \
44420 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44421 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44422 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44423 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44424 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44425 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44426 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44427 $(EXTRA_TARGET_FLAGS) \
44428 TFLAGS="$(STAGEprofile_TFLAGS)" \
44429 $(TARGET-stageprofile-target-libgomp)
44431 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
44432 clean-stageprofile: clean-stageprofile-target-libgomp
44433 clean-stageprofile-target-libgomp:
44434 @if [ $(current_stage) = stageprofile ]; then \
44435 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44436 else \
44437 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
44438 $(MAKE) stageprofile-start; \
44439 fi; \
44440 cd $(TARGET_SUBDIR)/libgomp && \
44441 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44442 @endif target-libgomp-bootstrap
44445 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
44446 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
44447 maybe-all-stagefeedback-target-libgomp:
44448 maybe-clean-stagefeedback-target-libgomp:
44449 @if target-libgomp-bootstrap
44450 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
44451 all-stagefeedback: all-stagefeedback-target-libgomp
44452 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
44453 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
44454 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
44455 @r=`${PWD_COMMAND}`; export r; \
44456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44457 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
44458 $(NORMAL_TARGET_EXPORTS) \
44460 cd $(TARGET_SUBDIR)/libgomp && \
44461 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44462 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44463 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44464 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44465 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44466 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44467 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44468 $(EXTRA_TARGET_FLAGS) \
44469 TFLAGS="$(STAGEfeedback_TFLAGS)" \
44470 $(TARGET-stagefeedback-target-libgomp)
44472 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
44473 clean-stagefeedback: clean-stagefeedback-target-libgomp
44474 clean-stagefeedback-target-libgomp:
44475 @if [ $(current_stage) = stagefeedback ]; then \
44476 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44477 else \
44478 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
44479 $(MAKE) stagefeedback-start; \
44480 fi; \
44481 cd $(TARGET_SUBDIR)/libgomp && \
44482 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44483 @endif target-libgomp-bootstrap
44490 .PHONY: check-target-libgomp maybe-check-target-libgomp
44491 maybe-check-target-libgomp:
44492 @if target-libgomp
44493 maybe-check-target-libgomp: check-target-libgomp
44495 check-target-libgomp:
44496 @: $(MAKE); $(unstage)
44497 @r=`${PWD_COMMAND}`; export r; \
44498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44499 $(NORMAL_TARGET_EXPORTS) \
44500 (cd $(TARGET_SUBDIR)/libgomp && \
44501 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44503 @endif target-libgomp
44505 .PHONY: install-target-libgomp maybe-install-target-libgomp
44506 maybe-install-target-libgomp:
44507 @if target-libgomp
44508 maybe-install-target-libgomp: install-target-libgomp
44510 install-target-libgomp: installdirs
44511 @: $(MAKE); $(unstage)
44512 @r=`${PWD_COMMAND}`; export r; \
44513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44514 $(NORMAL_TARGET_EXPORTS) \
44515 (cd $(TARGET_SUBDIR)/libgomp && \
44516 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44518 @endif target-libgomp
44520 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
44521 maybe-install-strip-target-libgomp:
44522 @if target-libgomp
44523 maybe-install-strip-target-libgomp: install-strip-target-libgomp
44525 install-strip-target-libgomp: installdirs
44526 @: $(MAKE); $(unstage)
44527 @r=`${PWD_COMMAND}`; export r; \
44528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44529 $(NORMAL_TARGET_EXPORTS) \
44530 (cd $(TARGET_SUBDIR)/libgomp && \
44531 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44533 @endif target-libgomp
44535 # Other targets (info, dvi, pdf, etc.)
44537 .PHONY: maybe-info-target-libgomp info-target-libgomp
44538 maybe-info-target-libgomp:
44539 @if target-libgomp
44540 maybe-info-target-libgomp: info-target-libgomp
44542 info-target-libgomp: \
44543 configure-target-libgomp
44544 @: $(MAKE); $(unstage)
44545 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44546 r=`${PWD_COMMAND}`; export r; \
44547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44548 $(NORMAL_TARGET_EXPORTS) \
44549 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
44550 for flag in $(EXTRA_TARGET_FLAGS); do \
44551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44552 done; \
44553 (cd $(TARGET_SUBDIR)/libgomp && \
44554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44556 "RANLIB=$${RANLIB}" \
44557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44558 info) \
44559 || exit 1
44561 @endif target-libgomp
44563 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
44564 maybe-dvi-target-libgomp:
44565 @if target-libgomp
44566 maybe-dvi-target-libgomp: dvi-target-libgomp
44568 dvi-target-libgomp: \
44569 configure-target-libgomp
44570 @: $(MAKE); $(unstage)
44571 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44572 r=`${PWD_COMMAND}`; export r; \
44573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44574 $(NORMAL_TARGET_EXPORTS) \
44575 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
44576 for flag in $(EXTRA_TARGET_FLAGS); do \
44577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44578 done; \
44579 (cd $(TARGET_SUBDIR)/libgomp && \
44580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44582 "RANLIB=$${RANLIB}" \
44583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44584 dvi) \
44585 || exit 1
44587 @endif target-libgomp
44589 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
44590 maybe-pdf-target-libgomp:
44591 @if target-libgomp
44592 maybe-pdf-target-libgomp: pdf-target-libgomp
44594 pdf-target-libgomp: \
44595 configure-target-libgomp
44596 @: $(MAKE); $(unstage)
44597 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44598 r=`${PWD_COMMAND}`; export r; \
44599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44600 $(NORMAL_TARGET_EXPORTS) \
44601 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
44602 for flag in $(EXTRA_TARGET_FLAGS); do \
44603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44604 done; \
44605 (cd $(TARGET_SUBDIR)/libgomp && \
44606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44608 "RANLIB=$${RANLIB}" \
44609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44610 pdf) \
44611 || exit 1
44613 @endif target-libgomp
44615 .PHONY: maybe-html-target-libgomp html-target-libgomp
44616 maybe-html-target-libgomp:
44617 @if target-libgomp
44618 maybe-html-target-libgomp: html-target-libgomp
44620 html-target-libgomp: \
44621 configure-target-libgomp
44622 @: $(MAKE); $(unstage)
44623 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44624 r=`${PWD_COMMAND}`; export r; \
44625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44626 $(NORMAL_TARGET_EXPORTS) \
44627 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
44628 for flag in $(EXTRA_TARGET_FLAGS); do \
44629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44630 done; \
44631 (cd $(TARGET_SUBDIR)/libgomp && \
44632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44634 "RANLIB=$${RANLIB}" \
44635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44636 html) \
44637 || exit 1
44639 @endif target-libgomp
44641 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
44642 maybe-TAGS-target-libgomp:
44643 @if target-libgomp
44644 maybe-TAGS-target-libgomp: TAGS-target-libgomp
44646 TAGS-target-libgomp: \
44647 configure-target-libgomp
44648 @: $(MAKE); $(unstage)
44649 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44650 r=`${PWD_COMMAND}`; export r; \
44651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44652 $(NORMAL_TARGET_EXPORTS) \
44653 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
44654 for flag in $(EXTRA_TARGET_FLAGS); do \
44655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44656 done; \
44657 (cd $(TARGET_SUBDIR)/libgomp && \
44658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44660 "RANLIB=$${RANLIB}" \
44661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44662 TAGS) \
44663 || exit 1
44665 @endif target-libgomp
44667 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
44668 maybe-install-info-target-libgomp:
44669 @if target-libgomp
44670 maybe-install-info-target-libgomp: install-info-target-libgomp
44672 install-info-target-libgomp: \
44673 configure-target-libgomp \
44674 info-target-libgomp
44675 @: $(MAKE); $(unstage)
44676 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44677 r=`${PWD_COMMAND}`; export r; \
44678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44679 $(NORMAL_TARGET_EXPORTS) \
44680 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
44681 for flag in $(EXTRA_TARGET_FLAGS); do \
44682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44683 done; \
44684 (cd $(TARGET_SUBDIR)/libgomp && \
44685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44687 "RANLIB=$${RANLIB}" \
44688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44689 install-info) \
44690 || exit 1
44692 @endif target-libgomp
44694 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
44695 maybe-install-pdf-target-libgomp:
44696 @if target-libgomp
44697 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
44699 install-pdf-target-libgomp: \
44700 configure-target-libgomp \
44701 pdf-target-libgomp
44702 @: $(MAKE); $(unstage)
44703 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44704 r=`${PWD_COMMAND}`; export r; \
44705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44706 $(NORMAL_TARGET_EXPORTS) \
44707 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
44708 for flag in $(EXTRA_TARGET_FLAGS); do \
44709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44710 done; \
44711 (cd $(TARGET_SUBDIR)/libgomp && \
44712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44714 "RANLIB=$${RANLIB}" \
44715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44716 install-pdf) \
44717 || exit 1
44719 @endif target-libgomp
44721 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
44722 maybe-install-html-target-libgomp:
44723 @if target-libgomp
44724 maybe-install-html-target-libgomp: install-html-target-libgomp
44726 install-html-target-libgomp: \
44727 configure-target-libgomp \
44728 html-target-libgomp
44729 @: $(MAKE); $(unstage)
44730 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44731 r=`${PWD_COMMAND}`; export r; \
44732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44733 $(NORMAL_TARGET_EXPORTS) \
44734 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
44735 for flag in $(EXTRA_TARGET_FLAGS); do \
44736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44737 done; \
44738 (cd $(TARGET_SUBDIR)/libgomp && \
44739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44741 "RANLIB=$${RANLIB}" \
44742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44743 install-html) \
44744 || exit 1
44746 @endif target-libgomp
44748 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
44749 maybe-installcheck-target-libgomp:
44750 @if target-libgomp
44751 maybe-installcheck-target-libgomp: installcheck-target-libgomp
44753 installcheck-target-libgomp: \
44754 configure-target-libgomp
44755 @: $(MAKE); $(unstage)
44756 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44757 r=`${PWD_COMMAND}`; export r; \
44758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44759 $(NORMAL_TARGET_EXPORTS) \
44760 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
44761 for flag in $(EXTRA_TARGET_FLAGS); do \
44762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44763 done; \
44764 (cd $(TARGET_SUBDIR)/libgomp && \
44765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44767 "RANLIB=$${RANLIB}" \
44768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44769 installcheck) \
44770 || exit 1
44772 @endif target-libgomp
44774 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
44775 maybe-mostlyclean-target-libgomp:
44776 @if target-libgomp
44777 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
44779 mostlyclean-target-libgomp:
44780 @: $(MAKE); $(unstage)
44781 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44782 r=`${PWD_COMMAND}`; export r; \
44783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44784 $(NORMAL_TARGET_EXPORTS) \
44785 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
44786 for flag in $(EXTRA_TARGET_FLAGS); do \
44787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44788 done; \
44789 (cd $(TARGET_SUBDIR)/libgomp && \
44790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44792 "RANLIB=$${RANLIB}" \
44793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44794 mostlyclean) \
44795 || exit 1
44797 @endif target-libgomp
44799 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
44800 maybe-clean-target-libgomp:
44801 @if target-libgomp
44802 maybe-clean-target-libgomp: clean-target-libgomp
44804 clean-target-libgomp:
44805 @: $(MAKE); $(unstage)
44806 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44807 r=`${PWD_COMMAND}`; export r; \
44808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44809 $(NORMAL_TARGET_EXPORTS) \
44810 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
44811 for flag in $(EXTRA_TARGET_FLAGS); do \
44812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44813 done; \
44814 (cd $(TARGET_SUBDIR)/libgomp && \
44815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44817 "RANLIB=$${RANLIB}" \
44818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44819 clean) \
44820 || exit 1
44822 @endif target-libgomp
44824 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
44825 maybe-distclean-target-libgomp:
44826 @if target-libgomp
44827 maybe-distclean-target-libgomp: distclean-target-libgomp
44829 distclean-target-libgomp:
44830 @: $(MAKE); $(unstage)
44831 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44832 r=`${PWD_COMMAND}`; export r; \
44833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44834 $(NORMAL_TARGET_EXPORTS) \
44835 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
44836 for flag in $(EXTRA_TARGET_FLAGS); do \
44837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44838 done; \
44839 (cd $(TARGET_SUBDIR)/libgomp && \
44840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44842 "RANLIB=$${RANLIB}" \
44843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44844 distclean) \
44845 || exit 1
44847 @endif target-libgomp
44849 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
44850 maybe-maintainer-clean-target-libgomp:
44851 @if target-libgomp
44852 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
44854 maintainer-clean-target-libgomp:
44855 @: $(MAKE); $(unstage)
44856 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44857 r=`${PWD_COMMAND}`; export r; \
44858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44859 $(NORMAL_TARGET_EXPORTS) \
44860 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
44861 for flag in $(EXTRA_TARGET_FLAGS); do \
44862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44863 done; \
44864 (cd $(TARGET_SUBDIR)/libgomp && \
44865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44867 "RANLIB=$${RANLIB}" \
44868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44869 maintainer-clean) \
44870 || exit 1
44872 @endif target-libgomp
44878 .PHONY: configure-target-libitm maybe-configure-target-libitm
44879 maybe-configure-target-libitm:
44880 @if gcc-bootstrap
44881 configure-target-libitm: stage_current
44882 @endif gcc-bootstrap
44883 @if target-libitm
44884 maybe-configure-target-libitm: configure-target-libitm
44885 configure-target-libitm:
44886 @: $(MAKE); $(unstage)
44887 @r=`${PWD_COMMAND}`; export r; \
44888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44889 echo "Checking multilib configuration for libitm..."; \
44890 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
44891 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null ; \
44892 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
44893 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
44894 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
44895 else \
44896 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
44897 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
44898 fi; \
44899 else \
44900 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
44901 fi; \
44902 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
44903 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
44904 $(NORMAL_TARGET_EXPORTS) \
44905 echo Configuring in $(TARGET_SUBDIR)/libitm; \
44906 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
44907 case $(srcdir) in \
44908 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44909 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
44910 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44911 esac; \
44912 module_srcdir=libitm; \
44913 rm -f no-such-file || : ; \
44914 CONFIG_SITE=no-such-file $(SHELL) \
44915 $$s/$$module_srcdir/configure \
44916 --srcdir=$${topdir}/$$module_srcdir \
44917 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44918 --target=${target_alias} \
44919 || exit 1
44920 @endif target-libitm
44926 .PHONY: all-target-libitm maybe-all-target-libitm
44927 maybe-all-target-libitm:
44928 @if gcc-bootstrap
44929 all-target-libitm: stage_current
44930 @endif gcc-bootstrap
44931 @if target-libitm
44932 TARGET-target-libitm=all
44933 maybe-all-target-libitm: all-target-libitm
44934 all-target-libitm: configure-target-libitm
44935 @: $(MAKE); $(unstage)
44936 @r=`${PWD_COMMAND}`; export r; \
44937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44938 $(NORMAL_TARGET_EXPORTS) \
44939 (cd $(TARGET_SUBDIR)/libitm && \
44940 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44941 $(TARGET-target-libitm))
44942 @endif target-libitm
44948 .PHONY: check-target-libitm maybe-check-target-libitm
44949 maybe-check-target-libitm:
44950 @if target-libitm
44951 maybe-check-target-libitm: check-target-libitm
44953 check-target-libitm:
44954 @: $(MAKE); $(unstage)
44955 @r=`${PWD_COMMAND}`; export r; \
44956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44957 $(NORMAL_TARGET_EXPORTS) \
44958 (cd $(TARGET_SUBDIR)/libitm && \
44959 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44961 @endif target-libitm
44963 .PHONY: install-target-libitm maybe-install-target-libitm
44964 maybe-install-target-libitm:
44965 @if target-libitm
44966 maybe-install-target-libitm: install-target-libitm
44968 install-target-libitm: installdirs
44969 @: $(MAKE); $(unstage)
44970 @r=`${PWD_COMMAND}`; export r; \
44971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44972 $(NORMAL_TARGET_EXPORTS) \
44973 (cd $(TARGET_SUBDIR)/libitm && \
44974 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44976 @endif target-libitm
44978 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
44979 maybe-install-strip-target-libitm:
44980 @if target-libitm
44981 maybe-install-strip-target-libitm: install-strip-target-libitm
44983 install-strip-target-libitm: installdirs
44984 @: $(MAKE); $(unstage)
44985 @r=`${PWD_COMMAND}`; export r; \
44986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44987 $(NORMAL_TARGET_EXPORTS) \
44988 (cd $(TARGET_SUBDIR)/libitm && \
44989 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44991 @endif target-libitm
44993 # Other targets (info, dvi, pdf, etc.)
44995 .PHONY: maybe-info-target-libitm info-target-libitm
44996 maybe-info-target-libitm:
44997 @if target-libitm
44998 maybe-info-target-libitm: info-target-libitm
45000 info-target-libitm: \
45001 configure-target-libitm
45002 @: $(MAKE); $(unstage)
45003 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45004 r=`${PWD_COMMAND}`; export r; \
45005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45006 $(NORMAL_TARGET_EXPORTS) \
45007 echo "Doing info in $(TARGET_SUBDIR)/libitm" ; \
45008 for flag in $(EXTRA_TARGET_FLAGS); do \
45009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45010 done; \
45011 (cd $(TARGET_SUBDIR)/libitm && \
45012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45014 "RANLIB=$${RANLIB}" \
45015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45016 info) \
45017 || exit 1
45019 @endif target-libitm
45021 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
45022 maybe-dvi-target-libitm:
45023 @if target-libitm
45024 maybe-dvi-target-libitm: dvi-target-libitm
45026 dvi-target-libitm: \
45027 configure-target-libitm
45028 @: $(MAKE); $(unstage)
45029 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45030 r=`${PWD_COMMAND}`; export r; \
45031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45032 $(NORMAL_TARGET_EXPORTS) \
45033 echo "Doing dvi in $(TARGET_SUBDIR)/libitm" ; \
45034 for flag in $(EXTRA_TARGET_FLAGS); do \
45035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45036 done; \
45037 (cd $(TARGET_SUBDIR)/libitm && \
45038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45040 "RANLIB=$${RANLIB}" \
45041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45042 dvi) \
45043 || exit 1
45045 @endif target-libitm
45047 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
45048 maybe-pdf-target-libitm:
45049 @if target-libitm
45050 maybe-pdf-target-libitm: pdf-target-libitm
45052 pdf-target-libitm: \
45053 configure-target-libitm
45054 @: $(MAKE); $(unstage)
45055 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45056 r=`${PWD_COMMAND}`; export r; \
45057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45058 $(NORMAL_TARGET_EXPORTS) \
45059 echo "Doing pdf in $(TARGET_SUBDIR)/libitm" ; \
45060 for flag in $(EXTRA_TARGET_FLAGS); do \
45061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45062 done; \
45063 (cd $(TARGET_SUBDIR)/libitm && \
45064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45066 "RANLIB=$${RANLIB}" \
45067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45068 pdf) \
45069 || exit 1
45071 @endif target-libitm
45073 .PHONY: maybe-html-target-libitm html-target-libitm
45074 maybe-html-target-libitm:
45075 @if target-libitm
45076 maybe-html-target-libitm: html-target-libitm
45078 html-target-libitm: \
45079 configure-target-libitm
45080 @: $(MAKE); $(unstage)
45081 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45082 r=`${PWD_COMMAND}`; export r; \
45083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45084 $(NORMAL_TARGET_EXPORTS) \
45085 echo "Doing html in $(TARGET_SUBDIR)/libitm" ; \
45086 for flag in $(EXTRA_TARGET_FLAGS); do \
45087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45088 done; \
45089 (cd $(TARGET_SUBDIR)/libitm && \
45090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45092 "RANLIB=$${RANLIB}" \
45093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45094 html) \
45095 || exit 1
45097 @endif target-libitm
45099 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
45100 maybe-TAGS-target-libitm:
45101 @if target-libitm
45102 maybe-TAGS-target-libitm: TAGS-target-libitm
45104 TAGS-target-libitm: \
45105 configure-target-libitm
45106 @: $(MAKE); $(unstage)
45107 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45108 r=`${PWD_COMMAND}`; export r; \
45109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45110 $(NORMAL_TARGET_EXPORTS) \
45111 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm" ; \
45112 for flag in $(EXTRA_TARGET_FLAGS); do \
45113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45114 done; \
45115 (cd $(TARGET_SUBDIR)/libitm && \
45116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45118 "RANLIB=$${RANLIB}" \
45119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45120 TAGS) \
45121 || exit 1
45123 @endif target-libitm
45125 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
45126 maybe-install-info-target-libitm:
45127 @if target-libitm
45128 maybe-install-info-target-libitm: install-info-target-libitm
45130 install-info-target-libitm: \
45131 configure-target-libitm \
45132 info-target-libitm
45133 @: $(MAKE); $(unstage)
45134 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45135 r=`${PWD_COMMAND}`; export r; \
45136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45137 $(NORMAL_TARGET_EXPORTS) \
45138 echo "Doing install-info in $(TARGET_SUBDIR)/libitm" ; \
45139 for flag in $(EXTRA_TARGET_FLAGS); do \
45140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45141 done; \
45142 (cd $(TARGET_SUBDIR)/libitm && \
45143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45145 "RANLIB=$${RANLIB}" \
45146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45147 install-info) \
45148 || exit 1
45150 @endif target-libitm
45152 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
45153 maybe-install-pdf-target-libitm:
45154 @if target-libitm
45155 maybe-install-pdf-target-libitm: install-pdf-target-libitm
45157 install-pdf-target-libitm: \
45158 configure-target-libitm \
45159 pdf-target-libitm
45160 @: $(MAKE); $(unstage)
45161 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45162 r=`${PWD_COMMAND}`; export r; \
45163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45164 $(NORMAL_TARGET_EXPORTS) \
45165 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm" ; \
45166 for flag in $(EXTRA_TARGET_FLAGS); do \
45167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45168 done; \
45169 (cd $(TARGET_SUBDIR)/libitm && \
45170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45172 "RANLIB=$${RANLIB}" \
45173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45174 install-pdf) \
45175 || exit 1
45177 @endif target-libitm
45179 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
45180 maybe-install-html-target-libitm:
45181 @if target-libitm
45182 maybe-install-html-target-libitm: install-html-target-libitm
45184 install-html-target-libitm: \
45185 configure-target-libitm \
45186 html-target-libitm
45187 @: $(MAKE); $(unstage)
45188 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45189 r=`${PWD_COMMAND}`; export r; \
45190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45191 $(NORMAL_TARGET_EXPORTS) \
45192 echo "Doing install-html in $(TARGET_SUBDIR)/libitm" ; \
45193 for flag in $(EXTRA_TARGET_FLAGS); do \
45194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45195 done; \
45196 (cd $(TARGET_SUBDIR)/libitm && \
45197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45199 "RANLIB=$${RANLIB}" \
45200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45201 install-html) \
45202 || exit 1
45204 @endif target-libitm
45206 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
45207 maybe-installcheck-target-libitm:
45208 @if target-libitm
45209 maybe-installcheck-target-libitm: installcheck-target-libitm
45211 installcheck-target-libitm: \
45212 configure-target-libitm
45213 @: $(MAKE); $(unstage)
45214 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45215 r=`${PWD_COMMAND}`; export r; \
45216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45217 $(NORMAL_TARGET_EXPORTS) \
45218 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm" ; \
45219 for flag in $(EXTRA_TARGET_FLAGS); do \
45220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45221 done; \
45222 (cd $(TARGET_SUBDIR)/libitm && \
45223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45225 "RANLIB=$${RANLIB}" \
45226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45227 installcheck) \
45228 || exit 1
45230 @endif target-libitm
45232 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
45233 maybe-mostlyclean-target-libitm:
45234 @if target-libitm
45235 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
45237 mostlyclean-target-libitm:
45238 @: $(MAKE); $(unstage)
45239 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45240 r=`${PWD_COMMAND}`; export r; \
45241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45242 $(NORMAL_TARGET_EXPORTS) \
45243 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm" ; \
45244 for flag in $(EXTRA_TARGET_FLAGS); do \
45245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45246 done; \
45247 (cd $(TARGET_SUBDIR)/libitm && \
45248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45250 "RANLIB=$${RANLIB}" \
45251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45252 mostlyclean) \
45253 || exit 1
45255 @endif target-libitm
45257 .PHONY: maybe-clean-target-libitm clean-target-libitm
45258 maybe-clean-target-libitm:
45259 @if target-libitm
45260 maybe-clean-target-libitm: clean-target-libitm
45262 clean-target-libitm:
45263 @: $(MAKE); $(unstage)
45264 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45265 r=`${PWD_COMMAND}`; export r; \
45266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45267 $(NORMAL_TARGET_EXPORTS) \
45268 echo "Doing clean in $(TARGET_SUBDIR)/libitm" ; \
45269 for flag in $(EXTRA_TARGET_FLAGS); do \
45270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45271 done; \
45272 (cd $(TARGET_SUBDIR)/libitm && \
45273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45275 "RANLIB=$${RANLIB}" \
45276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45277 clean) \
45278 || exit 1
45280 @endif target-libitm
45282 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
45283 maybe-distclean-target-libitm:
45284 @if target-libitm
45285 maybe-distclean-target-libitm: distclean-target-libitm
45287 distclean-target-libitm:
45288 @: $(MAKE); $(unstage)
45289 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45290 r=`${PWD_COMMAND}`; export r; \
45291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45292 $(NORMAL_TARGET_EXPORTS) \
45293 echo "Doing distclean in $(TARGET_SUBDIR)/libitm" ; \
45294 for flag in $(EXTRA_TARGET_FLAGS); do \
45295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45296 done; \
45297 (cd $(TARGET_SUBDIR)/libitm && \
45298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45300 "RANLIB=$${RANLIB}" \
45301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45302 distclean) \
45303 || exit 1
45305 @endif target-libitm
45307 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
45308 maybe-maintainer-clean-target-libitm:
45309 @if target-libitm
45310 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
45312 maintainer-clean-target-libitm:
45313 @: $(MAKE); $(unstage)
45314 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45315 r=`${PWD_COMMAND}`; export r; \
45316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45317 $(NORMAL_TARGET_EXPORTS) \
45318 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm" ; \
45319 for flag in $(EXTRA_TARGET_FLAGS); do \
45320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45321 done; \
45322 (cd $(TARGET_SUBDIR)/libitm && \
45323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45325 "RANLIB=$${RANLIB}" \
45326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45327 maintainer-clean) \
45328 || exit 1
45330 @endif target-libitm
45336 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
45337 maybe-configure-target-libatomic:
45338 @if gcc-bootstrap
45339 configure-target-libatomic: stage_current
45340 @endif gcc-bootstrap
45341 @if target-libatomic
45342 maybe-configure-target-libatomic: configure-target-libatomic
45343 configure-target-libatomic:
45344 @: $(MAKE); $(unstage)
45345 @r=`${PWD_COMMAND}`; export r; \
45346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45347 echo "Checking multilib configuration for libatomic..."; \
45348 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
45349 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null ; \
45350 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
45351 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
45352 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
45353 else \
45354 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
45355 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
45356 fi; \
45357 else \
45358 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
45359 fi; \
45360 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
45361 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
45362 $(NORMAL_TARGET_EXPORTS) \
45363 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
45364 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
45365 case $(srcdir) in \
45366 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45367 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
45368 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45369 esac; \
45370 module_srcdir=libatomic; \
45371 rm -f no-such-file || : ; \
45372 CONFIG_SITE=no-such-file $(SHELL) \
45373 $$s/$$module_srcdir/configure \
45374 --srcdir=$${topdir}/$$module_srcdir \
45375 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45376 --target=${target_alias} \
45377 || exit 1
45378 @endif target-libatomic
45384 .PHONY: all-target-libatomic maybe-all-target-libatomic
45385 maybe-all-target-libatomic:
45386 @if gcc-bootstrap
45387 all-target-libatomic: stage_current
45388 @endif gcc-bootstrap
45389 @if target-libatomic
45390 TARGET-target-libatomic=all
45391 maybe-all-target-libatomic: all-target-libatomic
45392 all-target-libatomic: configure-target-libatomic
45393 @: $(MAKE); $(unstage)
45394 @r=`${PWD_COMMAND}`; export r; \
45395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45396 $(NORMAL_TARGET_EXPORTS) \
45397 (cd $(TARGET_SUBDIR)/libatomic && \
45398 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45399 $(TARGET-target-libatomic))
45400 @endif target-libatomic
45406 .PHONY: check-target-libatomic maybe-check-target-libatomic
45407 maybe-check-target-libatomic:
45408 @if target-libatomic
45409 maybe-check-target-libatomic: check-target-libatomic
45411 check-target-libatomic:
45412 @: $(MAKE); $(unstage)
45413 @r=`${PWD_COMMAND}`; export r; \
45414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45415 $(NORMAL_TARGET_EXPORTS) \
45416 (cd $(TARGET_SUBDIR)/libatomic && \
45417 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
45419 @endif target-libatomic
45421 .PHONY: install-target-libatomic maybe-install-target-libatomic
45422 maybe-install-target-libatomic:
45423 @if target-libatomic
45424 maybe-install-target-libatomic: install-target-libatomic
45426 install-target-libatomic: installdirs
45427 @: $(MAKE); $(unstage)
45428 @r=`${PWD_COMMAND}`; export r; \
45429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45430 $(NORMAL_TARGET_EXPORTS) \
45431 (cd $(TARGET_SUBDIR)/libatomic && \
45432 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45434 @endif target-libatomic
45436 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
45437 maybe-install-strip-target-libatomic:
45438 @if target-libatomic
45439 maybe-install-strip-target-libatomic: install-strip-target-libatomic
45441 install-strip-target-libatomic: installdirs
45442 @: $(MAKE); $(unstage)
45443 @r=`${PWD_COMMAND}`; export r; \
45444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45445 $(NORMAL_TARGET_EXPORTS) \
45446 (cd $(TARGET_SUBDIR)/libatomic && \
45447 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
45449 @endif target-libatomic
45451 # Other targets (info, dvi, pdf, etc.)
45453 .PHONY: maybe-info-target-libatomic info-target-libatomic
45454 maybe-info-target-libatomic:
45455 @if target-libatomic
45456 maybe-info-target-libatomic: info-target-libatomic
45458 info-target-libatomic: \
45459 configure-target-libatomic
45460 @: $(MAKE); $(unstage)
45461 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45462 r=`${PWD_COMMAND}`; export r; \
45463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45464 $(NORMAL_TARGET_EXPORTS) \
45465 echo "Doing info in $(TARGET_SUBDIR)/libatomic" ; \
45466 for flag in $(EXTRA_TARGET_FLAGS); do \
45467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45468 done; \
45469 (cd $(TARGET_SUBDIR)/libatomic && \
45470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45472 "RANLIB=$${RANLIB}" \
45473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45474 info) \
45475 || exit 1
45477 @endif target-libatomic
45479 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
45480 maybe-dvi-target-libatomic:
45481 @if target-libatomic
45482 maybe-dvi-target-libatomic: dvi-target-libatomic
45484 dvi-target-libatomic: \
45485 configure-target-libatomic
45486 @: $(MAKE); $(unstage)
45487 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45488 r=`${PWD_COMMAND}`; export r; \
45489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45490 $(NORMAL_TARGET_EXPORTS) \
45491 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic" ; \
45492 for flag in $(EXTRA_TARGET_FLAGS); do \
45493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45494 done; \
45495 (cd $(TARGET_SUBDIR)/libatomic && \
45496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45498 "RANLIB=$${RANLIB}" \
45499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45500 dvi) \
45501 || exit 1
45503 @endif target-libatomic
45505 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
45506 maybe-pdf-target-libatomic:
45507 @if target-libatomic
45508 maybe-pdf-target-libatomic: pdf-target-libatomic
45510 pdf-target-libatomic: \
45511 configure-target-libatomic
45512 @: $(MAKE); $(unstage)
45513 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45514 r=`${PWD_COMMAND}`; export r; \
45515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45516 $(NORMAL_TARGET_EXPORTS) \
45517 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic" ; \
45518 for flag in $(EXTRA_TARGET_FLAGS); do \
45519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45520 done; \
45521 (cd $(TARGET_SUBDIR)/libatomic && \
45522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45524 "RANLIB=$${RANLIB}" \
45525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45526 pdf) \
45527 || exit 1
45529 @endif target-libatomic
45531 .PHONY: maybe-html-target-libatomic html-target-libatomic
45532 maybe-html-target-libatomic:
45533 @if target-libatomic
45534 maybe-html-target-libatomic: html-target-libatomic
45536 html-target-libatomic: \
45537 configure-target-libatomic
45538 @: $(MAKE); $(unstage)
45539 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45540 r=`${PWD_COMMAND}`; export r; \
45541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45542 $(NORMAL_TARGET_EXPORTS) \
45543 echo "Doing html in $(TARGET_SUBDIR)/libatomic" ; \
45544 for flag in $(EXTRA_TARGET_FLAGS); do \
45545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45546 done; \
45547 (cd $(TARGET_SUBDIR)/libatomic && \
45548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45550 "RANLIB=$${RANLIB}" \
45551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45552 html) \
45553 || exit 1
45555 @endif target-libatomic
45557 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
45558 maybe-TAGS-target-libatomic:
45559 @if target-libatomic
45560 maybe-TAGS-target-libatomic: TAGS-target-libatomic
45562 TAGS-target-libatomic: \
45563 configure-target-libatomic
45564 @: $(MAKE); $(unstage)
45565 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45566 r=`${PWD_COMMAND}`; export r; \
45567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45568 $(NORMAL_TARGET_EXPORTS) \
45569 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic" ; \
45570 for flag in $(EXTRA_TARGET_FLAGS); do \
45571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45572 done; \
45573 (cd $(TARGET_SUBDIR)/libatomic && \
45574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45576 "RANLIB=$${RANLIB}" \
45577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45578 TAGS) \
45579 || exit 1
45581 @endif target-libatomic
45583 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
45584 maybe-install-info-target-libatomic:
45585 @if target-libatomic
45586 maybe-install-info-target-libatomic: install-info-target-libatomic
45588 install-info-target-libatomic: \
45589 configure-target-libatomic \
45590 info-target-libatomic
45591 @: $(MAKE); $(unstage)
45592 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45593 r=`${PWD_COMMAND}`; export r; \
45594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45595 $(NORMAL_TARGET_EXPORTS) \
45596 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic" ; \
45597 for flag in $(EXTRA_TARGET_FLAGS); do \
45598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45599 done; \
45600 (cd $(TARGET_SUBDIR)/libatomic && \
45601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45603 "RANLIB=$${RANLIB}" \
45604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45605 install-info) \
45606 || exit 1
45608 @endif target-libatomic
45610 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
45611 maybe-install-pdf-target-libatomic:
45612 @if target-libatomic
45613 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
45615 install-pdf-target-libatomic: \
45616 configure-target-libatomic \
45617 pdf-target-libatomic
45618 @: $(MAKE); $(unstage)
45619 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45620 r=`${PWD_COMMAND}`; export r; \
45621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45622 $(NORMAL_TARGET_EXPORTS) \
45623 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic" ; \
45624 for flag in $(EXTRA_TARGET_FLAGS); do \
45625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45626 done; \
45627 (cd $(TARGET_SUBDIR)/libatomic && \
45628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45630 "RANLIB=$${RANLIB}" \
45631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45632 install-pdf) \
45633 || exit 1
45635 @endif target-libatomic
45637 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
45638 maybe-install-html-target-libatomic:
45639 @if target-libatomic
45640 maybe-install-html-target-libatomic: install-html-target-libatomic
45642 install-html-target-libatomic: \
45643 configure-target-libatomic \
45644 html-target-libatomic
45645 @: $(MAKE); $(unstage)
45646 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45647 r=`${PWD_COMMAND}`; export r; \
45648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45649 $(NORMAL_TARGET_EXPORTS) \
45650 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic" ; \
45651 for flag in $(EXTRA_TARGET_FLAGS); do \
45652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45653 done; \
45654 (cd $(TARGET_SUBDIR)/libatomic && \
45655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45657 "RANLIB=$${RANLIB}" \
45658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45659 install-html) \
45660 || exit 1
45662 @endif target-libatomic
45664 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
45665 maybe-installcheck-target-libatomic:
45666 @if target-libatomic
45667 maybe-installcheck-target-libatomic: installcheck-target-libatomic
45669 installcheck-target-libatomic: \
45670 configure-target-libatomic
45671 @: $(MAKE); $(unstage)
45672 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45673 r=`${PWD_COMMAND}`; export r; \
45674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45675 $(NORMAL_TARGET_EXPORTS) \
45676 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic" ; \
45677 for flag in $(EXTRA_TARGET_FLAGS); do \
45678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45679 done; \
45680 (cd $(TARGET_SUBDIR)/libatomic && \
45681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45683 "RANLIB=$${RANLIB}" \
45684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45685 installcheck) \
45686 || exit 1
45688 @endif target-libatomic
45690 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
45691 maybe-mostlyclean-target-libatomic:
45692 @if target-libatomic
45693 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
45695 mostlyclean-target-libatomic:
45696 @: $(MAKE); $(unstage)
45697 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45698 r=`${PWD_COMMAND}`; export r; \
45699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45700 $(NORMAL_TARGET_EXPORTS) \
45701 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic" ; \
45702 for flag in $(EXTRA_TARGET_FLAGS); do \
45703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45704 done; \
45705 (cd $(TARGET_SUBDIR)/libatomic && \
45706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45708 "RANLIB=$${RANLIB}" \
45709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45710 mostlyclean) \
45711 || exit 1
45713 @endif target-libatomic
45715 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
45716 maybe-clean-target-libatomic:
45717 @if target-libatomic
45718 maybe-clean-target-libatomic: clean-target-libatomic
45720 clean-target-libatomic:
45721 @: $(MAKE); $(unstage)
45722 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45723 r=`${PWD_COMMAND}`; export r; \
45724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45725 $(NORMAL_TARGET_EXPORTS) \
45726 echo "Doing clean in $(TARGET_SUBDIR)/libatomic" ; \
45727 for flag in $(EXTRA_TARGET_FLAGS); do \
45728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45729 done; \
45730 (cd $(TARGET_SUBDIR)/libatomic && \
45731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45733 "RANLIB=$${RANLIB}" \
45734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45735 clean) \
45736 || exit 1
45738 @endif target-libatomic
45740 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
45741 maybe-distclean-target-libatomic:
45742 @if target-libatomic
45743 maybe-distclean-target-libatomic: distclean-target-libatomic
45745 distclean-target-libatomic:
45746 @: $(MAKE); $(unstage)
45747 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45748 r=`${PWD_COMMAND}`; export r; \
45749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45750 $(NORMAL_TARGET_EXPORTS) \
45751 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic" ; \
45752 for flag in $(EXTRA_TARGET_FLAGS); do \
45753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45754 done; \
45755 (cd $(TARGET_SUBDIR)/libatomic && \
45756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45758 "RANLIB=$${RANLIB}" \
45759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45760 distclean) \
45761 || exit 1
45763 @endif target-libatomic
45765 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
45766 maybe-maintainer-clean-target-libatomic:
45767 @if target-libatomic
45768 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
45770 maintainer-clean-target-libatomic:
45771 @: $(MAKE); $(unstage)
45772 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45773 r=`${PWD_COMMAND}`; export r; \
45774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45775 $(NORMAL_TARGET_EXPORTS) \
45776 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic" ; \
45777 for flag in $(EXTRA_TARGET_FLAGS); do \
45778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45779 done; \
45780 (cd $(TARGET_SUBDIR)/libatomic && \
45781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45783 "RANLIB=$${RANLIB}" \
45784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45785 maintainer-clean) \
45786 || exit 1
45788 @endif target-libatomic
45792 @if target-libgomp
45793 .PHONY: check-target-libgomp-c++
45794 check-target-libgomp-c++:
45795 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
45797 @endif target-libgomp
45799 @if target-libitm
45800 .PHONY: check-target-libitm-c++
45801 check-target-libitm-c++:
45802 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
45804 @endif target-libitm
45806 # ----------
45807 # GCC module
45808 # ----------
45810 @if gcc-no-bootstrap
45811 .PHONY: cross
45812 cross: all-build all-gas all-ld
45813 @r=`${PWD_COMMAND}`; export r; \
45814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45815 $(HOST_EXPORTS) \
45816 echo "Building the C and C++ compiler"; \
45817 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
45818 @r=`${PWD_COMMAND}`; export r; \
45819 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
45820 echo "Building runtime libraries"; \
45821 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
45822 @endif gcc-no-bootstrap
45824 @if gcc
45826 .PHONY: check-gcc-c check-c
45827 check-gcc-c:
45828 r=`${PWD_COMMAND}`; export r; \
45829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45830 $(HOST_EXPORTS) \
45831 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
45832 check-c: check-gcc-c
45834 .PHONY: check-gcc-c++ check-c++
45835 check-gcc-c++:
45836 r=`${PWD_COMMAND}`; export r; \
45837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45838 $(HOST_EXPORTS) \
45839 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
45840 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libitm-c++ check-target-libgomp-c++
45842 .PHONY: check-gcc-fortran check-fortran
45843 check-gcc-fortran:
45844 r=`${PWD_COMMAND}`; export r; \
45845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45846 $(HOST_EXPORTS) \
45847 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
45848 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
45850 .PHONY: check-gcc-java check-java
45851 check-gcc-java:
45852 r=`${PWD_COMMAND}`; export r; \
45853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45854 $(HOST_EXPORTS) \
45855 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
45856 check-java: check-gcc-java check-target-libjava
45858 .PHONY: check-gcc-ada check-ada
45859 check-gcc-ada:
45860 r=`${PWD_COMMAND}`; export r; \
45861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45862 $(HOST_EXPORTS) \
45863 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
45864 check-ada: check-gcc-ada check-target-libada
45866 .PHONY: check-gcc-objc check-objc
45867 check-gcc-objc:
45868 r=`${PWD_COMMAND}`; export r; \
45869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45870 $(HOST_EXPORTS) \
45871 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
45872 check-objc: check-gcc-objc check-target-libobjc
45874 .PHONY: check-gcc-obj-c++ check-obj-c++
45875 check-gcc-obj-c++:
45876 r=`${PWD_COMMAND}`; export r; \
45877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45878 $(HOST_EXPORTS) \
45879 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
45880 check-obj-c++: check-gcc-obj-c++
45882 .PHONY: check-gcc-go check-go
45883 check-gcc-go:
45884 r=`${PWD_COMMAND}`; export r; \
45885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45886 $(HOST_EXPORTS) \
45887 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
45888 check-go: check-gcc-go check-target-libgo
45891 # The gcc part of install-no-fixedincludes, which relies on an intimate
45892 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
45893 .PHONY: gcc-install-no-fixedincludes
45894 gcc-install-no-fixedincludes:
45895 @if [ -f ./gcc/Makefile ]; then \
45896 r=`${PWD_COMMAND}`; export r; \
45897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45898 $(HOST_EXPORTS) \
45899 (cd ./gcc \
45900 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
45901 else true; fi
45902 @endif gcc
45904 # ---------------------
45905 # GCC bootstrap support
45906 # ---------------------
45908 # We track the current stage (the one in 'gcc') in the stage_current file.
45909 # stage_last instead tracks the stage that was built last. These targets
45910 # are dummy when toplevel bootstrap is not active.
45912 # While making host and target tools, symlinks to the final stage must be
45913 # there, so $(unstage) should be run at various points. To avoid excessive
45914 # recursive invocations of make, we "inline" them using a variable. These
45915 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
45916 # to avoid warnings from the GNU Make job server.
45918 unstage = :
45919 stage = :
45920 current_stage = ""
45922 @if gcc-bootstrap
45923 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
45924 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
45925 current_stage = "`cat stage_current 2> /dev/null`"
45926 @endif gcc-bootstrap
45928 .PHONY: unstage stage
45929 unstage:
45930 @: $(MAKE); $(unstage)
45931 stage:
45932 @: $(MAKE); $(stage)
45934 # Disable commands for lean bootstrap.
45935 LEAN = false
45937 # We name the build directories for the various stages "stage1-gcc",
45938 # "stage2-gcc","stage3-gcc", etc.
45940 # Since the 'compare' process will fail (on debugging information) if any
45941 # directory names are different, we need to link the gcc directory for
45942 # the previous stage to a constant name ('prev-gcc'), and to make the name of
45943 # the build directories constant as well. For the latter, we use naked names
45944 # like 'gcc', because the scripts in that directory assume it. We use
45945 # mv on platforms where symlinks to directories do not work or are not
45946 # reliable.
45948 # 'touch' doesn't work right on some platforms.
45949 STAMP = echo timestamp >
45951 # We only want to compare .o files, so set this!
45952 objext = .o
45955 .PHONY: stage1-start stage1-end
45957 stage1-start::
45958 @: $(MAKE); $(stage); \
45959 echo stage1 > stage_current ; \
45960 echo stage1 > stage_last; \
45961 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
45962 @if bfd
45963 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
45964 mkdir stage1-bfd; \
45965 mv stage1-bfd bfd
45966 @endif bfd
45967 @if opcodes
45968 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
45969 mkdir stage1-opcodes; \
45970 mv stage1-opcodes opcodes
45971 @endif opcodes
45972 @if binutils
45973 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
45974 mkdir stage1-binutils; \
45975 mv stage1-binutils binutils
45976 @endif binutils
45977 @if fixincludes
45978 @cd $(HOST_SUBDIR); [ -d stage1-fixincludes ] || \
45979 mkdir stage1-fixincludes; \
45980 mv stage1-fixincludes fixincludes
45981 @endif fixincludes
45982 @if gas
45983 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
45984 mkdir stage1-gas; \
45985 mv stage1-gas gas
45986 @endif gas
45987 @if gcc
45988 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
45989 mkdir stage1-gcc; \
45990 mv stage1-gcc gcc
45991 @endif gcc
45992 @if gmp
45993 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
45994 mkdir stage1-gmp; \
45995 mv stage1-gmp gmp
45996 @endif gmp
45997 @if mpfr
45998 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
45999 mkdir stage1-mpfr; \
46000 mv stage1-mpfr mpfr
46001 @endif mpfr
46002 @if mpc
46003 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
46004 mkdir stage1-mpc; \
46005 mv stage1-mpc mpc
46006 @endif mpc
46007 @if isl
46008 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
46009 mkdir stage1-isl; \
46010 mv stage1-isl isl
46011 @endif isl
46012 @if libelf
46013 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
46014 mkdir stage1-libelf; \
46015 mv stage1-libelf libelf
46016 @endif libelf
46017 @if gold
46018 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
46019 mkdir stage1-gold; \
46020 mv stage1-gold gold
46021 @endif gold
46022 @if intl
46023 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
46024 mkdir stage1-intl; \
46025 mv stage1-intl intl
46026 @endif intl
46027 @if ld
46028 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
46029 mkdir stage1-ld; \
46030 mv stage1-ld ld
46031 @endif ld
46032 @if libbacktrace
46033 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
46034 mkdir stage1-libbacktrace; \
46035 mv stage1-libbacktrace libbacktrace
46036 @endif libbacktrace
46037 @if libcpp
46038 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
46039 mkdir stage1-libcpp; \
46040 mv stage1-libcpp libcpp
46041 @endif libcpp
46042 @if libdecnumber
46043 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
46044 mkdir stage1-libdecnumber; \
46045 mv stage1-libdecnumber libdecnumber
46046 @endif libdecnumber
46047 @if libiberty
46048 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
46049 mkdir stage1-libiberty; \
46050 mv stage1-libiberty libiberty
46051 @endif libiberty
46052 @if libiberty-linker-plugin
46053 @cd $(HOST_SUBDIR); [ -d stage1-libiberty-linker-plugin ] || \
46054 mkdir stage1-libiberty-linker-plugin; \
46055 mv stage1-libiberty-linker-plugin libiberty-linker-plugin
46056 @endif libiberty-linker-plugin
46057 @if zlib
46058 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
46059 mkdir stage1-zlib; \
46060 mv stage1-zlib zlib
46061 @endif zlib
46062 @if lto-plugin
46063 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
46064 mkdir stage1-lto-plugin; \
46065 mv stage1-lto-plugin lto-plugin
46066 @endif lto-plugin
46067 @[ -d stage1-$(TARGET_SUBDIR) ] || \
46068 mkdir stage1-$(TARGET_SUBDIR); \
46069 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
46071 stage1-end::
46072 @if bfd
46073 @if test -d $(HOST_SUBDIR)/bfd ; then \
46074 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
46076 @endif bfd
46077 @if opcodes
46078 @if test -d $(HOST_SUBDIR)/opcodes ; then \
46079 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
46081 @endif opcodes
46082 @if binutils
46083 @if test -d $(HOST_SUBDIR)/binutils ; then \
46084 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
46086 @endif binutils
46087 @if fixincludes
46088 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
46089 cd $(HOST_SUBDIR); mv fixincludes stage1-fixincludes ; \
46091 @endif fixincludes
46092 @if gas
46093 @if test -d $(HOST_SUBDIR)/gas ; then \
46094 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
46096 @endif gas
46097 @if gcc
46098 @if test -d $(HOST_SUBDIR)/gcc ; then \
46099 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
46101 @endif gcc
46102 @if gmp
46103 @if test -d $(HOST_SUBDIR)/gmp ; then \
46104 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
46106 @endif gmp
46107 @if mpfr
46108 @if test -d $(HOST_SUBDIR)/mpfr ; then \
46109 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
46111 @endif mpfr
46112 @if mpc
46113 @if test -d $(HOST_SUBDIR)/mpc ; then \
46114 cd $(HOST_SUBDIR); mv mpc stage1-mpc ; \
46116 @endif mpc
46117 @if isl
46118 @if test -d $(HOST_SUBDIR)/isl ; then \
46119 cd $(HOST_SUBDIR); mv isl stage1-isl ; \
46121 @endif isl
46122 @if libelf
46123 @if test -d $(HOST_SUBDIR)/libelf ; then \
46124 cd $(HOST_SUBDIR); mv libelf stage1-libelf ; \
46126 @endif libelf
46127 @if gold
46128 @if test -d $(HOST_SUBDIR)/gold ; then \
46129 cd $(HOST_SUBDIR); mv gold stage1-gold ; \
46131 @endif gold
46132 @if intl
46133 @if test -d $(HOST_SUBDIR)/intl ; then \
46134 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
46136 @endif intl
46137 @if ld
46138 @if test -d $(HOST_SUBDIR)/ld ; then \
46139 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
46141 @endif ld
46142 @if libbacktrace
46143 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
46144 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace ; \
46146 @endif libbacktrace
46147 @if libcpp
46148 @if test -d $(HOST_SUBDIR)/libcpp ; then \
46149 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
46151 @endif libcpp
46152 @if libdecnumber
46153 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
46154 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
46156 @endif libdecnumber
46157 @if libiberty
46158 @if test -d $(HOST_SUBDIR)/libiberty ; then \
46159 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
46161 @endif libiberty
46162 @if libiberty-linker-plugin
46163 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
46164 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage1-libiberty-linker-plugin ; \
46166 @endif libiberty-linker-plugin
46167 @if zlib
46168 @if test -d $(HOST_SUBDIR)/zlib ; then \
46169 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
46171 @endif zlib
46172 @if lto-plugin
46173 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
46174 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \
46176 @endif lto-plugin
46177 @if test -d $(TARGET_SUBDIR) ; then \
46178 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
46180 rm -f stage_current
46182 # Bubble a bug fix through all the stages up to stage 1. They are
46183 # remade, but not reconfigured. The next stage (if any) will not be
46184 # reconfigured either.
46185 .PHONY: stage1-bubble
46186 stage1-bubble::
46187 @r=`${PWD_COMMAND}`; export r; \
46188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46189 if test -f stage1-lean ; then \
46190 echo Skipping rebuild of stage1 ; \
46191 else \
46192 $(MAKE) stage1-start; \
46193 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
46196 .PHONY: all-stage1 clean-stage1
46197 do-clean: clean-stage1
46199 # FIXME: Will not need to be conditional when toplevel bootstrap is the
46200 # only possibility, but now it conflicts with no-bootstrap rules
46201 @if gcc-bootstrap
46206 # Rules to wipe a stage and all the following ones, also used for cleanstrap
46208 .PHONY: distclean-stage1
46209 distclean-stage1::
46210 @: $(MAKE); $(stage)
46211 @test "`cat stage_last`" != stage1 || rm -f stage_last
46212 rm -rf stage1-*
46215 @endif gcc-bootstrap
46218 .PHONY: stage2-start stage2-end
46220 stage2-start::
46221 @: $(MAKE); $(stage); \
46222 echo stage2 > stage_current ; \
46223 echo stage2 > stage_last; \
46224 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
46225 @if bfd
46226 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
46227 mkdir stage2-bfd; \
46228 mv stage2-bfd bfd ; \
46229 mv stage1-bfd prev-bfd || test -f stage1-lean
46230 @endif bfd
46231 @if opcodes
46232 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
46233 mkdir stage2-opcodes; \
46234 mv stage2-opcodes opcodes ; \
46235 mv stage1-opcodes prev-opcodes || test -f stage1-lean
46236 @endif opcodes
46237 @if binutils
46238 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
46239 mkdir stage2-binutils; \
46240 mv stage2-binutils binutils ; \
46241 mv stage1-binutils prev-binutils || test -f stage1-lean
46242 @endif binutils
46243 @if fixincludes
46244 @cd $(HOST_SUBDIR); [ -d stage2-fixincludes ] || \
46245 mkdir stage2-fixincludes; \
46246 mv stage2-fixincludes fixincludes ; \
46247 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
46248 @endif fixincludes
46249 @if gas
46250 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
46251 mkdir stage2-gas; \
46252 mv stage2-gas gas ; \
46253 mv stage1-gas prev-gas || test -f stage1-lean
46254 @endif gas
46255 @if gcc
46256 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
46257 mkdir stage2-gcc; \
46258 mv stage2-gcc gcc ; \
46259 mv stage1-gcc prev-gcc || test -f stage1-lean
46260 @endif gcc
46261 @if gmp
46262 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
46263 mkdir stage2-gmp; \
46264 mv stage2-gmp gmp ; \
46265 mv stage1-gmp prev-gmp || test -f stage1-lean
46266 @endif gmp
46267 @if mpfr
46268 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
46269 mkdir stage2-mpfr; \
46270 mv stage2-mpfr mpfr ; \
46271 mv stage1-mpfr prev-mpfr || test -f stage1-lean
46272 @endif mpfr
46273 @if mpc
46274 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
46275 mkdir stage2-mpc; \
46276 mv stage2-mpc mpc ; \
46277 mv stage1-mpc prev-mpc || test -f stage1-lean
46278 @endif mpc
46279 @if isl
46280 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
46281 mkdir stage2-isl; \
46282 mv stage2-isl isl ; \
46283 mv stage1-isl prev-isl || test -f stage1-lean
46284 @endif isl
46285 @if libelf
46286 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
46287 mkdir stage2-libelf; \
46288 mv stage2-libelf libelf ; \
46289 mv stage1-libelf prev-libelf || test -f stage1-lean
46290 @endif libelf
46291 @if gold
46292 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
46293 mkdir stage2-gold; \
46294 mv stage2-gold gold ; \
46295 mv stage1-gold prev-gold || test -f stage1-lean
46296 @endif gold
46297 @if intl
46298 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
46299 mkdir stage2-intl; \
46300 mv stage2-intl intl ; \
46301 mv stage1-intl prev-intl || test -f stage1-lean
46302 @endif intl
46303 @if ld
46304 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
46305 mkdir stage2-ld; \
46306 mv stage2-ld ld ; \
46307 mv stage1-ld prev-ld || test -f stage1-lean
46308 @endif ld
46309 @if libbacktrace
46310 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
46311 mkdir stage2-libbacktrace; \
46312 mv stage2-libbacktrace libbacktrace ; \
46313 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
46314 @endif libbacktrace
46315 @if libcpp
46316 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
46317 mkdir stage2-libcpp; \
46318 mv stage2-libcpp libcpp ; \
46319 mv stage1-libcpp prev-libcpp || test -f stage1-lean
46320 @endif libcpp
46321 @if libdecnumber
46322 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
46323 mkdir stage2-libdecnumber; \
46324 mv stage2-libdecnumber libdecnumber ; \
46325 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
46326 @endif libdecnumber
46327 @if libiberty
46328 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
46329 mkdir stage2-libiberty; \
46330 mv stage2-libiberty libiberty ; \
46331 mv stage1-libiberty prev-libiberty || test -f stage1-lean
46332 @endif libiberty
46333 @if libiberty-linker-plugin
46334 @cd $(HOST_SUBDIR); [ -d stage2-libiberty-linker-plugin ] || \
46335 mkdir stage2-libiberty-linker-plugin; \
46336 mv stage2-libiberty-linker-plugin libiberty-linker-plugin ; \
46337 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
46338 @endif libiberty-linker-plugin
46339 @if zlib
46340 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
46341 mkdir stage2-zlib; \
46342 mv stage2-zlib zlib ; \
46343 mv stage1-zlib prev-zlib || test -f stage1-lean
46344 @endif zlib
46345 @if lto-plugin
46346 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
46347 mkdir stage2-lto-plugin; \
46348 mv stage2-lto-plugin lto-plugin ; \
46349 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
46350 @endif lto-plugin
46351 @[ -d stage2-$(TARGET_SUBDIR) ] || \
46352 mkdir stage2-$(TARGET_SUBDIR); \
46353 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
46354 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
46356 stage2-end::
46357 @if bfd
46358 @if test -d $(HOST_SUBDIR)/bfd ; then \
46359 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
46360 mv prev-bfd stage1-bfd ; : ; \
46362 @endif bfd
46363 @if opcodes
46364 @if test -d $(HOST_SUBDIR)/opcodes ; then \
46365 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
46366 mv prev-opcodes stage1-opcodes ; : ; \
46368 @endif opcodes
46369 @if binutils
46370 @if test -d $(HOST_SUBDIR)/binutils ; then \
46371 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
46372 mv prev-binutils stage1-binutils ; : ; \
46374 @endif binutils
46375 @if fixincludes
46376 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
46377 cd $(HOST_SUBDIR); mv fixincludes stage2-fixincludes ; \
46378 mv prev-fixincludes stage1-fixincludes ; : ; \
46380 @endif fixincludes
46381 @if gas
46382 @if test -d $(HOST_SUBDIR)/gas ; then \
46383 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
46384 mv prev-gas stage1-gas ; : ; \
46386 @endif gas
46387 @if gcc
46388 @if test -d $(HOST_SUBDIR)/gcc ; then \
46389 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
46390 mv prev-gcc stage1-gcc ; : ; \
46392 @endif gcc
46393 @if gmp
46394 @if test -d $(HOST_SUBDIR)/gmp ; then \
46395 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
46396 mv prev-gmp stage1-gmp ; : ; \
46398 @endif gmp
46399 @if mpfr
46400 @if test -d $(HOST_SUBDIR)/mpfr ; then \
46401 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
46402 mv prev-mpfr stage1-mpfr ; : ; \
46404 @endif mpfr
46405 @if mpc
46406 @if test -d $(HOST_SUBDIR)/mpc ; then \
46407 cd $(HOST_SUBDIR); mv mpc stage2-mpc ; \
46408 mv prev-mpc stage1-mpc ; : ; \
46410 @endif mpc
46411 @if isl
46412 @if test -d $(HOST_SUBDIR)/isl ; then \
46413 cd $(HOST_SUBDIR); mv isl stage2-isl ; \
46414 mv prev-isl stage1-isl ; : ; \
46416 @endif isl
46417 @if libelf
46418 @if test -d $(HOST_SUBDIR)/libelf ; then \
46419 cd $(HOST_SUBDIR); mv libelf stage2-libelf ; \
46420 mv prev-libelf stage1-libelf ; : ; \
46422 @endif libelf
46423 @if gold
46424 @if test -d $(HOST_SUBDIR)/gold ; then \
46425 cd $(HOST_SUBDIR); mv gold stage2-gold ; \
46426 mv prev-gold stage1-gold ; : ; \
46428 @endif gold
46429 @if intl
46430 @if test -d $(HOST_SUBDIR)/intl ; then \
46431 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
46432 mv prev-intl stage1-intl ; : ; \
46434 @endif intl
46435 @if ld
46436 @if test -d $(HOST_SUBDIR)/ld ; then \
46437 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
46438 mv prev-ld stage1-ld ; : ; \
46440 @endif ld
46441 @if libbacktrace
46442 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
46443 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace ; \
46444 mv prev-libbacktrace stage1-libbacktrace ; : ; \
46446 @endif libbacktrace
46447 @if libcpp
46448 @if test -d $(HOST_SUBDIR)/libcpp ; then \
46449 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
46450 mv prev-libcpp stage1-libcpp ; : ; \
46452 @endif libcpp
46453 @if libdecnumber
46454 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
46455 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
46456 mv prev-libdecnumber stage1-libdecnumber ; : ; \
46458 @endif libdecnumber
46459 @if libiberty
46460 @if test -d $(HOST_SUBDIR)/libiberty ; then \
46461 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
46462 mv prev-libiberty stage1-libiberty ; : ; \
46464 @endif libiberty
46465 @if libiberty-linker-plugin
46466 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
46467 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage2-libiberty-linker-plugin ; \
46468 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin ; : ; \
46470 @endif libiberty-linker-plugin
46471 @if zlib
46472 @if test -d $(HOST_SUBDIR)/zlib ; then \
46473 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
46474 mv prev-zlib stage1-zlib ; : ; \
46476 @endif zlib
46477 @if lto-plugin
46478 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
46479 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin ; \
46480 mv prev-lto-plugin stage1-lto-plugin ; : ; \
46482 @endif lto-plugin
46483 @if test -d $(TARGET_SUBDIR) ; then \
46484 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
46485 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
46487 rm -f stage_current
46489 # Bubble a bug fix through all the stages up to stage 2. They are
46490 # remade, but not reconfigured. The next stage (if any) will not be
46491 # reconfigured either.
46492 .PHONY: stage2-bubble
46493 stage2-bubble:: stage1-bubble
46494 @r=`${PWD_COMMAND}`; export r; \
46495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46496 if test -f stage2-lean || test -f stage1-lean ; then \
46497 echo Skipping rebuild of stage2 ; \
46498 else \
46499 $(MAKE) stage2-start; \
46500 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
46503 .PHONY: all-stage2 clean-stage2
46504 do-clean: clean-stage2
46506 # FIXME: Will not need to be conditional when toplevel bootstrap is the
46507 # only possibility, but now it conflicts with no-bootstrap rules
46508 @if gcc-bootstrap
46512 .PHONY: bootstrap2 bootstrap2-lean
46513 bootstrap2:
46514 echo stage2 > stage_final
46515 @r=`${PWD_COMMAND}`; export r; \
46516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46517 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
46518 @: $(MAKE); $(unstage)
46519 @r=`${PWD_COMMAND}`; export r; \
46520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46521 TFLAGS="$(STAGE2_TFLAGS)"; \
46522 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46524 bootstrap2-lean:
46525 echo stage2 > stage_final
46526 @r=`${PWD_COMMAND}`; export r; \
46527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46528 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
46529 @: $(MAKE); $(unstage)
46530 @r=`${PWD_COMMAND}`; export r; \
46531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46532 TFLAGS="$(STAGE2_TFLAGS)"; \
46533 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46536 # Rules to wipe a stage and all the following ones, also used for cleanstrap
46537 distclean-stage1:: distclean-stage2
46538 .PHONY: distclean-stage2
46539 distclean-stage2::
46540 @: $(MAKE); $(stage)
46541 @test "`cat stage_last`" != stage2 || rm -f stage_last
46542 rm -rf stage2-*
46545 @endif gcc-bootstrap
46548 .PHONY: stage3-start stage3-end
46550 stage3-start::
46551 @: $(MAKE); $(stage); \
46552 echo stage3 > stage_current ; \
46553 echo stage3 > stage_last; \
46554 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
46555 @if bfd
46556 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
46557 mkdir stage3-bfd; \
46558 mv stage3-bfd bfd ; \
46559 mv stage2-bfd prev-bfd || test -f stage2-lean
46560 @endif bfd
46561 @if opcodes
46562 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
46563 mkdir stage3-opcodes; \
46564 mv stage3-opcodes opcodes ; \
46565 mv stage2-opcodes prev-opcodes || test -f stage2-lean
46566 @endif opcodes
46567 @if binutils
46568 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
46569 mkdir stage3-binutils; \
46570 mv stage3-binutils binutils ; \
46571 mv stage2-binutils prev-binutils || test -f stage2-lean
46572 @endif binutils
46573 @if fixincludes
46574 @cd $(HOST_SUBDIR); [ -d stage3-fixincludes ] || \
46575 mkdir stage3-fixincludes; \
46576 mv stage3-fixincludes fixincludes ; \
46577 mv stage2-fixincludes prev-fixincludes || test -f stage2-lean
46578 @endif fixincludes
46579 @if gas
46580 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
46581 mkdir stage3-gas; \
46582 mv stage3-gas gas ; \
46583 mv stage2-gas prev-gas || test -f stage2-lean
46584 @endif gas
46585 @if gcc
46586 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
46587 mkdir stage3-gcc; \
46588 mv stage3-gcc gcc ; \
46589 mv stage2-gcc prev-gcc || test -f stage2-lean
46590 @endif gcc
46591 @if gmp
46592 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
46593 mkdir stage3-gmp; \
46594 mv stage3-gmp gmp ; \
46595 mv stage2-gmp prev-gmp || test -f stage2-lean
46596 @endif gmp
46597 @if mpfr
46598 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
46599 mkdir stage3-mpfr; \
46600 mv stage3-mpfr mpfr ; \
46601 mv stage2-mpfr prev-mpfr || test -f stage2-lean
46602 @endif mpfr
46603 @if mpc
46604 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
46605 mkdir stage3-mpc; \
46606 mv stage3-mpc mpc ; \
46607 mv stage2-mpc prev-mpc || test -f stage2-lean
46608 @endif mpc
46609 @if isl
46610 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
46611 mkdir stage3-isl; \
46612 mv stage3-isl isl ; \
46613 mv stage2-isl prev-isl || test -f stage2-lean
46614 @endif isl
46615 @if libelf
46616 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
46617 mkdir stage3-libelf; \
46618 mv stage3-libelf libelf ; \
46619 mv stage2-libelf prev-libelf || test -f stage2-lean
46620 @endif libelf
46621 @if gold
46622 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
46623 mkdir stage3-gold; \
46624 mv stage3-gold gold ; \
46625 mv stage2-gold prev-gold || test -f stage2-lean
46626 @endif gold
46627 @if intl
46628 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
46629 mkdir stage3-intl; \
46630 mv stage3-intl intl ; \
46631 mv stage2-intl prev-intl || test -f stage2-lean
46632 @endif intl
46633 @if ld
46634 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
46635 mkdir stage3-ld; \
46636 mv stage3-ld ld ; \
46637 mv stage2-ld prev-ld || test -f stage2-lean
46638 @endif ld
46639 @if libbacktrace
46640 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
46641 mkdir stage3-libbacktrace; \
46642 mv stage3-libbacktrace libbacktrace ; \
46643 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
46644 @endif libbacktrace
46645 @if libcpp
46646 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
46647 mkdir stage3-libcpp; \
46648 mv stage3-libcpp libcpp ; \
46649 mv stage2-libcpp prev-libcpp || test -f stage2-lean
46650 @endif libcpp
46651 @if libdecnumber
46652 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
46653 mkdir stage3-libdecnumber; \
46654 mv stage3-libdecnumber libdecnumber ; \
46655 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
46656 @endif libdecnumber
46657 @if libiberty
46658 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
46659 mkdir stage3-libiberty; \
46660 mv stage3-libiberty libiberty ; \
46661 mv stage2-libiberty prev-libiberty || test -f stage2-lean
46662 @endif libiberty
46663 @if libiberty-linker-plugin
46664 @cd $(HOST_SUBDIR); [ -d stage3-libiberty-linker-plugin ] || \
46665 mkdir stage3-libiberty-linker-plugin; \
46666 mv stage3-libiberty-linker-plugin libiberty-linker-plugin ; \
46667 mv stage2-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage2-lean
46668 @endif libiberty-linker-plugin
46669 @if zlib
46670 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
46671 mkdir stage3-zlib; \
46672 mv stage3-zlib zlib ; \
46673 mv stage2-zlib prev-zlib || test -f stage2-lean
46674 @endif zlib
46675 @if lto-plugin
46676 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
46677 mkdir stage3-lto-plugin; \
46678 mv stage3-lto-plugin lto-plugin ; \
46679 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
46680 @endif lto-plugin
46681 @[ -d stage3-$(TARGET_SUBDIR) ] || \
46682 mkdir stage3-$(TARGET_SUBDIR); \
46683 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
46684 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
46686 stage3-end::
46687 @if bfd
46688 @if test -d $(HOST_SUBDIR)/bfd ; then \
46689 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
46690 mv prev-bfd stage2-bfd ; : ; \
46692 @endif bfd
46693 @if opcodes
46694 @if test -d $(HOST_SUBDIR)/opcodes ; then \
46695 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
46696 mv prev-opcodes stage2-opcodes ; : ; \
46698 @endif opcodes
46699 @if binutils
46700 @if test -d $(HOST_SUBDIR)/binutils ; then \
46701 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
46702 mv prev-binutils stage2-binutils ; : ; \
46704 @endif binutils
46705 @if fixincludes
46706 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
46707 cd $(HOST_SUBDIR); mv fixincludes stage3-fixincludes ; \
46708 mv prev-fixincludes stage2-fixincludes ; : ; \
46710 @endif fixincludes
46711 @if gas
46712 @if test -d $(HOST_SUBDIR)/gas ; then \
46713 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
46714 mv prev-gas stage2-gas ; : ; \
46716 @endif gas
46717 @if gcc
46718 @if test -d $(HOST_SUBDIR)/gcc ; then \
46719 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
46720 mv prev-gcc stage2-gcc ; : ; \
46722 @endif gcc
46723 @if gmp
46724 @if test -d $(HOST_SUBDIR)/gmp ; then \
46725 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
46726 mv prev-gmp stage2-gmp ; : ; \
46728 @endif gmp
46729 @if mpfr
46730 @if test -d $(HOST_SUBDIR)/mpfr ; then \
46731 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
46732 mv prev-mpfr stage2-mpfr ; : ; \
46734 @endif mpfr
46735 @if mpc
46736 @if test -d $(HOST_SUBDIR)/mpc ; then \
46737 cd $(HOST_SUBDIR); mv mpc stage3-mpc ; \
46738 mv prev-mpc stage2-mpc ; : ; \
46740 @endif mpc
46741 @if isl
46742 @if test -d $(HOST_SUBDIR)/isl ; then \
46743 cd $(HOST_SUBDIR); mv isl stage3-isl ; \
46744 mv prev-isl stage2-isl ; : ; \
46746 @endif isl
46747 @if libelf
46748 @if test -d $(HOST_SUBDIR)/libelf ; then \
46749 cd $(HOST_SUBDIR); mv libelf stage3-libelf ; \
46750 mv prev-libelf stage2-libelf ; : ; \
46752 @endif libelf
46753 @if gold
46754 @if test -d $(HOST_SUBDIR)/gold ; then \
46755 cd $(HOST_SUBDIR); mv gold stage3-gold ; \
46756 mv prev-gold stage2-gold ; : ; \
46758 @endif gold
46759 @if intl
46760 @if test -d $(HOST_SUBDIR)/intl ; then \
46761 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
46762 mv prev-intl stage2-intl ; : ; \
46764 @endif intl
46765 @if ld
46766 @if test -d $(HOST_SUBDIR)/ld ; then \
46767 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
46768 mv prev-ld stage2-ld ; : ; \
46770 @endif ld
46771 @if libbacktrace
46772 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
46773 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace ; \
46774 mv prev-libbacktrace stage2-libbacktrace ; : ; \
46776 @endif libbacktrace
46777 @if libcpp
46778 @if test -d $(HOST_SUBDIR)/libcpp ; then \
46779 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
46780 mv prev-libcpp stage2-libcpp ; : ; \
46782 @endif libcpp
46783 @if libdecnumber
46784 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
46785 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
46786 mv prev-libdecnumber stage2-libdecnumber ; : ; \
46788 @endif libdecnumber
46789 @if libiberty
46790 @if test -d $(HOST_SUBDIR)/libiberty ; then \
46791 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
46792 mv prev-libiberty stage2-libiberty ; : ; \
46794 @endif libiberty
46795 @if libiberty-linker-plugin
46796 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
46797 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage3-libiberty-linker-plugin ; \
46798 mv prev-libiberty-linker-plugin stage2-libiberty-linker-plugin ; : ; \
46800 @endif libiberty-linker-plugin
46801 @if zlib
46802 @if test -d $(HOST_SUBDIR)/zlib ; then \
46803 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
46804 mv prev-zlib stage2-zlib ; : ; \
46806 @endif zlib
46807 @if lto-plugin
46808 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
46809 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin ; \
46810 mv prev-lto-plugin stage2-lto-plugin ; : ; \
46812 @endif lto-plugin
46813 @if test -d $(TARGET_SUBDIR) ; then \
46814 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
46815 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
46817 rm -f stage_current
46819 # Bubble a bug fix through all the stages up to stage 3. They are
46820 # remade, but not reconfigured. The next stage (if any) will not be
46821 # reconfigured either.
46822 .PHONY: stage3-bubble
46823 stage3-bubble:: stage2-bubble
46824 @r=`${PWD_COMMAND}`; export r; \
46825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46826 if test -f stage3-lean || test -f stage2-lean ; then \
46827 echo Skipping rebuild of stage3 ; \
46828 else \
46829 $(MAKE) stage3-start; \
46830 if $(LEAN); then \
46831 rm -rf stage1-* ; \
46832 $(STAMP) stage1-lean ; \
46833 fi; \
46834 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
46836 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
46838 .PHONY: all-stage3 clean-stage3
46839 do-clean: clean-stage3
46841 # FIXME: Will not need to be conditional when toplevel bootstrap is the
46842 # only possibility, but now it conflicts with no-bootstrap rules
46843 @if gcc-bootstrap
46845 compare:
46846 @r=`${PWD_COMMAND}`; export r; \
46847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46848 if test -f stage2-lean; then \
46849 echo Cannot compare object files as stage 2 was deleted. ; \
46850 exit 0 ; \
46851 fi; \
46852 : $(MAKE); $(stage); \
46853 rm -f .bad_compare ; \
46854 echo Comparing stages 2 and 3 ; \
46855 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
46856 files=`find stage3-* -name "*$(objext)" -print | \
46857 sed -n s,^stage$$sed-,,p` ; \
46858 for file in $${files} ; do \
46859 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
46860 if test ! -f $$f1; then continue; fi; \
46861 $(do-compare) > /dev/null 2>&1; \
46862 if test $$? -eq 1; then \
46863 case $$file in \
46864 @compare_exclusions@) \
46865 echo warning: $$file differs ;; \
46866 *) \
46867 echo $$file differs >> .bad_compare ;; \
46868 esac ; \
46869 fi ; \
46870 done ; \
46871 if [ -f .bad_compare ]; then \
46872 echo "Bootstrap comparison failure!"; \
46873 cat .bad_compare; \
46874 exit 1; \
46875 else \
46876 echo Comparison successful.; \
46877 fi ; \
46878 $(STAMP) compare
46879 if $(LEAN); then \
46880 rm -rf stage2-*; \
46881 $(STAMP) stage2-lean; \
46886 .PHONY: bootstrap bootstrap-lean
46887 bootstrap:
46888 echo stage3 > stage_final
46889 @r=`${PWD_COMMAND}`; export r; \
46890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46891 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
46892 @: $(MAKE); $(unstage)
46893 @r=`${PWD_COMMAND}`; export r; \
46894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46895 TFLAGS="$(STAGE3_TFLAGS)"; \
46896 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46898 bootstrap-lean:
46899 echo stage3 > stage_final
46900 @r=`${PWD_COMMAND}`; export r; \
46901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46902 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
46903 @: $(MAKE); $(unstage)
46904 @r=`${PWD_COMMAND}`; export r; \
46905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46906 TFLAGS="$(STAGE3_TFLAGS)"; \
46907 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46910 # Rules to wipe a stage and all the following ones, also used for cleanstrap
46911 distclean-stage2:: distclean-stage3
46912 .PHONY: distclean-stage3
46913 distclean-stage3::
46914 @: $(MAKE); $(stage)
46915 @test "`cat stage_last`" != stage3 || rm -f stage_last
46916 rm -rf stage3-* compare
46919 .PHONY: cleanstrap
46920 cleanstrap: do-distclean local-clean
46921 echo stage3 > stage_final
46922 @r=`${PWD_COMMAND}`; export r; \
46923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46924 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
46925 @: $(MAKE); $(unstage)
46926 @r=`${PWD_COMMAND}`; export r; \
46927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46928 TFLAGS="$(STAGE3_TFLAGS)"; \
46929 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46931 @endif gcc-bootstrap
46934 .PHONY: stage4-start stage4-end
46936 stage4-start::
46937 @: $(MAKE); $(stage); \
46938 echo stage4 > stage_current ; \
46939 echo stage4 > stage_last; \
46940 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
46941 @if bfd
46942 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
46943 mkdir stage4-bfd; \
46944 mv stage4-bfd bfd ; \
46945 mv stage3-bfd prev-bfd || test -f stage3-lean
46946 @endif bfd
46947 @if opcodes
46948 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
46949 mkdir stage4-opcodes; \
46950 mv stage4-opcodes opcodes ; \
46951 mv stage3-opcodes prev-opcodes || test -f stage3-lean
46952 @endif opcodes
46953 @if binutils
46954 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
46955 mkdir stage4-binutils; \
46956 mv stage4-binutils binutils ; \
46957 mv stage3-binutils prev-binutils || test -f stage3-lean
46958 @endif binutils
46959 @if fixincludes
46960 @cd $(HOST_SUBDIR); [ -d stage4-fixincludes ] || \
46961 mkdir stage4-fixincludes; \
46962 mv stage4-fixincludes fixincludes ; \
46963 mv stage3-fixincludes prev-fixincludes || test -f stage3-lean
46964 @endif fixincludes
46965 @if gas
46966 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
46967 mkdir stage4-gas; \
46968 mv stage4-gas gas ; \
46969 mv stage3-gas prev-gas || test -f stage3-lean
46970 @endif gas
46971 @if gcc
46972 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
46973 mkdir stage4-gcc; \
46974 mv stage4-gcc gcc ; \
46975 mv stage3-gcc prev-gcc || test -f stage3-lean
46976 @endif gcc
46977 @if gmp
46978 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
46979 mkdir stage4-gmp; \
46980 mv stage4-gmp gmp ; \
46981 mv stage3-gmp prev-gmp || test -f stage3-lean
46982 @endif gmp
46983 @if mpfr
46984 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
46985 mkdir stage4-mpfr; \
46986 mv stage4-mpfr mpfr ; \
46987 mv stage3-mpfr prev-mpfr || test -f stage3-lean
46988 @endif mpfr
46989 @if mpc
46990 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
46991 mkdir stage4-mpc; \
46992 mv stage4-mpc mpc ; \
46993 mv stage3-mpc prev-mpc || test -f stage3-lean
46994 @endif mpc
46995 @if isl
46996 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
46997 mkdir stage4-isl; \
46998 mv stage4-isl isl ; \
46999 mv stage3-isl prev-isl || test -f stage3-lean
47000 @endif isl
47001 @if libelf
47002 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
47003 mkdir stage4-libelf; \
47004 mv stage4-libelf libelf ; \
47005 mv stage3-libelf prev-libelf || test -f stage3-lean
47006 @endif libelf
47007 @if gold
47008 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
47009 mkdir stage4-gold; \
47010 mv stage4-gold gold ; \
47011 mv stage3-gold prev-gold || test -f stage3-lean
47012 @endif gold
47013 @if intl
47014 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
47015 mkdir stage4-intl; \
47016 mv stage4-intl intl ; \
47017 mv stage3-intl prev-intl || test -f stage3-lean
47018 @endif intl
47019 @if ld
47020 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
47021 mkdir stage4-ld; \
47022 mv stage4-ld ld ; \
47023 mv stage3-ld prev-ld || test -f stage3-lean
47024 @endif ld
47025 @if libbacktrace
47026 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
47027 mkdir stage4-libbacktrace; \
47028 mv stage4-libbacktrace libbacktrace ; \
47029 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
47030 @endif libbacktrace
47031 @if libcpp
47032 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
47033 mkdir stage4-libcpp; \
47034 mv stage4-libcpp libcpp ; \
47035 mv stage3-libcpp prev-libcpp || test -f stage3-lean
47036 @endif libcpp
47037 @if libdecnumber
47038 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
47039 mkdir stage4-libdecnumber; \
47040 mv stage4-libdecnumber libdecnumber ; \
47041 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
47042 @endif libdecnumber
47043 @if libiberty
47044 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
47045 mkdir stage4-libiberty; \
47046 mv stage4-libiberty libiberty ; \
47047 mv stage3-libiberty prev-libiberty || test -f stage3-lean
47048 @endif libiberty
47049 @if libiberty-linker-plugin
47050 @cd $(HOST_SUBDIR); [ -d stage4-libiberty-linker-plugin ] || \
47051 mkdir stage4-libiberty-linker-plugin; \
47052 mv stage4-libiberty-linker-plugin libiberty-linker-plugin ; \
47053 mv stage3-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage3-lean
47054 @endif libiberty-linker-plugin
47055 @if zlib
47056 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
47057 mkdir stage4-zlib; \
47058 mv stage4-zlib zlib ; \
47059 mv stage3-zlib prev-zlib || test -f stage3-lean
47060 @endif zlib
47061 @if lto-plugin
47062 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
47063 mkdir stage4-lto-plugin; \
47064 mv stage4-lto-plugin lto-plugin ; \
47065 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
47066 @endif lto-plugin
47067 @[ -d stage4-$(TARGET_SUBDIR) ] || \
47068 mkdir stage4-$(TARGET_SUBDIR); \
47069 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
47070 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
47072 stage4-end::
47073 @if bfd
47074 @if test -d $(HOST_SUBDIR)/bfd ; then \
47075 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
47076 mv prev-bfd stage3-bfd ; : ; \
47078 @endif bfd
47079 @if opcodes
47080 @if test -d $(HOST_SUBDIR)/opcodes ; then \
47081 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
47082 mv prev-opcodes stage3-opcodes ; : ; \
47084 @endif opcodes
47085 @if binutils
47086 @if test -d $(HOST_SUBDIR)/binutils ; then \
47087 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
47088 mv prev-binutils stage3-binutils ; : ; \
47090 @endif binutils
47091 @if fixincludes
47092 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
47093 cd $(HOST_SUBDIR); mv fixincludes stage4-fixincludes ; \
47094 mv prev-fixincludes stage3-fixincludes ; : ; \
47096 @endif fixincludes
47097 @if gas
47098 @if test -d $(HOST_SUBDIR)/gas ; then \
47099 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
47100 mv prev-gas stage3-gas ; : ; \
47102 @endif gas
47103 @if gcc
47104 @if test -d $(HOST_SUBDIR)/gcc ; then \
47105 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
47106 mv prev-gcc stage3-gcc ; : ; \
47108 @endif gcc
47109 @if gmp
47110 @if test -d $(HOST_SUBDIR)/gmp ; then \
47111 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
47112 mv prev-gmp stage3-gmp ; : ; \
47114 @endif gmp
47115 @if mpfr
47116 @if test -d $(HOST_SUBDIR)/mpfr ; then \
47117 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
47118 mv prev-mpfr stage3-mpfr ; : ; \
47120 @endif mpfr
47121 @if mpc
47122 @if test -d $(HOST_SUBDIR)/mpc ; then \
47123 cd $(HOST_SUBDIR); mv mpc stage4-mpc ; \
47124 mv prev-mpc stage3-mpc ; : ; \
47126 @endif mpc
47127 @if isl
47128 @if test -d $(HOST_SUBDIR)/isl ; then \
47129 cd $(HOST_SUBDIR); mv isl stage4-isl ; \
47130 mv prev-isl stage3-isl ; : ; \
47132 @endif isl
47133 @if libelf
47134 @if test -d $(HOST_SUBDIR)/libelf ; then \
47135 cd $(HOST_SUBDIR); mv libelf stage4-libelf ; \
47136 mv prev-libelf stage3-libelf ; : ; \
47138 @endif libelf
47139 @if gold
47140 @if test -d $(HOST_SUBDIR)/gold ; then \
47141 cd $(HOST_SUBDIR); mv gold stage4-gold ; \
47142 mv prev-gold stage3-gold ; : ; \
47144 @endif gold
47145 @if intl
47146 @if test -d $(HOST_SUBDIR)/intl ; then \
47147 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
47148 mv prev-intl stage3-intl ; : ; \
47150 @endif intl
47151 @if ld
47152 @if test -d $(HOST_SUBDIR)/ld ; then \
47153 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
47154 mv prev-ld stage3-ld ; : ; \
47156 @endif ld
47157 @if libbacktrace
47158 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
47159 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace ; \
47160 mv prev-libbacktrace stage3-libbacktrace ; : ; \
47162 @endif libbacktrace
47163 @if libcpp
47164 @if test -d $(HOST_SUBDIR)/libcpp ; then \
47165 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
47166 mv prev-libcpp stage3-libcpp ; : ; \
47168 @endif libcpp
47169 @if libdecnumber
47170 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
47171 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
47172 mv prev-libdecnumber stage3-libdecnumber ; : ; \
47174 @endif libdecnumber
47175 @if libiberty
47176 @if test -d $(HOST_SUBDIR)/libiberty ; then \
47177 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
47178 mv prev-libiberty stage3-libiberty ; : ; \
47180 @endif libiberty
47181 @if libiberty-linker-plugin
47182 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
47183 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage4-libiberty-linker-plugin ; \
47184 mv prev-libiberty-linker-plugin stage3-libiberty-linker-plugin ; : ; \
47186 @endif libiberty-linker-plugin
47187 @if zlib
47188 @if test -d $(HOST_SUBDIR)/zlib ; then \
47189 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
47190 mv prev-zlib stage3-zlib ; : ; \
47192 @endif zlib
47193 @if lto-plugin
47194 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
47195 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin ; \
47196 mv prev-lto-plugin stage3-lto-plugin ; : ; \
47198 @endif lto-plugin
47199 @if test -d $(TARGET_SUBDIR) ; then \
47200 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
47201 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
47203 rm -f stage_current
47205 # Bubble a bug fix through all the stages up to stage 4. They are
47206 # remade, but not reconfigured. The next stage (if any) will not be
47207 # reconfigured either.
47208 .PHONY: stage4-bubble
47209 stage4-bubble:: stage3-bubble
47210 @r=`${PWD_COMMAND}`; export r; \
47211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47212 if test -f stage4-lean || test -f stage3-lean ; then \
47213 echo Skipping rebuild of stage4 ; \
47214 else \
47215 $(MAKE) stage4-start; \
47216 if $(LEAN); then \
47217 rm -rf stage2-* ; \
47218 $(STAMP) stage2-lean ; \
47219 fi; \
47220 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
47222 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
47224 .PHONY: all-stage4 clean-stage4
47225 do-clean: clean-stage4
47227 # FIXME: Will not need to be conditional when toplevel bootstrap is the
47228 # only possibility, but now it conflicts with no-bootstrap rules
47229 @if gcc-bootstrap
47231 compare3:
47232 @r=`${PWD_COMMAND}`; export r; \
47233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47234 if test -f stage3-lean; then \
47235 echo Cannot compare object files as stage 3 was deleted. ; \
47236 exit 0 ; \
47237 fi; \
47238 : $(MAKE); $(stage); \
47239 rm -f .bad_compare ; \
47240 echo Comparing stages 3 and 4 ; \
47241 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
47242 files=`find stage4-* -name "*$(objext)" -print | \
47243 sed -n s,^stage$$sed-,,p` ; \
47244 for file in $${files} ; do \
47245 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
47246 if test ! -f $$f1; then continue; fi; \
47247 $(do-compare3) > /dev/null 2>&1; \
47248 if test $$? -eq 1; then \
47249 case $$file in \
47250 @compare_exclusions@) \
47251 echo warning: $$file differs ;; \
47252 *) \
47253 echo $$file differs >> .bad_compare ;; \
47254 esac ; \
47255 fi ; \
47256 done ; \
47257 if [ -f .bad_compare ]; then \
47258 echo "Bootstrap comparison failure!"; \
47259 cat .bad_compare; \
47260 exit 1; \
47261 else \
47262 echo Comparison successful.; \
47263 fi ; \
47264 $(STAMP) compare3
47265 if $(LEAN); then \
47266 rm -rf stage3-*; \
47267 $(STAMP) stage3-lean; \
47272 .PHONY: bootstrap4 bootstrap4-lean
47273 bootstrap4:
47274 echo stage4 > stage_final
47275 @r=`${PWD_COMMAND}`; export r; \
47276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47277 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
47278 @: $(MAKE); $(unstage)
47279 @r=`${PWD_COMMAND}`; export r; \
47280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47281 TFLAGS="$(STAGE4_TFLAGS)"; \
47282 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47284 bootstrap4-lean:
47285 echo stage4 > stage_final
47286 @r=`${PWD_COMMAND}`; export r; \
47287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47288 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
47289 @: $(MAKE); $(unstage)
47290 @r=`${PWD_COMMAND}`; export r; \
47291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47292 TFLAGS="$(STAGE4_TFLAGS)"; \
47293 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47296 # Rules to wipe a stage and all the following ones, also used for cleanstrap
47297 distclean-stage3:: distclean-stage4
47298 .PHONY: distclean-stage4
47299 distclean-stage4::
47300 @: $(MAKE); $(stage)
47301 @test "`cat stage_last`" != stage4 || rm -f stage_last
47302 rm -rf stage4-* compare3
47305 @endif gcc-bootstrap
47308 .PHONY: stageprofile-start stageprofile-end
47310 stageprofile-start::
47311 @: $(MAKE); $(stage); \
47312 echo stageprofile > stage_current ; \
47313 echo stageprofile > stage_last; \
47314 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
47315 @if bfd
47316 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
47317 mkdir stageprofile-bfd; \
47318 mv stageprofile-bfd bfd ; \
47319 mv stage1-bfd prev-bfd || test -f stage1-lean
47320 @endif bfd
47321 @if opcodes
47322 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
47323 mkdir stageprofile-opcodes; \
47324 mv stageprofile-opcodes opcodes ; \
47325 mv stage1-opcodes prev-opcodes || test -f stage1-lean
47326 @endif opcodes
47327 @if binutils
47328 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
47329 mkdir stageprofile-binutils; \
47330 mv stageprofile-binutils binutils ; \
47331 mv stage1-binutils prev-binutils || test -f stage1-lean
47332 @endif binutils
47333 @if fixincludes
47334 @cd $(HOST_SUBDIR); [ -d stageprofile-fixincludes ] || \
47335 mkdir stageprofile-fixincludes; \
47336 mv stageprofile-fixincludes fixincludes ; \
47337 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
47338 @endif fixincludes
47339 @if gas
47340 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
47341 mkdir stageprofile-gas; \
47342 mv stageprofile-gas gas ; \
47343 mv stage1-gas prev-gas || test -f stage1-lean
47344 @endif gas
47345 @if gcc
47346 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
47347 mkdir stageprofile-gcc; \
47348 mv stageprofile-gcc gcc ; \
47349 mv stage1-gcc prev-gcc || test -f stage1-lean
47350 @endif gcc
47351 @if gmp
47352 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
47353 mkdir stageprofile-gmp; \
47354 mv stageprofile-gmp gmp ; \
47355 mv stage1-gmp prev-gmp || test -f stage1-lean
47356 @endif gmp
47357 @if mpfr
47358 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
47359 mkdir stageprofile-mpfr; \
47360 mv stageprofile-mpfr mpfr ; \
47361 mv stage1-mpfr prev-mpfr || test -f stage1-lean
47362 @endif mpfr
47363 @if mpc
47364 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
47365 mkdir stageprofile-mpc; \
47366 mv stageprofile-mpc mpc ; \
47367 mv stage1-mpc prev-mpc || test -f stage1-lean
47368 @endif mpc
47369 @if isl
47370 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
47371 mkdir stageprofile-isl; \
47372 mv stageprofile-isl isl ; \
47373 mv stage1-isl prev-isl || test -f stage1-lean
47374 @endif isl
47375 @if libelf
47376 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
47377 mkdir stageprofile-libelf; \
47378 mv stageprofile-libelf libelf ; \
47379 mv stage1-libelf prev-libelf || test -f stage1-lean
47380 @endif libelf
47381 @if gold
47382 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
47383 mkdir stageprofile-gold; \
47384 mv stageprofile-gold gold ; \
47385 mv stage1-gold prev-gold || test -f stage1-lean
47386 @endif gold
47387 @if intl
47388 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
47389 mkdir stageprofile-intl; \
47390 mv stageprofile-intl intl ; \
47391 mv stage1-intl prev-intl || test -f stage1-lean
47392 @endif intl
47393 @if ld
47394 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
47395 mkdir stageprofile-ld; \
47396 mv stageprofile-ld ld ; \
47397 mv stage1-ld prev-ld || test -f stage1-lean
47398 @endif ld
47399 @if libbacktrace
47400 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
47401 mkdir stageprofile-libbacktrace; \
47402 mv stageprofile-libbacktrace libbacktrace ; \
47403 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
47404 @endif libbacktrace
47405 @if libcpp
47406 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
47407 mkdir stageprofile-libcpp; \
47408 mv stageprofile-libcpp libcpp ; \
47409 mv stage1-libcpp prev-libcpp || test -f stage1-lean
47410 @endif libcpp
47411 @if libdecnumber
47412 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
47413 mkdir stageprofile-libdecnumber; \
47414 mv stageprofile-libdecnumber libdecnumber ; \
47415 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
47416 @endif libdecnumber
47417 @if libiberty
47418 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
47419 mkdir stageprofile-libiberty; \
47420 mv stageprofile-libiberty libiberty ; \
47421 mv stage1-libiberty prev-libiberty || test -f stage1-lean
47422 @endif libiberty
47423 @if libiberty-linker-plugin
47424 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty-linker-plugin ] || \
47425 mkdir stageprofile-libiberty-linker-plugin; \
47426 mv stageprofile-libiberty-linker-plugin libiberty-linker-plugin ; \
47427 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
47428 @endif libiberty-linker-plugin
47429 @if zlib
47430 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
47431 mkdir stageprofile-zlib; \
47432 mv stageprofile-zlib zlib ; \
47433 mv stage1-zlib prev-zlib || test -f stage1-lean
47434 @endif zlib
47435 @if lto-plugin
47436 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
47437 mkdir stageprofile-lto-plugin; \
47438 mv stageprofile-lto-plugin lto-plugin ; \
47439 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
47440 @endif lto-plugin
47441 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
47442 mkdir stageprofile-$(TARGET_SUBDIR); \
47443 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
47444 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
47446 stageprofile-end::
47447 @if bfd
47448 @if test -d $(HOST_SUBDIR)/bfd ; then \
47449 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
47450 mv prev-bfd stage1-bfd ; : ; \
47452 @endif bfd
47453 @if opcodes
47454 @if test -d $(HOST_SUBDIR)/opcodes ; then \
47455 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
47456 mv prev-opcodes stage1-opcodes ; : ; \
47458 @endif opcodes
47459 @if binutils
47460 @if test -d $(HOST_SUBDIR)/binutils ; then \
47461 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
47462 mv prev-binutils stage1-binutils ; : ; \
47464 @endif binutils
47465 @if fixincludes
47466 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
47467 cd $(HOST_SUBDIR); mv fixincludes stageprofile-fixincludes ; \
47468 mv prev-fixincludes stage1-fixincludes ; : ; \
47470 @endif fixincludes
47471 @if gas
47472 @if test -d $(HOST_SUBDIR)/gas ; then \
47473 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
47474 mv prev-gas stage1-gas ; : ; \
47476 @endif gas
47477 @if gcc
47478 @if test -d $(HOST_SUBDIR)/gcc ; then \
47479 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
47480 mv prev-gcc stage1-gcc ; : ; \
47482 @endif gcc
47483 @if gmp
47484 @if test -d $(HOST_SUBDIR)/gmp ; then \
47485 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
47486 mv prev-gmp stage1-gmp ; : ; \
47488 @endif gmp
47489 @if mpfr
47490 @if test -d $(HOST_SUBDIR)/mpfr ; then \
47491 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
47492 mv prev-mpfr stage1-mpfr ; : ; \
47494 @endif mpfr
47495 @if mpc
47496 @if test -d $(HOST_SUBDIR)/mpc ; then \
47497 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc ; \
47498 mv prev-mpc stage1-mpc ; : ; \
47500 @endif mpc
47501 @if isl
47502 @if test -d $(HOST_SUBDIR)/isl ; then \
47503 cd $(HOST_SUBDIR); mv isl stageprofile-isl ; \
47504 mv prev-isl stage1-isl ; : ; \
47506 @endif isl
47507 @if libelf
47508 @if test -d $(HOST_SUBDIR)/libelf ; then \
47509 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf ; \
47510 mv prev-libelf stage1-libelf ; : ; \
47512 @endif libelf
47513 @if gold
47514 @if test -d $(HOST_SUBDIR)/gold ; then \
47515 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
47516 mv prev-gold stage1-gold ; : ; \
47518 @endif gold
47519 @if intl
47520 @if test -d $(HOST_SUBDIR)/intl ; then \
47521 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
47522 mv prev-intl stage1-intl ; : ; \
47524 @endif intl
47525 @if ld
47526 @if test -d $(HOST_SUBDIR)/ld ; then \
47527 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
47528 mv prev-ld stage1-ld ; : ; \
47530 @endif ld
47531 @if libbacktrace
47532 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
47533 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace ; \
47534 mv prev-libbacktrace stage1-libbacktrace ; : ; \
47536 @endif libbacktrace
47537 @if libcpp
47538 @if test -d $(HOST_SUBDIR)/libcpp ; then \
47539 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
47540 mv prev-libcpp stage1-libcpp ; : ; \
47542 @endif libcpp
47543 @if libdecnumber
47544 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
47545 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
47546 mv prev-libdecnumber stage1-libdecnumber ; : ; \
47548 @endif libdecnumber
47549 @if libiberty
47550 @if test -d $(HOST_SUBDIR)/libiberty ; then \
47551 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
47552 mv prev-libiberty stage1-libiberty ; : ; \
47554 @endif libiberty
47555 @if libiberty-linker-plugin
47556 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
47557 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageprofile-libiberty-linker-plugin ; \
47558 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin ; : ; \
47560 @endif libiberty-linker-plugin
47561 @if zlib
47562 @if test -d $(HOST_SUBDIR)/zlib ; then \
47563 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
47564 mv prev-zlib stage1-zlib ; : ; \
47566 @endif zlib
47567 @if lto-plugin
47568 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
47569 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin ; \
47570 mv prev-lto-plugin stage1-lto-plugin ; : ; \
47572 @endif lto-plugin
47573 @if test -d $(TARGET_SUBDIR) ; then \
47574 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
47575 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
47577 rm -f stage_current
47579 # Bubble a bug fix through all the stages up to stage profile. They are
47580 # remade, but not reconfigured. The next stage (if any) will not be
47581 # reconfigured either.
47582 .PHONY: stageprofile-bubble
47583 stageprofile-bubble:: stage1-bubble
47584 @r=`${PWD_COMMAND}`; export r; \
47585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47586 if test -f stageprofile-lean || test -f stage1-lean ; then \
47587 echo Skipping rebuild of stageprofile ; \
47588 else \
47589 $(MAKE) stageprofile-start; \
47590 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
47593 .PHONY: all-stageprofile clean-stageprofile
47594 do-clean: clean-stageprofile
47596 # FIXME: Will not need to be conditional when toplevel bootstrap is the
47597 # only possibility, but now it conflicts with no-bootstrap rules
47598 @if gcc-bootstrap
47603 # Rules to wipe a stage and all the following ones, also used for cleanstrap
47604 distclean-stage1:: distclean-stageprofile
47605 .PHONY: distclean-stageprofile
47606 distclean-stageprofile::
47607 @: $(MAKE); $(stage)
47608 @test "`cat stage_last`" != stageprofile || rm -f stage_last
47609 rm -rf stageprofile-*
47612 @endif gcc-bootstrap
47615 .PHONY: stagefeedback-start stagefeedback-end
47617 stagefeedback-start::
47618 @: $(MAKE); $(stage); \
47619 echo stagefeedback > stage_current ; \
47620 echo stagefeedback > stage_last; \
47621 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
47622 @if bfd
47623 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
47624 mkdir stagefeedback-bfd; \
47625 mv stagefeedback-bfd bfd ; \
47626 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
47627 @endif bfd
47628 @if opcodes
47629 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
47630 mkdir stagefeedback-opcodes; \
47631 mv stagefeedback-opcodes opcodes ; \
47632 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
47633 @endif opcodes
47634 @if binutils
47635 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
47636 mkdir stagefeedback-binutils; \
47637 mv stagefeedback-binutils binutils ; \
47638 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
47639 @endif binutils
47640 @if fixincludes
47641 @cd $(HOST_SUBDIR); [ -d stagefeedback-fixincludes ] || \
47642 mkdir stagefeedback-fixincludes; \
47643 mv stagefeedback-fixincludes fixincludes ; \
47644 mv stageprofile-fixincludes prev-fixincludes || test -f stageprofile-lean
47645 @endif fixincludes
47646 @if gas
47647 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
47648 mkdir stagefeedback-gas; \
47649 mv stagefeedback-gas gas ; \
47650 mv stageprofile-gas prev-gas || test -f stageprofile-lean
47651 @endif gas
47652 @if gcc
47653 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
47654 mkdir stagefeedback-gcc; \
47655 mv stagefeedback-gcc gcc ; \
47656 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
47657 @endif gcc
47658 @if gmp
47659 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
47660 mkdir stagefeedback-gmp; \
47661 mv stagefeedback-gmp gmp ; \
47662 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
47663 @endif gmp
47664 @if mpfr
47665 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
47666 mkdir stagefeedback-mpfr; \
47667 mv stagefeedback-mpfr mpfr ; \
47668 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
47669 @endif mpfr
47670 @if mpc
47671 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
47672 mkdir stagefeedback-mpc; \
47673 mv stagefeedback-mpc mpc ; \
47674 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
47675 @endif mpc
47676 @if isl
47677 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
47678 mkdir stagefeedback-isl; \
47679 mv stagefeedback-isl isl ; \
47680 mv stageprofile-isl prev-isl || test -f stageprofile-lean
47681 @endif isl
47682 @if libelf
47683 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
47684 mkdir stagefeedback-libelf; \
47685 mv stagefeedback-libelf libelf ; \
47686 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
47687 @endif libelf
47688 @if gold
47689 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
47690 mkdir stagefeedback-gold; \
47691 mv stagefeedback-gold gold ; \
47692 mv stageprofile-gold prev-gold || test -f stageprofile-lean
47693 @endif gold
47694 @if intl
47695 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
47696 mkdir stagefeedback-intl; \
47697 mv stagefeedback-intl intl ; \
47698 mv stageprofile-intl prev-intl || test -f stageprofile-lean
47699 @endif intl
47700 @if ld
47701 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
47702 mkdir stagefeedback-ld; \
47703 mv stagefeedback-ld ld ; \
47704 mv stageprofile-ld prev-ld || test -f stageprofile-lean
47705 @endif ld
47706 @if libbacktrace
47707 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
47708 mkdir stagefeedback-libbacktrace; \
47709 mv stagefeedback-libbacktrace libbacktrace ; \
47710 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
47711 @endif libbacktrace
47712 @if libcpp
47713 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
47714 mkdir stagefeedback-libcpp; \
47715 mv stagefeedback-libcpp libcpp ; \
47716 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
47717 @endif libcpp
47718 @if libdecnumber
47719 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
47720 mkdir stagefeedback-libdecnumber; \
47721 mv stagefeedback-libdecnumber libdecnumber ; \
47722 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
47723 @endif libdecnumber
47724 @if libiberty
47725 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
47726 mkdir stagefeedback-libiberty; \
47727 mv stagefeedback-libiberty libiberty ; \
47728 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
47729 @endif libiberty
47730 @if libiberty-linker-plugin
47731 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty-linker-plugin ] || \
47732 mkdir stagefeedback-libiberty-linker-plugin; \
47733 mv stagefeedback-libiberty-linker-plugin libiberty-linker-plugin ; \
47734 mv stageprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageprofile-lean
47735 @endif libiberty-linker-plugin
47736 @if zlib
47737 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
47738 mkdir stagefeedback-zlib; \
47739 mv stagefeedback-zlib zlib ; \
47740 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
47741 @endif zlib
47742 @if lto-plugin
47743 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
47744 mkdir stagefeedback-lto-plugin; \
47745 mv stagefeedback-lto-plugin lto-plugin ; \
47746 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
47747 @endif lto-plugin
47748 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
47749 mkdir stagefeedback-$(TARGET_SUBDIR); \
47750 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
47751 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
47753 stagefeedback-end::
47754 @if bfd
47755 @if test -d $(HOST_SUBDIR)/bfd ; then \
47756 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
47757 mv prev-bfd stageprofile-bfd ; : ; \
47759 @endif bfd
47760 @if opcodes
47761 @if test -d $(HOST_SUBDIR)/opcodes ; then \
47762 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
47763 mv prev-opcodes stageprofile-opcodes ; : ; \
47765 @endif opcodes
47766 @if binutils
47767 @if test -d $(HOST_SUBDIR)/binutils ; then \
47768 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
47769 mv prev-binutils stageprofile-binutils ; : ; \
47771 @endif binutils
47772 @if fixincludes
47773 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
47774 cd $(HOST_SUBDIR); mv fixincludes stagefeedback-fixincludes ; \
47775 mv prev-fixincludes stageprofile-fixincludes ; : ; \
47777 @endif fixincludes
47778 @if gas
47779 @if test -d $(HOST_SUBDIR)/gas ; then \
47780 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
47781 mv prev-gas stageprofile-gas ; : ; \
47783 @endif gas
47784 @if gcc
47785 @if test -d $(HOST_SUBDIR)/gcc ; then \
47786 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
47787 mv prev-gcc stageprofile-gcc ; : ; \
47789 @endif gcc
47790 @if gmp
47791 @if test -d $(HOST_SUBDIR)/gmp ; then \
47792 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
47793 mv prev-gmp stageprofile-gmp ; : ; \
47795 @endif gmp
47796 @if mpfr
47797 @if test -d $(HOST_SUBDIR)/mpfr ; then \
47798 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
47799 mv prev-mpfr stageprofile-mpfr ; : ; \
47801 @endif mpfr
47802 @if mpc
47803 @if test -d $(HOST_SUBDIR)/mpc ; then \
47804 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc ; \
47805 mv prev-mpc stageprofile-mpc ; : ; \
47807 @endif mpc
47808 @if isl
47809 @if test -d $(HOST_SUBDIR)/isl ; then \
47810 cd $(HOST_SUBDIR); mv isl stagefeedback-isl ; \
47811 mv prev-isl stageprofile-isl ; : ; \
47813 @endif isl
47814 @if libelf
47815 @if test -d $(HOST_SUBDIR)/libelf ; then \
47816 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf ; \
47817 mv prev-libelf stageprofile-libelf ; : ; \
47819 @endif libelf
47820 @if gold
47821 @if test -d $(HOST_SUBDIR)/gold ; then \
47822 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
47823 mv prev-gold stageprofile-gold ; : ; \
47825 @endif gold
47826 @if intl
47827 @if test -d $(HOST_SUBDIR)/intl ; then \
47828 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
47829 mv prev-intl stageprofile-intl ; : ; \
47831 @endif intl
47832 @if ld
47833 @if test -d $(HOST_SUBDIR)/ld ; then \
47834 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
47835 mv prev-ld stageprofile-ld ; : ; \
47837 @endif ld
47838 @if libbacktrace
47839 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
47840 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace ; \
47841 mv prev-libbacktrace stageprofile-libbacktrace ; : ; \
47843 @endif libbacktrace
47844 @if libcpp
47845 @if test -d $(HOST_SUBDIR)/libcpp ; then \
47846 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
47847 mv prev-libcpp stageprofile-libcpp ; : ; \
47849 @endif libcpp
47850 @if libdecnumber
47851 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
47852 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
47853 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
47855 @endif libdecnumber
47856 @if libiberty
47857 @if test -d $(HOST_SUBDIR)/libiberty ; then \
47858 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
47859 mv prev-libiberty stageprofile-libiberty ; : ; \
47861 @endif libiberty
47862 @if libiberty-linker-plugin
47863 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
47864 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagefeedback-libiberty-linker-plugin ; \
47865 mv prev-libiberty-linker-plugin stageprofile-libiberty-linker-plugin ; : ; \
47867 @endif libiberty-linker-plugin
47868 @if zlib
47869 @if test -d $(HOST_SUBDIR)/zlib ; then \
47870 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
47871 mv prev-zlib stageprofile-zlib ; : ; \
47873 @endif zlib
47874 @if lto-plugin
47875 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
47876 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin ; \
47877 mv prev-lto-plugin stageprofile-lto-plugin ; : ; \
47879 @endif lto-plugin
47880 @if test -d $(TARGET_SUBDIR) ; then \
47881 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
47882 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
47884 rm -f stage_current
47886 # Bubble a bug fix through all the stages up to stage feedback. They are
47887 # remade, but not reconfigured. The next stage (if any) will not be
47888 # reconfigured either.
47889 .PHONY: stagefeedback-bubble
47890 stagefeedback-bubble:: stageprofile-bubble
47891 @r=`${PWD_COMMAND}`; export r; \
47892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47893 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
47894 echo Skipping rebuild of stagefeedback ; \
47895 else \
47896 $(MAKE) stagefeedback-start; \
47897 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
47900 .PHONY: all-stagefeedback clean-stagefeedback
47901 do-clean: clean-stagefeedback
47903 # FIXME: Will not need to be conditional when toplevel bootstrap is the
47904 # only possibility, but now it conflicts with no-bootstrap rules
47905 @if gcc-bootstrap
47909 .PHONY: profiledbootstrap profiledbootstrap-lean
47910 profiledbootstrap:
47911 echo stagefeedback > stage_final
47912 @r=`${PWD_COMMAND}`; export r; \
47913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47914 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
47915 @: $(MAKE); $(unstage)
47916 @r=`${PWD_COMMAND}`; export r; \
47917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47918 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
47919 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47921 profiledbootstrap-lean:
47922 echo stagefeedback > stage_final
47923 @r=`${PWD_COMMAND}`; export r; \
47924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47925 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
47926 @: $(MAKE); $(unstage)
47927 @r=`${PWD_COMMAND}`; export r; \
47928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47929 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
47930 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47933 # Rules to wipe a stage and all the following ones, also used for cleanstrap
47934 distclean-stageprofile:: distclean-stagefeedback
47935 .PHONY: distclean-stagefeedback
47936 distclean-stagefeedback::
47937 @: $(MAKE); $(stage)
47938 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
47939 rm -rf stagefeedback-*
47942 @endif gcc-bootstrap
47946 stageprofile-end::
47947 $(MAKE) distclean-stagefeedback
47949 stagefeedback-start::
47950 @r=`${PWD_COMMAND}`; export r; \
47951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47952 for i in prev-*; do \
47953 j=`echo $$i | sed s/^prev-//` ; \
47954 cd $$r/$$i && \
47955 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
47956 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
47957 done
47959 @if gcc-bootstrap
47960 do-distclean: distclean-stage1
47962 # Provide a GCC build when we're building target libraries. This does
47963 # not work as a dependency, just as the minimum necessary to avoid errors.
47964 stage_last:
47965 @r=`${PWD_COMMAND}`; export r; \
47966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47967 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
47969 # Same as unstage, but not phony and defaulting to stage1-start. We place
47970 # it in the dependency so that for example `make -j3 all-gcc' works.
47971 stage_current:
47972 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
47974 .PHONY: restrap
47975 restrap::
47976 @: $(MAKE); $(stage)
47977 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
47978 restrap:: all
47979 @endif gcc-bootstrap
47981 # --------------------------------------
47982 # Dependencies between different modules
47983 # --------------------------------------
47985 # Generic dependencies for target modules on host stuff, especially gcc
47986 @if gcc-bootstrap
47987 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
47988 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
47989 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
47990 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
47991 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
47992 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
47993 configure-stage1-target-libsanitizer: maybe-all-stage1-gcc
47994 configure-stage2-target-libsanitizer: maybe-all-stage2-gcc
47995 configure-stage3-target-libsanitizer: maybe-all-stage3-gcc
47996 configure-stage4-target-libsanitizer: maybe-all-stage4-gcc
47997 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-gcc
47998 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-gcc
47999 configure-stage1-target-libvtv: maybe-all-stage1-gcc
48000 configure-stage2-target-libvtv: maybe-all-stage2-gcc
48001 configure-stage3-target-libvtv: maybe-all-stage3-gcc
48002 configure-stage4-target-libvtv: maybe-all-stage4-gcc
48003 configure-stageprofile-target-libvtv: maybe-all-stageprofile-gcc
48004 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-gcc
48005 configure-target-libcilkrts: stage_last
48006 configure-target-liboffloadmic: stage_last
48007 configure-target-libssp: stage_last
48008 configure-target-newlib: stage_last
48009 configure-stage1-target-libgcc: maybe-all-stage1-gcc
48010 configure-stage2-target-libgcc: maybe-all-stage2-gcc
48011 configure-stage3-target-libgcc: maybe-all-stage3-gcc
48012 configure-stage4-target-libgcc: maybe-all-stage4-gcc
48013 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
48014 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
48015 configure-target-libbacktrace: stage_last
48016 configure-target-libquadmath: stage_last
48017 configure-target-libgfortran: stage_last
48018 configure-target-libobjc: stage_last
48019 configure-target-libgo: stage_last
48020 configure-target-libtermcap: stage_last
48021 configure-target-winsup: stage_last
48022 configure-target-libgloss: stage_last
48023 configure-target-libffi: stage_last
48024 configure-target-libjava: stage_last
48025 configure-target-zlib: stage_last
48026 configure-target-boehm-gc: stage_last
48027 configure-target-rda: stage_last
48028 configure-target-libada: stage_last
48029 configure-stage1-target-libgomp: maybe-all-stage1-gcc
48030 configure-stage2-target-libgomp: maybe-all-stage2-gcc
48031 configure-stage3-target-libgomp: maybe-all-stage3-gcc
48032 configure-stage4-target-libgomp: maybe-all-stage4-gcc
48033 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
48034 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
48035 configure-target-libitm: stage_last
48036 configure-target-libatomic: stage_last
48037 @endif gcc-bootstrap
48039 @if gcc-no-bootstrap
48040 configure-target-libstdc++-v3: maybe-all-gcc
48041 configure-target-libsanitizer: maybe-all-gcc
48042 configure-target-libvtv: maybe-all-gcc
48043 configure-target-libcilkrts: maybe-all-gcc
48044 configure-target-liboffloadmic: maybe-all-gcc
48045 configure-target-libssp: maybe-all-gcc
48046 configure-target-newlib: maybe-all-gcc
48047 configure-target-libgcc: maybe-all-gcc
48048 configure-target-libbacktrace: maybe-all-gcc
48049 configure-target-libquadmath: maybe-all-gcc
48050 configure-target-libgfortran: maybe-all-gcc
48051 configure-target-libobjc: maybe-all-gcc
48052 configure-target-libgo: maybe-all-gcc
48053 configure-target-libtermcap: maybe-all-gcc
48054 configure-target-winsup: maybe-all-gcc
48055 configure-target-libgloss: maybe-all-gcc
48056 configure-target-libffi: maybe-all-gcc
48057 configure-target-libjava: maybe-all-gcc
48058 configure-target-zlib: maybe-all-gcc
48059 configure-target-boehm-gc: maybe-all-gcc
48060 configure-target-rda: maybe-all-gcc
48061 configure-target-libada: maybe-all-gcc
48062 configure-target-libgomp: maybe-all-gcc
48063 configure-target-libitm: maybe-all-gcc
48064 configure-target-libatomic: maybe-all-gcc
48065 @endif gcc-no-bootstrap
48068 # There are two types of dependencies here: 'hard' dependencies, where one
48069 # module simply won't build without the other; and 'soft' dependencies, where
48070 # if the depended-on module is missing, the depending module will do without
48071 # or find a substitute somewhere (perhaps installed). Soft dependencies
48072 # are made here to depend on a 'maybe-' target. If you're not sure,
48073 # it's safer to use a soft dependency.
48080 # With all the machinery above in place, it is pretty easy to generate
48081 # dependencies. Host dependencies are a bit more complex because we have
48082 # to check for bootstrap/prebootstrap dependencies. To resolve
48083 # prebootstrap dependencies, prebootstrap modules are gathered in
48084 # a hash table.
48085 all-build-bison: maybe-all-build-texinfo
48086 all-build-flex: maybe-all-build-texinfo
48087 all-build-flex: maybe-all-build-bison
48088 all-build-flex: maybe-all-build-m4
48089 all-build-libiberty: maybe-all-build-texinfo
48090 all-build-m4: maybe-all-build-texinfo
48091 all-build-fixincludes: maybe-all-build-libiberty
48092 all-build-libcpp: maybe-all-build-libiberty
48093 configure-gcc: maybe-configure-intl
48095 configure-stage1-gcc: maybe-configure-stage1-intl
48096 configure-stage2-gcc: maybe-configure-stage2-intl
48097 configure-stage3-gcc: maybe-configure-stage3-intl
48098 configure-stage4-gcc: maybe-configure-stage4-intl
48099 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
48100 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
48101 configure-gcc: maybe-all-gmp
48103 configure-stage1-gcc: maybe-all-stage1-gmp
48104 configure-stage2-gcc: maybe-all-stage2-gmp
48105 configure-stage3-gcc: maybe-all-stage3-gmp
48106 configure-stage4-gcc: maybe-all-stage4-gmp
48107 configure-stageprofile-gcc: maybe-all-stageprofile-gmp
48108 configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp
48109 configure-gcc: maybe-all-mpfr
48111 configure-stage1-gcc: maybe-all-stage1-mpfr
48112 configure-stage2-gcc: maybe-all-stage2-mpfr
48113 configure-stage3-gcc: maybe-all-stage3-mpfr
48114 configure-stage4-gcc: maybe-all-stage4-mpfr
48115 configure-stageprofile-gcc: maybe-all-stageprofile-mpfr
48116 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
48117 configure-gcc: maybe-all-mpc
48119 configure-stage1-gcc: maybe-all-stage1-mpc
48120 configure-stage2-gcc: maybe-all-stage2-mpc
48121 configure-stage3-gcc: maybe-all-stage3-mpc
48122 configure-stage4-gcc: maybe-all-stage4-mpc
48123 configure-stageprofile-gcc: maybe-all-stageprofile-mpc
48124 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpc
48125 configure-gcc: maybe-all-isl
48127 configure-stage1-gcc: maybe-all-stage1-isl
48128 configure-stage2-gcc: maybe-all-stage2-isl
48129 configure-stage3-gcc: maybe-all-stage3-isl
48130 configure-stage4-gcc: maybe-all-stage4-isl
48131 configure-stageprofile-gcc: maybe-all-stageprofile-isl
48132 configure-stagefeedback-gcc: maybe-all-stagefeedback-isl
48133 configure-gcc: maybe-all-lto-plugin
48135 configure-stage1-gcc: maybe-all-stage1-lto-plugin
48136 configure-stage2-gcc: maybe-all-stage2-lto-plugin
48137 configure-stage3-gcc: maybe-all-stage3-lto-plugin
48138 configure-stage4-gcc: maybe-all-stage4-lto-plugin
48139 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
48140 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
48141 configure-gcc: maybe-all-binutils
48143 configure-stage1-gcc: maybe-all-stage1-binutils
48144 configure-stage2-gcc: maybe-all-stage2-binutils
48145 configure-stage3-gcc: maybe-all-stage3-binutils
48146 configure-stage4-gcc: maybe-all-stage4-binutils
48147 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
48148 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
48149 configure-gcc: maybe-all-gas
48151 configure-stage1-gcc: maybe-all-stage1-gas
48152 configure-stage2-gcc: maybe-all-stage2-gas
48153 configure-stage3-gcc: maybe-all-stage3-gas
48154 configure-stage4-gcc: maybe-all-stage4-gas
48155 configure-stageprofile-gcc: maybe-all-stageprofile-gas
48156 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
48157 configure-gcc: maybe-all-ld
48159 configure-stage1-gcc: maybe-all-stage1-ld
48160 configure-stage2-gcc: maybe-all-stage2-ld
48161 configure-stage3-gcc: maybe-all-stage3-ld
48162 configure-stage4-gcc: maybe-all-stage4-ld
48163 configure-stageprofile-gcc: maybe-all-stageprofile-ld
48164 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
48165 configure-gcc: maybe-all-gold
48167 configure-stage1-gcc: maybe-all-stage1-gold
48168 configure-stage2-gcc: maybe-all-stage2-gold
48169 configure-stage3-gcc: maybe-all-stage3-gold
48170 configure-stage4-gcc: maybe-all-stage4-gold
48171 configure-stageprofile-gcc: maybe-all-stageprofile-gold
48172 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
48173 configure-gcc: maybe-all-libelf
48175 configure-stage1-gcc: maybe-all-stage1-libelf
48176 configure-stage2-gcc: maybe-all-stage2-libelf
48177 configure-stage3-gcc: maybe-all-stage3-libelf
48178 configure-stage4-gcc: maybe-all-stage4-libelf
48179 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
48180 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
48181 all-gcc: all-libiberty
48183 all-stage1-gcc: all-stage1-libiberty
48184 all-stage2-gcc: all-stage2-libiberty
48185 all-stage3-gcc: all-stage3-libiberty
48186 all-stage4-gcc: all-stage4-libiberty
48187 all-stageprofile-gcc: all-stageprofile-libiberty
48188 all-stagefeedback-gcc: all-stagefeedback-libiberty
48189 all-gcc: maybe-all-intl
48191 all-stage1-gcc: maybe-all-stage1-intl
48192 all-stage2-gcc: maybe-all-stage2-intl
48193 all-stage3-gcc: maybe-all-stage3-intl
48194 all-stage4-gcc: maybe-all-stage4-intl
48195 all-stageprofile-gcc: maybe-all-stageprofile-intl
48196 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
48197 all-gcc: maybe-all-mpfr
48199 all-stage1-gcc: maybe-all-stage1-mpfr
48200 all-stage2-gcc: maybe-all-stage2-mpfr
48201 all-stage3-gcc: maybe-all-stage3-mpfr
48202 all-stage4-gcc: maybe-all-stage4-mpfr
48203 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
48204 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
48205 all-gcc: maybe-all-mpc
48207 all-stage1-gcc: maybe-all-stage1-mpc
48208 all-stage2-gcc: maybe-all-stage2-mpc
48209 all-stage3-gcc: maybe-all-stage3-mpc
48210 all-stage4-gcc: maybe-all-stage4-mpc
48211 all-stageprofile-gcc: maybe-all-stageprofile-mpc
48212 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
48213 all-gcc: maybe-all-isl
48215 all-stage1-gcc: maybe-all-stage1-isl
48216 all-stage2-gcc: maybe-all-stage2-isl
48217 all-stage3-gcc: maybe-all-stage3-isl
48218 all-stage4-gcc: maybe-all-stage4-isl
48219 all-stageprofile-gcc: maybe-all-stageprofile-isl
48220 all-stagefeedback-gcc: maybe-all-stagefeedback-isl
48221 all-gcc: maybe-all-build-texinfo
48223 all-stage1-gcc: maybe-all-build-texinfo
48224 all-stage2-gcc: maybe-all-build-texinfo
48225 all-stage3-gcc: maybe-all-build-texinfo
48226 all-stage4-gcc: maybe-all-build-texinfo
48227 all-stageprofile-gcc: maybe-all-build-texinfo
48228 all-stagefeedback-gcc: maybe-all-build-texinfo
48229 all-gcc: maybe-all-build-bison
48231 all-stage1-gcc: maybe-all-build-bison
48232 all-stage2-gcc: maybe-all-build-bison
48233 all-stage3-gcc: maybe-all-build-bison
48234 all-stage4-gcc: maybe-all-build-bison
48235 all-stageprofile-gcc: maybe-all-build-bison
48236 all-stagefeedback-gcc: maybe-all-build-bison
48237 all-gcc: maybe-all-build-flex
48239 all-stage1-gcc: maybe-all-build-flex
48240 all-stage2-gcc: maybe-all-build-flex
48241 all-stage3-gcc: maybe-all-build-flex
48242 all-stage4-gcc: maybe-all-build-flex
48243 all-stageprofile-gcc: maybe-all-build-flex
48244 all-stagefeedback-gcc: maybe-all-build-flex
48245 all-gcc: maybe-all-build-libiberty
48247 all-stage1-gcc: maybe-all-build-libiberty
48248 all-stage2-gcc: maybe-all-build-libiberty
48249 all-stage3-gcc: maybe-all-build-libiberty
48250 all-stage4-gcc: maybe-all-build-libiberty
48251 all-stageprofile-gcc: maybe-all-build-libiberty
48252 all-stagefeedback-gcc: maybe-all-build-libiberty
48253 all-gcc: maybe-all-build-fixincludes
48255 all-stage1-gcc: maybe-all-build-fixincludes
48256 all-stage2-gcc: maybe-all-build-fixincludes
48257 all-stage3-gcc: maybe-all-build-fixincludes
48258 all-stage4-gcc: maybe-all-build-fixincludes
48259 all-stageprofile-gcc: maybe-all-build-fixincludes
48260 all-stagefeedback-gcc: maybe-all-build-fixincludes
48261 all-gcc: maybe-all-build-libcpp
48263 all-stage1-gcc: maybe-all-build-libcpp
48264 all-stage2-gcc: maybe-all-build-libcpp
48265 all-stage3-gcc: maybe-all-build-libcpp
48266 all-stage4-gcc: maybe-all-build-libcpp
48267 all-stageprofile-gcc: maybe-all-build-libcpp
48268 all-stagefeedback-gcc: maybe-all-build-libcpp
48269 all-gcc: maybe-all-zlib
48271 all-stage1-gcc: maybe-all-stage1-zlib
48272 all-stage2-gcc: maybe-all-stage2-zlib
48273 all-stage3-gcc: maybe-all-stage3-zlib
48274 all-stage4-gcc: maybe-all-stage4-zlib
48275 all-stageprofile-gcc: maybe-all-stageprofile-zlib
48276 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
48277 all-gcc: all-libbacktrace
48279 all-stage1-gcc: all-stage1-libbacktrace
48280 all-stage2-gcc: all-stage2-libbacktrace
48281 all-stage3-gcc: all-stage3-libbacktrace
48282 all-stage4-gcc: all-stage4-libbacktrace
48283 all-stageprofile-gcc: all-stageprofile-libbacktrace
48284 all-stagefeedback-gcc: all-stagefeedback-libbacktrace
48285 all-gcc: all-libcpp
48287 all-stage1-gcc: all-stage1-libcpp
48288 all-stage2-gcc: all-stage2-libcpp
48289 all-stage3-gcc: all-stage3-libcpp
48290 all-stage4-gcc: all-stage4-libcpp
48291 all-stageprofile-gcc: all-stageprofile-libcpp
48292 all-stagefeedback-gcc: all-stagefeedback-libcpp
48293 all-gcc: all-libdecnumber
48295 all-stage1-gcc: all-stage1-libdecnumber
48296 all-stage2-gcc: all-stage2-libdecnumber
48297 all-stage3-gcc: all-stage3-libdecnumber
48298 all-stage4-gcc: all-stage4-libdecnumber
48299 all-stageprofile-gcc: all-stageprofile-libdecnumber
48300 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
48301 all-gcc: maybe-all-libiberty
48303 all-stage1-gcc: maybe-all-stage1-libiberty
48304 all-stage2-gcc: maybe-all-stage2-libiberty
48305 all-stage3-gcc: maybe-all-stage3-libiberty
48306 all-stage4-gcc: maybe-all-stage4-libiberty
48307 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
48308 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
48309 all-gcc: maybe-all-fixincludes
48311 all-stage1-gcc: maybe-all-stage1-fixincludes
48312 all-stage2-gcc: maybe-all-stage2-fixincludes
48313 all-stage3-gcc: maybe-all-stage3-fixincludes
48314 all-stage4-gcc: maybe-all-stage4-fixincludes
48315 all-stageprofile-gcc: maybe-all-stageprofile-fixincludes
48316 all-stagefeedback-gcc: maybe-all-stagefeedback-fixincludes
48317 all-gcc: maybe-all-lto-plugin
48319 all-stage1-gcc: maybe-all-stage1-lto-plugin
48320 all-stage2-gcc: maybe-all-stage2-lto-plugin
48321 all-stage3-gcc: maybe-all-stage3-lto-plugin
48322 all-stage4-gcc: maybe-all-stage4-lto-plugin
48323 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
48324 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
48325 info-gcc: maybe-all-build-libiberty
48327 info-stage1-gcc: maybe-all-build-libiberty
48328 info-stage2-gcc: maybe-all-build-libiberty
48329 info-stage3-gcc: maybe-all-build-libiberty
48330 info-stage4-gcc: maybe-all-build-libiberty
48331 info-stageprofile-gcc: maybe-all-build-libiberty
48332 info-stagefeedback-gcc: maybe-all-build-libiberty
48333 dvi-gcc: maybe-all-build-libiberty
48335 dvi-stage1-gcc: maybe-all-build-libiberty
48336 dvi-stage2-gcc: maybe-all-build-libiberty
48337 dvi-stage3-gcc: maybe-all-build-libiberty
48338 dvi-stage4-gcc: maybe-all-build-libiberty
48339 dvi-stageprofile-gcc: maybe-all-build-libiberty
48340 dvi-stagefeedback-gcc: maybe-all-build-libiberty
48341 pdf-gcc: maybe-all-build-libiberty
48343 pdf-stage1-gcc: maybe-all-build-libiberty
48344 pdf-stage2-gcc: maybe-all-build-libiberty
48345 pdf-stage3-gcc: maybe-all-build-libiberty
48346 pdf-stage4-gcc: maybe-all-build-libiberty
48347 pdf-stageprofile-gcc: maybe-all-build-libiberty
48348 pdf-stagefeedback-gcc: maybe-all-build-libiberty
48349 html-gcc: maybe-all-build-libiberty
48351 html-stage1-gcc: maybe-all-build-libiberty
48352 html-stage2-gcc: maybe-all-build-libiberty
48353 html-stage3-gcc: maybe-all-build-libiberty
48354 html-stage4-gcc: maybe-all-build-libiberty
48355 html-stageprofile-gcc: maybe-all-build-libiberty
48356 html-stagefeedback-gcc: maybe-all-build-libiberty
48357 install-gcc: maybe-install-fixincludes
48358 install-gcc: maybe-install-lto-plugin
48359 install-strip-gcc: maybe-install-strip-fixincludes
48360 install-strip-gcc: maybe-install-strip-lto-plugin
48361 configure-libcpp: configure-libiberty
48363 configure-stage1-libcpp: configure-stage1-libiberty
48364 configure-stage2-libcpp: configure-stage2-libiberty
48365 configure-stage3-libcpp: configure-stage3-libiberty
48366 configure-stage4-libcpp: configure-stage4-libiberty
48367 configure-stageprofile-libcpp: configure-stageprofile-libiberty
48368 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
48369 configure-libcpp: maybe-configure-intl
48371 configure-stage1-libcpp: maybe-configure-stage1-intl
48372 configure-stage2-libcpp: maybe-configure-stage2-intl
48373 configure-stage3-libcpp: maybe-configure-stage3-intl
48374 configure-stage4-libcpp: maybe-configure-stage4-intl
48375 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
48376 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
48377 all-libcpp: all-libiberty
48379 all-stage1-libcpp: all-stage1-libiberty
48380 all-stage2-libcpp: all-stage2-libiberty
48381 all-stage3-libcpp: all-stage3-libiberty
48382 all-stage4-libcpp: all-stage4-libiberty
48383 all-stageprofile-libcpp: all-stageprofile-libiberty
48384 all-stagefeedback-libcpp: all-stagefeedback-libiberty
48385 all-libcpp: maybe-all-intl
48387 all-stage1-libcpp: maybe-all-stage1-intl
48388 all-stage2-libcpp: maybe-all-stage2-intl
48389 all-stage3-libcpp: maybe-all-stage3-intl
48390 all-stage4-libcpp: maybe-all-stage4-intl
48391 all-stageprofile-libcpp: maybe-all-stageprofile-intl
48392 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
48393 all-fixincludes: maybe-all-libiberty
48395 all-stage1-fixincludes: maybe-all-stage1-libiberty
48396 all-stage2-fixincludes: maybe-all-stage2-libiberty
48397 all-stage3-fixincludes: maybe-all-stage3-libiberty
48398 all-stage4-fixincludes: maybe-all-stage4-libiberty
48399 all-stageprofile-fixincludes: maybe-all-stageprofile-libiberty
48400 all-stagefeedback-fixincludes: maybe-all-stagefeedback-libiberty
48401 all-gnattools: maybe-all-target-libada
48402 all-gnattools: maybe-all-target-libstdc++-v3
48403 all-lto-plugin: maybe-all-libiberty
48405 all-stage1-lto-plugin: maybe-all-stage1-libiberty
48406 all-stage2-lto-plugin: maybe-all-stage2-libiberty
48407 all-stage3-lto-plugin: maybe-all-stage3-libiberty
48408 all-stage4-lto-plugin: maybe-all-stage4-libiberty
48409 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
48410 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
48411 all-lto-plugin: maybe-all-libiberty-linker-plugin
48413 all-stage1-lto-plugin: maybe-all-stage1-libiberty-linker-plugin
48414 all-stage2-lto-plugin: maybe-all-stage2-libiberty-linker-plugin
48415 all-stage3-lto-plugin: maybe-all-stage3-libiberty-linker-plugin
48416 all-stage4-lto-plugin: maybe-all-stage4-libiberty-linker-plugin
48417 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty-linker-plugin
48418 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty-linker-plugin
48419 configure-libcc1: maybe-configure-gcc
48420 all-libcc1: maybe-all-gcc
48421 all-utils: maybe-all-libiberty
48422 configure-mpfr: maybe-all-gmp
48424 configure-stage1-mpfr: maybe-all-stage1-gmp
48425 configure-stage2-mpfr: maybe-all-stage2-gmp
48426 configure-stage3-mpfr: maybe-all-stage3-gmp
48427 configure-stage4-mpfr: maybe-all-stage4-gmp
48428 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
48429 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
48430 configure-mpc: maybe-all-mpfr
48432 configure-stage1-mpc: maybe-all-stage1-mpfr
48433 configure-stage2-mpc: maybe-all-stage2-mpfr
48434 configure-stage3-mpc: maybe-all-stage3-mpfr
48435 configure-stage4-mpc: maybe-all-stage4-mpfr
48436 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
48437 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
48438 configure-isl: maybe-all-gmp
48440 configure-stage1-isl: maybe-all-stage1-gmp
48441 configure-stage2-isl: maybe-all-stage2-gmp
48442 configure-stage3-isl: maybe-all-stage3-gmp
48443 configure-stage4-isl: maybe-all-stage4-gmp
48444 configure-stageprofile-isl: maybe-all-stageprofile-gmp
48445 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
48446 configure-gdb: maybe-all-intl
48447 configure-gdb: maybe-configure-sim
48448 configure-gdb: maybe-all-bfd
48449 configure-gdb: maybe-all-libiconv
48450 all-gdb: maybe-all-libiberty
48451 all-gdb: maybe-all-libiconv
48452 all-gdb: maybe-all-opcodes
48453 all-gdb: maybe-all-readline
48454 all-gdb: maybe-all-build-bison
48455 all-gdb: maybe-all-sim
48456 all-gdb: maybe-all-libdecnumber
48457 all-gdb: maybe-all-libtermcap
48458 configure-libgui: maybe-configure-tcl
48459 configure-libgui: maybe-configure-tk
48460 all-libgui: maybe-all-tcl
48461 all-libgui: maybe-all-tk
48462 all-libgui: maybe-all-itcl
48463 configure-bfd: configure-libiberty
48465 configure-stage1-bfd: configure-stage1-libiberty
48466 configure-stage2-bfd: configure-stage2-libiberty
48467 configure-stage3-bfd: configure-stage3-libiberty
48468 configure-stage4-bfd: configure-stage4-libiberty
48469 configure-stageprofile-bfd: configure-stageprofile-libiberty
48470 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
48471 configure-bfd: maybe-configure-intl
48473 configure-stage1-bfd: maybe-configure-stage1-intl
48474 configure-stage2-bfd: maybe-configure-stage2-intl
48475 configure-stage3-bfd: maybe-configure-stage3-intl
48476 configure-stage4-bfd: maybe-configure-stage4-intl
48477 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
48478 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
48479 all-bfd: maybe-all-libiberty
48481 all-stage1-bfd: maybe-all-stage1-libiberty
48482 all-stage2-bfd: maybe-all-stage2-libiberty
48483 all-stage3-bfd: maybe-all-stage3-libiberty
48484 all-stage4-bfd: maybe-all-stage4-libiberty
48485 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
48486 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
48487 all-bfd: maybe-all-intl
48489 all-stage1-bfd: maybe-all-stage1-intl
48490 all-stage2-bfd: maybe-all-stage2-intl
48491 all-stage3-bfd: maybe-all-stage3-intl
48492 all-stage4-bfd: maybe-all-stage4-intl
48493 all-stageprofile-bfd: maybe-all-stageprofile-intl
48494 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
48495 configure-opcodes: configure-libiberty
48497 configure-stage1-opcodes: configure-stage1-libiberty
48498 configure-stage2-opcodes: configure-stage2-libiberty
48499 configure-stage3-opcodes: configure-stage3-libiberty
48500 configure-stage4-opcodes: configure-stage4-libiberty
48501 configure-stageprofile-opcodes: configure-stageprofile-libiberty
48502 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
48503 all-opcodes: maybe-all-libiberty
48505 all-stage1-opcodes: maybe-all-stage1-libiberty
48506 all-stage2-opcodes: maybe-all-stage2-libiberty
48507 all-stage3-opcodes: maybe-all-stage3-libiberty
48508 all-stage4-opcodes: maybe-all-stage4-libiberty
48509 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
48510 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
48511 configure-binutils: maybe-configure-intl
48513 configure-stage1-binutils: maybe-configure-stage1-intl
48514 configure-stage2-binutils: maybe-configure-stage2-intl
48515 configure-stage3-binutils: maybe-configure-stage3-intl
48516 configure-stage4-binutils: maybe-configure-stage4-intl
48517 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
48518 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
48519 all-binutils: maybe-all-libiberty
48521 all-stage1-binutils: maybe-all-stage1-libiberty
48522 all-stage2-binutils: maybe-all-stage2-libiberty
48523 all-stage3-binutils: maybe-all-stage3-libiberty
48524 all-stage4-binutils: maybe-all-stage4-libiberty
48525 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
48526 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
48527 all-binutils: maybe-all-opcodes
48529 all-stage1-binutils: maybe-all-stage1-opcodes
48530 all-stage2-binutils: maybe-all-stage2-opcodes
48531 all-stage3-binutils: maybe-all-stage3-opcodes
48532 all-stage4-binutils: maybe-all-stage4-opcodes
48533 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
48534 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
48535 all-binutils: maybe-all-bfd
48537 all-stage1-binutils: maybe-all-stage1-bfd
48538 all-stage2-binutils: maybe-all-stage2-bfd
48539 all-stage3-binutils: maybe-all-stage3-bfd
48540 all-stage4-binutils: maybe-all-stage4-bfd
48541 all-stageprofile-binutils: maybe-all-stageprofile-bfd
48542 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
48543 all-binutils: maybe-all-build-flex
48545 all-stage1-binutils: maybe-all-build-flex
48546 all-stage2-binutils: maybe-all-build-flex
48547 all-stage3-binutils: maybe-all-build-flex
48548 all-stage4-binutils: maybe-all-build-flex
48549 all-stageprofile-binutils: maybe-all-build-flex
48550 all-stagefeedback-binutils: maybe-all-build-flex
48551 all-binutils: maybe-all-build-bison
48553 all-stage1-binutils: maybe-all-build-bison
48554 all-stage2-binutils: maybe-all-build-bison
48555 all-stage3-binutils: maybe-all-build-bison
48556 all-stage4-binutils: maybe-all-build-bison
48557 all-stageprofile-binutils: maybe-all-build-bison
48558 all-stagefeedback-binutils: maybe-all-build-bison
48559 all-binutils: maybe-all-intl
48561 all-stage1-binutils: maybe-all-stage1-intl
48562 all-stage2-binutils: maybe-all-stage2-intl
48563 all-stage3-binutils: maybe-all-stage3-intl
48564 all-stage4-binutils: maybe-all-stage4-intl
48565 all-stageprofile-binutils: maybe-all-stageprofile-intl
48566 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
48567 all-binutils: maybe-all-gas
48569 all-stage1-binutils: maybe-all-stage1-gas
48570 all-stage2-binutils: maybe-all-stage2-gas
48571 all-stage3-binutils: maybe-all-stage3-gas
48572 all-stage4-binutils: maybe-all-stage4-gas
48573 all-stageprofile-binutils: maybe-all-stageprofile-gas
48574 all-stagefeedback-binutils: maybe-all-stagefeedback-gas
48575 install-binutils: maybe-install-opcodes
48576 install-strip-binutils: maybe-install-strip-opcodes
48577 install-opcodes: maybe-install-bfd
48578 install-strip-opcodes: maybe-install-strip-bfd
48579 configure-gas: maybe-configure-intl
48581 configure-stage1-gas: maybe-configure-stage1-intl
48582 configure-stage2-gas: maybe-configure-stage2-intl
48583 configure-stage3-gas: maybe-configure-stage3-intl
48584 configure-stage4-gas: maybe-configure-stage4-intl
48585 configure-stageprofile-gas: maybe-configure-stageprofile-intl
48586 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
48587 all-gas: maybe-all-libiberty
48589 all-stage1-gas: maybe-all-stage1-libiberty
48590 all-stage2-gas: maybe-all-stage2-libiberty
48591 all-stage3-gas: maybe-all-stage3-libiberty
48592 all-stage4-gas: maybe-all-stage4-libiberty
48593 all-stageprofile-gas: maybe-all-stageprofile-libiberty
48594 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
48595 all-gas: maybe-all-opcodes
48597 all-stage1-gas: maybe-all-stage1-opcodes
48598 all-stage2-gas: maybe-all-stage2-opcodes
48599 all-stage3-gas: maybe-all-stage3-opcodes
48600 all-stage4-gas: maybe-all-stage4-opcodes
48601 all-stageprofile-gas: maybe-all-stageprofile-opcodes
48602 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
48603 all-gas: maybe-all-bfd
48605 all-stage1-gas: maybe-all-stage1-bfd
48606 all-stage2-gas: maybe-all-stage2-bfd
48607 all-stage3-gas: maybe-all-stage3-bfd
48608 all-stage4-gas: maybe-all-stage4-bfd
48609 all-stageprofile-gas: maybe-all-stageprofile-bfd
48610 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
48611 all-gas: maybe-all-intl
48613 all-stage1-gas: maybe-all-stage1-intl
48614 all-stage2-gas: maybe-all-stage2-intl
48615 all-stage3-gas: maybe-all-stage3-intl
48616 all-stage4-gas: maybe-all-stage4-intl
48617 all-stageprofile-gas: maybe-all-stageprofile-intl
48618 all-stagefeedback-gas: maybe-all-stagefeedback-intl
48619 configure-gprof: maybe-configure-intl
48620 all-gprof: maybe-all-libiberty
48621 all-gprof: maybe-all-bfd
48622 all-gprof: maybe-all-opcodes
48623 all-gprof: maybe-all-intl
48624 all-gprof: maybe-all-gas
48625 configure-ld: maybe-configure-intl
48627 configure-stage1-ld: maybe-configure-stage1-intl
48628 configure-stage2-ld: maybe-configure-stage2-intl
48629 configure-stage3-ld: maybe-configure-stage3-intl
48630 configure-stage4-ld: maybe-configure-stage4-intl
48631 configure-stageprofile-ld: maybe-configure-stageprofile-intl
48632 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
48633 all-ld: maybe-all-libiberty
48635 all-stage1-ld: maybe-all-stage1-libiberty
48636 all-stage2-ld: maybe-all-stage2-libiberty
48637 all-stage3-ld: maybe-all-stage3-libiberty
48638 all-stage4-ld: maybe-all-stage4-libiberty
48639 all-stageprofile-ld: maybe-all-stageprofile-libiberty
48640 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
48641 all-ld: maybe-all-bfd
48643 all-stage1-ld: maybe-all-stage1-bfd
48644 all-stage2-ld: maybe-all-stage2-bfd
48645 all-stage3-ld: maybe-all-stage3-bfd
48646 all-stage4-ld: maybe-all-stage4-bfd
48647 all-stageprofile-ld: maybe-all-stageprofile-bfd
48648 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
48649 all-ld: maybe-all-opcodes
48651 all-stage1-ld: maybe-all-stage1-opcodes
48652 all-stage2-ld: maybe-all-stage2-opcodes
48653 all-stage3-ld: maybe-all-stage3-opcodes
48654 all-stage4-ld: maybe-all-stage4-opcodes
48655 all-stageprofile-ld: maybe-all-stageprofile-opcodes
48656 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
48657 all-ld: maybe-all-build-bison
48659 all-stage1-ld: maybe-all-build-bison
48660 all-stage2-ld: maybe-all-build-bison
48661 all-stage3-ld: maybe-all-build-bison
48662 all-stage4-ld: maybe-all-build-bison
48663 all-stageprofile-ld: maybe-all-build-bison
48664 all-stagefeedback-ld: maybe-all-build-bison
48665 all-ld: maybe-all-build-flex
48667 all-stage1-ld: maybe-all-build-flex
48668 all-stage2-ld: maybe-all-build-flex
48669 all-stage3-ld: maybe-all-build-flex
48670 all-stage4-ld: maybe-all-build-flex
48671 all-stageprofile-ld: maybe-all-build-flex
48672 all-stagefeedback-ld: maybe-all-build-flex
48673 all-ld: maybe-all-intl
48675 all-stage1-ld: maybe-all-stage1-intl
48676 all-stage2-ld: maybe-all-stage2-intl
48677 all-stage3-ld: maybe-all-stage3-intl
48678 all-stage4-ld: maybe-all-stage4-intl
48679 all-stageprofile-ld: maybe-all-stageprofile-intl
48680 all-stagefeedback-ld: maybe-all-stagefeedback-intl
48681 all-ld: maybe-all-gas
48683 all-stage1-ld: maybe-all-stage1-gas
48684 all-stage2-ld: maybe-all-stage2-gas
48685 all-stage3-ld: maybe-all-stage3-gas
48686 all-stage4-ld: maybe-all-stage4-gas
48687 all-stageprofile-ld: maybe-all-stageprofile-gas
48688 all-stagefeedback-ld: maybe-all-stagefeedback-gas
48689 all-ld: maybe-all-binutils
48691 all-stage1-ld: maybe-all-stage1-binutils
48692 all-stage2-ld: maybe-all-stage2-binutils
48693 all-stage3-ld: maybe-all-stage3-binutils
48694 all-stage4-ld: maybe-all-stage4-binutils
48695 all-stageprofile-ld: maybe-all-stageprofile-binutils
48696 all-stagefeedback-ld: maybe-all-stagefeedback-binutils
48697 install-ld: maybe-install-gold
48698 install-strip-ld: maybe-install-strip-gold
48699 configure-gold: maybe-configure-intl
48701 configure-stage1-gold: maybe-configure-stage1-intl
48702 configure-stage2-gold: maybe-configure-stage2-intl
48703 configure-stage3-gold: maybe-configure-stage3-intl
48704 configure-stage4-gold: maybe-configure-stage4-intl
48705 configure-stageprofile-gold: maybe-configure-stageprofile-intl
48706 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
48707 all-gold: maybe-all-libiberty
48709 all-stage1-gold: maybe-all-stage1-libiberty
48710 all-stage2-gold: maybe-all-stage2-libiberty
48711 all-stage3-gold: maybe-all-stage3-libiberty
48712 all-stage4-gold: maybe-all-stage4-libiberty
48713 all-stageprofile-gold: maybe-all-stageprofile-libiberty
48714 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
48715 all-gold: maybe-all-intl
48717 all-stage1-gold: maybe-all-stage1-intl
48718 all-stage2-gold: maybe-all-stage2-intl
48719 all-stage3-gold: maybe-all-stage3-intl
48720 all-stage4-gold: maybe-all-stage4-intl
48721 all-stageprofile-gold: maybe-all-stageprofile-intl
48722 all-stagefeedback-gold: maybe-all-stagefeedback-intl
48723 all-gold: maybe-all-bfd
48725 all-stage1-gold: maybe-all-stage1-bfd
48726 all-stage2-gold: maybe-all-stage2-bfd
48727 all-stage3-gold: maybe-all-stage3-bfd
48728 all-stage4-gold: maybe-all-stage4-bfd
48729 all-stageprofile-gold: maybe-all-stageprofile-bfd
48730 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
48731 all-gold: maybe-all-build-bison
48733 all-stage1-gold: maybe-all-build-bison
48734 all-stage2-gold: maybe-all-build-bison
48735 all-stage3-gold: maybe-all-build-bison
48736 all-stage4-gold: maybe-all-build-bison
48737 all-stageprofile-gold: maybe-all-build-bison
48738 all-stagefeedback-gold: maybe-all-build-bison
48739 all-gold: maybe-all-gas
48741 all-stage1-gold: maybe-all-stage1-gas
48742 all-stage2-gold: maybe-all-stage2-gas
48743 all-stage3-gold: maybe-all-stage3-gas
48744 all-stage4-gold: maybe-all-stage4-gas
48745 all-stageprofile-gold: maybe-all-stageprofile-gas
48746 all-stagefeedback-gold: maybe-all-stagefeedback-gas
48747 check-gold: maybe-all-binutils
48749 check-stage1-gold: maybe-all-stage1-binutils
48750 check-stage2-gold: maybe-all-stage2-binutils
48751 check-stage3-gold: maybe-all-stage3-binutils
48752 check-stage4-gold: maybe-all-stage4-binutils
48753 check-stageprofile-gold: maybe-all-stageprofile-binutils
48754 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
48755 check-gold: maybe-all-gas
48757 check-stage1-gold: maybe-all-stage1-gas
48758 check-stage2-gold: maybe-all-stage2-gas
48759 check-stage3-gold: maybe-all-stage3-gas
48760 check-stage4-gold: maybe-all-stage4-gas
48761 check-stageprofile-gold: maybe-all-stageprofile-gas
48762 check-stagefeedback-gold: maybe-all-stagefeedback-gas
48763 configure-opcodes: maybe-configure-intl
48765 configure-stage1-opcodes: maybe-configure-stage1-intl
48766 configure-stage2-opcodes: maybe-configure-stage2-intl
48767 configure-stage3-opcodes: maybe-configure-stage3-intl
48768 configure-stage4-opcodes: maybe-configure-stage4-intl
48769 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
48770 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
48771 all-opcodes: maybe-all-bfd
48773 all-stage1-opcodes: maybe-all-stage1-bfd
48774 all-stage2-opcodes: maybe-all-stage2-bfd
48775 all-stage3-opcodes: maybe-all-stage3-bfd
48776 all-stage4-opcodes: maybe-all-stage4-bfd
48777 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
48778 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
48779 all-opcodes: maybe-all-libiberty
48781 all-stage1-opcodes: maybe-all-stage1-libiberty
48782 all-stage2-opcodes: maybe-all-stage2-libiberty
48783 all-stage3-opcodes: maybe-all-stage3-libiberty
48784 all-stage4-opcodes: maybe-all-stage4-libiberty
48785 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
48786 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
48787 all-opcodes: maybe-all-intl
48789 all-stage1-opcodes: maybe-all-stage1-intl
48790 all-stage2-opcodes: maybe-all-stage2-intl
48791 all-stage3-opcodes: maybe-all-stage3-intl
48792 all-stage4-opcodes: maybe-all-stage4-intl
48793 all-stageprofile-opcodes: maybe-all-stageprofile-intl
48794 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
48795 all-dejagnu: maybe-all-tcl
48796 all-dejagnu: maybe-all-expect
48797 all-dejagnu: maybe-all-tk
48798 configure-expect: maybe-configure-tcl
48799 configure-expect: maybe-configure-tk
48800 all-expect: maybe-all-tcl
48801 all-expect: maybe-all-tk
48802 configure-itcl: maybe-configure-tcl
48803 configure-itcl: maybe-configure-tk
48804 all-itcl: maybe-all-tcl
48805 all-itcl: maybe-all-tk
48806 install-itcl: maybe-install-tcl
48807 install-strip-itcl: maybe-install-strip-tcl
48808 configure-tk: maybe-configure-tcl
48809 all-tk: maybe-all-tcl
48810 all-sid: maybe-all-libiberty
48811 all-sid: maybe-all-bfd
48812 all-sid: maybe-all-opcodes
48813 all-sid: maybe-all-tcl
48814 all-sid: maybe-all-tk
48815 install-sid: maybe-install-tcl
48816 install-strip-sid: maybe-install-strip-tcl
48817 install-sid: maybe-install-tk
48818 install-strip-sid: maybe-install-strip-tk
48819 configure-sim: maybe-configure-intl
48820 all-sim: maybe-all-intl
48821 all-sim: maybe-all-libiberty
48822 all-sim: maybe-all-bfd
48823 all-sim: maybe-all-opcodes
48824 all-sim: maybe-all-readline
48825 all-sim: maybe-configure-gdb
48826 all-fastjar: maybe-all-zlib
48827 all-fastjar: maybe-all-build-texinfo
48828 all-fastjar: maybe-all-libiberty
48829 all-bison: maybe-all-intl
48830 all-bison: maybe-all-build-texinfo
48831 all-flex: maybe-all-build-bison
48832 all-flex: maybe-all-intl
48833 all-flex: maybe-all-m4
48834 all-flex: maybe-all-build-texinfo
48835 all-m4: maybe-all-intl
48836 all-m4: maybe-all-build-texinfo
48837 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
48838 configure-target-fastjar: maybe-configure-target-zlib
48839 all-target-fastjar: maybe-all-target-zlib
48840 configure-target-libgo: maybe-configure-target-libffi
48841 configure-target-libgo: maybe-all-target-libstdc++-v3
48842 all-target-libgo: maybe-all-target-libbacktrace
48843 all-target-libgo: maybe-all-target-libffi
48844 all-target-libgo: maybe-all-target-libatomic
48845 configure-target-libjava: maybe-configure-target-zlib
48846 configure-target-libjava: maybe-configure-target-boehm-gc
48847 configure-target-libjava: maybe-configure-target-libffi
48848 all-target-libjava: maybe-all-fastjar
48849 all-target-libjava: maybe-all-target-zlib
48850 all-target-libjava: maybe-all-target-boehm-gc
48851 all-target-libjava: maybe-all-target-libffi
48852 configure-target-libobjc: maybe-configure-target-boehm-gc
48853 all-target-libobjc: maybe-all-target-boehm-gc
48854 configure-target-libstdc++-v3: maybe-configure-target-libgomp
48856 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
48857 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
48858 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
48859 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
48860 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
48861 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
48862 configure-target-liboffloadmic: maybe-configure-target-libgomp
48863 configure-target-libsanitizer: maybe-all-target-libstdc++-v3
48865 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3
48866 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3
48867 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3
48868 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libstdc++-v3
48869 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libstdc++-v3
48870 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libstdc++-v3
48871 configure-target-libvtv: maybe-all-target-libstdc++-v3
48873 configure-stage1-target-libvtv: maybe-all-stage1-target-libstdc++-v3
48874 configure-stage2-target-libvtv: maybe-all-stage2-target-libstdc++-v3
48875 configure-stage3-target-libvtv: maybe-all-stage3-target-libstdc++-v3
48876 configure-stage4-target-libvtv: maybe-all-stage4-target-libstdc++-v3
48877 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libstdc++-v3
48878 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libstdc++-v3
48879 all-target-libstdc++-v3: maybe-configure-target-libgomp
48881 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
48882 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
48883 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
48884 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
48885 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
48886 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
48887 all-target-liboffloadmic: maybe-configure-target-libgomp
48888 install-target-libgo: maybe-install-target-libatomic
48889 install-target-libgfortran: maybe-install-target-libquadmath
48890 install-target-libgfortran: maybe-install-target-libgcc
48891 install-target-libsanitizer: maybe-install-target-libstdc++-v3
48892 install-target-libsanitizer: maybe-install-target-libgcc
48893 install-target-libvtv: maybe-install-target-libstdc++-v3
48894 install-target-libvtv: maybe-install-target-libgcc
48895 install-target-libcilkrts: maybe-install-target-libstdc++-v3
48896 install-target-libcilkrts: maybe-install-target-libgcc
48897 install-target-liboffloadmic: maybe-install-target-libstdc++-v3
48898 install-target-liboffloadmic: maybe-install-target-libgcc
48899 install-target-libjava: maybe-install-target-libgcc
48900 install-target-libitm: maybe-install-target-libgcc
48901 install-target-libobjc: maybe-install-target-libgcc
48902 install-target-libstdc++-v3: maybe-install-target-libgcc
48903 all-target-libgloss: maybe-all-target-newlib
48904 all-target-winsup: maybe-all-target-libtermcap
48905 configure-target-newlib: maybe-all-binutils
48906 configure-target-newlib: maybe-all-ld
48907 configure-target-libgfortran: maybe-all-target-libquadmath
48910 # Dependencies for target modules on other target modules are
48911 # described by lang_env_dependencies; the defaults apply to anything
48912 # not mentioned there.
48915 @if gcc-bootstrap
48916 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
48917 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
48918 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
48919 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
48920 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
48921 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
48922 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libgcc
48923 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libgcc
48924 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libgcc
48925 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libgcc
48926 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libgcc
48927 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libgcc
48928 configure-stage1-target-libvtv: maybe-all-stage1-target-libgcc
48929 configure-stage2-target-libvtv: maybe-all-stage2-target-libgcc
48930 configure-stage3-target-libvtv: maybe-all-stage3-target-libgcc
48931 configure-stage4-target-libvtv: maybe-all-stage4-target-libgcc
48932 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libgcc
48933 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libgcc
48934 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
48935 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
48936 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
48937 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
48938 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
48939 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
48940 @endif gcc-bootstrap
48942 @if gcc-no-bootstrap
48943 configure-target-libstdc++-v3: maybe-all-target-libgcc
48944 configure-target-libsanitizer: maybe-all-target-libgcc
48945 configure-target-libvtv: maybe-all-target-libgcc
48946 configure-target-libcilkrts: maybe-all-target-libgcc
48947 configure-target-liboffloadmic: maybe-all-target-libgcc
48948 configure-target-libssp: maybe-all-target-libgcc
48949 configure-target-newlib: maybe-all-target-libgcc
48950 configure-target-libbacktrace: maybe-all-target-libgcc
48951 configure-target-libquadmath: maybe-all-target-libgcc
48952 configure-target-libgfortran: maybe-all-target-libgcc
48953 configure-target-libobjc: maybe-all-target-libgcc
48954 configure-target-libgo: maybe-all-target-libgcc
48955 configure-target-libtermcap: maybe-all-target-libgcc
48956 configure-target-winsup: maybe-all-target-libgcc
48957 configure-target-libgloss: maybe-all-target-libgcc
48958 configure-target-libffi: maybe-all-target-libgcc
48959 configure-target-libjava: maybe-all-target-libgcc
48960 configure-target-zlib: maybe-all-target-libgcc
48961 configure-target-boehm-gc: maybe-all-target-libgcc
48962 configure-target-rda: maybe-all-target-libgcc
48963 configure-target-libada: maybe-all-target-libgcc
48964 configure-target-libgomp: maybe-all-target-libgcc
48965 configure-target-libitm: maybe-all-target-libgcc
48966 configure-target-libatomic: maybe-all-target-libgcc
48967 @endif gcc-no-bootstrap
48970 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
48972 configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
48974 configure-target-libvtv: maybe-all-target-newlib maybe-all-target-libgloss
48976 configure-target-libcilkrts: maybe-all-target-newlib maybe-all-target-libgloss
48977 configure-target-libcilkrts: maybe-all-target-libstdc++-v3
48979 configure-target-liboffloadmic: maybe-all-target-newlib maybe-all-target-libgloss
48980 configure-target-liboffloadmic: maybe-all-target-libstdc++-v3
48982 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
48986 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
48988 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
48990 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
48992 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
48994 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
48996 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
48998 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
49001 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
49003 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
49004 configure-target-libjava: maybe-all-target-libstdc++-v3
49006 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
49008 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
49010 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
49012 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
49014 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
49016 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
49017 configure-target-libitm: maybe-all-target-libstdc++-v3
49019 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
49022 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
49023 GDB_TK = @GDB_TK@
49024 INSTALL_GDB_TK = @INSTALL_GDB_TK@
49025 configure-gdb: $(CONFIGURE_GDB_TK)
49026 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
49027 install-gdb: $(INSTALL_GDB_TK)
49029 # Serialization dependencies. Host configures don't work well in parallel to
49030 # each other, due to contention over config.cache. Target configures and
49031 # build configures are similar.
49032 @serialization_dependencies@
49034 # --------------------------------
49035 # Regenerating top level configury
49036 # --------------------------------
49038 # Rebuilding Makefile.in, using autogen.
49039 AUTOGEN = autogen
49040 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
49041 cd $(srcdir) && $(AUTOGEN) Makefile.def
49043 # Rebuilding Makefile.
49044 Makefile: $(srcdir)/Makefile.in config.status
49045 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
49047 config.status: configure
49048 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
49050 # Rebuilding configure.
49051 AUTOCONF = autoconf
49052 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
49053 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
49054 cd $(srcdir) && $(AUTOCONF)
49056 # ------------------------------
49057 # Special directives to GNU Make
49058 # ------------------------------
49060 # Don't pass command-line variables to submakes.
49061 .NOEXPORT:
49062 MAKEOVERRIDES=
49064 # end of Makefile.in