* elf32-spu.c (build_stub): Fix malloc under-allocation.
[binutils.git] / Makefile.in
blob038f8012433afb7fcc737878a5f282bc1e73ad7a
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_PASSS.
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 PPLLIBS="$(HOST_PPLLIBS)"; export PPLLIBS; \
223 PPLINC="$(HOST_PPLINC)"; export PPLINC; \
224 CLOOGLIBS="$(HOST_CLOOGLIBS)"; export CLOOGLIBS; \
225 CLOOGINC="$(HOST_CLOOGINC)"; export CLOOGINC; \
226 LIBELFLIBS="$(HOST_LIBELFLIBS)" ; export LIBELFLIBS; \
227 LIBELFINC="$(HOST_LIBELFINC)" ; export LIBELFINC; \
228 @if gcc-bootstrap
229 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
230 @endif gcc-bootstrap
231 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
233 POSTSTAGE1_CXX_EXPORT = \
234 CXX='$(CXX)'; export CXX; \
235 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
236 @if target-libstdc++-v3-bootstrap
237 # Override the above if we're bootstrapping C++.
238 POSTSTAGE1_CXX_EXPORT = \
239 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/g++$(exeext) \
240 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
241 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
242 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
243 -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
244 -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
245 -I$$s/libstdc++-v3/libsupc++ \
246 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
247 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \
248 export CXX; \
249 CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
250 @endif target-libstdc++-v3-bootstrap
252 # Similar, for later GCC stages.
253 POSTSTAGE1_HOST_EXPORTS = \
254 $(HOST_EXPORTS) \
255 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
256 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
257 $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
258 CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
259 $(POSTSTAGE1_CXX_EXPORT) \
260 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
261 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
262 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
264 # Target libraries are put under this directory:
265 TARGET_SUBDIR = @target_subdir@
266 # This is set by the configure script to the arguments to use when configuring
267 # directories built for the target.
268 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
269 # This is the list of variables to export in the environment when
270 # configuring subdirectories for the target system.
271 BASE_TARGET_EXPORTS = \
272 $(BASE_EXPORTS) \
273 AR="$(AR_FOR_TARGET)"; export AR; \
274 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
275 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
276 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
277 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
278 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
279 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
280 GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \
281 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
282 GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
283 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
284 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
285 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
286 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
287 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
288 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
289 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
290 READELF="$(READELF_FOR_TARGET)"; export READELF; \
291 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
292 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
293 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
294 @if gcc-bootstrap
295 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
296 @endif gcc-bootstrap
297 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
298 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
300 RAW_CXX_TARGET_EXPORTS = \
301 $(BASE_TARGET_EXPORTS) \
302 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
303 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
305 NORMAL_TARGET_EXPORTS = \
306 $(BASE_TARGET_EXPORTS) \
307 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
309 # Where to find GMP
310 HOST_GMPLIBS = @gmplibs@
311 HOST_GMPINC = @gmpinc@
313 # Where to find PPL
314 HOST_PPLLIBS = @ppllibs@
315 HOST_PPLINC = @pplinc@
317 # Where to find CLOOG
318 HOST_CLOOGLIBS = @clooglibs@
319 HOST_CLOOGINC = @clooginc@
321 # Where to find libelf
322 HOST_LIBELFLIBS = @libelflibs@
323 HOST_LIBELFINC = @libelfinc@
325 EXTRA_CONFIGARGS_LIBJAVA = @EXTRA_CONFIGARGS_LIBJAVA@
327 # ----------------------------------------------
328 # Programs producing files for the BUILD machine
329 # ----------------------------------------------
331 SHELL = @SHELL@
333 # pwd command to use. Allow user to override default by setting PWDCMD in
334 # the environment to account for automounters. The make variable must not
335 # be called PWDCMD, otherwise the value set here is passed to make
336 # subprocesses and overrides the setting from the user's environment.
337 # Don't use PWD since it is a common shell environment variable and we
338 # don't want to corrupt it.
339 PWD_COMMAND = $${PWDCMD-pwd}
341 # compilers to use to create programs which must be run in the build
342 # environment.
343 AR_FOR_BUILD = @AR_FOR_BUILD@
344 AS_FOR_BUILD = @AS_FOR_BUILD@
345 CC_FOR_BUILD = @CC_FOR_BUILD@
346 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
347 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
348 CXX_FOR_BUILD = @CXX_FOR_BUILD@
349 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
350 GCJ_FOR_BUILD = @GCJ_FOR_BUILD@
351 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
352 GOC_FOR_BUILD = @GOC_FOR_BUILD@
353 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
354 LD_FOR_BUILD = @LD_FOR_BUILD@
355 NM_FOR_BUILD = @NM_FOR_BUILD@
356 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
357 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
358 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
360 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
361 # here so that they can be overridden by Makefile fragments.
362 BUILD_PREFIX = @BUILD_PREFIX@
363 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
365 # Flags to pass to stage2 and later makes. They are defined
366 # here so that they can be overridden by Makefile fragments.
367 BOOT_CFLAGS= -g -O2
368 BOOT_LDFLAGS=
369 BOOT_ADAFLAGS=-gnatpg -gnata
371 AWK = @AWK@
372 SED = @SED@
373 BISON = @BISON@
374 YACC = @YACC@
375 FLEX = @FLEX@
376 LEX = @LEX@
377 M4 = @M4@
378 MAKEINFO = @MAKEINFO@
379 EXPECT = @EXPECT@
380 RUNTEST = @RUNTEST@
382 # This just becomes part of the MAKEINFO definition passed down to
383 # sub-makes. It lets flags be given on the command line while still
384 # using the makeinfo from the object tree.
385 # (Default to avoid splitting info files by setting the threshold high.)
386 MAKEINFOFLAGS = --split-size=5000000
388 # ---------------------------------------------
389 # Programs producing files for the HOST machine
390 # ---------------------------------------------
392 AS = @AS@
393 AR = @AR@
394 AR_FLAGS = rc
395 CC = @CC@
396 CXX = @CXX@
397 DLLTOOL = @DLLTOOL@
398 LD = @LD@
399 LIPO = @LIPO@
400 NM = @NM@
401 OBJDUMP = @OBJDUMP@
402 RANLIB = @RANLIB@
403 READELF = @READELF@
404 STRIP = @STRIP@
405 WINDRES = @WINDRES@
406 WINDMC = @WINDMC@
408 GNATBIND = @GNATBIND@
409 GNATMAKE = @GNATMAKE@
411 CFLAGS = @CFLAGS@
412 LDFLAGS = @LDFLAGS@
413 LIBCFLAGS = $(CFLAGS)
414 CXXFLAGS = @CXXFLAGS@
415 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
416 GOCFLAGS = $(CFLAGS)
418 TFLAGS =
420 # Defaults for all stages; some are overridden below.
422 STAGE_CFLAGS = $(BOOT_CFLAGS)
423 STAGE_TFLAGS = $(TFLAGS)
424 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
425 POSTSTAGE1_CONFIGURE_FLAGS = @POSTSTAGE1_CONFIGURE_FLAGS@
428 # Defaults for stage 1; some are overridden below.
429 STAGE1_CFLAGS = $(STAGE_CFLAGS)
430 STAGE1_CXXFLAGS = $(CXXFLAGS)
431 @if target-libstdc++-v3-bootstrap
432 # Override the above if we're bootstrapping C++.
433 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
434 @endif target-libstdc++-v3-bootstrap
435 STAGE1_TFLAGS = $(STAGE_TFLAGS)
436 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
437 # POSTSTAGE1_CONFIGURE_FLAGS here.
438 STAGE1_CONFIGURE_FLAGS = \
439 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
441 # Defaults for stage 2; some are overridden below.
442 STAGE2_CFLAGS = $(STAGE_CFLAGS)
443 STAGE2_CXXFLAGS = $(CXXFLAGS)
444 @if target-libstdc++-v3-bootstrap
445 # Override the above if we're bootstrapping C++.
446 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
447 @endif target-libstdc++-v3-bootstrap
448 STAGE2_TFLAGS = $(STAGE_TFLAGS)
449 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
450 # POSTSTAGE1_CONFIGURE_FLAGS here.
451 STAGE2_CONFIGURE_FLAGS = \
452 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
454 # Defaults for stage 3; some are overridden below.
455 STAGE3_CFLAGS = $(STAGE_CFLAGS)
456 STAGE3_CXXFLAGS = $(CXXFLAGS)
457 @if target-libstdc++-v3-bootstrap
458 # Override the above if we're bootstrapping C++.
459 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
460 @endif target-libstdc++-v3-bootstrap
461 STAGE3_TFLAGS = $(STAGE_TFLAGS)
462 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
463 # POSTSTAGE1_CONFIGURE_FLAGS here.
464 STAGE3_CONFIGURE_FLAGS = \
465 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
467 # Defaults for stage 4; some are overridden below.
468 STAGE4_CFLAGS = $(STAGE_CFLAGS)
469 STAGE4_CXXFLAGS = $(CXXFLAGS)
470 @if target-libstdc++-v3-bootstrap
471 # Override the above if we're bootstrapping C++.
472 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
473 @endif target-libstdc++-v3-bootstrap
474 STAGE4_TFLAGS = $(STAGE_TFLAGS)
475 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
476 # POSTSTAGE1_CONFIGURE_FLAGS here.
477 STAGE4_CONFIGURE_FLAGS = \
478 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
480 # Defaults for stage profile; some are overridden below.
481 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
482 STAGEprofile_CXXFLAGS = $(CXXFLAGS)
483 @if target-libstdc++-v3-bootstrap
484 # Override the above if we're bootstrapping C++.
485 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
486 @endif target-libstdc++-v3-bootstrap
487 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
488 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
489 # POSTSTAGE1_CONFIGURE_FLAGS here.
490 STAGEprofile_CONFIGURE_FLAGS = \
491 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
493 # Defaults for stage feedback; some are overridden below.
494 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
495 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
496 @if target-libstdc++-v3-bootstrap
497 # Override the above if we're bootstrapping C++.
498 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
499 @endif target-libstdc++-v3-bootstrap
500 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
501 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
502 # POSTSTAGE1_CONFIGURE_FLAGS here.
503 STAGEfeedback_CONFIGURE_FLAGS = \
504 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
507 # Only build the C compiler for stage1, because that is the only one that
508 # we can guarantee will build with the native compiler, and also it is the
509 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
510 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
511 # overrideable (for a bootstrap build stage1 also builds gcc.info).
513 STAGE1_CFLAGS = @stage1_cflags@
514 STAGE1_CHECKING = @stage1_checking@
515 STAGE1_LANGUAGES = @stage1_languages@
516 # * We force-disable intermodule optimizations, even if
517 # --enable-intermodule was passed, since the installed compiler
518 # probably can't handle them. Luckily, autoconf always respects
519 # the last argument when conflicting --enable arguments are passed.
520 # * Likewise, we force-disable coverage flags, since the installed
521 # compiler probably has never heard of them.
522 # * Don't remove this, because above we added
523 # POSTSTAGE1_CONFIGURE_FLAGS to STAGE_CONFIGURE_FLAGS, which
524 # we don't want for STAGE1_CONFIGURE_FLAGS.
525 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
526 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
528 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
529 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
531 STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
532 STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
534 do-compare = @do_compare@
535 do-compare3 = $(do-compare)
537 # -----------------------------------------------
538 # Programs producing files for the TARGET machine
539 # -----------------------------------------------
541 AR_FOR_TARGET=@AR_FOR_TARGET@
542 AS_FOR_TARGET=@AS_FOR_TARGET@
543 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
545 # If GCC_FOR_TARGET is not overriden on the command line, then this
546 # variable is passed down to the gcc Makefile, where it is used to
547 # build libgcc2.a. We define it here so that it can itself be
548 # overridden on the command line.
549 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
550 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
551 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
552 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@
553 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
554 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
555 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
556 LD_FOR_TARGET=@LD_FOR_TARGET@
558 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
559 NM_FOR_TARGET=@NM_FOR_TARGET@
560 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
561 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
562 READELF_FOR_TARGET=@READELF_FOR_TARGET@
563 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
564 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
565 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
567 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
568 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
569 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
571 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
572 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
574 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
575 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
576 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
577 GOCFLAGS_FOR_TARGET = -O2 -g
579 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
580 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
581 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
583 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
585 # ------------------------------------
586 # Miscellaneous targets and flag lists
587 # ------------------------------------
589 # The first rule in the file had better be this one. Don't put any above it.
590 # This lives here to allow makefile fragments to contain dependencies.
591 all:
593 #### host and target specific makefile fragments come in here.
594 @target_makefile_frag@
595 @alphaieee_frag@
596 @ospace_frag@
597 @host_makefile_frag@
600 # This is the list of directories that may be needed in RPATH_ENVVAR
601 # so that programs built for the target machine work.
602 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc)
604 @if target-libstdc++-v3
605 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
606 @endif target-libstdc++-v3
608 @if target-libmudflap
609 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
610 @endif target-libmudflap
612 @if target-libssp
613 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
614 @endif target-libssp
616 @if target-libgomp
617 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
618 @endif target-libgomp
622 # This is the list of directories that may be needed in RPATH_ENVVAR
623 # so that programs built for the host machine work.
624 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)$(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_ppl)$(HOST_LIB_PATH_cloog)$(HOST_LIB_PATH_libelf)
626 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
627 @if gcc
628 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
629 @endif gcc
632 @if bfd
633 HOST_LIB_PATH_bfd = \
634 $$r/$(HOST_SUBDIR)/bfd/.libs:$$r/$(HOST_SUBDIR)/prev-bfd/.libs:
635 @endif bfd
637 @if opcodes
638 HOST_LIB_PATH_opcodes = \
639 $$r/$(HOST_SUBDIR)/opcodes/.libs:$$r/$(HOST_SUBDIR)/prev-opcodes/.libs:
640 @endif opcodes
642 @if gmp
643 HOST_LIB_PATH_gmp = \
644 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
645 @endif gmp
647 @if mpfr
648 HOST_LIB_PATH_mpfr = \
649 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
650 @endif mpfr
652 @if mpc
653 HOST_LIB_PATH_mpc = \
654 $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs:
655 @endif mpc
657 @if ppl
658 HOST_LIB_PATH_ppl = \
659 $$r/$(HOST_SUBDIR)/ppl/src/.libs:$$r/$(HOST_SUBDIR)/prev-ppl/src/.libs:
660 @endif ppl
662 @if cloog
663 HOST_LIB_PATH_cloog = \
664 $$r/$(HOST_SUBDIR)/cloog/.libs:$$r/$(HOST_SUBDIR)/prev-cloog/.libs:
665 @endif cloog
667 @if libelf
668 HOST_LIB_PATH_libelf = \
669 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
670 @endif libelf
673 CXX_FOR_TARGET_FLAG_TO_PASS = \
674 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
675 @if target-libstdc++-v3
676 # CXX_FOR_TARGET is tricky to get right for target libs that require a
677 # functional C++ compiler. When we recurse, if we expand
678 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
679 # libstdc++ include flags from the script. Instead, we get an
680 # -funconfigured-* word, so that we'll get errors if this invalid C++
681 # command line is used for anything, but also so that we can use the
682 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
683 # don't pass it on, sub-make will use the default definition, that
684 # re-expands it at the time of use, so we'll get it right when we need
685 # it. One potential exception is the expansion of CXX_FOR_TARGET
686 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
687 # really work, for C++ host programs can't depend on the current-stage
688 # C++ target library.
689 CXX_FOR_TARGET_FLAG_TO_PASS = \
690 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
691 @endif target-libstdc++-v3
693 # Flags to pass down to all sub-makes.
694 BASE_FLAGS_TO_PASS = \
695 "DESTDIR=$(DESTDIR)" \
696 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
697 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
698 "bindir=$(bindir)" \
699 "datadir=$(datadir)" \
700 "exec_prefix=$(exec_prefix)" \
701 "includedir=$(includedir)" \
702 "datarootdir=$(datarootdir)" \
703 "docdir=$(docdir)" \
704 "infodir=$(infodir)" \
705 "pdfdir=$(pdfdir)" \
706 "htmldir=$(htmldir)" \
707 "libdir=$(libdir)" \
708 "libexecdir=$(libexecdir)" \
709 "lispdir=$(lispdir)" \
710 "localstatedir=$(localstatedir)" \
711 "mandir=$(mandir)" \
712 "oldincludedir=$(oldincludedir)" \
713 "prefix=$(prefix)" \
714 "sbindir=$(sbindir)" \
715 "sharedstatedir=$(sharedstatedir)" \
716 "sysconfdir=$(sysconfdir)" \
717 "tooldir=$(tooldir)" \
718 "build_tooldir=$(build_tooldir)" \
719 "target_alias=$(target_alias)" \
720 "AWK=$(AWK)" \
721 "BISON=$(BISON)" \
722 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
723 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
724 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
725 "EXPECT=$(EXPECT)" \
726 "FLEX=$(FLEX)" \
727 "INSTALL=$(INSTALL)" \
728 "INSTALL_DATA=$(INSTALL_DATA)" \
729 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
730 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
731 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
732 "LEX=$(LEX)" \
733 "M4=$(M4)" \
734 "MAKE=$(MAKE)" \
735 "RUNTEST=$(RUNTEST)" \
736 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
737 "SED=$(SED)" \
738 "SHELL=$(SHELL)" \
739 "YACC=$(YACC)" \
740 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
741 "ADA_CFLAGS=$(ADA_CFLAGS)" \
742 "AR_FLAGS=$(AR_FLAGS)" \
743 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
744 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
745 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
746 "CFLAGS=$(CFLAGS)" \
747 "CXXFLAGS=$(CXXFLAGS)" \
748 "LDFLAGS=$(LDFLAGS)" \
749 "LIBCFLAGS=$(LIBCFLAGS)" \
750 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
751 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
752 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
753 "GNATBIND=$(GNATBIND)" \
754 "GNATMAKE=$(GNATMAKE)" \
755 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
756 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
757 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
758 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
759 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
760 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
761 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
762 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
763 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
764 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
765 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
766 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
767 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
768 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
769 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
770 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
771 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
772 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
773 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
774 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
775 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
776 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
777 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
778 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
779 "BUILD_CONFIG=$(BUILD_CONFIG)" \
780 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
781 "LEAN=$(LEAN)" \
782 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
783 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
784 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
785 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
786 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
787 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
788 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
789 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
790 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
791 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
792 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
793 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
794 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
795 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
796 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
797 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
798 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
799 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
800 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
801 "TFLAGS=$(TFLAGS)" \
802 "CONFIG_SHELL=$(SHELL)" \
803 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
805 # We leave this in just in case, but it is not needed anymore.
806 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
808 # Flags to pass down to most sub-makes, in which we're building with
809 # the host environment.
810 EXTRA_HOST_FLAGS = \
811 'AR=$(AR)' \
812 'AS=$(AS)' \
813 'CC=$(CC)' \
814 'CXX=$(CXX)' \
815 'DLLTOOL=$(DLLTOOL)' \
816 'GCJ=$(GCJ)' \
817 'GFORTRAN=$(GFORTRAN)' \
818 'GOC=$(GOC)' \
819 'LD=$(LD)' \
820 'LIPO=$(LIPO)' \
821 'NM=$(NM)' \
822 'OBJDUMP=$(OBJDUMP)' \
823 'RANLIB=$(RANLIB)' \
824 'READELF=$(READELF)' \
825 'STRIP=$(STRIP)' \
826 'WINDRES=$(WINDRES)' \
827 'WINDMC=$(WINDMC)'
829 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
831 # Flags to pass to stage2 and later makes.
833 POSTSTAGE1_FLAGS_TO_PASS = \
834 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
835 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
836 GNATBIND="$${GNATBIND}" \
837 LDFLAGS="$${LDFLAGS}" \
838 HOST_LIBS="$${HOST_LIBS}" \
839 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
841 # Flags to pass down to makes which are built with the target environment.
842 # The double $ decreases the length of the command line; those variables
843 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
844 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
845 # so we expand them here.
846 EXTRA_TARGET_FLAGS = \
847 'AR=$$(AR_FOR_TARGET)' \
848 'AS=$(COMPILER_AS_FOR_TARGET)' \
849 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
850 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
851 'CXX=$$(CXX_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
852 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
853 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
854 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
855 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
856 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
857 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
858 'LD=$(COMPILER_LD_FOR_TARGET)' \
859 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
860 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
861 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
862 'NM=$(COMPILER_NM_FOR_TARGET)' \
863 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
864 'RANLIB=$$(RANLIB_FOR_TARGET)' \
865 'READELF=$$(READELF_FOR_TARGET)' \
866 'WINDRES=$$(WINDRES_FOR_TARGET)' \
867 'WINDMC=$$(WINDMC_FOR_TARGET)' \
868 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
869 "TFLAGS=$$TFLAGS"
871 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
873 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
874 # unfortunately needs the native compiler and the target ar and
875 # ranlib.
876 # If any variables are added here, they must be added to do-*, below.
877 # The BUILD_* variables are a special case, which are used for the gcc
878 # cross-building scheme.
879 EXTRA_GCC_FLAGS = \
880 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
881 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
882 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
884 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
886 @if gcc
887 BUILD_CONFIG = @BUILD_CONFIG@
888 ifneq ($(BUILD_CONFIG),)
889 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
890 endif
891 @endif gcc
893 .PHONY: configure-host
894 configure-host: \
895 maybe-configure-bfd \
896 maybe-configure-opcodes \
897 maybe-configure-binutils \
898 maybe-configure-bison \
899 maybe-configure-cgen \
900 maybe-configure-dejagnu \
901 maybe-configure-etc \
902 maybe-configure-fastjar \
903 maybe-configure-fixincludes \
904 maybe-configure-flex \
905 maybe-configure-gas \
906 maybe-configure-gcc \
907 maybe-configure-gmp \
908 maybe-configure-mpfr \
909 maybe-configure-mpc \
910 maybe-configure-ppl \
911 maybe-configure-cloog \
912 maybe-configure-libelf \
913 maybe-configure-gold \
914 maybe-configure-gprof \
915 maybe-configure-intl \
916 maybe-configure-tcl \
917 maybe-configure-itcl \
918 maybe-configure-ld \
919 maybe-configure-libcpp \
920 maybe-configure-libdecnumber \
921 maybe-configure-libgui \
922 maybe-configure-libiberty \
923 maybe-configure-libiconv \
924 maybe-configure-m4 \
925 maybe-configure-readline \
926 maybe-configure-sid \
927 maybe-configure-sim \
928 maybe-configure-texinfo \
929 maybe-configure-zlib \
930 maybe-configure-gdb \
931 maybe-configure-expect \
932 maybe-configure-guile \
933 maybe-configure-tk \
934 maybe-configure-libtermcap \
935 maybe-configure-utils \
936 maybe-configure-gnattools \
937 maybe-configure-lto-plugin
938 .PHONY: configure-target
939 configure-target: \
940 maybe-configure-target-libstdc++-v3 \
941 maybe-configure-target-libmudflap \
942 maybe-configure-target-libssp \
943 maybe-configure-target-newlib \
944 maybe-configure-target-libgcc \
945 maybe-configure-target-libquadmath \
946 maybe-configure-target-libgfortran \
947 maybe-configure-target-libobjc \
948 maybe-configure-target-libgo \
949 maybe-configure-target-libtermcap \
950 maybe-configure-target-winsup \
951 maybe-configure-target-libgloss \
952 maybe-configure-target-libffi \
953 maybe-configure-target-libjava \
954 maybe-configure-target-zlib \
955 maybe-configure-target-boehm-gc \
956 maybe-configure-target-rda \
957 maybe-configure-target-libada \
958 maybe-configure-target-libgomp
960 # The target built for a native non-bootstrap build.
961 .PHONY: all
962 all:
963 @if gcc-bootstrap
964 [ -f stage_final ] || echo stage3 > stage_final
965 @r=`${PWD_COMMAND}`; export r; \
966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
967 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
968 @endif gcc-bootstrap
969 @: $(MAKE); $(unstage)
970 @r=`${PWD_COMMAND}`; export r; \
971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
972 @if gcc-bootstrap
973 if [ -f stage_last ]; then \
974 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
975 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
976 else \
977 @endif gcc-bootstrap
978 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
979 @if gcc-bootstrap
981 fi \
982 @endif gcc-bootstrap
983 && :
985 .PHONY: all-build
987 all-build: maybe-all-build-libiberty
988 all-build: maybe-all-build-bison
989 all-build: maybe-all-build-flex
990 all-build: maybe-all-build-m4
991 all-build: maybe-all-build-texinfo
992 all-build: maybe-all-build-fixincludes
994 .PHONY: all-host
996 @if bfd-no-bootstrap
997 all-host: maybe-all-bfd
998 @endif bfd-no-bootstrap
999 @if opcodes-no-bootstrap
1000 all-host: maybe-all-opcodes
1001 @endif opcodes-no-bootstrap
1002 @if binutils-no-bootstrap
1003 all-host: maybe-all-binutils
1004 @endif binutils-no-bootstrap
1005 all-host: maybe-all-bison
1006 all-host: maybe-all-cgen
1007 all-host: maybe-all-dejagnu
1008 all-host: maybe-all-etc
1009 all-host: maybe-all-fastjar
1010 all-host: maybe-all-fixincludes
1011 all-host: maybe-all-flex
1012 @if gas-no-bootstrap
1013 all-host: maybe-all-gas
1014 @endif gas-no-bootstrap
1015 @if gcc-no-bootstrap
1016 all-host: maybe-all-gcc
1017 @endif gcc-no-bootstrap
1018 @if gmp-no-bootstrap
1019 all-host: maybe-all-gmp
1020 @endif gmp-no-bootstrap
1021 @if mpfr-no-bootstrap
1022 all-host: maybe-all-mpfr
1023 @endif mpfr-no-bootstrap
1024 @if mpc-no-bootstrap
1025 all-host: maybe-all-mpc
1026 @endif mpc-no-bootstrap
1027 @if ppl-no-bootstrap
1028 all-host: maybe-all-ppl
1029 @endif ppl-no-bootstrap
1030 @if cloog-no-bootstrap
1031 all-host: maybe-all-cloog
1032 @endif cloog-no-bootstrap
1033 @if libelf-no-bootstrap
1034 all-host: maybe-all-libelf
1035 @endif libelf-no-bootstrap
1036 @if gold-no-bootstrap
1037 all-host: maybe-all-gold
1038 @endif gold-no-bootstrap
1039 all-host: maybe-all-gprof
1040 @if intl-no-bootstrap
1041 all-host: maybe-all-intl
1042 @endif intl-no-bootstrap
1043 all-host: maybe-all-tcl
1044 all-host: maybe-all-itcl
1045 @if ld-no-bootstrap
1046 all-host: maybe-all-ld
1047 @endif ld-no-bootstrap
1048 @if libcpp-no-bootstrap
1049 all-host: maybe-all-libcpp
1050 @endif libcpp-no-bootstrap
1051 @if libdecnumber-no-bootstrap
1052 all-host: maybe-all-libdecnumber
1053 @endif libdecnumber-no-bootstrap
1054 all-host: maybe-all-libgui
1055 @if libiberty-no-bootstrap
1056 all-host: maybe-all-libiberty
1057 @endif libiberty-no-bootstrap
1058 all-host: maybe-all-libiconv
1059 all-host: maybe-all-m4
1060 all-host: maybe-all-readline
1061 all-host: maybe-all-sid
1062 all-host: maybe-all-sim
1063 all-host: maybe-all-texinfo
1064 @if zlib-no-bootstrap
1065 all-host: maybe-all-zlib
1066 @endif zlib-no-bootstrap
1067 all-host: maybe-all-gdb
1068 all-host: maybe-all-expect
1069 all-host: maybe-all-guile
1070 all-host: maybe-all-tk
1071 all-host: maybe-all-libtermcap
1072 all-host: maybe-all-utils
1073 all-host: maybe-all-gnattools
1074 @if lto-plugin-no-bootstrap
1075 all-host: maybe-all-lto-plugin
1076 @endif lto-plugin-no-bootstrap
1078 .PHONY: all-target
1080 @if target-libstdc++-v3-no-bootstrap
1081 all-target: maybe-all-target-libstdc++-v3
1082 @endif target-libstdc++-v3-no-bootstrap
1083 all-target: maybe-all-target-libmudflap
1084 all-target: maybe-all-target-libssp
1085 all-target: maybe-all-target-newlib
1086 @if target-libgcc-no-bootstrap
1087 all-target: maybe-all-target-libgcc
1088 @endif target-libgcc-no-bootstrap
1089 all-target: maybe-all-target-libquadmath
1090 all-target: maybe-all-target-libgfortran
1091 all-target: maybe-all-target-libobjc
1092 all-target: maybe-all-target-libgo
1093 all-target: maybe-all-target-libtermcap
1094 all-target: maybe-all-target-winsup
1095 all-target: maybe-all-target-libgloss
1096 all-target: maybe-all-target-libffi
1097 all-target: maybe-all-target-libjava
1098 all-target: maybe-all-target-zlib
1099 all-target: maybe-all-target-boehm-gc
1100 all-target: maybe-all-target-rda
1101 all-target: maybe-all-target-libada
1102 @if target-libgomp-no-bootstrap
1103 all-target: maybe-all-target-libgomp
1104 @endif target-libgomp-no-bootstrap
1106 # Do a target for all the subdirectories. A ``make do-X'' will do a
1107 # ``make X'' in all subdirectories (because, in general, there is a
1108 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1109 # but it may do additional work as well).
1111 .PHONY: do-info
1112 do-info:
1113 @: $(MAKE); $(unstage)
1114 @r=`${PWD_COMMAND}`; export r; \
1115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1116 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1117 info-target
1120 .PHONY: info-host
1122 info-host: maybe-info-bfd
1123 info-host: maybe-info-opcodes
1124 info-host: maybe-info-binutils
1125 info-host: maybe-info-bison
1126 info-host: maybe-info-cgen
1127 info-host: maybe-info-dejagnu
1128 info-host: maybe-info-etc
1129 info-host: maybe-info-fastjar
1130 info-host: maybe-info-fixincludes
1131 info-host: maybe-info-flex
1132 info-host: maybe-info-gas
1133 info-host: maybe-info-gcc
1134 info-host: maybe-info-gmp
1135 info-host: maybe-info-mpfr
1136 info-host: maybe-info-mpc
1137 info-host: maybe-info-ppl
1138 info-host: maybe-info-cloog
1139 info-host: maybe-info-libelf
1140 info-host: maybe-info-gold
1141 info-host: maybe-info-gprof
1142 info-host: maybe-info-intl
1143 info-host: maybe-info-tcl
1144 info-host: maybe-info-itcl
1145 info-host: maybe-info-ld
1146 info-host: maybe-info-libcpp
1147 info-host: maybe-info-libdecnumber
1148 info-host: maybe-info-libgui
1149 info-host: maybe-info-libiberty
1150 info-host: maybe-info-libiconv
1151 info-host: maybe-info-m4
1152 info-host: maybe-info-readline
1153 info-host: maybe-info-sid
1154 info-host: maybe-info-sim
1155 info-host: maybe-info-texinfo
1156 info-host: maybe-info-zlib
1157 info-host: maybe-info-gdb
1158 info-host: maybe-info-expect
1159 info-host: maybe-info-guile
1160 info-host: maybe-info-tk
1161 info-host: maybe-info-libtermcap
1162 info-host: maybe-info-utils
1163 info-host: maybe-info-gnattools
1164 info-host: maybe-info-lto-plugin
1166 .PHONY: info-target
1168 info-target: maybe-info-target-libstdc++-v3
1169 info-target: maybe-info-target-libmudflap
1170 info-target: maybe-info-target-libssp
1171 info-target: maybe-info-target-newlib
1172 info-target: maybe-info-target-libgcc
1173 info-target: maybe-info-target-libquadmath
1174 info-target: maybe-info-target-libgfortran
1175 info-target: maybe-info-target-libobjc
1176 info-target: maybe-info-target-libgo
1177 info-target: maybe-info-target-libtermcap
1178 info-target: maybe-info-target-winsup
1179 info-target: maybe-info-target-libgloss
1180 info-target: maybe-info-target-libffi
1181 info-target: maybe-info-target-libjava
1182 info-target: maybe-info-target-zlib
1183 info-target: maybe-info-target-boehm-gc
1184 info-target: maybe-info-target-rda
1185 info-target: maybe-info-target-libada
1186 info-target: maybe-info-target-libgomp
1188 .PHONY: do-dvi
1189 do-dvi:
1190 @: $(MAKE); $(unstage)
1191 @r=`${PWD_COMMAND}`; export r; \
1192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1193 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1194 dvi-target
1197 .PHONY: dvi-host
1199 dvi-host: maybe-dvi-bfd
1200 dvi-host: maybe-dvi-opcodes
1201 dvi-host: maybe-dvi-binutils
1202 dvi-host: maybe-dvi-bison
1203 dvi-host: maybe-dvi-cgen
1204 dvi-host: maybe-dvi-dejagnu
1205 dvi-host: maybe-dvi-etc
1206 dvi-host: maybe-dvi-fastjar
1207 dvi-host: maybe-dvi-fixincludes
1208 dvi-host: maybe-dvi-flex
1209 dvi-host: maybe-dvi-gas
1210 dvi-host: maybe-dvi-gcc
1211 dvi-host: maybe-dvi-gmp
1212 dvi-host: maybe-dvi-mpfr
1213 dvi-host: maybe-dvi-mpc
1214 dvi-host: maybe-dvi-ppl
1215 dvi-host: maybe-dvi-cloog
1216 dvi-host: maybe-dvi-libelf
1217 dvi-host: maybe-dvi-gold
1218 dvi-host: maybe-dvi-gprof
1219 dvi-host: maybe-dvi-intl
1220 dvi-host: maybe-dvi-tcl
1221 dvi-host: maybe-dvi-itcl
1222 dvi-host: maybe-dvi-ld
1223 dvi-host: maybe-dvi-libcpp
1224 dvi-host: maybe-dvi-libdecnumber
1225 dvi-host: maybe-dvi-libgui
1226 dvi-host: maybe-dvi-libiberty
1227 dvi-host: maybe-dvi-libiconv
1228 dvi-host: maybe-dvi-m4
1229 dvi-host: maybe-dvi-readline
1230 dvi-host: maybe-dvi-sid
1231 dvi-host: maybe-dvi-sim
1232 dvi-host: maybe-dvi-texinfo
1233 dvi-host: maybe-dvi-zlib
1234 dvi-host: maybe-dvi-gdb
1235 dvi-host: maybe-dvi-expect
1236 dvi-host: maybe-dvi-guile
1237 dvi-host: maybe-dvi-tk
1238 dvi-host: maybe-dvi-libtermcap
1239 dvi-host: maybe-dvi-utils
1240 dvi-host: maybe-dvi-gnattools
1241 dvi-host: maybe-dvi-lto-plugin
1243 .PHONY: dvi-target
1245 dvi-target: maybe-dvi-target-libstdc++-v3
1246 dvi-target: maybe-dvi-target-libmudflap
1247 dvi-target: maybe-dvi-target-libssp
1248 dvi-target: maybe-dvi-target-newlib
1249 dvi-target: maybe-dvi-target-libgcc
1250 dvi-target: maybe-dvi-target-libquadmath
1251 dvi-target: maybe-dvi-target-libgfortran
1252 dvi-target: maybe-dvi-target-libobjc
1253 dvi-target: maybe-dvi-target-libgo
1254 dvi-target: maybe-dvi-target-libtermcap
1255 dvi-target: maybe-dvi-target-winsup
1256 dvi-target: maybe-dvi-target-libgloss
1257 dvi-target: maybe-dvi-target-libffi
1258 dvi-target: maybe-dvi-target-libjava
1259 dvi-target: maybe-dvi-target-zlib
1260 dvi-target: maybe-dvi-target-boehm-gc
1261 dvi-target: maybe-dvi-target-rda
1262 dvi-target: maybe-dvi-target-libada
1263 dvi-target: maybe-dvi-target-libgomp
1265 .PHONY: do-pdf
1266 do-pdf:
1267 @: $(MAKE); $(unstage)
1268 @r=`${PWD_COMMAND}`; export r; \
1269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1270 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1271 pdf-target
1274 .PHONY: pdf-host
1276 pdf-host: maybe-pdf-bfd
1277 pdf-host: maybe-pdf-opcodes
1278 pdf-host: maybe-pdf-binutils
1279 pdf-host: maybe-pdf-bison
1280 pdf-host: maybe-pdf-cgen
1281 pdf-host: maybe-pdf-dejagnu
1282 pdf-host: maybe-pdf-etc
1283 pdf-host: maybe-pdf-fastjar
1284 pdf-host: maybe-pdf-fixincludes
1285 pdf-host: maybe-pdf-flex
1286 pdf-host: maybe-pdf-gas
1287 pdf-host: maybe-pdf-gcc
1288 pdf-host: maybe-pdf-gmp
1289 pdf-host: maybe-pdf-mpfr
1290 pdf-host: maybe-pdf-mpc
1291 pdf-host: maybe-pdf-ppl
1292 pdf-host: maybe-pdf-cloog
1293 pdf-host: maybe-pdf-libelf
1294 pdf-host: maybe-pdf-gold
1295 pdf-host: maybe-pdf-gprof
1296 pdf-host: maybe-pdf-intl
1297 pdf-host: maybe-pdf-tcl
1298 pdf-host: maybe-pdf-itcl
1299 pdf-host: maybe-pdf-ld
1300 pdf-host: maybe-pdf-libcpp
1301 pdf-host: maybe-pdf-libdecnumber
1302 pdf-host: maybe-pdf-libgui
1303 pdf-host: maybe-pdf-libiberty
1304 pdf-host: maybe-pdf-libiconv
1305 pdf-host: maybe-pdf-m4
1306 pdf-host: maybe-pdf-readline
1307 pdf-host: maybe-pdf-sid
1308 pdf-host: maybe-pdf-sim
1309 pdf-host: maybe-pdf-texinfo
1310 pdf-host: maybe-pdf-zlib
1311 pdf-host: maybe-pdf-gdb
1312 pdf-host: maybe-pdf-expect
1313 pdf-host: maybe-pdf-guile
1314 pdf-host: maybe-pdf-tk
1315 pdf-host: maybe-pdf-libtermcap
1316 pdf-host: maybe-pdf-utils
1317 pdf-host: maybe-pdf-gnattools
1318 pdf-host: maybe-pdf-lto-plugin
1320 .PHONY: pdf-target
1322 pdf-target: maybe-pdf-target-libstdc++-v3
1323 pdf-target: maybe-pdf-target-libmudflap
1324 pdf-target: maybe-pdf-target-libssp
1325 pdf-target: maybe-pdf-target-newlib
1326 pdf-target: maybe-pdf-target-libgcc
1327 pdf-target: maybe-pdf-target-libquadmath
1328 pdf-target: maybe-pdf-target-libgfortran
1329 pdf-target: maybe-pdf-target-libobjc
1330 pdf-target: maybe-pdf-target-libgo
1331 pdf-target: maybe-pdf-target-libtermcap
1332 pdf-target: maybe-pdf-target-winsup
1333 pdf-target: maybe-pdf-target-libgloss
1334 pdf-target: maybe-pdf-target-libffi
1335 pdf-target: maybe-pdf-target-libjava
1336 pdf-target: maybe-pdf-target-zlib
1337 pdf-target: maybe-pdf-target-boehm-gc
1338 pdf-target: maybe-pdf-target-rda
1339 pdf-target: maybe-pdf-target-libada
1340 pdf-target: maybe-pdf-target-libgomp
1342 .PHONY: do-html
1343 do-html:
1344 @: $(MAKE); $(unstage)
1345 @r=`${PWD_COMMAND}`; export r; \
1346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1347 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1348 html-target
1351 .PHONY: html-host
1353 html-host: maybe-html-bfd
1354 html-host: maybe-html-opcodes
1355 html-host: maybe-html-binutils
1356 html-host: maybe-html-bison
1357 html-host: maybe-html-cgen
1358 html-host: maybe-html-dejagnu
1359 html-host: maybe-html-etc
1360 html-host: maybe-html-fastjar
1361 html-host: maybe-html-fixincludes
1362 html-host: maybe-html-flex
1363 html-host: maybe-html-gas
1364 html-host: maybe-html-gcc
1365 html-host: maybe-html-gmp
1366 html-host: maybe-html-mpfr
1367 html-host: maybe-html-mpc
1368 html-host: maybe-html-ppl
1369 html-host: maybe-html-cloog
1370 html-host: maybe-html-libelf
1371 html-host: maybe-html-gold
1372 html-host: maybe-html-gprof
1373 html-host: maybe-html-intl
1374 html-host: maybe-html-tcl
1375 html-host: maybe-html-itcl
1376 html-host: maybe-html-ld
1377 html-host: maybe-html-libcpp
1378 html-host: maybe-html-libdecnumber
1379 html-host: maybe-html-libgui
1380 html-host: maybe-html-libiberty
1381 html-host: maybe-html-libiconv
1382 html-host: maybe-html-m4
1383 html-host: maybe-html-readline
1384 html-host: maybe-html-sid
1385 html-host: maybe-html-sim
1386 html-host: maybe-html-texinfo
1387 html-host: maybe-html-zlib
1388 html-host: maybe-html-gdb
1389 html-host: maybe-html-expect
1390 html-host: maybe-html-guile
1391 html-host: maybe-html-tk
1392 html-host: maybe-html-libtermcap
1393 html-host: maybe-html-utils
1394 html-host: maybe-html-gnattools
1395 html-host: maybe-html-lto-plugin
1397 .PHONY: html-target
1399 html-target: maybe-html-target-libstdc++-v3
1400 html-target: maybe-html-target-libmudflap
1401 html-target: maybe-html-target-libssp
1402 html-target: maybe-html-target-newlib
1403 html-target: maybe-html-target-libgcc
1404 html-target: maybe-html-target-libquadmath
1405 html-target: maybe-html-target-libgfortran
1406 html-target: maybe-html-target-libobjc
1407 html-target: maybe-html-target-libgo
1408 html-target: maybe-html-target-libtermcap
1409 html-target: maybe-html-target-winsup
1410 html-target: maybe-html-target-libgloss
1411 html-target: maybe-html-target-libffi
1412 html-target: maybe-html-target-libjava
1413 html-target: maybe-html-target-zlib
1414 html-target: maybe-html-target-boehm-gc
1415 html-target: maybe-html-target-rda
1416 html-target: maybe-html-target-libada
1417 html-target: maybe-html-target-libgomp
1419 .PHONY: do-TAGS
1420 do-TAGS:
1421 @: $(MAKE); $(unstage)
1422 @r=`${PWD_COMMAND}`; export r; \
1423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1424 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1425 TAGS-target
1428 .PHONY: TAGS-host
1430 TAGS-host: maybe-TAGS-bfd
1431 TAGS-host: maybe-TAGS-opcodes
1432 TAGS-host: maybe-TAGS-binutils
1433 TAGS-host: maybe-TAGS-bison
1434 TAGS-host: maybe-TAGS-cgen
1435 TAGS-host: maybe-TAGS-dejagnu
1436 TAGS-host: maybe-TAGS-etc
1437 TAGS-host: maybe-TAGS-fastjar
1438 TAGS-host: maybe-TAGS-fixincludes
1439 TAGS-host: maybe-TAGS-flex
1440 TAGS-host: maybe-TAGS-gas
1441 TAGS-host: maybe-TAGS-gcc
1442 TAGS-host: maybe-TAGS-gmp
1443 TAGS-host: maybe-TAGS-mpfr
1444 TAGS-host: maybe-TAGS-mpc
1445 TAGS-host: maybe-TAGS-ppl
1446 TAGS-host: maybe-TAGS-cloog
1447 TAGS-host: maybe-TAGS-libelf
1448 TAGS-host: maybe-TAGS-gold
1449 TAGS-host: maybe-TAGS-gprof
1450 TAGS-host: maybe-TAGS-intl
1451 TAGS-host: maybe-TAGS-tcl
1452 TAGS-host: maybe-TAGS-itcl
1453 TAGS-host: maybe-TAGS-ld
1454 TAGS-host: maybe-TAGS-libcpp
1455 TAGS-host: maybe-TAGS-libdecnumber
1456 TAGS-host: maybe-TAGS-libgui
1457 TAGS-host: maybe-TAGS-libiberty
1458 TAGS-host: maybe-TAGS-libiconv
1459 TAGS-host: maybe-TAGS-m4
1460 TAGS-host: maybe-TAGS-readline
1461 TAGS-host: maybe-TAGS-sid
1462 TAGS-host: maybe-TAGS-sim
1463 TAGS-host: maybe-TAGS-texinfo
1464 TAGS-host: maybe-TAGS-zlib
1465 TAGS-host: maybe-TAGS-gdb
1466 TAGS-host: maybe-TAGS-expect
1467 TAGS-host: maybe-TAGS-guile
1468 TAGS-host: maybe-TAGS-tk
1469 TAGS-host: maybe-TAGS-libtermcap
1470 TAGS-host: maybe-TAGS-utils
1471 TAGS-host: maybe-TAGS-gnattools
1472 TAGS-host: maybe-TAGS-lto-plugin
1474 .PHONY: TAGS-target
1476 TAGS-target: maybe-TAGS-target-libstdc++-v3
1477 TAGS-target: maybe-TAGS-target-libmudflap
1478 TAGS-target: maybe-TAGS-target-libssp
1479 TAGS-target: maybe-TAGS-target-newlib
1480 TAGS-target: maybe-TAGS-target-libgcc
1481 TAGS-target: maybe-TAGS-target-libquadmath
1482 TAGS-target: maybe-TAGS-target-libgfortran
1483 TAGS-target: maybe-TAGS-target-libobjc
1484 TAGS-target: maybe-TAGS-target-libgo
1485 TAGS-target: maybe-TAGS-target-libtermcap
1486 TAGS-target: maybe-TAGS-target-winsup
1487 TAGS-target: maybe-TAGS-target-libgloss
1488 TAGS-target: maybe-TAGS-target-libffi
1489 TAGS-target: maybe-TAGS-target-libjava
1490 TAGS-target: maybe-TAGS-target-zlib
1491 TAGS-target: maybe-TAGS-target-boehm-gc
1492 TAGS-target: maybe-TAGS-target-rda
1493 TAGS-target: maybe-TAGS-target-libada
1494 TAGS-target: maybe-TAGS-target-libgomp
1496 .PHONY: do-install-info
1497 do-install-info:
1498 @: $(MAKE); $(unstage)
1499 @r=`${PWD_COMMAND}`; export r; \
1500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1501 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1502 install-info-target
1505 .PHONY: install-info-host
1507 install-info-host: maybe-install-info-bfd
1508 install-info-host: maybe-install-info-opcodes
1509 install-info-host: maybe-install-info-binutils
1510 install-info-host: maybe-install-info-bison
1511 install-info-host: maybe-install-info-cgen
1512 install-info-host: maybe-install-info-dejagnu
1513 install-info-host: maybe-install-info-etc
1514 install-info-host: maybe-install-info-fastjar
1515 install-info-host: maybe-install-info-fixincludes
1516 install-info-host: maybe-install-info-flex
1517 install-info-host: maybe-install-info-gas
1518 install-info-host: maybe-install-info-gcc
1519 install-info-host: maybe-install-info-gmp
1520 install-info-host: maybe-install-info-mpfr
1521 install-info-host: maybe-install-info-mpc
1522 install-info-host: maybe-install-info-ppl
1523 install-info-host: maybe-install-info-cloog
1524 install-info-host: maybe-install-info-libelf
1525 install-info-host: maybe-install-info-gold
1526 install-info-host: maybe-install-info-gprof
1527 install-info-host: maybe-install-info-intl
1528 install-info-host: maybe-install-info-tcl
1529 install-info-host: maybe-install-info-itcl
1530 install-info-host: maybe-install-info-ld
1531 install-info-host: maybe-install-info-libcpp
1532 install-info-host: maybe-install-info-libdecnumber
1533 install-info-host: maybe-install-info-libgui
1534 install-info-host: maybe-install-info-libiberty
1535 install-info-host: maybe-install-info-libiconv
1536 install-info-host: maybe-install-info-m4
1537 install-info-host: maybe-install-info-readline
1538 install-info-host: maybe-install-info-sid
1539 install-info-host: maybe-install-info-sim
1540 install-info-host: maybe-install-info-texinfo
1541 install-info-host: maybe-install-info-zlib
1542 install-info-host: maybe-install-info-gdb
1543 install-info-host: maybe-install-info-expect
1544 install-info-host: maybe-install-info-guile
1545 install-info-host: maybe-install-info-tk
1546 install-info-host: maybe-install-info-libtermcap
1547 install-info-host: maybe-install-info-utils
1548 install-info-host: maybe-install-info-gnattools
1549 install-info-host: maybe-install-info-lto-plugin
1551 .PHONY: install-info-target
1553 install-info-target: maybe-install-info-target-libstdc++-v3
1554 install-info-target: maybe-install-info-target-libmudflap
1555 install-info-target: maybe-install-info-target-libssp
1556 install-info-target: maybe-install-info-target-newlib
1557 install-info-target: maybe-install-info-target-libgcc
1558 install-info-target: maybe-install-info-target-libquadmath
1559 install-info-target: maybe-install-info-target-libgfortran
1560 install-info-target: maybe-install-info-target-libobjc
1561 install-info-target: maybe-install-info-target-libgo
1562 install-info-target: maybe-install-info-target-libtermcap
1563 install-info-target: maybe-install-info-target-winsup
1564 install-info-target: maybe-install-info-target-libgloss
1565 install-info-target: maybe-install-info-target-libffi
1566 install-info-target: maybe-install-info-target-libjava
1567 install-info-target: maybe-install-info-target-zlib
1568 install-info-target: maybe-install-info-target-boehm-gc
1569 install-info-target: maybe-install-info-target-rda
1570 install-info-target: maybe-install-info-target-libada
1571 install-info-target: maybe-install-info-target-libgomp
1573 .PHONY: do-install-pdf
1574 do-install-pdf:
1575 @: $(MAKE); $(unstage)
1576 @r=`${PWD_COMMAND}`; export r; \
1577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1578 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1579 install-pdf-target
1582 .PHONY: install-pdf-host
1584 install-pdf-host: maybe-install-pdf-bfd
1585 install-pdf-host: maybe-install-pdf-opcodes
1586 install-pdf-host: maybe-install-pdf-binutils
1587 install-pdf-host: maybe-install-pdf-bison
1588 install-pdf-host: maybe-install-pdf-cgen
1589 install-pdf-host: maybe-install-pdf-dejagnu
1590 install-pdf-host: maybe-install-pdf-etc
1591 install-pdf-host: maybe-install-pdf-fastjar
1592 install-pdf-host: maybe-install-pdf-fixincludes
1593 install-pdf-host: maybe-install-pdf-flex
1594 install-pdf-host: maybe-install-pdf-gas
1595 install-pdf-host: maybe-install-pdf-gcc
1596 install-pdf-host: maybe-install-pdf-gmp
1597 install-pdf-host: maybe-install-pdf-mpfr
1598 install-pdf-host: maybe-install-pdf-mpc
1599 install-pdf-host: maybe-install-pdf-ppl
1600 install-pdf-host: maybe-install-pdf-cloog
1601 install-pdf-host: maybe-install-pdf-libelf
1602 install-pdf-host: maybe-install-pdf-gold
1603 install-pdf-host: maybe-install-pdf-gprof
1604 install-pdf-host: maybe-install-pdf-intl
1605 install-pdf-host: maybe-install-pdf-tcl
1606 install-pdf-host: maybe-install-pdf-itcl
1607 install-pdf-host: maybe-install-pdf-ld
1608 install-pdf-host: maybe-install-pdf-libcpp
1609 install-pdf-host: maybe-install-pdf-libdecnumber
1610 install-pdf-host: maybe-install-pdf-libgui
1611 install-pdf-host: maybe-install-pdf-libiberty
1612 install-pdf-host: maybe-install-pdf-libiconv
1613 install-pdf-host: maybe-install-pdf-m4
1614 install-pdf-host: maybe-install-pdf-readline
1615 install-pdf-host: maybe-install-pdf-sid
1616 install-pdf-host: maybe-install-pdf-sim
1617 install-pdf-host: maybe-install-pdf-texinfo
1618 install-pdf-host: maybe-install-pdf-zlib
1619 install-pdf-host: maybe-install-pdf-gdb
1620 install-pdf-host: maybe-install-pdf-expect
1621 install-pdf-host: maybe-install-pdf-guile
1622 install-pdf-host: maybe-install-pdf-tk
1623 install-pdf-host: maybe-install-pdf-libtermcap
1624 install-pdf-host: maybe-install-pdf-utils
1625 install-pdf-host: maybe-install-pdf-gnattools
1626 install-pdf-host: maybe-install-pdf-lto-plugin
1628 .PHONY: install-pdf-target
1630 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1631 install-pdf-target: maybe-install-pdf-target-libmudflap
1632 install-pdf-target: maybe-install-pdf-target-libssp
1633 install-pdf-target: maybe-install-pdf-target-newlib
1634 install-pdf-target: maybe-install-pdf-target-libgcc
1635 install-pdf-target: maybe-install-pdf-target-libquadmath
1636 install-pdf-target: maybe-install-pdf-target-libgfortran
1637 install-pdf-target: maybe-install-pdf-target-libobjc
1638 install-pdf-target: maybe-install-pdf-target-libgo
1639 install-pdf-target: maybe-install-pdf-target-libtermcap
1640 install-pdf-target: maybe-install-pdf-target-winsup
1641 install-pdf-target: maybe-install-pdf-target-libgloss
1642 install-pdf-target: maybe-install-pdf-target-libffi
1643 install-pdf-target: maybe-install-pdf-target-libjava
1644 install-pdf-target: maybe-install-pdf-target-zlib
1645 install-pdf-target: maybe-install-pdf-target-boehm-gc
1646 install-pdf-target: maybe-install-pdf-target-rda
1647 install-pdf-target: maybe-install-pdf-target-libada
1648 install-pdf-target: maybe-install-pdf-target-libgomp
1650 .PHONY: do-install-html
1651 do-install-html:
1652 @: $(MAKE); $(unstage)
1653 @r=`${PWD_COMMAND}`; export r; \
1654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1655 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1656 install-html-target
1659 .PHONY: install-html-host
1661 install-html-host: maybe-install-html-bfd
1662 install-html-host: maybe-install-html-opcodes
1663 install-html-host: maybe-install-html-binutils
1664 install-html-host: maybe-install-html-bison
1665 install-html-host: maybe-install-html-cgen
1666 install-html-host: maybe-install-html-dejagnu
1667 install-html-host: maybe-install-html-etc
1668 install-html-host: maybe-install-html-fastjar
1669 install-html-host: maybe-install-html-fixincludes
1670 install-html-host: maybe-install-html-flex
1671 install-html-host: maybe-install-html-gas
1672 install-html-host: maybe-install-html-gcc
1673 install-html-host: maybe-install-html-gmp
1674 install-html-host: maybe-install-html-mpfr
1675 install-html-host: maybe-install-html-mpc
1676 install-html-host: maybe-install-html-ppl
1677 install-html-host: maybe-install-html-cloog
1678 install-html-host: maybe-install-html-libelf
1679 install-html-host: maybe-install-html-gold
1680 install-html-host: maybe-install-html-gprof
1681 install-html-host: maybe-install-html-intl
1682 install-html-host: maybe-install-html-tcl
1683 install-html-host: maybe-install-html-itcl
1684 install-html-host: maybe-install-html-ld
1685 install-html-host: maybe-install-html-libcpp
1686 install-html-host: maybe-install-html-libdecnumber
1687 install-html-host: maybe-install-html-libgui
1688 install-html-host: maybe-install-html-libiberty
1689 install-html-host: maybe-install-html-libiconv
1690 install-html-host: maybe-install-html-m4
1691 install-html-host: maybe-install-html-readline
1692 install-html-host: maybe-install-html-sid
1693 install-html-host: maybe-install-html-sim
1694 install-html-host: maybe-install-html-texinfo
1695 install-html-host: maybe-install-html-zlib
1696 install-html-host: maybe-install-html-gdb
1697 install-html-host: maybe-install-html-expect
1698 install-html-host: maybe-install-html-guile
1699 install-html-host: maybe-install-html-tk
1700 install-html-host: maybe-install-html-libtermcap
1701 install-html-host: maybe-install-html-utils
1702 install-html-host: maybe-install-html-gnattools
1703 install-html-host: maybe-install-html-lto-plugin
1705 .PHONY: install-html-target
1707 install-html-target: maybe-install-html-target-libstdc++-v3
1708 install-html-target: maybe-install-html-target-libmudflap
1709 install-html-target: maybe-install-html-target-libssp
1710 install-html-target: maybe-install-html-target-newlib
1711 install-html-target: maybe-install-html-target-libgcc
1712 install-html-target: maybe-install-html-target-libquadmath
1713 install-html-target: maybe-install-html-target-libgfortran
1714 install-html-target: maybe-install-html-target-libobjc
1715 install-html-target: maybe-install-html-target-libgo
1716 install-html-target: maybe-install-html-target-libtermcap
1717 install-html-target: maybe-install-html-target-winsup
1718 install-html-target: maybe-install-html-target-libgloss
1719 install-html-target: maybe-install-html-target-libffi
1720 install-html-target: maybe-install-html-target-libjava
1721 install-html-target: maybe-install-html-target-zlib
1722 install-html-target: maybe-install-html-target-boehm-gc
1723 install-html-target: maybe-install-html-target-rda
1724 install-html-target: maybe-install-html-target-libada
1725 install-html-target: maybe-install-html-target-libgomp
1727 .PHONY: do-installcheck
1728 do-installcheck:
1729 @: $(MAKE); $(unstage)
1730 @r=`${PWD_COMMAND}`; export r; \
1731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1732 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1733 installcheck-target
1736 .PHONY: installcheck-host
1738 installcheck-host: maybe-installcheck-bfd
1739 installcheck-host: maybe-installcheck-opcodes
1740 installcheck-host: maybe-installcheck-binutils
1741 installcheck-host: maybe-installcheck-bison
1742 installcheck-host: maybe-installcheck-cgen
1743 installcheck-host: maybe-installcheck-dejagnu
1744 installcheck-host: maybe-installcheck-etc
1745 installcheck-host: maybe-installcheck-fastjar
1746 installcheck-host: maybe-installcheck-fixincludes
1747 installcheck-host: maybe-installcheck-flex
1748 installcheck-host: maybe-installcheck-gas
1749 installcheck-host: maybe-installcheck-gcc
1750 installcheck-host: maybe-installcheck-gmp
1751 installcheck-host: maybe-installcheck-mpfr
1752 installcheck-host: maybe-installcheck-mpc
1753 installcheck-host: maybe-installcheck-ppl
1754 installcheck-host: maybe-installcheck-cloog
1755 installcheck-host: maybe-installcheck-libelf
1756 installcheck-host: maybe-installcheck-gold
1757 installcheck-host: maybe-installcheck-gprof
1758 installcheck-host: maybe-installcheck-intl
1759 installcheck-host: maybe-installcheck-tcl
1760 installcheck-host: maybe-installcheck-itcl
1761 installcheck-host: maybe-installcheck-ld
1762 installcheck-host: maybe-installcheck-libcpp
1763 installcheck-host: maybe-installcheck-libdecnumber
1764 installcheck-host: maybe-installcheck-libgui
1765 installcheck-host: maybe-installcheck-libiberty
1766 installcheck-host: maybe-installcheck-libiconv
1767 installcheck-host: maybe-installcheck-m4
1768 installcheck-host: maybe-installcheck-readline
1769 installcheck-host: maybe-installcheck-sid
1770 installcheck-host: maybe-installcheck-sim
1771 installcheck-host: maybe-installcheck-texinfo
1772 installcheck-host: maybe-installcheck-zlib
1773 installcheck-host: maybe-installcheck-gdb
1774 installcheck-host: maybe-installcheck-expect
1775 installcheck-host: maybe-installcheck-guile
1776 installcheck-host: maybe-installcheck-tk
1777 installcheck-host: maybe-installcheck-libtermcap
1778 installcheck-host: maybe-installcheck-utils
1779 installcheck-host: maybe-installcheck-gnattools
1780 installcheck-host: maybe-installcheck-lto-plugin
1782 .PHONY: installcheck-target
1784 installcheck-target: maybe-installcheck-target-libstdc++-v3
1785 installcheck-target: maybe-installcheck-target-libmudflap
1786 installcheck-target: maybe-installcheck-target-libssp
1787 installcheck-target: maybe-installcheck-target-newlib
1788 installcheck-target: maybe-installcheck-target-libgcc
1789 installcheck-target: maybe-installcheck-target-libquadmath
1790 installcheck-target: maybe-installcheck-target-libgfortran
1791 installcheck-target: maybe-installcheck-target-libobjc
1792 installcheck-target: maybe-installcheck-target-libgo
1793 installcheck-target: maybe-installcheck-target-libtermcap
1794 installcheck-target: maybe-installcheck-target-winsup
1795 installcheck-target: maybe-installcheck-target-libgloss
1796 installcheck-target: maybe-installcheck-target-libffi
1797 installcheck-target: maybe-installcheck-target-libjava
1798 installcheck-target: maybe-installcheck-target-zlib
1799 installcheck-target: maybe-installcheck-target-boehm-gc
1800 installcheck-target: maybe-installcheck-target-rda
1801 installcheck-target: maybe-installcheck-target-libada
1802 installcheck-target: maybe-installcheck-target-libgomp
1804 .PHONY: do-mostlyclean
1805 do-mostlyclean:
1806 @: $(MAKE); $(unstage)
1807 @r=`${PWD_COMMAND}`; export r; \
1808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1809 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1810 mostlyclean-target
1813 .PHONY: mostlyclean-host
1815 mostlyclean-host: maybe-mostlyclean-bfd
1816 mostlyclean-host: maybe-mostlyclean-opcodes
1817 mostlyclean-host: maybe-mostlyclean-binutils
1818 mostlyclean-host: maybe-mostlyclean-bison
1819 mostlyclean-host: maybe-mostlyclean-cgen
1820 mostlyclean-host: maybe-mostlyclean-dejagnu
1821 mostlyclean-host: maybe-mostlyclean-etc
1822 mostlyclean-host: maybe-mostlyclean-fastjar
1823 mostlyclean-host: maybe-mostlyclean-fixincludes
1824 mostlyclean-host: maybe-mostlyclean-flex
1825 mostlyclean-host: maybe-mostlyclean-gas
1826 mostlyclean-host: maybe-mostlyclean-gcc
1827 mostlyclean-host: maybe-mostlyclean-gmp
1828 mostlyclean-host: maybe-mostlyclean-mpfr
1829 mostlyclean-host: maybe-mostlyclean-mpc
1830 mostlyclean-host: maybe-mostlyclean-ppl
1831 mostlyclean-host: maybe-mostlyclean-cloog
1832 mostlyclean-host: maybe-mostlyclean-libelf
1833 mostlyclean-host: maybe-mostlyclean-gold
1834 mostlyclean-host: maybe-mostlyclean-gprof
1835 mostlyclean-host: maybe-mostlyclean-intl
1836 mostlyclean-host: maybe-mostlyclean-tcl
1837 mostlyclean-host: maybe-mostlyclean-itcl
1838 mostlyclean-host: maybe-mostlyclean-ld
1839 mostlyclean-host: maybe-mostlyclean-libcpp
1840 mostlyclean-host: maybe-mostlyclean-libdecnumber
1841 mostlyclean-host: maybe-mostlyclean-libgui
1842 mostlyclean-host: maybe-mostlyclean-libiberty
1843 mostlyclean-host: maybe-mostlyclean-libiconv
1844 mostlyclean-host: maybe-mostlyclean-m4
1845 mostlyclean-host: maybe-mostlyclean-readline
1846 mostlyclean-host: maybe-mostlyclean-sid
1847 mostlyclean-host: maybe-mostlyclean-sim
1848 mostlyclean-host: maybe-mostlyclean-texinfo
1849 mostlyclean-host: maybe-mostlyclean-zlib
1850 mostlyclean-host: maybe-mostlyclean-gdb
1851 mostlyclean-host: maybe-mostlyclean-expect
1852 mostlyclean-host: maybe-mostlyclean-guile
1853 mostlyclean-host: maybe-mostlyclean-tk
1854 mostlyclean-host: maybe-mostlyclean-libtermcap
1855 mostlyclean-host: maybe-mostlyclean-utils
1856 mostlyclean-host: maybe-mostlyclean-gnattools
1857 mostlyclean-host: maybe-mostlyclean-lto-plugin
1859 .PHONY: mostlyclean-target
1861 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1862 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1863 mostlyclean-target: maybe-mostlyclean-target-libssp
1864 mostlyclean-target: maybe-mostlyclean-target-newlib
1865 mostlyclean-target: maybe-mostlyclean-target-libgcc
1866 mostlyclean-target: maybe-mostlyclean-target-libquadmath
1867 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1868 mostlyclean-target: maybe-mostlyclean-target-libobjc
1869 mostlyclean-target: maybe-mostlyclean-target-libgo
1870 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1871 mostlyclean-target: maybe-mostlyclean-target-winsup
1872 mostlyclean-target: maybe-mostlyclean-target-libgloss
1873 mostlyclean-target: maybe-mostlyclean-target-libffi
1874 mostlyclean-target: maybe-mostlyclean-target-libjava
1875 mostlyclean-target: maybe-mostlyclean-target-zlib
1876 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1877 mostlyclean-target: maybe-mostlyclean-target-rda
1878 mostlyclean-target: maybe-mostlyclean-target-libada
1879 mostlyclean-target: maybe-mostlyclean-target-libgomp
1881 .PHONY: do-clean
1882 do-clean:
1883 @: $(MAKE); $(unstage)
1884 @r=`${PWD_COMMAND}`; export r; \
1885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1886 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1887 clean-target
1890 .PHONY: clean-host
1892 clean-host: maybe-clean-bfd
1893 clean-host: maybe-clean-opcodes
1894 clean-host: maybe-clean-binutils
1895 clean-host: maybe-clean-bison
1896 clean-host: maybe-clean-cgen
1897 clean-host: maybe-clean-dejagnu
1898 clean-host: maybe-clean-etc
1899 clean-host: maybe-clean-fastjar
1900 clean-host: maybe-clean-fixincludes
1901 clean-host: maybe-clean-flex
1902 clean-host: maybe-clean-gas
1903 clean-host: maybe-clean-gcc
1904 clean-host: maybe-clean-gmp
1905 clean-host: maybe-clean-mpfr
1906 clean-host: maybe-clean-mpc
1907 clean-host: maybe-clean-ppl
1908 clean-host: maybe-clean-cloog
1909 clean-host: maybe-clean-libelf
1910 clean-host: maybe-clean-gold
1911 clean-host: maybe-clean-gprof
1912 clean-host: maybe-clean-intl
1913 clean-host: maybe-clean-tcl
1914 clean-host: maybe-clean-itcl
1915 clean-host: maybe-clean-ld
1916 clean-host: maybe-clean-libcpp
1917 clean-host: maybe-clean-libdecnumber
1918 clean-host: maybe-clean-libgui
1919 clean-host: maybe-clean-libiberty
1920 clean-host: maybe-clean-libiconv
1921 clean-host: maybe-clean-m4
1922 clean-host: maybe-clean-readline
1923 clean-host: maybe-clean-sid
1924 clean-host: maybe-clean-sim
1925 clean-host: maybe-clean-texinfo
1926 clean-host: maybe-clean-zlib
1927 clean-host: maybe-clean-gdb
1928 clean-host: maybe-clean-expect
1929 clean-host: maybe-clean-guile
1930 clean-host: maybe-clean-tk
1931 clean-host: maybe-clean-libtermcap
1932 clean-host: maybe-clean-utils
1933 clean-host: maybe-clean-gnattools
1934 clean-host: maybe-clean-lto-plugin
1936 .PHONY: clean-target
1938 clean-target: maybe-clean-target-libstdc++-v3
1939 clean-target: maybe-clean-target-libmudflap
1940 clean-target: maybe-clean-target-libssp
1941 clean-target: maybe-clean-target-newlib
1942 clean-target: maybe-clean-target-libgcc
1943 clean-target: maybe-clean-target-libquadmath
1944 clean-target: maybe-clean-target-libgfortran
1945 clean-target: maybe-clean-target-libobjc
1946 clean-target: maybe-clean-target-libgo
1947 clean-target: maybe-clean-target-libtermcap
1948 clean-target: maybe-clean-target-winsup
1949 clean-target: maybe-clean-target-libgloss
1950 clean-target: maybe-clean-target-libffi
1951 clean-target: maybe-clean-target-libjava
1952 clean-target: maybe-clean-target-zlib
1953 clean-target: maybe-clean-target-boehm-gc
1954 clean-target: maybe-clean-target-rda
1955 clean-target: maybe-clean-target-libada
1956 clean-target: maybe-clean-target-libgomp
1958 .PHONY: do-distclean
1959 do-distclean:
1960 @: $(MAKE); $(unstage)
1961 @r=`${PWD_COMMAND}`; export r; \
1962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1963 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1964 distclean-target
1967 .PHONY: distclean-host
1969 distclean-host: maybe-distclean-bfd
1970 distclean-host: maybe-distclean-opcodes
1971 distclean-host: maybe-distclean-binutils
1972 distclean-host: maybe-distclean-bison
1973 distclean-host: maybe-distclean-cgen
1974 distclean-host: maybe-distclean-dejagnu
1975 distclean-host: maybe-distclean-etc
1976 distclean-host: maybe-distclean-fastjar
1977 distclean-host: maybe-distclean-fixincludes
1978 distclean-host: maybe-distclean-flex
1979 distclean-host: maybe-distclean-gas
1980 distclean-host: maybe-distclean-gcc
1981 distclean-host: maybe-distclean-gmp
1982 distclean-host: maybe-distclean-mpfr
1983 distclean-host: maybe-distclean-mpc
1984 distclean-host: maybe-distclean-ppl
1985 distclean-host: maybe-distclean-cloog
1986 distclean-host: maybe-distclean-libelf
1987 distclean-host: maybe-distclean-gold
1988 distclean-host: maybe-distclean-gprof
1989 distclean-host: maybe-distclean-intl
1990 distclean-host: maybe-distclean-tcl
1991 distclean-host: maybe-distclean-itcl
1992 distclean-host: maybe-distclean-ld
1993 distclean-host: maybe-distclean-libcpp
1994 distclean-host: maybe-distclean-libdecnumber
1995 distclean-host: maybe-distclean-libgui
1996 distclean-host: maybe-distclean-libiberty
1997 distclean-host: maybe-distclean-libiconv
1998 distclean-host: maybe-distclean-m4
1999 distclean-host: maybe-distclean-readline
2000 distclean-host: maybe-distclean-sid
2001 distclean-host: maybe-distclean-sim
2002 distclean-host: maybe-distclean-texinfo
2003 distclean-host: maybe-distclean-zlib
2004 distclean-host: maybe-distclean-gdb
2005 distclean-host: maybe-distclean-expect
2006 distclean-host: maybe-distclean-guile
2007 distclean-host: maybe-distclean-tk
2008 distclean-host: maybe-distclean-libtermcap
2009 distclean-host: maybe-distclean-utils
2010 distclean-host: maybe-distclean-gnattools
2011 distclean-host: maybe-distclean-lto-plugin
2013 .PHONY: distclean-target
2015 distclean-target: maybe-distclean-target-libstdc++-v3
2016 distclean-target: maybe-distclean-target-libmudflap
2017 distclean-target: maybe-distclean-target-libssp
2018 distclean-target: maybe-distclean-target-newlib
2019 distclean-target: maybe-distclean-target-libgcc
2020 distclean-target: maybe-distclean-target-libquadmath
2021 distclean-target: maybe-distclean-target-libgfortran
2022 distclean-target: maybe-distclean-target-libobjc
2023 distclean-target: maybe-distclean-target-libgo
2024 distclean-target: maybe-distclean-target-libtermcap
2025 distclean-target: maybe-distclean-target-winsup
2026 distclean-target: maybe-distclean-target-libgloss
2027 distclean-target: maybe-distclean-target-libffi
2028 distclean-target: maybe-distclean-target-libjava
2029 distclean-target: maybe-distclean-target-zlib
2030 distclean-target: maybe-distclean-target-boehm-gc
2031 distclean-target: maybe-distclean-target-rda
2032 distclean-target: maybe-distclean-target-libada
2033 distclean-target: maybe-distclean-target-libgomp
2035 .PHONY: do-maintainer-clean
2036 do-maintainer-clean:
2037 @: $(MAKE); $(unstage)
2038 @r=`${PWD_COMMAND}`; export r; \
2039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2040 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2041 maintainer-clean-target
2044 .PHONY: maintainer-clean-host
2046 maintainer-clean-host: maybe-maintainer-clean-bfd
2047 maintainer-clean-host: maybe-maintainer-clean-opcodes
2048 maintainer-clean-host: maybe-maintainer-clean-binutils
2049 maintainer-clean-host: maybe-maintainer-clean-bison
2050 maintainer-clean-host: maybe-maintainer-clean-cgen
2051 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2052 maintainer-clean-host: maybe-maintainer-clean-etc
2053 maintainer-clean-host: maybe-maintainer-clean-fastjar
2054 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2055 maintainer-clean-host: maybe-maintainer-clean-flex
2056 maintainer-clean-host: maybe-maintainer-clean-gas
2057 maintainer-clean-host: maybe-maintainer-clean-gcc
2058 maintainer-clean-host: maybe-maintainer-clean-gmp
2059 maintainer-clean-host: maybe-maintainer-clean-mpfr
2060 maintainer-clean-host: maybe-maintainer-clean-mpc
2061 maintainer-clean-host: maybe-maintainer-clean-ppl
2062 maintainer-clean-host: maybe-maintainer-clean-cloog
2063 maintainer-clean-host: maybe-maintainer-clean-libelf
2064 maintainer-clean-host: maybe-maintainer-clean-gold
2065 maintainer-clean-host: maybe-maintainer-clean-gprof
2066 maintainer-clean-host: maybe-maintainer-clean-intl
2067 maintainer-clean-host: maybe-maintainer-clean-tcl
2068 maintainer-clean-host: maybe-maintainer-clean-itcl
2069 maintainer-clean-host: maybe-maintainer-clean-ld
2070 maintainer-clean-host: maybe-maintainer-clean-libcpp
2071 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2072 maintainer-clean-host: maybe-maintainer-clean-libgui
2073 maintainer-clean-host: maybe-maintainer-clean-libiberty
2074 maintainer-clean-host: maybe-maintainer-clean-libiconv
2075 maintainer-clean-host: maybe-maintainer-clean-m4
2076 maintainer-clean-host: maybe-maintainer-clean-readline
2077 maintainer-clean-host: maybe-maintainer-clean-sid
2078 maintainer-clean-host: maybe-maintainer-clean-sim
2079 maintainer-clean-host: maybe-maintainer-clean-texinfo
2080 maintainer-clean-host: maybe-maintainer-clean-zlib
2081 maintainer-clean-host: maybe-maintainer-clean-gdb
2082 maintainer-clean-host: maybe-maintainer-clean-expect
2083 maintainer-clean-host: maybe-maintainer-clean-guile
2084 maintainer-clean-host: maybe-maintainer-clean-tk
2085 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2086 maintainer-clean-host: maybe-maintainer-clean-utils
2087 maintainer-clean-host: maybe-maintainer-clean-gnattools
2088 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2090 .PHONY: maintainer-clean-target
2092 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2093 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2094 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2095 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2096 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2097 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2098 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2099 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2100 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2101 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2102 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2103 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2104 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2105 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2106 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2107 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2108 maintainer-clean-target: maybe-maintainer-clean-target-rda
2109 maintainer-clean-target: maybe-maintainer-clean-target-libada
2110 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2113 # Here are the targets which correspond to the do-X targets.
2115 .PHONY: info installcheck dvi pdf html
2116 .PHONY: install-info install-pdf install-html
2117 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2118 .PHONY: local-clean local-distclean local-maintainer-clean
2119 info: do-info
2120 installcheck: do-installcheck
2121 dvi: do-dvi
2122 pdf: do-pdf
2123 html: do-html
2125 # Make sure makeinfo is built before we do a `make info', if we're
2126 # in fact building texinfo.
2127 do-info: maybe-all-texinfo
2129 install-info: do-install-info dir.info
2130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2131 if [ -f dir.info ] ; then \
2132 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2133 else true ; fi
2135 install-pdf: do-install-pdf
2137 install-html: do-install-html
2139 local-clean:
2140 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2142 local-distclean:
2143 -rm -f Makefile config.status config.cache mh-frag mt-frag
2144 -rm -f maybedep.tmp serdep.tmp
2145 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2146 rm -rf $(TARGET_SUBDIR); \
2147 else true; fi
2148 -rm -rf $(BUILD_SUBDIR)
2149 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2150 rm -rf $(HOST_SUBDIR); \
2151 else true; fi
2152 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2153 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2154 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2155 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2156 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2157 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2159 local-maintainer-clean:
2160 @echo "This command is intended for maintainers to use;"
2161 @echo "it deletes files that may require special tools to rebuild."
2163 clean: do-clean local-clean
2164 mostlyclean: do-mostlyclean local-clean
2165 distclean: do-distclean local-clean local-distclean
2166 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2167 maintainer-clean: local-distclean
2168 realclean: maintainer-clean
2170 # Check target.
2172 .PHONY: check do-check
2173 check: do-check
2175 # Only include modules actually being configured and built.
2176 .PHONY: check-host
2177 check-host: \
2178 maybe-check-bfd \
2179 maybe-check-opcodes \
2180 maybe-check-binutils \
2181 maybe-check-bison \
2182 maybe-check-cgen \
2183 maybe-check-dejagnu \
2184 maybe-check-etc \
2185 maybe-check-fastjar \
2186 maybe-check-fixincludes \
2187 maybe-check-flex \
2188 maybe-check-gas \
2189 maybe-check-gcc \
2190 maybe-check-gmp \
2191 maybe-check-mpfr \
2192 maybe-check-mpc \
2193 maybe-check-ppl \
2194 maybe-check-cloog \
2195 maybe-check-libelf \
2196 maybe-check-gold \
2197 maybe-check-gprof \
2198 maybe-check-intl \
2199 maybe-check-tcl \
2200 maybe-check-itcl \
2201 maybe-check-ld \
2202 maybe-check-libcpp \
2203 maybe-check-libdecnumber \
2204 maybe-check-libgui \
2205 maybe-check-libiberty \
2206 maybe-check-libiconv \
2207 maybe-check-m4 \
2208 maybe-check-readline \
2209 maybe-check-sid \
2210 maybe-check-sim \
2211 maybe-check-texinfo \
2212 maybe-check-zlib \
2213 maybe-check-gdb \
2214 maybe-check-expect \
2215 maybe-check-guile \
2216 maybe-check-tk \
2217 maybe-check-libtermcap \
2218 maybe-check-utils \
2219 maybe-check-gnattools \
2220 maybe-check-lto-plugin
2222 .PHONY: check-target
2223 check-target: \
2224 maybe-check-target-libstdc++-v3 \
2225 maybe-check-target-libmudflap \
2226 maybe-check-target-libssp \
2227 maybe-check-target-newlib \
2228 maybe-check-target-libgcc \
2229 maybe-check-target-libquadmath \
2230 maybe-check-target-libgfortran \
2231 maybe-check-target-libobjc \
2232 maybe-check-target-libgo \
2233 maybe-check-target-libtermcap \
2234 maybe-check-target-winsup \
2235 maybe-check-target-libgloss \
2236 maybe-check-target-libffi \
2237 maybe-check-target-libjava \
2238 maybe-check-target-zlib \
2239 maybe-check-target-boehm-gc \
2240 maybe-check-target-rda \
2241 maybe-check-target-libada \
2242 maybe-check-target-libgomp
2244 do-check:
2245 @: $(MAKE); $(unstage)
2246 @r=`${PWD_COMMAND}`; export r; \
2247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2248 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2250 # Automated reporting of test results.
2252 warning.log: build.log
2253 $(srcdir)/contrib/warn_summary build.log > $@
2255 mail-report.log:
2256 if test x'$(BOOT_CFLAGS)' != x''; then \
2257 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2258 fi; \
2259 $(srcdir)/contrib/test_summary -t >$@
2260 chmod +x $@
2261 echo If you really want to send e-mail, run ./$@ now
2263 mail-report-with-warnings.log: warning.log
2264 if test x'$(BOOT_CFLAGS)' != x''; then \
2265 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2266 fi; \
2267 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2268 chmod +x $@
2269 echo If you really want to send e-mail, run ./$@ now
2271 # Installation targets.
2273 .PHONY: install uninstall
2274 install:
2275 @: $(MAKE); $(unstage)
2276 @r=`${PWD_COMMAND}`; export r; \
2277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2278 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2280 .PHONY: install-host-nogcc
2281 install-host-nogcc: \
2282 maybe-install-bfd \
2283 maybe-install-opcodes \
2284 maybe-install-binutils \
2285 maybe-install-bison \
2286 maybe-install-cgen \
2287 maybe-install-dejagnu \
2288 maybe-install-etc \
2289 maybe-install-fastjar \
2290 maybe-install-fixincludes \
2291 maybe-install-flex \
2292 maybe-install-gas \
2293 maybe-install-gmp \
2294 maybe-install-mpfr \
2295 maybe-install-mpc \
2296 maybe-install-ppl \
2297 maybe-install-cloog \
2298 maybe-install-libelf \
2299 maybe-install-gold \
2300 maybe-install-gprof \
2301 maybe-install-intl \
2302 maybe-install-tcl \
2303 maybe-install-itcl \
2304 maybe-install-ld \
2305 maybe-install-libcpp \
2306 maybe-install-libdecnumber \
2307 maybe-install-libgui \
2308 maybe-install-libiberty \
2309 maybe-install-libiconv \
2310 maybe-install-m4 \
2311 maybe-install-readline \
2312 maybe-install-sid \
2313 maybe-install-sim \
2314 maybe-install-texinfo \
2315 maybe-install-zlib \
2316 maybe-install-gdb \
2317 maybe-install-expect \
2318 maybe-install-guile \
2319 maybe-install-tk \
2320 maybe-install-libtermcap \
2321 maybe-install-utils \
2322 maybe-install-gnattools \
2323 maybe-install-lto-plugin
2325 .PHONY: install-host
2326 install-host: \
2327 maybe-install-bfd \
2328 maybe-install-opcodes \
2329 maybe-install-binutils \
2330 maybe-install-bison \
2331 maybe-install-cgen \
2332 maybe-install-dejagnu \
2333 maybe-install-etc \
2334 maybe-install-fastjar \
2335 maybe-install-fixincludes \
2336 maybe-install-flex \
2337 maybe-install-gas \
2338 maybe-install-gcc \
2339 maybe-install-gmp \
2340 maybe-install-mpfr \
2341 maybe-install-mpc \
2342 maybe-install-ppl \
2343 maybe-install-cloog \
2344 maybe-install-libelf \
2345 maybe-install-gold \
2346 maybe-install-gprof \
2347 maybe-install-intl \
2348 maybe-install-tcl \
2349 maybe-install-itcl \
2350 maybe-install-ld \
2351 maybe-install-libcpp \
2352 maybe-install-libdecnumber \
2353 maybe-install-libgui \
2354 maybe-install-libiberty \
2355 maybe-install-libiconv \
2356 maybe-install-m4 \
2357 maybe-install-readline \
2358 maybe-install-sid \
2359 maybe-install-sim \
2360 maybe-install-texinfo \
2361 maybe-install-zlib \
2362 maybe-install-gdb \
2363 maybe-install-expect \
2364 maybe-install-guile \
2365 maybe-install-tk \
2366 maybe-install-libtermcap \
2367 maybe-install-utils \
2368 maybe-install-gnattools \
2369 maybe-install-lto-plugin
2371 .PHONY: install-target
2372 install-target: \
2373 maybe-install-target-libstdc++-v3 \
2374 maybe-install-target-libmudflap \
2375 maybe-install-target-libssp \
2376 maybe-install-target-newlib \
2377 maybe-install-target-libgcc \
2378 maybe-install-target-libquadmath \
2379 maybe-install-target-libgfortran \
2380 maybe-install-target-libobjc \
2381 maybe-install-target-libgo \
2382 maybe-install-target-libtermcap \
2383 maybe-install-target-winsup \
2384 maybe-install-target-libgloss \
2385 maybe-install-target-libffi \
2386 maybe-install-target-libjava \
2387 maybe-install-target-zlib \
2388 maybe-install-target-boehm-gc \
2389 maybe-install-target-rda \
2390 maybe-install-target-libada \
2391 maybe-install-target-libgomp
2393 uninstall:
2394 @echo "the uninstall target is not supported in this tree"
2396 .PHONY: install.all
2397 install.all: install-no-fixedincludes
2398 @if [ -f ./gcc/Makefile ] ; then \
2399 r=`${PWD_COMMAND}` ; export r ; \
2400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2401 $(HOST_EXPORTS) \
2402 (cd ./gcc && \
2403 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2404 else \
2405 true ; \
2408 # install-no-fixedincludes is used because Cygnus can not distribute
2409 # the fixed header files.
2410 .PHONY: install-no-fixedincludes
2411 install-no-fixedincludes: installdirs install-host-nogcc \
2412 install-target gcc-no-fixedincludes
2414 .PHONY: install-strip
2415 install-strip:
2416 @: $(MAKE); $(unstage)
2417 @r=`${PWD_COMMAND}`; export r; \
2418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2419 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2421 .PHONY: install-strip-host
2422 install-strip-host: \
2423 maybe-install-strip-bfd \
2424 maybe-install-strip-opcodes \
2425 maybe-install-strip-binutils \
2426 maybe-install-strip-bison \
2427 maybe-install-strip-cgen \
2428 maybe-install-strip-dejagnu \
2429 maybe-install-strip-etc \
2430 maybe-install-strip-fastjar \
2431 maybe-install-strip-fixincludes \
2432 maybe-install-strip-flex \
2433 maybe-install-strip-gas \
2434 maybe-install-strip-gcc \
2435 maybe-install-strip-gmp \
2436 maybe-install-strip-mpfr \
2437 maybe-install-strip-mpc \
2438 maybe-install-strip-ppl \
2439 maybe-install-strip-cloog \
2440 maybe-install-strip-libelf \
2441 maybe-install-strip-gold \
2442 maybe-install-strip-gprof \
2443 maybe-install-strip-intl \
2444 maybe-install-strip-tcl \
2445 maybe-install-strip-itcl \
2446 maybe-install-strip-ld \
2447 maybe-install-strip-libcpp \
2448 maybe-install-strip-libdecnumber \
2449 maybe-install-strip-libgui \
2450 maybe-install-strip-libiberty \
2451 maybe-install-strip-libiconv \
2452 maybe-install-strip-m4 \
2453 maybe-install-strip-readline \
2454 maybe-install-strip-sid \
2455 maybe-install-strip-sim \
2456 maybe-install-strip-texinfo \
2457 maybe-install-strip-zlib \
2458 maybe-install-strip-gdb \
2459 maybe-install-strip-expect \
2460 maybe-install-strip-guile \
2461 maybe-install-strip-tk \
2462 maybe-install-strip-libtermcap \
2463 maybe-install-strip-utils \
2464 maybe-install-strip-gnattools \
2465 maybe-install-strip-lto-plugin
2467 .PHONY: install-strip-target
2468 install-strip-target: \
2469 maybe-install-strip-target-libstdc++-v3 \
2470 maybe-install-strip-target-libmudflap \
2471 maybe-install-strip-target-libssp \
2472 maybe-install-strip-target-newlib \
2473 maybe-install-strip-target-libgcc \
2474 maybe-install-strip-target-libquadmath \
2475 maybe-install-strip-target-libgfortran \
2476 maybe-install-strip-target-libobjc \
2477 maybe-install-strip-target-libgo \
2478 maybe-install-strip-target-libtermcap \
2479 maybe-install-strip-target-winsup \
2480 maybe-install-strip-target-libgloss \
2481 maybe-install-strip-target-libffi \
2482 maybe-install-strip-target-libjava \
2483 maybe-install-strip-target-zlib \
2484 maybe-install-strip-target-boehm-gc \
2485 maybe-install-strip-target-rda \
2486 maybe-install-strip-target-libada \
2487 maybe-install-strip-target-libgomp
2490 ### other supporting targets
2492 MAKEDIRS= \
2493 $(DESTDIR)$(prefix) \
2494 $(DESTDIR)$(exec_prefix)
2495 .PHONY: installdirs
2496 installdirs: mkinstalldirs
2497 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2499 dir.info: do-install-info
2500 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2501 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2502 mv -f dir.info.new dir.info ; \
2503 else true ; \
2506 dist:
2507 @echo "Building a full distribution of this tree isn't done"
2508 @echo "via 'make dist'. Check out the etc/ subdirectory"
2510 etags tags: TAGS
2512 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2513 # ability to use several tags files at once, so there is probably no need
2514 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2515 # (if we felt like it) have this Makefile write a piece of elisp which
2516 # the user could load to tell emacs19 where all the TAGS files we just
2517 # built are.
2518 TAGS: do-TAGS
2520 # ------------------------------------
2521 # Macros for configure and all targets
2522 # ------------------------------------
2528 # --------------------------------------
2529 # Modules which run on the build machine
2530 # --------------------------------------
2533 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2534 maybe-configure-build-libiberty:
2535 @if gcc-bootstrap
2536 configure-build-libiberty: stage_current
2537 @endif gcc-bootstrap
2538 @if build-libiberty
2539 maybe-configure-build-libiberty: configure-build-libiberty
2540 configure-build-libiberty:
2541 @: $(MAKE); $(unstage)
2542 @r=`${PWD_COMMAND}`; export r; \
2543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2544 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2545 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2546 $(BUILD_EXPORTS) \
2547 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2548 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2549 case $(srcdir) in \
2550 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2551 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2552 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2553 esac; \
2554 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2555 libsrcdir="$$s/libiberty"; \
2556 rm -f no-such-file || : ; \
2557 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2558 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2559 --target=${target_alias} $${srcdiroption} \
2560 || exit 1
2561 @endif build-libiberty
2567 .PHONY: all-build-libiberty maybe-all-build-libiberty
2568 maybe-all-build-libiberty:
2569 @if gcc-bootstrap
2570 all-build-libiberty: stage_current
2571 @endif gcc-bootstrap
2572 @if build-libiberty
2573 TARGET-build-libiberty=all
2574 maybe-all-build-libiberty: all-build-libiberty
2575 all-build-libiberty: configure-build-libiberty
2576 @: $(MAKE); $(unstage)
2577 @r=`${PWD_COMMAND}`; export r; \
2578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2579 $(BUILD_EXPORTS) \
2580 (cd $(BUILD_SUBDIR)/libiberty && \
2581 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2582 $(TARGET-build-libiberty))
2583 @endif build-libiberty
2589 .PHONY: configure-build-bison maybe-configure-build-bison
2590 maybe-configure-build-bison:
2591 @if gcc-bootstrap
2592 configure-build-bison: stage_current
2593 @endif gcc-bootstrap
2594 @if build-bison
2595 maybe-configure-build-bison: configure-build-bison
2596 configure-build-bison:
2597 @: $(MAKE); $(unstage)
2598 @r=`${PWD_COMMAND}`; export r; \
2599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2600 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2601 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2602 $(BUILD_EXPORTS) \
2603 echo Configuring in $(BUILD_SUBDIR)/bison; \
2604 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2605 case $(srcdir) in \
2606 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2607 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2608 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2609 esac; \
2610 srcdiroption="--srcdir=$${topdir}/bison"; \
2611 libsrcdir="$$s/bison"; \
2612 rm -f no-such-file || : ; \
2613 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2614 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2615 --target=${target_alias} $${srcdiroption} \
2616 || exit 1
2617 @endif build-bison
2623 .PHONY: all-build-bison maybe-all-build-bison
2624 maybe-all-build-bison:
2625 @if gcc-bootstrap
2626 all-build-bison: stage_current
2627 @endif gcc-bootstrap
2628 @if build-bison
2629 TARGET-build-bison=all
2630 maybe-all-build-bison: all-build-bison
2631 all-build-bison: configure-build-bison
2632 @: $(MAKE); $(unstage)
2633 @r=`${PWD_COMMAND}`; export r; \
2634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2635 $(BUILD_EXPORTS) \
2636 (cd $(BUILD_SUBDIR)/bison && \
2637 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2638 $(TARGET-build-bison))
2639 @endif build-bison
2645 .PHONY: configure-build-flex maybe-configure-build-flex
2646 maybe-configure-build-flex:
2647 @if gcc-bootstrap
2648 configure-build-flex: stage_current
2649 @endif gcc-bootstrap
2650 @if build-flex
2651 maybe-configure-build-flex: configure-build-flex
2652 configure-build-flex:
2653 @: $(MAKE); $(unstage)
2654 @r=`${PWD_COMMAND}`; export r; \
2655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2656 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2657 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2658 $(BUILD_EXPORTS) \
2659 echo Configuring in $(BUILD_SUBDIR)/flex; \
2660 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2661 case $(srcdir) in \
2662 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2663 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2664 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2665 esac; \
2666 srcdiroption="--srcdir=$${topdir}/flex"; \
2667 libsrcdir="$$s/flex"; \
2668 rm -f no-such-file || : ; \
2669 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2670 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2671 --target=${target_alias} $${srcdiroption} \
2672 || exit 1
2673 @endif build-flex
2679 .PHONY: all-build-flex maybe-all-build-flex
2680 maybe-all-build-flex:
2681 @if gcc-bootstrap
2682 all-build-flex: stage_current
2683 @endif gcc-bootstrap
2684 @if build-flex
2685 TARGET-build-flex=all
2686 maybe-all-build-flex: all-build-flex
2687 all-build-flex: configure-build-flex
2688 @: $(MAKE); $(unstage)
2689 @r=`${PWD_COMMAND}`; export r; \
2690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2691 $(BUILD_EXPORTS) \
2692 (cd $(BUILD_SUBDIR)/flex && \
2693 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2694 $(TARGET-build-flex))
2695 @endif build-flex
2701 .PHONY: configure-build-m4 maybe-configure-build-m4
2702 maybe-configure-build-m4:
2703 @if gcc-bootstrap
2704 configure-build-m4: stage_current
2705 @endif gcc-bootstrap
2706 @if build-m4
2707 maybe-configure-build-m4: configure-build-m4
2708 configure-build-m4:
2709 @: $(MAKE); $(unstage)
2710 @r=`${PWD_COMMAND}`; export r; \
2711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2712 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2713 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2714 $(BUILD_EXPORTS) \
2715 echo Configuring in $(BUILD_SUBDIR)/m4; \
2716 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2717 case $(srcdir) in \
2718 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2719 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2720 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2721 esac; \
2722 srcdiroption="--srcdir=$${topdir}/m4"; \
2723 libsrcdir="$$s/m4"; \
2724 rm -f no-such-file || : ; \
2725 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2726 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2727 --target=${target_alias} $${srcdiroption} \
2728 || exit 1
2729 @endif build-m4
2735 .PHONY: all-build-m4 maybe-all-build-m4
2736 maybe-all-build-m4:
2737 @if gcc-bootstrap
2738 all-build-m4: stage_current
2739 @endif gcc-bootstrap
2740 @if build-m4
2741 TARGET-build-m4=all
2742 maybe-all-build-m4: all-build-m4
2743 all-build-m4: configure-build-m4
2744 @: $(MAKE); $(unstage)
2745 @r=`${PWD_COMMAND}`; export r; \
2746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2747 $(BUILD_EXPORTS) \
2748 (cd $(BUILD_SUBDIR)/m4 && \
2749 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2750 $(TARGET-build-m4))
2751 @endif build-m4
2757 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2758 maybe-configure-build-texinfo:
2759 @if gcc-bootstrap
2760 configure-build-texinfo: stage_current
2761 @endif gcc-bootstrap
2762 @if build-texinfo
2763 maybe-configure-build-texinfo: configure-build-texinfo
2764 configure-build-texinfo:
2765 @: $(MAKE); $(unstage)
2766 @r=`${PWD_COMMAND}`; export r; \
2767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2768 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2769 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2770 $(BUILD_EXPORTS) \
2771 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2772 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2773 case $(srcdir) in \
2774 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2775 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2776 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2777 esac; \
2778 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2779 libsrcdir="$$s/texinfo"; \
2780 rm -f no-such-file || : ; \
2781 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2782 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2783 --target=${target_alias} $${srcdiroption} \
2784 || exit 1
2785 @endif build-texinfo
2791 .PHONY: all-build-texinfo maybe-all-build-texinfo
2792 maybe-all-build-texinfo:
2793 @if gcc-bootstrap
2794 all-build-texinfo: stage_current
2795 @endif gcc-bootstrap
2796 @if build-texinfo
2797 TARGET-build-texinfo=all
2798 maybe-all-build-texinfo: all-build-texinfo
2799 all-build-texinfo: configure-build-texinfo
2800 @: $(MAKE); $(unstage)
2801 @r=`${PWD_COMMAND}`; export r; \
2802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2803 $(BUILD_EXPORTS) \
2804 (cd $(BUILD_SUBDIR)/texinfo && \
2805 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2806 $(TARGET-build-texinfo))
2807 @endif build-texinfo
2813 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2814 maybe-configure-build-fixincludes:
2815 @if gcc-bootstrap
2816 configure-build-fixincludes: stage_current
2817 @endif gcc-bootstrap
2818 @if build-fixincludes
2819 maybe-configure-build-fixincludes: configure-build-fixincludes
2820 configure-build-fixincludes:
2821 @: $(MAKE); $(unstage)
2822 @r=`${PWD_COMMAND}`; export r; \
2823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2824 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2825 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2826 $(BUILD_EXPORTS) \
2827 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2828 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2829 case $(srcdir) in \
2830 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2831 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2832 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2833 esac; \
2834 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2835 libsrcdir="$$s/fixincludes"; \
2836 rm -f no-such-file || : ; \
2837 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2838 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2839 --target=${target_alias} $${srcdiroption} \
2840 || exit 1
2841 @endif build-fixincludes
2847 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2848 maybe-all-build-fixincludes:
2849 @if gcc-bootstrap
2850 all-build-fixincludes: stage_current
2851 @endif gcc-bootstrap
2852 @if build-fixincludes
2853 TARGET-build-fixincludes=all
2854 maybe-all-build-fixincludes: all-build-fixincludes
2855 all-build-fixincludes: configure-build-fixincludes
2856 @: $(MAKE); $(unstage)
2857 @r=`${PWD_COMMAND}`; export r; \
2858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2859 $(BUILD_EXPORTS) \
2860 (cd $(BUILD_SUBDIR)/fixincludes && \
2861 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2862 $(TARGET-build-fixincludes))
2863 @endif build-fixincludes
2869 # --------------------------------------
2870 # Modules which run on the host machine
2871 # --------------------------------------
2874 .PHONY: configure-bfd maybe-configure-bfd
2875 maybe-configure-bfd:
2876 @if gcc-bootstrap
2877 configure-bfd: stage_current
2878 @endif gcc-bootstrap
2879 @if bfd
2880 maybe-configure-bfd: configure-bfd
2881 configure-bfd:
2882 @r=`${PWD_COMMAND}`; export r; \
2883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2884 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2885 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2886 $(HOST_EXPORTS) \
2887 echo Configuring in $(HOST_SUBDIR)/bfd; \
2888 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
2889 case $(srcdir) in \
2890 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2891 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2892 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2893 esac; \
2894 srcdiroption="--srcdir=$${topdir}/bfd"; \
2895 libsrcdir="$$s/bfd"; \
2896 $(SHELL) $${libsrcdir}/configure \
2897 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2898 --target=${target_alias} $${srcdiroption} \
2899 || exit 1
2900 @endif bfd
2904 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
2905 maybe-configure-stage1-bfd:
2906 @if bfd-bootstrap
2907 maybe-configure-stage1-bfd: configure-stage1-bfd
2908 configure-stage1-bfd:
2909 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
2910 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2911 @r=`${PWD_COMMAND}`; export r; \
2912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2913 TFLAGS="$(STAGE1_TFLAGS)"; \
2914 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2915 $(HOST_EXPORTS) \
2916 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
2917 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
2918 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
2919 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
2920 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2921 cd $(HOST_SUBDIR)/bfd || exit 1; \
2922 case $(srcdir) in \
2923 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2924 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2925 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2926 esac; \
2927 srcdiroption="--srcdir=$${topdir}/bfd"; \
2928 libsrcdir="$$s/bfd"; \
2929 $(SHELL) $${libsrcdir}/configure \
2930 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2931 --target=${target_alias} $${srcdiroption} \
2932 $(STAGE1_CONFIGURE_FLAGS)
2933 @endif bfd-bootstrap
2935 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
2936 maybe-configure-stage2-bfd:
2937 @if bfd-bootstrap
2938 maybe-configure-stage2-bfd: configure-stage2-bfd
2939 configure-stage2-bfd:
2940 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
2941 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2942 @r=`${PWD_COMMAND}`; export r; \
2943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2944 TFLAGS="$(STAGE2_TFLAGS)"; \
2945 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2946 $(HOST_EXPORTS) \
2947 $(POSTSTAGE1_HOST_EXPORTS) \
2948 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
2949 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
2950 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
2951 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
2952 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2953 cd $(HOST_SUBDIR)/bfd || exit 1; \
2954 case $(srcdir) in \
2955 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2956 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2957 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2958 esac; \
2959 srcdiroption="--srcdir=$${topdir}/bfd"; \
2960 libsrcdir="$$s/bfd"; \
2961 $(SHELL) $${libsrcdir}/configure \
2962 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2963 --target=${target_alias} $${srcdiroption} \
2964 --with-build-libsubdir=$(HOST_SUBDIR) \
2965 $(STAGE2_CONFIGURE_FLAGS)
2966 @endif bfd-bootstrap
2968 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
2969 maybe-configure-stage3-bfd:
2970 @if bfd-bootstrap
2971 maybe-configure-stage3-bfd: configure-stage3-bfd
2972 configure-stage3-bfd:
2973 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
2974 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2975 @r=`${PWD_COMMAND}`; export r; \
2976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2977 TFLAGS="$(STAGE3_TFLAGS)"; \
2978 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2979 $(HOST_EXPORTS) \
2980 $(POSTSTAGE1_HOST_EXPORTS) \
2981 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
2982 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
2983 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
2984 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
2985 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2986 cd $(HOST_SUBDIR)/bfd || exit 1; \
2987 case $(srcdir) in \
2988 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2989 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2990 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2991 esac; \
2992 srcdiroption="--srcdir=$${topdir}/bfd"; \
2993 libsrcdir="$$s/bfd"; \
2994 $(SHELL) $${libsrcdir}/configure \
2995 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2996 --target=${target_alias} $${srcdiroption} \
2997 --with-build-libsubdir=$(HOST_SUBDIR) \
2998 $(STAGE3_CONFIGURE_FLAGS)
2999 @endif bfd-bootstrap
3001 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3002 maybe-configure-stage4-bfd:
3003 @if bfd-bootstrap
3004 maybe-configure-stage4-bfd: configure-stage4-bfd
3005 configure-stage4-bfd:
3006 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3007 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3008 @r=`${PWD_COMMAND}`; export r; \
3009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3010 TFLAGS="$(STAGE4_TFLAGS)"; \
3011 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3012 $(HOST_EXPORTS) \
3013 $(POSTSTAGE1_HOST_EXPORTS) \
3014 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3015 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3016 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3017 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
3018 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3019 cd $(HOST_SUBDIR)/bfd || exit 1; \
3020 case $(srcdir) in \
3021 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3022 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3023 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3024 esac; \
3025 srcdiroption="--srcdir=$${topdir}/bfd"; \
3026 libsrcdir="$$s/bfd"; \
3027 $(SHELL) $${libsrcdir}/configure \
3028 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3029 --target=${target_alias} $${srcdiroption} \
3030 --with-build-libsubdir=$(HOST_SUBDIR) \
3031 $(STAGE4_CONFIGURE_FLAGS)
3032 @endif bfd-bootstrap
3034 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3035 maybe-configure-stageprofile-bfd:
3036 @if bfd-bootstrap
3037 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3038 configure-stageprofile-bfd:
3039 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3040 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3041 @r=`${PWD_COMMAND}`; export r; \
3042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3043 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3044 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3045 $(HOST_EXPORTS) \
3046 $(POSTSTAGE1_HOST_EXPORTS) \
3047 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3048 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3049 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3050 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
3051 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3052 cd $(HOST_SUBDIR)/bfd || exit 1; \
3053 case $(srcdir) in \
3054 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3055 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3056 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3057 esac; \
3058 srcdiroption="--srcdir=$${topdir}/bfd"; \
3059 libsrcdir="$$s/bfd"; \
3060 $(SHELL) $${libsrcdir}/configure \
3061 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3062 --target=${target_alias} $${srcdiroption} \
3063 --with-build-libsubdir=$(HOST_SUBDIR) \
3064 $(STAGEprofile_CONFIGURE_FLAGS)
3065 @endif bfd-bootstrap
3067 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3068 maybe-configure-stagefeedback-bfd:
3069 @if bfd-bootstrap
3070 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3071 configure-stagefeedback-bfd:
3072 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3073 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3074 @r=`${PWD_COMMAND}`; export r; \
3075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3076 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3077 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3078 $(HOST_EXPORTS) \
3079 $(POSTSTAGE1_HOST_EXPORTS) \
3080 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3081 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3082 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3083 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
3084 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3085 cd $(HOST_SUBDIR)/bfd || exit 1; \
3086 case $(srcdir) in \
3087 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3088 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3089 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3090 esac; \
3091 srcdiroption="--srcdir=$${topdir}/bfd"; \
3092 libsrcdir="$$s/bfd"; \
3093 $(SHELL) $${libsrcdir}/configure \
3094 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3095 --target=${target_alias} $${srcdiroption} \
3096 --with-build-libsubdir=$(HOST_SUBDIR) \
3097 $(STAGEfeedback_CONFIGURE_FLAGS)
3098 @endif bfd-bootstrap
3104 .PHONY: all-bfd maybe-all-bfd
3105 maybe-all-bfd:
3106 @if gcc-bootstrap
3107 all-bfd: stage_current
3108 @endif gcc-bootstrap
3109 @if bfd
3110 TARGET-bfd=all
3111 maybe-all-bfd: all-bfd
3112 all-bfd: configure-bfd
3113 @r=`${PWD_COMMAND}`; export r; \
3114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3115 $(HOST_EXPORTS) \
3116 (cd $(HOST_SUBDIR)/bfd && \
3117 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
3118 $(TARGET-bfd))
3119 @endif bfd
3123 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3124 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3125 maybe-all-stage1-bfd:
3126 maybe-clean-stage1-bfd:
3127 @if bfd-bootstrap
3128 maybe-all-stage1-bfd: all-stage1-bfd
3129 all-stage1: all-stage1-bfd
3130 TARGET-stage1-bfd = $(TARGET-bfd)
3131 all-stage1-bfd: configure-stage1-bfd
3132 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3133 @r=`${PWD_COMMAND}`; export r; \
3134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3135 TFLAGS="$(STAGE1_TFLAGS)"; \
3136 $(HOST_EXPORTS) \
3137 cd $(HOST_SUBDIR)/bfd && \
3138 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3139 CFLAGS="$(STAGE1_CFLAGS)" \
3140 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3141 LIBCFLAGS="$(LIBCFLAGS)" \
3142 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3143 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3144 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3145 $(EXTRA_HOST_FLAGS) \
3146 TFLAGS="$(STAGE1_TFLAGS)" \
3147 $(TARGET-stage1-bfd)
3149 maybe-clean-stage1-bfd: clean-stage1-bfd
3150 clean-stage1: clean-stage1-bfd
3151 clean-stage1-bfd:
3152 @if [ $(current_stage) = stage1 ]; then \
3153 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3154 else \
3155 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3156 $(MAKE) stage1-start; \
3157 fi; \
3158 cd $(HOST_SUBDIR)/bfd && \
3159 $(MAKE) $(EXTRA_HOST_FLAGS) \
3160 clean
3161 @endif bfd-bootstrap
3164 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3165 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3166 maybe-all-stage2-bfd:
3167 maybe-clean-stage2-bfd:
3168 @if bfd-bootstrap
3169 maybe-all-stage2-bfd: all-stage2-bfd
3170 all-stage2: all-stage2-bfd
3171 TARGET-stage2-bfd = $(TARGET-bfd)
3172 all-stage2-bfd: configure-stage2-bfd
3173 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3174 @r=`${PWD_COMMAND}`; export r; \
3175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3176 TFLAGS="$(STAGE2_TFLAGS)"; \
3177 $(HOST_EXPORTS) \
3178 $(POSTSTAGE1_HOST_EXPORTS) \
3179 cd $(HOST_SUBDIR)/bfd && \
3180 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3181 CFLAGS="$(STAGE2_CFLAGS)" \
3182 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3183 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3184 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3185 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3186 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3187 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3188 TFLAGS="$(STAGE2_TFLAGS)" \
3189 $(TARGET-stage2-bfd)
3191 maybe-clean-stage2-bfd: clean-stage2-bfd
3192 clean-stage2: clean-stage2-bfd
3193 clean-stage2-bfd:
3194 @if [ $(current_stage) = stage2 ]; then \
3195 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3196 else \
3197 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3198 $(MAKE) stage2-start; \
3199 fi; \
3200 cd $(HOST_SUBDIR)/bfd && \
3201 $(MAKE) $(EXTRA_HOST_FLAGS) \
3202 $(POSTSTAGE1_FLAGS_TO_PASS) \
3203 clean
3204 @endif bfd-bootstrap
3207 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3208 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3209 maybe-all-stage3-bfd:
3210 maybe-clean-stage3-bfd:
3211 @if bfd-bootstrap
3212 maybe-all-stage3-bfd: all-stage3-bfd
3213 all-stage3: all-stage3-bfd
3214 TARGET-stage3-bfd = $(TARGET-bfd)
3215 all-stage3-bfd: configure-stage3-bfd
3216 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3217 @r=`${PWD_COMMAND}`; export r; \
3218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3219 TFLAGS="$(STAGE3_TFLAGS)"; \
3220 $(HOST_EXPORTS) \
3221 $(POSTSTAGE1_HOST_EXPORTS) \
3222 cd $(HOST_SUBDIR)/bfd && \
3223 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3224 CFLAGS="$(STAGE3_CFLAGS)" \
3225 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3226 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3227 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3228 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3229 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3230 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3231 TFLAGS="$(STAGE3_TFLAGS)" \
3232 $(TARGET-stage3-bfd)
3234 maybe-clean-stage3-bfd: clean-stage3-bfd
3235 clean-stage3: clean-stage3-bfd
3236 clean-stage3-bfd:
3237 @if [ $(current_stage) = stage3 ]; then \
3238 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3239 else \
3240 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3241 $(MAKE) stage3-start; \
3242 fi; \
3243 cd $(HOST_SUBDIR)/bfd && \
3244 $(MAKE) $(EXTRA_HOST_FLAGS) \
3245 $(POSTSTAGE1_FLAGS_TO_PASS) \
3246 clean
3247 @endif bfd-bootstrap
3250 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3251 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3252 maybe-all-stage4-bfd:
3253 maybe-clean-stage4-bfd:
3254 @if bfd-bootstrap
3255 maybe-all-stage4-bfd: all-stage4-bfd
3256 all-stage4: all-stage4-bfd
3257 TARGET-stage4-bfd = $(TARGET-bfd)
3258 all-stage4-bfd: configure-stage4-bfd
3259 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3260 @r=`${PWD_COMMAND}`; export r; \
3261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3262 TFLAGS="$(STAGE4_TFLAGS)"; \
3263 $(HOST_EXPORTS) \
3264 $(POSTSTAGE1_HOST_EXPORTS) \
3265 cd $(HOST_SUBDIR)/bfd && \
3266 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3267 CFLAGS="$(STAGE4_CFLAGS)" \
3268 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3269 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3270 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3271 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3272 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3273 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3274 TFLAGS="$(STAGE4_TFLAGS)" \
3275 $(TARGET-stage4-bfd)
3277 maybe-clean-stage4-bfd: clean-stage4-bfd
3278 clean-stage4: clean-stage4-bfd
3279 clean-stage4-bfd:
3280 @if [ $(current_stage) = stage4 ]; then \
3281 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3282 else \
3283 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3284 $(MAKE) stage4-start; \
3285 fi; \
3286 cd $(HOST_SUBDIR)/bfd && \
3287 $(MAKE) $(EXTRA_HOST_FLAGS) \
3288 $(POSTSTAGE1_FLAGS_TO_PASS) \
3289 clean
3290 @endif bfd-bootstrap
3293 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3294 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3295 maybe-all-stageprofile-bfd:
3296 maybe-clean-stageprofile-bfd:
3297 @if bfd-bootstrap
3298 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3299 all-stageprofile: all-stageprofile-bfd
3300 TARGET-stageprofile-bfd = $(TARGET-bfd)
3301 all-stageprofile-bfd: configure-stageprofile-bfd
3302 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3303 @r=`${PWD_COMMAND}`; export r; \
3304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3305 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3306 $(HOST_EXPORTS) \
3307 $(POSTSTAGE1_HOST_EXPORTS) \
3308 cd $(HOST_SUBDIR)/bfd && \
3309 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3310 CFLAGS="$(STAGEprofile_CFLAGS)" \
3311 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3312 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3313 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3314 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3315 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3316 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3317 TFLAGS="$(STAGEprofile_TFLAGS)" \
3318 $(TARGET-stageprofile-bfd)
3320 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3321 clean-stageprofile: clean-stageprofile-bfd
3322 clean-stageprofile-bfd:
3323 @if [ $(current_stage) = stageprofile ]; then \
3324 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3325 else \
3326 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3327 $(MAKE) stageprofile-start; \
3328 fi; \
3329 cd $(HOST_SUBDIR)/bfd && \
3330 $(MAKE) $(EXTRA_HOST_FLAGS) \
3331 $(POSTSTAGE1_FLAGS_TO_PASS) \
3332 clean
3333 @endif bfd-bootstrap
3336 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3337 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3338 maybe-all-stagefeedback-bfd:
3339 maybe-clean-stagefeedback-bfd:
3340 @if bfd-bootstrap
3341 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3342 all-stagefeedback: all-stagefeedback-bfd
3343 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3344 all-stagefeedback-bfd: configure-stagefeedback-bfd
3345 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3346 @r=`${PWD_COMMAND}`; export r; \
3347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3348 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3349 $(HOST_EXPORTS) \
3350 $(POSTSTAGE1_HOST_EXPORTS) \
3351 cd $(HOST_SUBDIR)/bfd && \
3352 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3353 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3354 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3355 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3356 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3357 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3358 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3359 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3360 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3361 $(TARGET-stagefeedback-bfd)
3363 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3364 clean-stagefeedback: clean-stagefeedback-bfd
3365 clean-stagefeedback-bfd:
3366 @if [ $(current_stage) = stagefeedback ]; then \
3367 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3368 else \
3369 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3370 $(MAKE) stagefeedback-start; \
3371 fi; \
3372 cd $(HOST_SUBDIR)/bfd && \
3373 $(MAKE) $(EXTRA_HOST_FLAGS) \
3374 $(POSTSTAGE1_FLAGS_TO_PASS) \
3375 clean
3376 @endif bfd-bootstrap
3382 .PHONY: check-bfd maybe-check-bfd
3383 maybe-check-bfd:
3384 @if bfd
3385 maybe-check-bfd: check-bfd
3387 check-bfd:
3388 @: $(MAKE); $(unstage)
3389 @r=`${PWD_COMMAND}`; export r; \
3390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3391 $(HOST_EXPORTS) \
3392 (cd $(HOST_SUBDIR)/bfd && \
3393 $(MAKE) $(FLAGS_TO_PASS) check)
3395 @endif bfd
3397 .PHONY: install-bfd maybe-install-bfd
3398 maybe-install-bfd:
3399 @if bfd
3400 maybe-install-bfd: install-bfd
3402 install-bfd: installdirs
3403 @: $(MAKE); $(unstage)
3404 @r=`${PWD_COMMAND}`; export r; \
3405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3406 $(HOST_EXPORTS) \
3407 (cd $(HOST_SUBDIR)/bfd && \
3408 $(MAKE) $(FLAGS_TO_PASS) install)
3410 @endif bfd
3412 .PHONY: install-strip-bfd maybe-install-strip-bfd
3413 maybe-install-strip-bfd:
3414 @if bfd
3415 maybe-install-strip-bfd: install-strip-bfd
3417 install-strip-bfd: installdirs
3418 @: $(MAKE); $(unstage)
3419 @r=`${PWD_COMMAND}`; export r; \
3420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3421 $(HOST_EXPORTS) \
3422 (cd $(HOST_SUBDIR)/bfd && \
3423 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3425 @endif bfd
3427 # Other targets (info, dvi, pdf, etc.)
3429 .PHONY: maybe-info-bfd info-bfd
3430 maybe-info-bfd:
3431 @if bfd
3432 maybe-info-bfd: info-bfd
3434 info-bfd: \
3435 configure-bfd
3436 @[ -f ./bfd/Makefile ] || exit 0; \
3437 r=`${PWD_COMMAND}`; export r; \
3438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3439 $(HOST_EXPORTS) \
3440 for flag in $(EXTRA_HOST_FLAGS) ; do \
3441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3442 done; \
3443 echo "Doing info in bfd" ; \
3444 (cd $(HOST_SUBDIR)/bfd && \
3445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3447 "RANLIB=$${RANLIB}" \
3448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3449 info) \
3450 || exit 1
3452 @endif bfd
3454 .PHONY: maybe-dvi-bfd dvi-bfd
3455 maybe-dvi-bfd:
3456 @if bfd
3457 maybe-dvi-bfd: dvi-bfd
3459 dvi-bfd: \
3460 configure-bfd
3461 @[ -f ./bfd/Makefile ] || exit 0; \
3462 r=`${PWD_COMMAND}`; export r; \
3463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3464 $(HOST_EXPORTS) \
3465 for flag in $(EXTRA_HOST_FLAGS) ; do \
3466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3467 done; \
3468 echo "Doing dvi in bfd" ; \
3469 (cd $(HOST_SUBDIR)/bfd && \
3470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3472 "RANLIB=$${RANLIB}" \
3473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3474 dvi) \
3475 || exit 1
3477 @endif bfd
3479 .PHONY: maybe-pdf-bfd pdf-bfd
3480 maybe-pdf-bfd:
3481 @if bfd
3482 maybe-pdf-bfd: pdf-bfd
3484 pdf-bfd: \
3485 configure-bfd
3486 @[ -f ./bfd/Makefile ] || exit 0; \
3487 r=`${PWD_COMMAND}`; export r; \
3488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3489 $(HOST_EXPORTS) \
3490 for flag in $(EXTRA_HOST_FLAGS) ; do \
3491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3492 done; \
3493 echo "Doing pdf in bfd" ; \
3494 (cd $(HOST_SUBDIR)/bfd && \
3495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3497 "RANLIB=$${RANLIB}" \
3498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3499 pdf) \
3500 || exit 1
3502 @endif bfd
3504 .PHONY: maybe-html-bfd html-bfd
3505 maybe-html-bfd:
3506 @if bfd
3507 maybe-html-bfd: html-bfd
3509 html-bfd: \
3510 configure-bfd
3511 @[ -f ./bfd/Makefile ] || exit 0; \
3512 r=`${PWD_COMMAND}`; export r; \
3513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3514 $(HOST_EXPORTS) \
3515 for flag in $(EXTRA_HOST_FLAGS) ; do \
3516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3517 done; \
3518 echo "Doing html in bfd" ; \
3519 (cd $(HOST_SUBDIR)/bfd && \
3520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3522 "RANLIB=$${RANLIB}" \
3523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3524 html) \
3525 || exit 1
3527 @endif bfd
3529 .PHONY: maybe-TAGS-bfd TAGS-bfd
3530 maybe-TAGS-bfd:
3531 @if bfd
3532 maybe-TAGS-bfd: TAGS-bfd
3534 TAGS-bfd: \
3535 configure-bfd
3536 @[ -f ./bfd/Makefile ] || exit 0; \
3537 r=`${PWD_COMMAND}`; export r; \
3538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3539 $(HOST_EXPORTS) \
3540 for flag in $(EXTRA_HOST_FLAGS) ; do \
3541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3542 done; \
3543 echo "Doing TAGS in bfd" ; \
3544 (cd $(HOST_SUBDIR)/bfd && \
3545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3547 "RANLIB=$${RANLIB}" \
3548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3549 TAGS) \
3550 || exit 1
3552 @endif bfd
3554 .PHONY: maybe-install-info-bfd install-info-bfd
3555 maybe-install-info-bfd:
3556 @if bfd
3557 maybe-install-info-bfd: install-info-bfd
3559 install-info-bfd: \
3560 configure-bfd \
3561 info-bfd
3562 @[ -f ./bfd/Makefile ] || exit 0; \
3563 r=`${PWD_COMMAND}`; export r; \
3564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3565 $(HOST_EXPORTS) \
3566 for flag in $(EXTRA_HOST_FLAGS) ; do \
3567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3568 done; \
3569 echo "Doing install-info in bfd" ; \
3570 (cd $(HOST_SUBDIR)/bfd && \
3571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3573 "RANLIB=$${RANLIB}" \
3574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3575 install-info) \
3576 || exit 1
3578 @endif bfd
3580 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
3581 maybe-install-pdf-bfd:
3582 @if bfd
3583 maybe-install-pdf-bfd: install-pdf-bfd
3585 install-pdf-bfd: \
3586 configure-bfd \
3587 pdf-bfd
3588 @[ -f ./bfd/Makefile ] || exit 0; \
3589 r=`${PWD_COMMAND}`; export r; \
3590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3591 $(HOST_EXPORTS) \
3592 for flag in $(EXTRA_HOST_FLAGS) ; do \
3593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3594 done; \
3595 echo "Doing install-pdf in bfd" ; \
3596 (cd $(HOST_SUBDIR)/bfd && \
3597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3599 "RANLIB=$${RANLIB}" \
3600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3601 install-pdf) \
3602 || exit 1
3604 @endif bfd
3606 .PHONY: maybe-install-html-bfd install-html-bfd
3607 maybe-install-html-bfd:
3608 @if bfd
3609 maybe-install-html-bfd: install-html-bfd
3611 install-html-bfd: \
3612 configure-bfd \
3613 html-bfd
3614 @[ -f ./bfd/Makefile ] || exit 0; \
3615 r=`${PWD_COMMAND}`; export r; \
3616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3617 $(HOST_EXPORTS) \
3618 for flag in $(EXTRA_HOST_FLAGS) ; do \
3619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3620 done; \
3621 echo "Doing install-html in bfd" ; \
3622 (cd $(HOST_SUBDIR)/bfd && \
3623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3625 "RANLIB=$${RANLIB}" \
3626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3627 install-html) \
3628 || exit 1
3630 @endif bfd
3632 .PHONY: maybe-installcheck-bfd installcheck-bfd
3633 maybe-installcheck-bfd:
3634 @if bfd
3635 maybe-installcheck-bfd: installcheck-bfd
3637 installcheck-bfd: \
3638 configure-bfd
3639 @[ -f ./bfd/Makefile ] || exit 0; \
3640 r=`${PWD_COMMAND}`; export r; \
3641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3642 $(HOST_EXPORTS) \
3643 for flag in $(EXTRA_HOST_FLAGS) ; do \
3644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3645 done; \
3646 echo "Doing installcheck in bfd" ; \
3647 (cd $(HOST_SUBDIR)/bfd && \
3648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3650 "RANLIB=$${RANLIB}" \
3651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3652 installcheck) \
3653 || exit 1
3655 @endif bfd
3657 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3658 maybe-mostlyclean-bfd:
3659 @if bfd
3660 maybe-mostlyclean-bfd: mostlyclean-bfd
3662 mostlyclean-bfd:
3663 @[ -f ./bfd/Makefile ] || exit 0; \
3664 r=`${PWD_COMMAND}`; export r; \
3665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3666 $(HOST_EXPORTS) \
3667 for flag in $(EXTRA_HOST_FLAGS) ; do \
3668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3669 done; \
3670 echo "Doing mostlyclean in bfd" ; \
3671 (cd $(HOST_SUBDIR)/bfd && \
3672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3674 "RANLIB=$${RANLIB}" \
3675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3676 mostlyclean) \
3677 || exit 1
3679 @endif bfd
3681 .PHONY: maybe-clean-bfd clean-bfd
3682 maybe-clean-bfd:
3683 @if bfd
3684 maybe-clean-bfd: clean-bfd
3686 clean-bfd:
3687 @[ -f ./bfd/Makefile ] || exit 0; \
3688 r=`${PWD_COMMAND}`; export r; \
3689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3690 $(HOST_EXPORTS) \
3691 for flag in $(EXTRA_HOST_FLAGS) ; do \
3692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3693 done; \
3694 echo "Doing clean in bfd" ; \
3695 (cd $(HOST_SUBDIR)/bfd && \
3696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3698 "RANLIB=$${RANLIB}" \
3699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3700 clean) \
3701 || exit 1
3703 @endif bfd
3705 .PHONY: maybe-distclean-bfd distclean-bfd
3706 maybe-distclean-bfd:
3707 @if bfd
3708 maybe-distclean-bfd: distclean-bfd
3710 distclean-bfd:
3711 @[ -f ./bfd/Makefile ] || exit 0; \
3712 r=`${PWD_COMMAND}`; export r; \
3713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3714 $(HOST_EXPORTS) \
3715 for flag in $(EXTRA_HOST_FLAGS) ; do \
3716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3717 done; \
3718 echo "Doing distclean in bfd" ; \
3719 (cd $(HOST_SUBDIR)/bfd && \
3720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3722 "RANLIB=$${RANLIB}" \
3723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3724 distclean) \
3725 || exit 1
3727 @endif bfd
3729 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3730 maybe-maintainer-clean-bfd:
3731 @if bfd
3732 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3734 maintainer-clean-bfd:
3735 @[ -f ./bfd/Makefile ] || exit 0; \
3736 r=`${PWD_COMMAND}`; export r; \
3737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3738 $(HOST_EXPORTS) \
3739 for flag in $(EXTRA_HOST_FLAGS) ; do \
3740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3741 done; \
3742 echo "Doing maintainer-clean in bfd" ; \
3743 (cd $(HOST_SUBDIR)/bfd && \
3744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3746 "RANLIB=$${RANLIB}" \
3747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3748 maintainer-clean) \
3749 || exit 1
3751 @endif bfd
3755 .PHONY: configure-opcodes maybe-configure-opcodes
3756 maybe-configure-opcodes:
3757 @if gcc-bootstrap
3758 configure-opcodes: stage_current
3759 @endif gcc-bootstrap
3760 @if opcodes
3761 maybe-configure-opcodes: configure-opcodes
3762 configure-opcodes:
3763 @r=`${PWD_COMMAND}`; export r; \
3764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3765 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3766 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3767 $(HOST_EXPORTS) \
3768 echo Configuring in $(HOST_SUBDIR)/opcodes; \
3769 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
3770 case $(srcdir) in \
3771 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3772 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3773 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3774 esac; \
3775 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3776 libsrcdir="$$s/opcodes"; \
3777 $(SHELL) $${libsrcdir}/configure \
3778 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3779 --target=${target_alias} $${srcdiroption} \
3780 || exit 1
3781 @endif opcodes
3785 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
3786 maybe-configure-stage1-opcodes:
3787 @if opcodes-bootstrap
3788 maybe-configure-stage1-opcodes: configure-stage1-opcodes
3789 configure-stage1-opcodes:
3790 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3791 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3792 @r=`${PWD_COMMAND}`; export r; \
3793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3794 TFLAGS="$(STAGE1_TFLAGS)"; \
3795 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3796 $(HOST_EXPORTS) \
3797 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3798 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3799 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3800 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
3801 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3802 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3803 case $(srcdir) in \
3804 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3805 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3806 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3807 esac; \
3808 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3809 libsrcdir="$$s/opcodes"; \
3810 $(SHELL) $${libsrcdir}/configure \
3811 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3812 --target=${target_alias} $${srcdiroption} \
3813 $(STAGE1_CONFIGURE_FLAGS)
3814 @endif opcodes-bootstrap
3816 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
3817 maybe-configure-stage2-opcodes:
3818 @if opcodes-bootstrap
3819 maybe-configure-stage2-opcodes: configure-stage2-opcodes
3820 configure-stage2-opcodes:
3821 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3822 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3823 @r=`${PWD_COMMAND}`; export r; \
3824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3825 TFLAGS="$(STAGE2_TFLAGS)"; \
3826 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3827 $(HOST_EXPORTS) \
3828 $(POSTSTAGE1_HOST_EXPORTS) \
3829 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3830 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3831 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3832 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
3833 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3834 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3835 case $(srcdir) in \
3836 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3837 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3838 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3839 esac; \
3840 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3841 libsrcdir="$$s/opcodes"; \
3842 $(SHELL) $${libsrcdir}/configure \
3843 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3844 --target=${target_alias} $${srcdiroption} \
3845 --with-build-libsubdir=$(HOST_SUBDIR) \
3846 $(STAGE2_CONFIGURE_FLAGS)
3847 @endif opcodes-bootstrap
3849 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
3850 maybe-configure-stage3-opcodes:
3851 @if opcodes-bootstrap
3852 maybe-configure-stage3-opcodes: configure-stage3-opcodes
3853 configure-stage3-opcodes:
3854 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3855 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3856 @r=`${PWD_COMMAND}`; export r; \
3857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3858 TFLAGS="$(STAGE3_TFLAGS)"; \
3859 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3860 $(HOST_EXPORTS) \
3861 $(POSTSTAGE1_HOST_EXPORTS) \
3862 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3863 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3864 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3865 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
3866 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3867 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3868 case $(srcdir) in \
3869 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3870 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3871 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3872 esac; \
3873 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3874 libsrcdir="$$s/opcodes"; \
3875 $(SHELL) $${libsrcdir}/configure \
3876 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3877 --target=${target_alias} $${srcdiroption} \
3878 --with-build-libsubdir=$(HOST_SUBDIR) \
3879 $(STAGE3_CONFIGURE_FLAGS)
3880 @endif opcodes-bootstrap
3882 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
3883 maybe-configure-stage4-opcodes:
3884 @if opcodes-bootstrap
3885 maybe-configure-stage4-opcodes: configure-stage4-opcodes
3886 configure-stage4-opcodes:
3887 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3888 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3889 @r=`${PWD_COMMAND}`; export r; \
3890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3891 TFLAGS="$(STAGE4_TFLAGS)"; \
3892 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3893 $(HOST_EXPORTS) \
3894 $(POSTSTAGE1_HOST_EXPORTS) \
3895 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3896 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3897 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3898 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
3899 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3900 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3901 case $(srcdir) in \
3902 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3903 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3904 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3905 esac; \
3906 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3907 libsrcdir="$$s/opcodes"; \
3908 $(SHELL) $${libsrcdir}/configure \
3909 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3910 --target=${target_alias} $${srcdiroption} \
3911 --with-build-libsubdir=$(HOST_SUBDIR) \
3912 $(STAGE4_CONFIGURE_FLAGS)
3913 @endif opcodes-bootstrap
3915 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
3916 maybe-configure-stageprofile-opcodes:
3917 @if opcodes-bootstrap
3918 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
3919 configure-stageprofile-opcodes:
3920 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3921 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3922 @r=`${PWD_COMMAND}`; export r; \
3923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3924 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3925 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3926 $(HOST_EXPORTS) \
3927 $(POSTSTAGE1_HOST_EXPORTS) \
3928 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3929 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3930 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3931 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
3932 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3933 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3934 case $(srcdir) in \
3935 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3936 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3937 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3938 esac; \
3939 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3940 libsrcdir="$$s/opcodes"; \
3941 $(SHELL) $${libsrcdir}/configure \
3942 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3943 --target=${target_alias} $${srcdiroption} \
3944 --with-build-libsubdir=$(HOST_SUBDIR) \
3945 $(STAGEprofile_CONFIGURE_FLAGS)
3946 @endif opcodes-bootstrap
3948 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
3949 maybe-configure-stagefeedback-opcodes:
3950 @if opcodes-bootstrap
3951 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
3952 configure-stagefeedback-opcodes:
3953 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3954 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3955 @r=`${PWD_COMMAND}`; export r; \
3956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3957 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3958 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3959 $(HOST_EXPORTS) \
3960 $(POSTSTAGE1_HOST_EXPORTS) \
3961 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3962 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3963 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3964 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
3965 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3966 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3967 case $(srcdir) in \
3968 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3969 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3970 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3971 esac; \
3972 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3973 libsrcdir="$$s/opcodes"; \
3974 $(SHELL) $${libsrcdir}/configure \
3975 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3976 --target=${target_alias} $${srcdiroption} \
3977 --with-build-libsubdir=$(HOST_SUBDIR) \
3978 $(STAGEfeedback_CONFIGURE_FLAGS)
3979 @endif opcodes-bootstrap
3985 .PHONY: all-opcodes maybe-all-opcodes
3986 maybe-all-opcodes:
3987 @if gcc-bootstrap
3988 all-opcodes: stage_current
3989 @endif gcc-bootstrap
3990 @if opcodes
3991 TARGET-opcodes=all
3992 maybe-all-opcodes: all-opcodes
3993 all-opcodes: configure-opcodes
3994 @r=`${PWD_COMMAND}`; export r; \
3995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3996 $(HOST_EXPORTS) \
3997 (cd $(HOST_SUBDIR)/opcodes && \
3998 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
3999 $(TARGET-opcodes))
4000 @endif opcodes
4004 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4005 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4006 maybe-all-stage1-opcodes:
4007 maybe-clean-stage1-opcodes:
4008 @if opcodes-bootstrap
4009 maybe-all-stage1-opcodes: all-stage1-opcodes
4010 all-stage1: all-stage1-opcodes
4011 TARGET-stage1-opcodes = $(TARGET-opcodes)
4012 all-stage1-opcodes: configure-stage1-opcodes
4013 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4014 @r=`${PWD_COMMAND}`; export r; \
4015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4016 TFLAGS="$(STAGE1_TFLAGS)"; \
4017 $(HOST_EXPORTS) \
4018 cd $(HOST_SUBDIR)/opcodes && \
4019 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4020 CFLAGS="$(STAGE1_CFLAGS)" \
4021 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4022 LIBCFLAGS="$(LIBCFLAGS)" \
4023 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4024 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4025 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4026 $(EXTRA_HOST_FLAGS) \
4027 TFLAGS="$(STAGE1_TFLAGS)" \
4028 $(TARGET-stage1-opcodes)
4030 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4031 clean-stage1: clean-stage1-opcodes
4032 clean-stage1-opcodes:
4033 @if [ $(current_stage) = stage1 ]; then \
4034 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4035 else \
4036 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4037 $(MAKE) stage1-start; \
4038 fi; \
4039 cd $(HOST_SUBDIR)/opcodes && \
4040 $(MAKE) $(EXTRA_HOST_FLAGS) \
4041 clean
4042 @endif opcodes-bootstrap
4045 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4046 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4047 maybe-all-stage2-opcodes:
4048 maybe-clean-stage2-opcodes:
4049 @if opcodes-bootstrap
4050 maybe-all-stage2-opcodes: all-stage2-opcodes
4051 all-stage2: all-stage2-opcodes
4052 TARGET-stage2-opcodes = $(TARGET-opcodes)
4053 all-stage2-opcodes: configure-stage2-opcodes
4054 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4055 @r=`${PWD_COMMAND}`; export r; \
4056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4057 TFLAGS="$(STAGE2_TFLAGS)"; \
4058 $(HOST_EXPORTS) \
4059 $(POSTSTAGE1_HOST_EXPORTS) \
4060 cd $(HOST_SUBDIR)/opcodes && \
4061 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4062 CFLAGS="$(STAGE2_CFLAGS)" \
4063 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4064 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4065 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4066 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4067 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4068 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4069 TFLAGS="$(STAGE2_TFLAGS)" \
4070 $(TARGET-stage2-opcodes)
4072 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4073 clean-stage2: clean-stage2-opcodes
4074 clean-stage2-opcodes:
4075 @if [ $(current_stage) = stage2 ]; then \
4076 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4077 else \
4078 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4079 $(MAKE) stage2-start; \
4080 fi; \
4081 cd $(HOST_SUBDIR)/opcodes && \
4082 $(MAKE) $(EXTRA_HOST_FLAGS) \
4083 $(POSTSTAGE1_FLAGS_TO_PASS) \
4084 clean
4085 @endif opcodes-bootstrap
4088 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4089 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4090 maybe-all-stage3-opcodes:
4091 maybe-clean-stage3-opcodes:
4092 @if opcodes-bootstrap
4093 maybe-all-stage3-opcodes: all-stage3-opcodes
4094 all-stage3: all-stage3-opcodes
4095 TARGET-stage3-opcodes = $(TARGET-opcodes)
4096 all-stage3-opcodes: configure-stage3-opcodes
4097 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4098 @r=`${PWD_COMMAND}`; export r; \
4099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4100 TFLAGS="$(STAGE3_TFLAGS)"; \
4101 $(HOST_EXPORTS) \
4102 $(POSTSTAGE1_HOST_EXPORTS) \
4103 cd $(HOST_SUBDIR)/opcodes && \
4104 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4105 CFLAGS="$(STAGE3_CFLAGS)" \
4106 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4107 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4108 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4109 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4110 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4111 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4112 TFLAGS="$(STAGE3_TFLAGS)" \
4113 $(TARGET-stage3-opcodes)
4115 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4116 clean-stage3: clean-stage3-opcodes
4117 clean-stage3-opcodes:
4118 @if [ $(current_stage) = stage3 ]; then \
4119 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4120 else \
4121 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4122 $(MAKE) stage3-start; \
4123 fi; \
4124 cd $(HOST_SUBDIR)/opcodes && \
4125 $(MAKE) $(EXTRA_HOST_FLAGS) \
4126 $(POSTSTAGE1_FLAGS_TO_PASS) \
4127 clean
4128 @endif opcodes-bootstrap
4131 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4132 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4133 maybe-all-stage4-opcodes:
4134 maybe-clean-stage4-opcodes:
4135 @if opcodes-bootstrap
4136 maybe-all-stage4-opcodes: all-stage4-opcodes
4137 all-stage4: all-stage4-opcodes
4138 TARGET-stage4-opcodes = $(TARGET-opcodes)
4139 all-stage4-opcodes: configure-stage4-opcodes
4140 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4141 @r=`${PWD_COMMAND}`; export r; \
4142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4143 TFLAGS="$(STAGE4_TFLAGS)"; \
4144 $(HOST_EXPORTS) \
4145 $(POSTSTAGE1_HOST_EXPORTS) \
4146 cd $(HOST_SUBDIR)/opcodes && \
4147 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4148 CFLAGS="$(STAGE4_CFLAGS)" \
4149 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4150 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4151 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4152 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4153 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4154 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4155 TFLAGS="$(STAGE4_TFLAGS)" \
4156 $(TARGET-stage4-opcodes)
4158 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4159 clean-stage4: clean-stage4-opcodes
4160 clean-stage4-opcodes:
4161 @if [ $(current_stage) = stage4 ]; then \
4162 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4163 else \
4164 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4165 $(MAKE) stage4-start; \
4166 fi; \
4167 cd $(HOST_SUBDIR)/opcodes && \
4168 $(MAKE) $(EXTRA_HOST_FLAGS) \
4169 $(POSTSTAGE1_FLAGS_TO_PASS) \
4170 clean
4171 @endif opcodes-bootstrap
4174 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4175 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4176 maybe-all-stageprofile-opcodes:
4177 maybe-clean-stageprofile-opcodes:
4178 @if opcodes-bootstrap
4179 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4180 all-stageprofile: all-stageprofile-opcodes
4181 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4182 all-stageprofile-opcodes: configure-stageprofile-opcodes
4183 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4184 @r=`${PWD_COMMAND}`; export r; \
4185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4186 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4187 $(HOST_EXPORTS) \
4188 $(POSTSTAGE1_HOST_EXPORTS) \
4189 cd $(HOST_SUBDIR)/opcodes && \
4190 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4191 CFLAGS="$(STAGEprofile_CFLAGS)" \
4192 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4193 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4194 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4195 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4196 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4197 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4198 TFLAGS="$(STAGEprofile_TFLAGS)" \
4199 $(TARGET-stageprofile-opcodes)
4201 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4202 clean-stageprofile: clean-stageprofile-opcodes
4203 clean-stageprofile-opcodes:
4204 @if [ $(current_stage) = stageprofile ]; then \
4205 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4206 else \
4207 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4208 $(MAKE) stageprofile-start; \
4209 fi; \
4210 cd $(HOST_SUBDIR)/opcodes && \
4211 $(MAKE) $(EXTRA_HOST_FLAGS) \
4212 $(POSTSTAGE1_FLAGS_TO_PASS) \
4213 clean
4214 @endif opcodes-bootstrap
4217 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4218 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4219 maybe-all-stagefeedback-opcodes:
4220 maybe-clean-stagefeedback-opcodes:
4221 @if opcodes-bootstrap
4222 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4223 all-stagefeedback: all-stagefeedback-opcodes
4224 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4225 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4226 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4227 @r=`${PWD_COMMAND}`; export r; \
4228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4229 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4230 $(HOST_EXPORTS) \
4231 $(POSTSTAGE1_HOST_EXPORTS) \
4232 cd $(HOST_SUBDIR)/opcodes && \
4233 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4234 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4235 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4236 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4237 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4238 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4239 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4240 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4241 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4242 $(TARGET-stagefeedback-opcodes)
4244 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4245 clean-stagefeedback: clean-stagefeedback-opcodes
4246 clean-stagefeedback-opcodes:
4247 @if [ $(current_stage) = stagefeedback ]; then \
4248 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4249 else \
4250 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4251 $(MAKE) stagefeedback-start; \
4252 fi; \
4253 cd $(HOST_SUBDIR)/opcodes && \
4254 $(MAKE) $(EXTRA_HOST_FLAGS) \
4255 $(POSTSTAGE1_FLAGS_TO_PASS) \
4256 clean
4257 @endif opcodes-bootstrap
4263 .PHONY: check-opcodes maybe-check-opcodes
4264 maybe-check-opcodes:
4265 @if opcodes
4266 maybe-check-opcodes: check-opcodes
4268 check-opcodes:
4269 @: $(MAKE); $(unstage)
4270 @r=`${PWD_COMMAND}`; export r; \
4271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4272 $(HOST_EXPORTS) \
4273 (cd $(HOST_SUBDIR)/opcodes && \
4274 $(MAKE) $(FLAGS_TO_PASS) check)
4276 @endif opcodes
4278 .PHONY: install-opcodes maybe-install-opcodes
4279 maybe-install-opcodes:
4280 @if opcodes
4281 maybe-install-opcodes: install-opcodes
4283 install-opcodes: installdirs
4284 @: $(MAKE); $(unstage)
4285 @r=`${PWD_COMMAND}`; export r; \
4286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4287 $(HOST_EXPORTS) \
4288 (cd $(HOST_SUBDIR)/opcodes && \
4289 $(MAKE) $(FLAGS_TO_PASS) install)
4291 @endif opcodes
4293 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
4294 maybe-install-strip-opcodes:
4295 @if opcodes
4296 maybe-install-strip-opcodes: install-strip-opcodes
4298 install-strip-opcodes: installdirs
4299 @: $(MAKE); $(unstage)
4300 @r=`${PWD_COMMAND}`; export r; \
4301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4302 $(HOST_EXPORTS) \
4303 (cd $(HOST_SUBDIR)/opcodes && \
4304 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4306 @endif opcodes
4308 # Other targets (info, dvi, pdf, etc.)
4310 .PHONY: maybe-info-opcodes info-opcodes
4311 maybe-info-opcodes:
4312 @if opcodes
4313 maybe-info-opcodes: info-opcodes
4315 info-opcodes: \
4316 configure-opcodes
4317 @[ -f ./opcodes/Makefile ] || exit 0; \
4318 r=`${PWD_COMMAND}`; export r; \
4319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4320 $(HOST_EXPORTS) \
4321 for flag in $(EXTRA_HOST_FLAGS) ; do \
4322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4323 done; \
4324 echo "Doing info in opcodes" ; \
4325 (cd $(HOST_SUBDIR)/opcodes && \
4326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4328 "RANLIB=$${RANLIB}" \
4329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4330 info) \
4331 || exit 1
4333 @endif opcodes
4335 .PHONY: maybe-dvi-opcodes dvi-opcodes
4336 maybe-dvi-opcodes:
4337 @if opcodes
4338 maybe-dvi-opcodes: dvi-opcodes
4340 dvi-opcodes: \
4341 configure-opcodes
4342 @[ -f ./opcodes/Makefile ] || exit 0; \
4343 r=`${PWD_COMMAND}`; export r; \
4344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4345 $(HOST_EXPORTS) \
4346 for flag in $(EXTRA_HOST_FLAGS) ; do \
4347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4348 done; \
4349 echo "Doing dvi in opcodes" ; \
4350 (cd $(HOST_SUBDIR)/opcodes && \
4351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4353 "RANLIB=$${RANLIB}" \
4354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4355 dvi) \
4356 || exit 1
4358 @endif opcodes
4360 .PHONY: maybe-pdf-opcodes pdf-opcodes
4361 maybe-pdf-opcodes:
4362 @if opcodes
4363 maybe-pdf-opcodes: pdf-opcodes
4365 pdf-opcodes: \
4366 configure-opcodes
4367 @[ -f ./opcodes/Makefile ] || exit 0; \
4368 r=`${PWD_COMMAND}`; export r; \
4369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4370 $(HOST_EXPORTS) \
4371 for flag in $(EXTRA_HOST_FLAGS) ; do \
4372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4373 done; \
4374 echo "Doing pdf in opcodes" ; \
4375 (cd $(HOST_SUBDIR)/opcodes && \
4376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4378 "RANLIB=$${RANLIB}" \
4379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4380 pdf) \
4381 || exit 1
4383 @endif opcodes
4385 .PHONY: maybe-html-opcodes html-opcodes
4386 maybe-html-opcodes:
4387 @if opcodes
4388 maybe-html-opcodes: html-opcodes
4390 html-opcodes: \
4391 configure-opcodes
4392 @[ -f ./opcodes/Makefile ] || exit 0; \
4393 r=`${PWD_COMMAND}`; export r; \
4394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4395 $(HOST_EXPORTS) \
4396 for flag in $(EXTRA_HOST_FLAGS) ; do \
4397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4398 done; \
4399 echo "Doing html in opcodes" ; \
4400 (cd $(HOST_SUBDIR)/opcodes && \
4401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4403 "RANLIB=$${RANLIB}" \
4404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4405 html) \
4406 || exit 1
4408 @endif opcodes
4410 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4411 maybe-TAGS-opcodes:
4412 @if opcodes
4413 maybe-TAGS-opcodes: TAGS-opcodes
4415 TAGS-opcodes: \
4416 configure-opcodes
4417 @[ -f ./opcodes/Makefile ] || exit 0; \
4418 r=`${PWD_COMMAND}`; export r; \
4419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4420 $(HOST_EXPORTS) \
4421 for flag in $(EXTRA_HOST_FLAGS) ; do \
4422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4423 done; \
4424 echo "Doing TAGS in opcodes" ; \
4425 (cd $(HOST_SUBDIR)/opcodes && \
4426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4428 "RANLIB=$${RANLIB}" \
4429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4430 TAGS) \
4431 || exit 1
4433 @endif opcodes
4435 .PHONY: maybe-install-info-opcodes install-info-opcodes
4436 maybe-install-info-opcodes:
4437 @if opcodes
4438 maybe-install-info-opcodes: install-info-opcodes
4440 install-info-opcodes: \
4441 configure-opcodes \
4442 info-opcodes
4443 @[ -f ./opcodes/Makefile ] || exit 0; \
4444 r=`${PWD_COMMAND}`; export r; \
4445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4446 $(HOST_EXPORTS) \
4447 for flag in $(EXTRA_HOST_FLAGS) ; do \
4448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4449 done; \
4450 echo "Doing install-info in opcodes" ; \
4451 (cd $(HOST_SUBDIR)/opcodes && \
4452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4454 "RANLIB=$${RANLIB}" \
4455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4456 install-info) \
4457 || exit 1
4459 @endif opcodes
4461 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
4462 maybe-install-pdf-opcodes:
4463 @if opcodes
4464 maybe-install-pdf-opcodes: install-pdf-opcodes
4466 install-pdf-opcodes: \
4467 configure-opcodes \
4468 pdf-opcodes
4469 @[ -f ./opcodes/Makefile ] || exit 0; \
4470 r=`${PWD_COMMAND}`; export r; \
4471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4472 $(HOST_EXPORTS) \
4473 for flag in $(EXTRA_HOST_FLAGS) ; do \
4474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4475 done; \
4476 echo "Doing install-pdf in opcodes" ; \
4477 (cd $(HOST_SUBDIR)/opcodes && \
4478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4480 "RANLIB=$${RANLIB}" \
4481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4482 install-pdf) \
4483 || exit 1
4485 @endif opcodes
4487 .PHONY: maybe-install-html-opcodes install-html-opcodes
4488 maybe-install-html-opcodes:
4489 @if opcodes
4490 maybe-install-html-opcodes: install-html-opcodes
4492 install-html-opcodes: \
4493 configure-opcodes \
4494 html-opcodes
4495 @[ -f ./opcodes/Makefile ] || exit 0; \
4496 r=`${PWD_COMMAND}`; export r; \
4497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4498 $(HOST_EXPORTS) \
4499 for flag in $(EXTRA_HOST_FLAGS) ; do \
4500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4501 done; \
4502 echo "Doing install-html in opcodes" ; \
4503 (cd $(HOST_SUBDIR)/opcodes && \
4504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4506 "RANLIB=$${RANLIB}" \
4507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4508 install-html) \
4509 || exit 1
4511 @endif opcodes
4513 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4514 maybe-installcheck-opcodes:
4515 @if opcodes
4516 maybe-installcheck-opcodes: installcheck-opcodes
4518 installcheck-opcodes: \
4519 configure-opcodes
4520 @[ -f ./opcodes/Makefile ] || exit 0; \
4521 r=`${PWD_COMMAND}`; export r; \
4522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4523 $(HOST_EXPORTS) \
4524 for flag in $(EXTRA_HOST_FLAGS) ; do \
4525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4526 done; \
4527 echo "Doing installcheck in opcodes" ; \
4528 (cd $(HOST_SUBDIR)/opcodes && \
4529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4531 "RANLIB=$${RANLIB}" \
4532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4533 installcheck) \
4534 || exit 1
4536 @endif opcodes
4538 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4539 maybe-mostlyclean-opcodes:
4540 @if opcodes
4541 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4543 mostlyclean-opcodes:
4544 @[ -f ./opcodes/Makefile ] || exit 0; \
4545 r=`${PWD_COMMAND}`; export r; \
4546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4547 $(HOST_EXPORTS) \
4548 for flag in $(EXTRA_HOST_FLAGS) ; do \
4549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4550 done; \
4551 echo "Doing mostlyclean in opcodes" ; \
4552 (cd $(HOST_SUBDIR)/opcodes && \
4553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4555 "RANLIB=$${RANLIB}" \
4556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4557 mostlyclean) \
4558 || exit 1
4560 @endif opcodes
4562 .PHONY: maybe-clean-opcodes clean-opcodes
4563 maybe-clean-opcodes:
4564 @if opcodes
4565 maybe-clean-opcodes: clean-opcodes
4567 clean-opcodes:
4568 @[ -f ./opcodes/Makefile ] || exit 0; \
4569 r=`${PWD_COMMAND}`; export r; \
4570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4571 $(HOST_EXPORTS) \
4572 for flag in $(EXTRA_HOST_FLAGS) ; do \
4573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4574 done; \
4575 echo "Doing clean in opcodes" ; \
4576 (cd $(HOST_SUBDIR)/opcodes && \
4577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4579 "RANLIB=$${RANLIB}" \
4580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4581 clean) \
4582 || exit 1
4584 @endif opcodes
4586 .PHONY: maybe-distclean-opcodes distclean-opcodes
4587 maybe-distclean-opcodes:
4588 @if opcodes
4589 maybe-distclean-opcodes: distclean-opcodes
4591 distclean-opcodes:
4592 @[ -f ./opcodes/Makefile ] || exit 0; \
4593 r=`${PWD_COMMAND}`; export r; \
4594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4595 $(HOST_EXPORTS) \
4596 for flag in $(EXTRA_HOST_FLAGS) ; do \
4597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4598 done; \
4599 echo "Doing distclean in opcodes" ; \
4600 (cd $(HOST_SUBDIR)/opcodes && \
4601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4603 "RANLIB=$${RANLIB}" \
4604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4605 distclean) \
4606 || exit 1
4608 @endif opcodes
4610 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4611 maybe-maintainer-clean-opcodes:
4612 @if opcodes
4613 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4615 maintainer-clean-opcodes:
4616 @[ -f ./opcodes/Makefile ] || exit 0; \
4617 r=`${PWD_COMMAND}`; export r; \
4618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4619 $(HOST_EXPORTS) \
4620 for flag in $(EXTRA_HOST_FLAGS) ; do \
4621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4622 done; \
4623 echo "Doing maintainer-clean in opcodes" ; \
4624 (cd $(HOST_SUBDIR)/opcodes && \
4625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4627 "RANLIB=$${RANLIB}" \
4628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4629 maintainer-clean) \
4630 || exit 1
4632 @endif opcodes
4636 .PHONY: configure-binutils maybe-configure-binutils
4637 maybe-configure-binutils:
4638 @if gcc-bootstrap
4639 configure-binutils: stage_current
4640 @endif gcc-bootstrap
4641 @if binutils
4642 maybe-configure-binutils: configure-binutils
4643 configure-binutils:
4644 @r=`${PWD_COMMAND}`; export r; \
4645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4646 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4647 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4648 $(HOST_EXPORTS) \
4649 echo Configuring in $(HOST_SUBDIR)/binutils; \
4650 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
4651 case $(srcdir) in \
4652 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4653 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4654 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4655 esac; \
4656 srcdiroption="--srcdir=$${topdir}/binutils"; \
4657 libsrcdir="$$s/binutils"; \
4658 $(SHELL) $${libsrcdir}/configure \
4659 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4660 --target=${target_alias} $${srcdiroption} \
4661 || exit 1
4662 @endif binutils
4666 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
4667 maybe-configure-stage1-binutils:
4668 @if binutils-bootstrap
4669 maybe-configure-stage1-binutils: configure-stage1-binutils
4670 configure-stage1-binutils:
4671 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4672 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4673 @r=`${PWD_COMMAND}`; export r; \
4674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4675 TFLAGS="$(STAGE1_TFLAGS)"; \
4676 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4677 $(HOST_EXPORTS) \
4678 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4679 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4680 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4681 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
4682 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4683 cd $(HOST_SUBDIR)/binutils || exit 1; \
4684 case $(srcdir) in \
4685 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4686 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4687 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4688 esac; \
4689 srcdiroption="--srcdir=$${topdir}/binutils"; \
4690 libsrcdir="$$s/binutils"; \
4691 $(SHELL) $${libsrcdir}/configure \
4692 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4693 --target=${target_alias} $${srcdiroption} \
4694 $(STAGE1_CONFIGURE_FLAGS)
4695 @endif binutils-bootstrap
4697 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
4698 maybe-configure-stage2-binutils:
4699 @if binutils-bootstrap
4700 maybe-configure-stage2-binutils: configure-stage2-binutils
4701 configure-stage2-binutils:
4702 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4703 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4704 @r=`${PWD_COMMAND}`; export r; \
4705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4706 TFLAGS="$(STAGE2_TFLAGS)"; \
4707 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4708 $(HOST_EXPORTS) \
4709 $(POSTSTAGE1_HOST_EXPORTS) \
4710 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4711 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4712 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4713 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
4714 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4715 cd $(HOST_SUBDIR)/binutils || exit 1; \
4716 case $(srcdir) in \
4717 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4718 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4719 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4720 esac; \
4721 srcdiroption="--srcdir=$${topdir}/binutils"; \
4722 libsrcdir="$$s/binutils"; \
4723 $(SHELL) $${libsrcdir}/configure \
4724 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4725 --target=${target_alias} $${srcdiroption} \
4726 --with-build-libsubdir=$(HOST_SUBDIR) \
4727 $(STAGE2_CONFIGURE_FLAGS)
4728 @endif binutils-bootstrap
4730 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
4731 maybe-configure-stage3-binutils:
4732 @if binutils-bootstrap
4733 maybe-configure-stage3-binutils: configure-stage3-binutils
4734 configure-stage3-binutils:
4735 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4736 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4737 @r=`${PWD_COMMAND}`; export r; \
4738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4739 TFLAGS="$(STAGE3_TFLAGS)"; \
4740 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4741 $(HOST_EXPORTS) \
4742 $(POSTSTAGE1_HOST_EXPORTS) \
4743 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4744 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4745 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4746 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
4747 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4748 cd $(HOST_SUBDIR)/binutils || exit 1; \
4749 case $(srcdir) in \
4750 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4751 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4752 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4753 esac; \
4754 srcdiroption="--srcdir=$${topdir}/binutils"; \
4755 libsrcdir="$$s/binutils"; \
4756 $(SHELL) $${libsrcdir}/configure \
4757 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4758 --target=${target_alias} $${srcdiroption} \
4759 --with-build-libsubdir=$(HOST_SUBDIR) \
4760 $(STAGE3_CONFIGURE_FLAGS)
4761 @endif binutils-bootstrap
4763 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
4764 maybe-configure-stage4-binutils:
4765 @if binutils-bootstrap
4766 maybe-configure-stage4-binutils: configure-stage4-binutils
4767 configure-stage4-binutils:
4768 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4769 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4770 @r=`${PWD_COMMAND}`; export r; \
4771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4772 TFLAGS="$(STAGE4_TFLAGS)"; \
4773 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4774 $(HOST_EXPORTS) \
4775 $(POSTSTAGE1_HOST_EXPORTS) \
4776 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4777 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4778 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4779 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
4780 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4781 cd $(HOST_SUBDIR)/binutils || exit 1; \
4782 case $(srcdir) in \
4783 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4784 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4785 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4786 esac; \
4787 srcdiroption="--srcdir=$${topdir}/binutils"; \
4788 libsrcdir="$$s/binutils"; \
4789 $(SHELL) $${libsrcdir}/configure \
4790 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4791 --target=${target_alias} $${srcdiroption} \
4792 --with-build-libsubdir=$(HOST_SUBDIR) \
4793 $(STAGE4_CONFIGURE_FLAGS)
4794 @endif binutils-bootstrap
4796 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
4797 maybe-configure-stageprofile-binutils:
4798 @if binutils-bootstrap
4799 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
4800 configure-stageprofile-binutils:
4801 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4802 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4803 @r=`${PWD_COMMAND}`; export r; \
4804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4805 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4806 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4807 $(HOST_EXPORTS) \
4808 $(POSTSTAGE1_HOST_EXPORTS) \
4809 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4810 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4811 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4812 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
4813 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4814 cd $(HOST_SUBDIR)/binutils || exit 1; \
4815 case $(srcdir) in \
4816 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4817 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4818 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4819 esac; \
4820 srcdiroption="--srcdir=$${topdir}/binutils"; \
4821 libsrcdir="$$s/binutils"; \
4822 $(SHELL) $${libsrcdir}/configure \
4823 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4824 --target=${target_alias} $${srcdiroption} \
4825 --with-build-libsubdir=$(HOST_SUBDIR) \
4826 $(STAGEprofile_CONFIGURE_FLAGS)
4827 @endif binutils-bootstrap
4829 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
4830 maybe-configure-stagefeedback-binutils:
4831 @if binutils-bootstrap
4832 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
4833 configure-stagefeedback-binutils:
4834 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4835 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4836 @r=`${PWD_COMMAND}`; export r; \
4837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4838 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4839 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4840 $(HOST_EXPORTS) \
4841 $(POSTSTAGE1_HOST_EXPORTS) \
4842 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4843 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4844 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4845 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
4846 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4847 cd $(HOST_SUBDIR)/binutils || exit 1; \
4848 case $(srcdir) in \
4849 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4850 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4851 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4852 esac; \
4853 srcdiroption="--srcdir=$${topdir}/binutils"; \
4854 libsrcdir="$$s/binutils"; \
4855 $(SHELL) $${libsrcdir}/configure \
4856 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4857 --target=${target_alias} $${srcdiroption} \
4858 --with-build-libsubdir=$(HOST_SUBDIR) \
4859 $(STAGEfeedback_CONFIGURE_FLAGS)
4860 @endif binutils-bootstrap
4866 .PHONY: all-binutils maybe-all-binutils
4867 maybe-all-binutils:
4868 @if gcc-bootstrap
4869 all-binutils: stage_current
4870 @endif gcc-bootstrap
4871 @if binutils
4872 TARGET-binutils=all
4873 maybe-all-binutils: all-binutils
4874 all-binutils: configure-binutils
4875 @r=`${PWD_COMMAND}`; export r; \
4876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4877 $(HOST_EXPORTS) \
4878 (cd $(HOST_SUBDIR)/binutils && \
4879 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
4880 $(TARGET-binutils))
4881 @endif binutils
4885 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
4886 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
4887 maybe-all-stage1-binutils:
4888 maybe-clean-stage1-binutils:
4889 @if binutils-bootstrap
4890 maybe-all-stage1-binutils: all-stage1-binutils
4891 all-stage1: all-stage1-binutils
4892 TARGET-stage1-binutils = $(TARGET-binutils)
4893 all-stage1-binutils: configure-stage1-binutils
4894 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4895 @r=`${PWD_COMMAND}`; export r; \
4896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4897 TFLAGS="$(STAGE1_TFLAGS)"; \
4898 $(HOST_EXPORTS) \
4899 cd $(HOST_SUBDIR)/binutils && \
4900 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4901 CFLAGS="$(STAGE1_CFLAGS)" \
4902 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4903 LIBCFLAGS="$(LIBCFLAGS)" \
4904 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4905 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4906 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4907 $(EXTRA_HOST_FLAGS) \
4908 TFLAGS="$(STAGE1_TFLAGS)" \
4909 $(TARGET-stage1-binutils)
4911 maybe-clean-stage1-binutils: clean-stage1-binutils
4912 clean-stage1: clean-stage1-binutils
4913 clean-stage1-binutils:
4914 @if [ $(current_stage) = stage1 ]; then \
4915 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
4916 else \
4917 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
4918 $(MAKE) stage1-start; \
4919 fi; \
4920 cd $(HOST_SUBDIR)/binutils && \
4921 $(MAKE) $(EXTRA_HOST_FLAGS) \
4922 clean
4923 @endif binutils-bootstrap
4926 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
4927 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
4928 maybe-all-stage2-binutils:
4929 maybe-clean-stage2-binutils:
4930 @if binutils-bootstrap
4931 maybe-all-stage2-binutils: all-stage2-binutils
4932 all-stage2: all-stage2-binutils
4933 TARGET-stage2-binutils = $(TARGET-binutils)
4934 all-stage2-binutils: configure-stage2-binutils
4935 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4936 @r=`${PWD_COMMAND}`; export r; \
4937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4938 TFLAGS="$(STAGE2_TFLAGS)"; \
4939 $(HOST_EXPORTS) \
4940 $(POSTSTAGE1_HOST_EXPORTS) \
4941 cd $(HOST_SUBDIR)/binutils && \
4942 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4943 CFLAGS="$(STAGE2_CFLAGS)" \
4944 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4945 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4946 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4947 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4948 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4949 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4950 TFLAGS="$(STAGE2_TFLAGS)" \
4951 $(TARGET-stage2-binutils)
4953 maybe-clean-stage2-binutils: clean-stage2-binutils
4954 clean-stage2: clean-stage2-binutils
4955 clean-stage2-binutils:
4956 @if [ $(current_stage) = stage2 ]; then \
4957 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
4958 else \
4959 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
4960 $(MAKE) stage2-start; \
4961 fi; \
4962 cd $(HOST_SUBDIR)/binutils && \
4963 $(MAKE) $(EXTRA_HOST_FLAGS) \
4964 $(POSTSTAGE1_FLAGS_TO_PASS) \
4965 clean
4966 @endif binutils-bootstrap
4969 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
4970 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
4971 maybe-all-stage3-binutils:
4972 maybe-clean-stage3-binutils:
4973 @if binutils-bootstrap
4974 maybe-all-stage3-binutils: all-stage3-binutils
4975 all-stage3: all-stage3-binutils
4976 TARGET-stage3-binutils = $(TARGET-binutils)
4977 all-stage3-binutils: configure-stage3-binutils
4978 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4979 @r=`${PWD_COMMAND}`; export r; \
4980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4981 TFLAGS="$(STAGE3_TFLAGS)"; \
4982 $(HOST_EXPORTS) \
4983 $(POSTSTAGE1_HOST_EXPORTS) \
4984 cd $(HOST_SUBDIR)/binutils && \
4985 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4986 CFLAGS="$(STAGE3_CFLAGS)" \
4987 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4988 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4989 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4990 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4991 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4992 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4993 TFLAGS="$(STAGE3_TFLAGS)" \
4994 $(TARGET-stage3-binutils)
4996 maybe-clean-stage3-binutils: clean-stage3-binutils
4997 clean-stage3: clean-stage3-binutils
4998 clean-stage3-binutils:
4999 @if [ $(current_stage) = stage3 ]; then \
5000 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5001 else \
5002 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5003 $(MAKE) stage3-start; \
5004 fi; \
5005 cd $(HOST_SUBDIR)/binutils && \
5006 $(MAKE) $(EXTRA_HOST_FLAGS) \
5007 $(POSTSTAGE1_FLAGS_TO_PASS) \
5008 clean
5009 @endif binutils-bootstrap
5012 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5013 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5014 maybe-all-stage4-binutils:
5015 maybe-clean-stage4-binutils:
5016 @if binutils-bootstrap
5017 maybe-all-stage4-binutils: all-stage4-binutils
5018 all-stage4: all-stage4-binutils
5019 TARGET-stage4-binutils = $(TARGET-binutils)
5020 all-stage4-binutils: configure-stage4-binutils
5021 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5022 @r=`${PWD_COMMAND}`; export r; \
5023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5024 TFLAGS="$(STAGE4_TFLAGS)"; \
5025 $(HOST_EXPORTS) \
5026 $(POSTSTAGE1_HOST_EXPORTS) \
5027 cd $(HOST_SUBDIR)/binutils && \
5028 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5029 CFLAGS="$(STAGE4_CFLAGS)" \
5030 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5031 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5032 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5033 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5034 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5035 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5036 TFLAGS="$(STAGE4_TFLAGS)" \
5037 $(TARGET-stage4-binutils)
5039 maybe-clean-stage4-binutils: clean-stage4-binutils
5040 clean-stage4: clean-stage4-binutils
5041 clean-stage4-binutils:
5042 @if [ $(current_stage) = stage4 ]; then \
5043 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5044 else \
5045 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5046 $(MAKE) stage4-start; \
5047 fi; \
5048 cd $(HOST_SUBDIR)/binutils && \
5049 $(MAKE) $(EXTRA_HOST_FLAGS) \
5050 $(POSTSTAGE1_FLAGS_TO_PASS) \
5051 clean
5052 @endif binutils-bootstrap
5055 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5056 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5057 maybe-all-stageprofile-binutils:
5058 maybe-clean-stageprofile-binutils:
5059 @if binutils-bootstrap
5060 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5061 all-stageprofile: all-stageprofile-binutils
5062 TARGET-stageprofile-binutils = $(TARGET-binutils)
5063 all-stageprofile-binutils: configure-stageprofile-binutils
5064 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5065 @r=`${PWD_COMMAND}`; export r; \
5066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5067 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5068 $(HOST_EXPORTS) \
5069 $(POSTSTAGE1_HOST_EXPORTS) \
5070 cd $(HOST_SUBDIR)/binutils && \
5071 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5072 CFLAGS="$(STAGEprofile_CFLAGS)" \
5073 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5074 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5075 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5076 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5077 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5078 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5079 TFLAGS="$(STAGEprofile_TFLAGS)" \
5080 $(TARGET-stageprofile-binutils)
5082 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5083 clean-stageprofile: clean-stageprofile-binutils
5084 clean-stageprofile-binutils:
5085 @if [ $(current_stage) = stageprofile ]; then \
5086 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5087 else \
5088 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5089 $(MAKE) stageprofile-start; \
5090 fi; \
5091 cd $(HOST_SUBDIR)/binutils && \
5092 $(MAKE) $(EXTRA_HOST_FLAGS) \
5093 $(POSTSTAGE1_FLAGS_TO_PASS) \
5094 clean
5095 @endif binutils-bootstrap
5098 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5099 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5100 maybe-all-stagefeedback-binutils:
5101 maybe-clean-stagefeedback-binutils:
5102 @if binutils-bootstrap
5103 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5104 all-stagefeedback: all-stagefeedback-binutils
5105 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5106 all-stagefeedback-binutils: configure-stagefeedback-binutils
5107 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5108 @r=`${PWD_COMMAND}`; export r; \
5109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5110 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5111 $(HOST_EXPORTS) \
5112 $(POSTSTAGE1_HOST_EXPORTS) \
5113 cd $(HOST_SUBDIR)/binutils && \
5114 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5115 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5116 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5117 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5118 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5119 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5120 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5121 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5122 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5123 $(TARGET-stagefeedback-binutils)
5125 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5126 clean-stagefeedback: clean-stagefeedback-binutils
5127 clean-stagefeedback-binutils:
5128 @if [ $(current_stage) = stagefeedback ]; then \
5129 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5130 else \
5131 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
5132 $(MAKE) stagefeedback-start; \
5133 fi; \
5134 cd $(HOST_SUBDIR)/binutils && \
5135 $(MAKE) $(EXTRA_HOST_FLAGS) \
5136 $(POSTSTAGE1_FLAGS_TO_PASS) \
5137 clean
5138 @endif binutils-bootstrap
5144 .PHONY: check-binutils maybe-check-binutils
5145 maybe-check-binutils:
5146 @if binutils
5147 maybe-check-binutils: check-binutils
5149 check-binutils:
5150 @: $(MAKE); $(unstage)
5151 @r=`${PWD_COMMAND}`; export r; \
5152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5153 $(HOST_EXPORTS) \
5154 (cd $(HOST_SUBDIR)/binutils && \
5155 $(MAKE) $(FLAGS_TO_PASS) check)
5157 @endif binutils
5159 .PHONY: install-binutils maybe-install-binutils
5160 maybe-install-binutils:
5161 @if binutils
5162 maybe-install-binutils: install-binutils
5164 install-binutils: installdirs
5165 @: $(MAKE); $(unstage)
5166 @r=`${PWD_COMMAND}`; export r; \
5167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5168 $(HOST_EXPORTS) \
5169 (cd $(HOST_SUBDIR)/binutils && \
5170 $(MAKE) $(FLAGS_TO_PASS) install)
5172 @endif binutils
5174 .PHONY: install-strip-binutils maybe-install-strip-binutils
5175 maybe-install-strip-binutils:
5176 @if binutils
5177 maybe-install-strip-binutils: install-strip-binutils
5179 install-strip-binutils: installdirs
5180 @: $(MAKE); $(unstage)
5181 @r=`${PWD_COMMAND}`; export r; \
5182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5183 $(HOST_EXPORTS) \
5184 (cd $(HOST_SUBDIR)/binutils && \
5185 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5187 @endif binutils
5189 # Other targets (info, dvi, pdf, etc.)
5191 .PHONY: maybe-info-binutils info-binutils
5192 maybe-info-binutils:
5193 @if binutils
5194 maybe-info-binutils: info-binutils
5196 info-binutils: \
5197 configure-binutils
5198 @[ -f ./binutils/Makefile ] || exit 0; \
5199 r=`${PWD_COMMAND}`; export r; \
5200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5201 $(HOST_EXPORTS) \
5202 for flag in $(EXTRA_HOST_FLAGS) ; do \
5203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5204 done; \
5205 echo "Doing info in binutils" ; \
5206 (cd $(HOST_SUBDIR)/binutils && \
5207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5209 "RANLIB=$${RANLIB}" \
5210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5211 info) \
5212 || exit 1
5214 @endif binutils
5216 .PHONY: maybe-dvi-binutils dvi-binutils
5217 maybe-dvi-binutils:
5218 @if binutils
5219 maybe-dvi-binutils: dvi-binutils
5221 dvi-binutils: \
5222 configure-binutils
5223 @[ -f ./binutils/Makefile ] || exit 0; \
5224 r=`${PWD_COMMAND}`; export r; \
5225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5226 $(HOST_EXPORTS) \
5227 for flag in $(EXTRA_HOST_FLAGS) ; do \
5228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5229 done; \
5230 echo "Doing dvi in binutils" ; \
5231 (cd $(HOST_SUBDIR)/binutils && \
5232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5234 "RANLIB=$${RANLIB}" \
5235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5236 dvi) \
5237 || exit 1
5239 @endif binutils
5241 .PHONY: maybe-pdf-binutils pdf-binutils
5242 maybe-pdf-binutils:
5243 @if binutils
5244 maybe-pdf-binutils: pdf-binutils
5246 pdf-binutils: \
5247 configure-binutils
5248 @[ -f ./binutils/Makefile ] || exit 0; \
5249 r=`${PWD_COMMAND}`; export r; \
5250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5251 $(HOST_EXPORTS) \
5252 for flag in $(EXTRA_HOST_FLAGS) ; do \
5253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5254 done; \
5255 echo "Doing pdf in binutils" ; \
5256 (cd $(HOST_SUBDIR)/binutils && \
5257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5259 "RANLIB=$${RANLIB}" \
5260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5261 pdf) \
5262 || exit 1
5264 @endif binutils
5266 .PHONY: maybe-html-binutils html-binutils
5267 maybe-html-binutils:
5268 @if binutils
5269 maybe-html-binutils: html-binutils
5271 html-binutils: \
5272 configure-binutils
5273 @[ -f ./binutils/Makefile ] || exit 0; \
5274 r=`${PWD_COMMAND}`; export r; \
5275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5276 $(HOST_EXPORTS) \
5277 for flag in $(EXTRA_HOST_FLAGS) ; do \
5278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5279 done; \
5280 echo "Doing html in binutils" ; \
5281 (cd $(HOST_SUBDIR)/binutils && \
5282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5284 "RANLIB=$${RANLIB}" \
5285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5286 html) \
5287 || exit 1
5289 @endif binutils
5291 .PHONY: maybe-TAGS-binutils TAGS-binutils
5292 maybe-TAGS-binutils:
5293 @if binutils
5294 maybe-TAGS-binutils: TAGS-binutils
5296 TAGS-binutils: \
5297 configure-binutils
5298 @[ -f ./binutils/Makefile ] || exit 0; \
5299 r=`${PWD_COMMAND}`; export r; \
5300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5301 $(HOST_EXPORTS) \
5302 for flag in $(EXTRA_HOST_FLAGS) ; do \
5303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5304 done; \
5305 echo "Doing TAGS in binutils" ; \
5306 (cd $(HOST_SUBDIR)/binutils && \
5307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5309 "RANLIB=$${RANLIB}" \
5310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5311 TAGS) \
5312 || exit 1
5314 @endif binutils
5316 .PHONY: maybe-install-info-binutils install-info-binutils
5317 maybe-install-info-binutils:
5318 @if binutils
5319 maybe-install-info-binutils: install-info-binutils
5321 install-info-binutils: \
5322 configure-binutils \
5323 info-binutils
5324 @[ -f ./binutils/Makefile ] || exit 0; \
5325 r=`${PWD_COMMAND}`; export r; \
5326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5327 $(HOST_EXPORTS) \
5328 for flag in $(EXTRA_HOST_FLAGS) ; do \
5329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5330 done; \
5331 echo "Doing install-info in binutils" ; \
5332 (cd $(HOST_SUBDIR)/binutils && \
5333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5335 "RANLIB=$${RANLIB}" \
5336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5337 install-info) \
5338 || exit 1
5340 @endif binutils
5342 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
5343 maybe-install-pdf-binutils:
5344 @if binutils
5345 maybe-install-pdf-binutils: install-pdf-binutils
5347 install-pdf-binutils: \
5348 configure-binutils \
5349 pdf-binutils
5350 @[ -f ./binutils/Makefile ] || exit 0; \
5351 r=`${PWD_COMMAND}`; export r; \
5352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5353 $(HOST_EXPORTS) \
5354 for flag in $(EXTRA_HOST_FLAGS) ; do \
5355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5356 done; \
5357 echo "Doing install-pdf in binutils" ; \
5358 (cd $(HOST_SUBDIR)/binutils && \
5359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5361 "RANLIB=$${RANLIB}" \
5362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5363 install-pdf) \
5364 || exit 1
5366 @endif binutils
5368 .PHONY: maybe-install-html-binutils install-html-binutils
5369 maybe-install-html-binutils:
5370 @if binutils
5371 maybe-install-html-binutils: install-html-binutils
5373 install-html-binutils: \
5374 configure-binutils \
5375 html-binutils
5376 @[ -f ./binutils/Makefile ] || exit 0; \
5377 r=`${PWD_COMMAND}`; export r; \
5378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5379 $(HOST_EXPORTS) \
5380 for flag in $(EXTRA_HOST_FLAGS) ; do \
5381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5382 done; \
5383 echo "Doing install-html in binutils" ; \
5384 (cd $(HOST_SUBDIR)/binutils && \
5385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5387 "RANLIB=$${RANLIB}" \
5388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5389 install-html) \
5390 || exit 1
5392 @endif binutils
5394 .PHONY: maybe-installcheck-binutils installcheck-binutils
5395 maybe-installcheck-binutils:
5396 @if binutils
5397 maybe-installcheck-binutils: installcheck-binutils
5399 installcheck-binutils: \
5400 configure-binutils
5401 @[ -f ./binutils/Makefile ] || exit 0; \
5402 r=`${PWD_COMMAND}`; export r; \
5403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5404 $(HOST_EXPORTS) \
5405 for flag in $(EXTRA_HOST_FLAGS) ; do \
5406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5407 done; \
5408 echo "Doing installcheck in binutils" ; \
5409 (cd $(HOST_SUBDIR)/binutils && \
5410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5412 "RANLIB=$${RANLIB}" \
5413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5414 installcheck) \
5415 || exit 1
5417 @endif binutils
5419 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5420 maybe-mostlyclean-binutils:
5421 @if binutils
5422 maybe-mostlyclean-binutils: mostlyclean-binutils
5424 mostlyclean-binutils:
5425 @[ -f ./binutils/Makefile ] || exit 0; \
5426 r=`${PWD_COMMAND}`; export r; \
5427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5428 $(HOST_EXPORTS) \
5429 for flag in $(EXTRA_HOST_FLAGS) ; do \
5430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5431 done; \
5432 echo "Doing mostlyclean in binutils" ; \
5433 (cd $(HOST_SUBDIR)/binutils && \
5434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5436 "RANLIB=$${RANLIB}" \
5437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5438 mostlyclean) \
5439 || exit 1
5441 @endif binutils
5443 .PHONY: maybe-clean-binutils clean-binutils
5444 maybe-clean-binutils:
5445 @if binutils
5446 maybe-clean-binutils: clean-binutils
5448 clean-binutils:
5449 @[ -f ./binutils/Makefile ] || exit 0; \
5450 r=`${PWD_COMMAND}`; export r; \
5451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5452 $(HOST_EXPORTS) \
5453 for flag in $(EXTRA_HOST_FLAGS) ; do \
5454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5455 done; \
5456 echo "Doing clean in binutils" ; \
5457 (cd $(HOST_SUBDIR)/binutils && \
5458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5460 "RANLIB=$${RANLIB}" \
5461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5462 clean) \
5463 || exit 1
5465 @endif binutils
5467 .PHONY: maybe-distclean-binutils distclean-binutils
5468 maybe-distclean-binutils:
5469 @if binutils
5470 maybe-distclean-binutils: distclean-binutils
5472 distclean-binutils:
5473 @[ -f ./binutils/Makefile ] || exit 0; \
5474 r=`${PWD_COMMAND}`; export r; \
5475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5476 $(HOST_EXPORTS) \
5477 for flag in $(EXTRA_HOST_FLAGS) ; do \
5478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5479 done; \
5480 echo "Doing distclean in binutils" ; \
5481 (cd $(HOST_SUBDIR)/binutils && \
5482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5484 "RANLIB=$${RANLIB}" \
5485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5486 distclean) \
5487 || exit 1
5489 @endif binutils
5491 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5492 maybe-maintainer-clean-binutils:
5493 @if binutils
5494 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5496 maintainer-clean-binutils:
5497 @[ -f ./binutils/Makefile ] || exit 0; \
5498 r=`${PWD_COMMAND}`; export r; \
5499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5500 $(HOST_EXPORTS) \
5501 for flag in $(EXTRA_HOST_FLAGS) ; do \
5502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5503 done; \
5504 echo "Doing maintainer-clean in binutils" ; \
5505 (cd $(HOST_SUBDIR)/binutils && \
5506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5508 "RANLIB=$${RANLIB}" \
5509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5510 maintainer-clean) \
5511 || exit 1
5513 @endif binutils
5517 .PHONY: configure-bison maybe-configure-bison
5518 maybe-configure-bison:
5519 @if gcc-bootstrap
5520 configure-bison: stage_current
5521 @endif gcc-bootstrap
5522 @if bison
5523 maybe-configure-bison: configure-bison
5524 configure-bison:
5525 @: $(MAKE); $(unstage)
5526 @r=`${PWD_COMMAND}`; export r; \
5527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5528 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5529 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5530 $(HOST_EXPORTS) \
5531 echo Configuring in $(HOST_SUBDIR)/bison; \
5532 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5533 case $(srcdir) in \
5534 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5535 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5536 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5537 esac; \
5538 srcdiroption="--srcdir=$${topdir}/bison"; \
5539 libsrcdir="$$s/bison"; \
5540 $(SHELL) $${libsrcdir}/configure \
5541 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5542 --target=${target_alias} $${srcdiroption} \
5543 || exit 1
5544 @endif bison
5550 .PHONY: all-bison maybe-all-bison
5551 maybe-all-bison:
5552 @if gcc-bootstrap
5553 all-bison: stage_current
5554 @endif gcc-bootstrap
5555 @if bison
5556 TARGET-bison=all
5557 maybe-all-bison: all-bison
5558 all-bison: configure-bison
5559 @: $(MAKE); $(unstage)
5560 @r=`${PWD_COMMAND}`; export r; \
5561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5562 $(HOST_EXPORTS) \
5563 (cd $(HOST_SUBDIR)/bison && \
5564 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
5565 $(TARGET-bison))
5566 @endif bison
5571 .PHONY: check-bison maybe-check-bison
5572 maybe-check-bison:
5573 @if bison
5574 maybe-check-bison: check-bison
5576 # This module is only tested in a native toolchain.
5577 check-bison:
5578 @: $(MAKE); $(unstage)
5579 @if [ '$(host)' = '$(target)' ] ; then \
5580 r=`${PWD_COMMAND}`; export r; \
5581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5582 $(HOST_EXPORTS) \
5583 (cd $(HOST_SUBDIR)/bison && \
5584 $(MAKE) $(FLAGS_TO_PASS) check); \
5587 @endif bison
5589 .PHONY: install-bison maybe-install-bison
5590 maybe-install-bison:
5591 @if bison
5592 maybe-install-bison: install-bison
5594 install-bison: installdirs
5595 @: $(MAKE); $(unstage)
5596 @r=`${PWD_COMMAND}`; export r; \
5597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5598 $(HOST_EXPORTS) \
5599 (cd $(HOST_SUBDIR)/bison && \
5600 $(MAKE) $(FLAGS_TO_PASS) install)
5602 @endif bison
5604 .PHONY: install-strip-bison maybe-install-strip-bison
5605 maybe-install-strip-bison:
5606 @if bison
5607 maybe-install-strip-bison: install-strip-bison
5609 install-strip-bison: installdirs
5610 @: $(MAKE); $(unstage)
5611 @r=`${PWD_COMMAND}`; export r; \
5612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5613 $(HOST_EXPORTS) \
5614 (cd $(HOST_SUBDIR)/bison && \
5615 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5617 @endif bison
5619 # Other targets (info, dvi, pdf, etc.)
5621 .PHONY: maybe-info-bison info-bison
5622 maybe-info-bison:
5623 @if bison
5624 maybe-info-bison: info-bison
5626 info-bison: \
5627 configure-bison
5628 @: $(MAKE); $(unstage)
5629 @[ -f ./bison/Makefile ] || exit 0; \
5630 r=`${PWD_COMMAND}`; export r; \
5631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5632 $(HOST_EXPORTS) \
5633 for flag in $(EXTRA_HOST_FLAGS) ; do \
5634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5635 done; \
5636 echo "Doing info in bison" ; \
5637 (cd $(HOST_SUBDIR)/bison && \
5638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5640 "RANLIB=$${RANLIB}" \
5641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5642 info) \
5643 || exit 1
5645 @endif bison
5647 .PHONY: maybe-dvi-bison dvi-bison
5648 maybe-dvi-bison:
5649 @if bison
5650 maybe-dvi-bison: dvi-bison
5652 dvi-bison: \
5653 configure-bison
5654 @: $(MAKE); $(unstage)
5655 @[ -f ./bison/Makefile ] || exit 0; \
5656 r=`${PWD_COMMAND}`; export r; \
5657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5658 $(HOST_EXPORTS) \
5659 for flag in $(EXTRA_HOST_FLAGS) ; do \
5660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5661 done; \
5662 echo "Doing dvi in bison" ; \
5663 (cd $(HOST_SUBDIR)/bison && \
5664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5666 "RANLIB=$${RANLIB}" \
5667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5668 dvi) \
5669 || exit 1
5671 @endif bison
5673 .PHONY: maybe-pdf-bison pdf-bison
5674 maybe-pdf-bison:
5675 @if bison
5676 maybe-pdf-bison: pdf-bison
5678 pdf-bison: \
5679 configure-bison
5680 @: $(MAKE); $(unstage)
5681 @[ -f ./bison/Makefile ] || exit 0; \
5682 r=`${PWD_COMMAND}`; export r; \
5683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5684 $(HOST_EXPORTS) \
5685 for flag in $(EXTRA_HOST_FLAGS) ; do \
5686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5687 done; \
5688 echo "Doing pdf in bison" ; \
5689 (cd $(HOST_SUBDIR)/bison && \
5690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5692 "RANLIB=$${RANLIB}" \
5693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5694 pdf) \
5695 || exit 1
5697 @endif bison
5699 .PHONY: maybe-html-bison html-bison
5700 maybe-html-bison:
5701 @if bison
5702 maybe-html-bison: html-bison
5704 html-bison: \
5705 configure-bison
5706 @: $(MAKE); $(unstage)
5707 @[ -f ./bison/Makefile ] || exit 0; \
5708 r=`${PWD_COMMAND}`; export r; \
5709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5710 $(HOST_EXPORTS) \
5711 for flag in $(EXTRA_HOST_FLAGS) ; do \
5712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5713 done; \
5714 echo "Doing html in bison" ; \
5715 (cd $(HOST_SUBDIR)/bison && \
5716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5718 "RANLIB=$${RANLIB}" \
5719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5720 html) \
5721 || exit 1
5723 @endif bison
5725 .PHONY: maybe-TAGS-bison TAGS-bison
5726 maybe-TAGS-bison:
5727 @if bison
5728 maybe-TAGS-bison: TAGS-bison
5730 TAGS-bison: \
5731 configure-bison
5732 @: $(MAKE); $(unstage)
5733 @[ -f ./bison/Makefile ] || exit 0; \
5734 r=`${PWD_COMMAND}`; export r; \
5735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5736 $(HOST_EXPORTS) \
5737 for flag in $(EXTRA_HOST_FLAGS) ; do \
5738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5739 done; \
5740 echo "Doing TAGS in bison" ; \
5741 (cd $(HOST_SUBDIR)/bison && \
5742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5744 "RANLIB=$${RANLIB}" \
5745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5746 TAGS) \
5747 || exit 1
5749 @endif bison
5751 .PHONY: maybe-install-info-bison install-info-bison
5752 maybe-install-info-bison:
5753 @if bison
5754 maybe-install-info-bison: install-info-bison
5756 install-info-bison: \
5757 configure-bison \
5758 info-bison
5759 @: $(MAKE); $(unstage)
5760 @[ -f ./bison/Makefile ] || exit 0; \
5761 r=`${PWD_COMMAND}`; export r; \
5762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5763 $(HOST_EXPORTS) \
5764 for flag in $(EXTRA_HOST_FLAGS) ; do \
5765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5766 done; \
5767 echo "Doing install-info in bison" ; \
5768 (cd $(HOST_SUBDIR)/bison && \
5769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5771 "RANLIB=$${RANLIB}" \
5772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5773 install-info) \
5774 || exit 1
5776 @endif bison
5778 .PHONY: maybe-install-pdf-bison install-pdf-bison
5779 maybe-install-pdf-bison:
5780 @if bison
5781 maybe-install-pdf-bison: install-pdf-bison
5783 install-pdf-bison: \
5784 configure-bison \
5785 pdf-bison
5786 @: $(MAKE); $(unstage)
5787 @[ -f ./bison/Makefile ] || exit 0; \
5788 r=`${PWD_COMMAND}`; export r; \
5789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5790 $(HOST_EXPORTS) \
5791 for flag in $(EXTRA_HOST_FLAGS) ; do \
5792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5793 done; \
5794 echo "Doing install-pdf in bison" ; \
5795 (cd $(HOST_SUBDIR)/bison && \
5796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5798 "RANLIB=$${RANLIB}" \
5799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5800 install-pdf) \
5801 || exit 1
5803 @endif bison
5805 .PHONY: maybe-install-html-bison install-html-bison
5806 maybe-install-html-bison:
5807 @if bison
5808 maybe-install-html-bison: install-html-bison
5810 install-html-bison: \
5811 configure-bison \
5812 html-bison
5813 @: $(MAKE); $(unstage)
5814 @[ -f ./bison/Makefile ] || exit 0; \
5815 r=`${PWD_COMMAND}`; export r; \
5816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5817 $(HOST_EXPORTS) \
5818 for flag in $(EXTRA_HOST_FLAGS) ; do \
5819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5820 done; \
5821 echo "Doing install-html in bison" ; \
5822 (cd $(HOST_SUBDIR)/bison && \
5823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5825 "RANLIB=$${RANLIB}" \
5826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5827 install-html) \
5828 || exit 1
5830 @endif bison
5832 .PHONY: maybe-installcheck-bison installcheck-bison
5833 maybe-installcheck-bison:
5834 @if bison
5835 maybe-installcheck-bison: installcheck-bison
5837 installcheck-bison: \
5838 configure-bison
5839 @: $(MAKE); $(unstage)
5840 @[ -f ./bison/Makefile ] || exit 0; \
5841 r=`${PWD_COMMAND}`; export r; \
5842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5843 $(HOST_EXPORTS) \
5844 for flag in $(EXTRA_HOST_FLAGS) ; do \
5845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5846 done; \
5847 echo "Doing installcheck in bison" ; \
5848 (cd $(HOST_SUBDIR)/bison && \
5849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5851 "RANLIB=$${RANLIB}" \
5852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5853 installcheck) \
5854 || exit 1
5856 @endif bison
5858 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
5859 maybe-mostlyclean-bison:
5860 @if bison
5861 maybe-mostlyclean-bison: mostlyclean-bison
5863 mostlyclean-bison:
5864 @: $(MAKE); $(unstage)
5865 @[ -f ./bison/Makefile ] || exit 0; \
5866 r=`${PWD_COMMAND}`; export r; \
5867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5868 $(HOST_EXPORTS) \
5869 for flag in $(EXTRA_HOST_FLAGS) ; do \
5870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5871 done; \
5872 echo "Doing mostlyclean in bison" ; \
5873 (cd $(HOST_SUBDIR)/bison && \
5874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5876 "RANLIB=$${RANLIB}" \
5877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5878 mostlyclean) \
5879 || exit 1
5881 @endif bison
5883 .PHONY: maybe-clean-bison clean-bison
5884 maybe-clean-bison:
5885 @if bison
5886 maybe-clean-bison: clean-bison
5888 clean-bison:
5889 @: $(MAKE); $(unstage)
5890 @[ -f ./bison/Makefile ] || exit 0; \
5891 r=`${PWD_COMMAND}`; export r; \
5892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5893 $(HOST_EXPORTS) \
5894 for flag in $(EXTRA_HOST_FLAGS) ; do \
5895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5896 done; \
5897 echo "Doing clean in bison" ; \
5898 (cd $(HOST_SUBDIR)/bison && \
5899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5901 "RANLIB=$${RANLIB}" \
5902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5903 clean) \
5904 || exit 1
5906 @endif bison
5908 .PHONY: maybe-distclean-bison distclean-bison
5909 maybe-distclean-bison:
5910 @if bison
5911 maybe-distclean-bison: distclean-bison
5913 distclean-bison:
5914 @: $(MAKE); $(unstage)
5915 @[ -f ./bison/Makefile ] || exit 0; \
5916 r=`${PWD_COMMAND}`; export r; \
5917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5918 $(HOST_EXPORTS) \
5919 for flag in $(EXTRA_HOST_FLAGS) ; do \
5920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5921 done; \
5922 echo "Doing distclean in bison" ; \
5923 (cd $(HOST_SUBDIR)/bison && \
5924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5926 "RANLIB=$${RANLIB}" \
5927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5928 distclean) \
5929 || exit 1
5931 @endif bison
5933 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
5934 maybe-maintainer-clean-bison:
5935 @if bison
5936 maybe-maintainer-clean-bison: maintainer-clean-bison
5938 maintainer-clean-bison:
5939 @: $(MAKE); $(unstage)
5940 @[ -f ./bison/Makefile ] || exit 0; \
5941 r=`${PWD_COMMAND}`; export r; \
5942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5943 $(HOST_EXPORTS) \
5944 for flag in $(EXTRA_HOST_FLAGS) ; do \
5945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5946 done; \
5947 echo "Doing maintainer-clean in bison" ; \
5948 (cd $(HOST_SUBDIR)/bison && \
5949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5951 "RANLIB=$${RANLIB}" \
5952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5953 maintainer-clean) \
5954 || exit 1
5956 @endif bison
5960 .PHONY: configure-cgen maybe-configure-cgen
5961 maybe-configure-cgen:
5962 @if gcc-bootstrap
5963 configure-cgen: stage_current
5964 @endif gcc-bootstrap
5965 @if cgen
5966 maybe-configure-cgen: configure-cgen
5967 configure-cgen:
5968 @: $(MAKE); $(unstage)
5969 @r=`${PWD_COMMAND}`; export r; \
5970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5971 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
5972 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \
5973 $(HOST_EXPORTS) \
5974 echo Configuring in $(HOST_SUBDIR)/cgen; \
5975 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
5976 case $(srcdir) in \
5977 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5978 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
5979 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5980 esac; \
5981 srcdiroption="--srcdir=$${topdir}/cgen"; \
5982 libsrcdir="$$s/cgen"; \
5983 $(SHELL) $${libsrcdir}/configure \
5984 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5985 --target=${target_alias} $${srcdiroption} \
5986 || exit 1
5987 @endif cgen
5993 .PHONY: all-cgen maybe-all-cgen
5994 maybe-all-cgen:
5995 @if gcc-bootstrap
5996 all-cgen: stage_current
5997 @endif gcc-bootstrap
5998 @if cgen
5999 TARGET-cgen=all
6000 maybe-all-cgen: all-cgen
6001 all-cgen: configure-cgen
6002 @: $(MAKE); $(unstage)
6003 @r=`${PWD_COMMAND}`; export r; \
6004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6005 $(HOST_EXPORTS) \
6006 (cd $(HOST_SUBDIR)/cgen && \
6007 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6008 $(TARGET-cgen))
6009 @endif cgen
6014 .PHONY: check-cgen maybe-check-cgen
6015 maybe-check-cgen:
6016 @if cgen
6017 maybe-check-cgen: check-cgen
6019 check-cgen:
6020 @: $(MAKE); $(unstage)
6021 @r=`${PWD_COMMAND}`; export r; \
6022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6023 $(HOST_EXPORTS) \
6024 (cd $(HOST_SUBDIR)/cgen && \
6025 $(MAKE) $(FLAGS_TO_PASS) check)
6027 @endif cgen
6029 .PHONY: install-cgen maybe-install-cgen
6030 maybe-install-cgen:
6031 @if cgen
6032 maybe-install-cgen: install-cgen
6034 install-cgen: installdirs
6035 @: $(MAKE); $(unstage)
6036 @r=`${PWD_COMMAND}`; export r; \
6037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6038 $(HOST_EXPORTS) \
6039 (cd $(HOST_SUBDIR)/cgen && \
6040 $(MAKE) $(FLAGS_TO_PASS) install)
6042 @endif cgen
6044 .PHONY: install-strip-cgen maybe-install-strip-cgen
6045 maybe-install-strip-cgen:
6046 @if cgen
6047 maybe-install-strip-cgen: install-strip-cgen
6049 install-strip-cgen: installdirs
6050 @: $(MAKE); $(unstage)
6051 @r=`${PWD_COMMAND}`; export r; \
6052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6053 $(HOST_EXPORTS) \
6054 (cd $(HOST_SUBDIR)/cgen && \
6055 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6057 @endif cgen
6059 # Other targets (info, dvi, pdf, etc.)
6061 .PHONY: maybe-info-cgen info-cgen
6062 maybe-info-cgen:
6063 @if cgen
6064 maybe-info-cgen: info-cgen
6066 info-cgen: \
6067 configure-cgen
6068 @: $(MAKE); $(unstage)
6069 @[ -f ./cgen/Makefile ] || exit 0; \
6070 r=`${PWD_COMMAND}`; export r; \
6071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6072 $(HOST_EXPORTS) \
6073 for flag in $(EXTRA_HOST_FLAGS) ; do \
6074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6075 done; \
6076 echo "Doing info in cgen" ; \
6077 (cd $(HOST_SUBDIR)/cgen && \
6078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6080 "RANLIB=$${RANLIB}" \
6081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6082 info) \
6083 || exit 1
6085 @endif cgen
6087 .PHONY: maybe-dvi-cgen dvi-cgen
6088 maybe-dvi-cgen:
6089 @if cgen
6090 maybe-dvi-cgen: dvi-cgen
6092 dvi-cgen: \
6093 configure-cgen
6094 @: $(MAKE); $(unstage)
6095 @[ -f ./cgen/Makefile ] || exit 0; \
6096 r=`${PWD_COMMAND}`; export r; \
6097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6098 $(HOST_EXPORTS) \
6099 for flag in $(EXTRA_HOST_FLAGS) ; do \
6100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6101 done; \
6102 echo "Doing dvi in cgen" ; \
6103 (cd $(HOST_SUBDIR)/cgen && \
6104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6106 "RANLIB=$${RANLIB}" \
6107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6108 dvi) \
6109 || exit 1
6111 @endif cgen
6113 .PHONY: maybe-pdf-cgen pdf-cgen
6114 maybe-pdf-cgen:
6115 @if cgen
6116 maybe-pdf-cgen: pdf-cgen
6118 pdf-cgen: \
6119 configure-cgen
6120 @: $(MAKE); $(unstage)
6121 @[ -f ./cgen/Makefile ] || exit 0; \
6122 r=`${PWD_COMMAND}`; export r; \
6123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6124 $(HOST_EXPORTS) \
6125 for flag in $(EXTRA_HOST_FLAGS) ; do \
6126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6127 done; \
6128 echo "Doing pdf in cgen" ; \
6129 (cd $(HOST_SUBDIR)/cgen && \
6130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6132 "RANLIB=$${RANLIB}" \
6133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6134 pdf) \
6135 || exit 1
6137 @endif cgen
6139 .PHONY: maybe-html-cgen html-cgen
6140 maybe-html-cgen:
6141 @if cgen
6142 maybe-html-cgen: html-cgen
6144 html-cgen: \
6145 configure-cgen
6146 @: $(MAKE); $(unstage)
6147 @[ -f ./cgen/Makefile ] || exit 0; \
6148 r=`${PWD_COMMAND}`; export r; \
6149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6150 $(HOST_EXPORTS) \
6151 for flag in $(EXTRA_HOST_FLAGS) ; do \
6152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6153 done; \
6154 echo "Doing html in cgen" ; \
6155 (cd $(HOST_SUBDIR)/cgen && \
6156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6158 "RANLIB=$${RANLIB}" \
6159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6160 html) \
6161 || exit 1
6163 @endif cgen
6165 .PHONY: maybe-TAGS-cgen TAGS-cgen
6166 maybe-TAGS-cgen:
6167 @if cgen
6168 maybe-TAGS-cgen: TAGS-cgen
6170 TAGS-cgen: \
6171 configure-cgen
6172 @: $(MAKE); $(unstage)
6173 @[ -f ./cgen/Makefile ] || exit 0; \
6174 r=`${PWD_COMMAND}`; export r; \
6175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6176 $(HOST_EXPORTS) \
6177 for flag in $(EXTRA_HOST_FLAGS) ; do \
6178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6179 done; \
6180 echo "Doing TAGS in cgen" ; \
6181 (cd $(HOST_SUBDIR)/cgen && \
6182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6184 "RANLIB=$${RANLIB}" \
6185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6186 TAGS) \
6187 || exit 1
6189 @endif cgen
6191 .PHONY: maybe-install-info-cgen install-info-cgen
6192 maybe-install-info-cgen:
6193 @if cgen
6194 maybe-install-info-cgen: install-info-cgen
6196 install-info-cgen: \
6197 configure-cgen \
6198 info-cgen
6199 @: $(MAKE); $(unstage)
6200 @[ -f ./cgen/Makefile ] || exit 0; \
6201 r=`${PWD_COMMAND}`; export r; \
6202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6203 $(HOST_EXPORTS) \
6204 for flag in $(EXTRA_HOST_FLAGS) ; do \
6205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6206 done; \
6207 echo "Doing install-info in cgen" ; \
6208 (cd $(HOST_SUBDIR)/cgen && \
6209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6211 "RANLIB=$${RANLIB}" \
6212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6213 install-info) \
6214 || exit 1
6216 @endif cgen
6218 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
6219 maybe-install-pdf-cgen:
6220 @if cgen
6221 maybe-install-pdf-cgen: install-pdf-cgen
6223 install-pdf-cgen: \
6224 configure-cgen \
6225 pdf-cgen
6226 @: $(MAKE); $(unstage)
6227 @[ -f ./cgen/Makefile ] || exit 0; \
6228 r=`${PWD_COMMAND}`; export r; \
6229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6230 $(HOST_EXPORTS) \
6231 for flag in $(EXTRA_HOST_FLAGS) ; do \
6232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6233 done; \
6234 echo "Doing install-pdf in cgen" ; \
6235 (cd $(HOST_SUBDIR)/cgen && \
6236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6238 "RANLIB=$${RANLIB}" \
6239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6240 install-pdf) \
6241 || exit 1
6243 @endif cgen
6245 .PHONY: maybe-install-html-cgen install-html-cgen
6246 maybe-install-html-cgen:
6247 @if cgen
6248 maybe-install-html-cgen: install-html-cgen
6250 install-html-cgen: \
6251 configure-cgen \
6252 html-cgen
6253 @: $(MAKE); $(unstage)
6254 @[ -f ./cgen/Makefile ] || exit 0; \
6255 r=`${PWD_COMMAND}`; export r; \
6256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6257 $(HOST_EXPORTS) \
6258 for flag in $(EXTRA_HOST_FLAGS) ; do \
6259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6260 done; \
6261 echo "Doing install-html in cgen" ; \
6262 (cd $(HOST_SUBDIR)/cgen && \
6263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6265 "RANLIB=$${RANLIB}" \
6266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6267 install-html) \
6268 || exit 1
6270 @endif cgen
6272 .PHONY: maybe-installcheck-cgen installcheck-cgen
6273 maybe-installcheck-cgen:
6274 @if cgen
6275 maybe-installcheck-cgen: installcheck-cgen
6277 installcheck-cgen: \
6278 configure-cgen
6279 @: $(MAKE); $(unstage)
6280 @[ -f ./cgen/Makefile ] || exit 0; \
6281 r=`${PWD_COMMAND}`; export r; \
6282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6283 $(HOST_EXPORTS) \
6284 for flag in $(EXTRA_HOST_FLAGS) ; do \
6285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6286 done; \
6287 echo "Doing installcheck in cgen" ; \
6288 (cd $(HOST_SUBDIR)/cgen && \
6289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6291 "RANLIB=$${RANLIB}" \
6292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6293 installcheck) \
6294 || exit 1
6296 @endif cgen
6298 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
6299 maybe-mostlyclean-cgen:
6300 @if cgen
6301 maybe-mostlyclean-cgen: mostlyclean-cgen
6303 mostlyclean-cgen:
6304 @: $(MAKE); $(unstage)
6305 @[ -f ./cgen/Makefile ] || exit 0; \
6306 r=`${PWD_COMMAND}`; export r; \
6307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6308 $(HOST_EXPORTS) \
6309 for flag in $(EXTRA_HOST_FLAGS) ; do \
6310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6311 done; \
6312 echo "Doing mostlyclean in cgen" ; \
6313 (cd $(HOST_SUBDIR)/cgen && \
6314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6316 "RANLIB=$${RANLIB}" \
6317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6318 mostlyclean) \
6319 || exit 1
6321 @endif cgen
6323 .PHONY: maybe-clean-cgen clean-cgen
6324 maybe-clean-cgen:
6325 @if cgen
6326 maybe-clean-cgen: clean-cgen
6328 clean-cgen:
6329 @: $(MAKE); $(unstage)
6330 @[ -f ./cgen/Makefile ] || exit 0; \
6331 r=`${PWD_COMMAND}`; export r; \
6332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6333 $(HOST_EXPORTS) \
6334 for flag in $(EXTRA_HOST_FLAGS) ; do \
6335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6336 done; \
6337 echo "Doing clean in cgen" ; \
6338 (cd $(HOST_SUBDIR)/cgen && \
6339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6341 "RANLIB=$${RANLIB}" \
6342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6343 clean) \
6344 || exit 1
6346 @endif cgen
6348 .PHONY: maybe-distclean-cgen distclean-cgen
6349 maybe-distclean-cgen:
6350 @if cgen
6351 maybe-distclean-cgen: distclean-cgen
6353 distclean-cgen:
6354 @: $(MAKE); $(unstage)
6355 @[ -f ./cgen/Makefile ] || exit 0; \
6356 r=`${PWD_COMMAND}`; export r; \
6357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6358 $(HOST_EXPORTS) \
6359 for flag in $(EXTRA_HOST_FLAGS) ; do \
6360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6361 done; \
6362 echo "Doing distclean in cgen" ; \
6363 (cd $(HOST_SUBDIR)/cgen && \
6364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6366 "RANLIB=$${RANLIB}" \
6367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6368 distclean) \
6369 || exit 1
6371 @endif cgen
6373 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
6374 maybe-maintainer-clean-cgen:
6375 @if cgen
6376 maybe-maintainer-clean-cgen: maintainer-clean-cgen
6378 maintainer-clean-cgen:
6379 @: $(MAKE); $(unstage)
6380 @[ -f ./cgen/Makefile ] || exit 0; \
6381 r=`${PWD_COMMAND}`; export r; \
6382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6383 $(HOST_EXPORTS) \
6384 for flag in $(EXTRA_HOST_FLAGS) ; do \
6385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6386 done; \
6387 echo "Doing maintainer-clean in cgen" ; \
6388 (cd $(HOST_SUBDIR)/cgen && \
6389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6391 "RANLIB=$${RANLIB}" \
6392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6393 maintainer-clean) \
6394 || exit 1
6396 @endif cgen
6400 .PHONY: configure-dejagnu maybe-configure-dejagnu
6401 maybe-configure-dejagnu:
6402 @if gcc-bootstrap
6403 configure-dejagnu: stage_current
6404 @endif gcc-bootstrap
6405 @if dejagnu
6406 maybe-configure-dejagnu: configure-dejagnu
6407 configure-dejagnu:
6408 @: $(MAKE); $(unstage)
6409 @r=`${PWD_COMMAND}`; export r; \
6410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6411 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6412 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6413 $(HOST_EXPORTS) \
6414 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6415 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6416 case $(srcdir) in \
6417 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6418 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6419 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6420 esac; \
6421 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
6422 libsrcdir="$$s/dejagnu"; \
6423 $(SHELL) $${libsrcdir}/configure \
6424 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6425 --target=${target_alias} $${srcdiroption} \
6426 || exit 1
6427 @endif dejagnu
6433 .PHONY: all-dejagnu maybe-all-dejagnu
6434 maybe-all-dejagnu:
6435 @if gcc-bootstrap
6436 all-dejagnu: stage_current
6437 @endif gcc-bootstrap
6438 @if dejagnu
6439 TARGET-dejagnu=all
6440 maybe-all-dejagnu: all-dejagnu
6441 all-dejagnu: configure-dejagnu
6442 @: $(MAKE); $(unstage)
6443 @r=`${PWD_COMMAND}`; export r; \
6444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6445 $(HOST_EXPORTS) \
6446 (cd $(HOST_SUBDIR)/dejagnu && \
6447 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6448 $(TARGET-dejagnu))
6449 @endif dejagnu
6454 .PHONY: check-dejagnu maybe-check-dejagnu
6455 maybe-check-dejagnu:
6456 @if dejagnu
6457 maybe-check-dejagnu: check-dejagnu
6459 check-dejagnu:
6460 @: $(MAKE); $(unstage)
6461 @r=`${PWD_COMMAND}`; export r; \
6462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6463 $(HOST_EXPORTS) \
6464 (cd $(HOST_SUBDIR)/dejagnu && \
6465 $(MAKE) $(FLAGS_TO_PASS) check)
6467 @endif dejagnu
6469 .PHONY: install-dejagnu maybe-install-dejagnu
6470 maybe-install-dejagnu:
6471 @if dejagnu
6472 maybe-install-dejagnu: install-dejagnu
6474 install-dejagnu: installdirs
6475 @: $(MAKE); $(unstage)
6476 @r=`${PWD_COMMAND}`; export r; \
6477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6478 $(HOST_EXPORTS) \
6479 (cd $(HOST_SUBDIR)/dejagnu && \
6480 $(MAKE) $(FLAGS_TO_PASS) install)
6482 @endif dejagnu
6484 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
6485 maybe-install-strip-dejagnu:
6486 @if dejagnu
6487 maybe-install-strip-dejagnu: install-strip-dejagnu
6489 install-strip-dejagnu: installdirs
6490 @: $(MAKE); $(unstage)
6491 @r=`${PWD_COMMAND}`; export r; \
6492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6493 $(HOST_EXPORTS) \
6494 (cd $(HOST_SUBDIR)/dejagnu && \
6495 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6497 @endif dejagnu
6499 # Other targets (info, dvi, pdf, etc.)
6501 .PHONY: maybe-info-dejagnu info-dejagnu
6502 maybe-info-dejagnu:
6503 @if dejagnu
6504 maybe-info-dejagnu: info-dejagnu
6506 info-dejagnu: \
6507 configure-dejagnu
6508 @: $(MAKE); $(unstage)
6509 @[ -f ./dejagnu/Makefile ] || exit 0; \
6510 r=`${PWD_COMMAND}`; export r; \
6511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6512 $(HOST_EXPORTS) \
6513 for flag in $(EXTRA_HOST_FLAGS) ; do \
6514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6515 done; \
6516 echo "Doing info in dejagnu" ; \
6517 (cd $(HOST_SUBDIR)/dejagnu && \
6518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6520 "RANLIB=$${RANLIB}" \
6521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6522 info) \
6523 || exit 1
6525 @endif dejagnu
6527 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6528 maybe-dvi-dejagnu:
6529 @if dejagnu
6530 maybe-dvi-dejagnu: dvi-dejagnu
6532 dvi-dejagnu: \
6533 configure-dejagnu
6534 @: $(MAKE); $(unstage)
6535 @[ -f ./dejagnu/Makefile ] || exit 0; \
6536 r=`${PWD_COMMAND}`; export r; \
6537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6538 $(HOST_EXPORTS) \
6539 for flag in $(EXTRA_HOST_FLAGS) ; do \
6540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6541 done; \
6542 echo "Doing dvi in dejagnu" ; \
6543 (cd $(HOST_SUBDIR)/dejagnu && \
6544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6546 "RANLIB=$${RANLIB}" \
6547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6548 dvi) \
6549 || exit 1
6551 @endif dejagnu
6553 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
6554 maybe-pdf-dejagnu:
6555 @if dejagnu
6556 maybe-pdf-dejagnu: pdf-dejagnu
6558 pdf-dejagnu: \
6559 configure-dejagnu
6560 @: $(MAKE); $(unstage)
6561 @[ -f ./dejagnu/Makefile ] || exit 0; \
6562 r=`${PWD_COMMAND}`; export r; \
6563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6564 $(HOST_EXPORTS) \
6565 for flag in $(EXTRA_HOST_FLAGS) ; do \
6566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6567 done; \
6568 echo "Doing pdf in dejagnu" ; \
6569 (cd $(HOST_SUBDIR)/dejagnu && \
6570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6572 "RANLIB=$${RANLIB}" \
6573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6574 pdf) \
6575 || exit 1
6577 @endif dejagnu
6579 .PHONY: maybe-html-dejagnu html-dejagnu
6580 maybe-html-dejagnu:
6581 @if dejagnu
6582 maybe-html-dejagnu: html-dejagnu
6584 html-dejagnu: \
6585 configure-dejagnu
6586 @: $(MAKE); $(unstage)
6587 @[ -f ./dejagnu/Makefile ] || exit 0; \
6588 r=`${PWD_COMMAND}`; export r; \
6589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6590 $(HOST_EXPORTS) \
6591 for flag in $(EXTRA_HOST_FLAGS) ; do \
6592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6593 done; \
6594 echo "Doing html in dejagnu" ; \
6595 (cd $(HOST_SUBDIR)/dejagnu && \
6596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6598 "RANLIB=$${RANLIB}" \
6599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6600 html) \
6601 || exit 1
6603 @endif dejagnu
6605 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6606 maybe-TAGS-dejagnu:
6607 @if dejagnu
6608 maybe-TAGS-dejagnu: TAGS-dejagnu
6610 TAGS-dejagnu: \
6611 configure-dejagnu
6612 @: $(MAKE); $(unstage)
6613 @[ -f ./dejagnu/Makefile ] || exit 0; \
6614 r=`${PWD_COMMAND}`; export r; \
6615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6616 $(HOST_EXPORTS) \
6617 for flag in $(EXTRA_HOST_FLAGS) ; do \
6618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6619 done; \
6620 echo "Doing TAGS in dejagnu" ; \
6621 (cd $(HOST_SUBDIR)/dejagnu && \
6622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6624 "RANLIB=$${RANLIB}" \
6625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6626 TAGS) \
6627 || exit 1
6629 @endif dejagnu
6631 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6632 maybe-install-info-dejagnu:
6633 @if dejagnu
6634 maybe-install-info-dejagnu: install-info-dejagnu
6636 install-info-dejagnu: \
6637 configure-dejagnu \
6638 info-dejagnu
6639 @: $(MAKE); $(unstage)
6640 @[ -f ./dejagnu/Makefile ] || exit 0; \
6641 r=`${PWD_COMMAND}`; export r; \
6642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6643 $(HOST_EXPORTS) \
6644 for flag in $(EXTRA_HOST_FLAGS) ; do \
6645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6646 done; \
6647 echo "Doing install-info in dejagnu" ; \
6648 (cd $(HOST_SUBDIR)/dejagnu && \
6649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6651 "RANLIB=$${RANLIB}" \
6652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6653 install-info) \
6654 || exit 1
6656 @endif dejagnu
6658 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
6659 maybe-install-pdf-dejagnu:
6660 @if dejagnu
6661 maybe-install-pdf-dejagnu: install-pdf-dejagnu
6663 install-pdf-dejagnu: \
6664 configure-dejagnu \
6665 pdf-dejagnu
6666 @: $(MAKE); $(unstage)
6667 @[ -f ./dejagnu/Makefile ] || exit 0; \
6668 r=`${PWD_COMMAND}`; export r; \
6669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6670 $(HOST_EXPORTS) \
6671 for flag in $(EXTRA_HOST_FLAGS) ; do \
6672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6673 done; \
6674 echo "Doing install-pdf in dejagnu" ; \
6675 (cd $(HOST_SUBDIR)/dejagnu && \
6676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6678 "RANLIB=$${RANLIB}" \
6679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6680 install-pdf) \
6681 || exit 1
6683 @endif dejagnu
6685 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
6686 maybe-install-html-dejagnu:
6687 @if dejagnu
6688 maybe-install-html-dejagnu: install-html-dejagnu
6690 install-html-dejagnu: \
6691 configure-dejagnu \
6692 html-dejagnu
6693 @: $(MAKE); $(unstage)
6694 @[ -f ./dejagnu/Makefile ] || exit 0; \
6695 r=`${PWD_COMMAND}`; export r; \
6696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6697 $(HOST_EXPORTS) \
6698 for flag in $(EXTRA_HOST_FLAGS) ; do \
6699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6700 done; \
6701 echo "Doing install-html in dejagnu" ; \
6702 (cd $(HOST_SUBDIR)/dejagnu && \
6703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6705 "RANLIB=$${RANLIB}" \
6706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6707 install-html) \
6708 || exit 1
6710 @endif dejagnu
6712 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6713 maybe-installcheck-dejagnu:
6714 @if dejagnu
6715 maybe-installcheck-dejagnu: installcheck-dejagnu
6717 installcheck-dejagnu: \
6718 configure-dejagnu
6719 @: $(MAKE); $(unstage)
6720 @[ -f ./dejagnu/Makefile ] || exit 0; \
6721 r=`${PWD_COMMAND}`; export r; \
6722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6723 $(HOST_EXPORTS) \
6724 for flag in $(EXTRA_HOST_FLAGS) ; do \
6725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6726 done; \
6727 echo "Doing installcheck in dejagnu" ; \
6728 (cd $(HOST_SUBDIR)/dejagnu && \
6729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6731 "RANLIB=$${RANLIB}" \
6732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6733 installcheck) \
6734 || exit 1
6736 @endif dejagnu
6738 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6739 maybe-mostlyclean-dejagnu:
6740 @if dejagnu
6741 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6743 mostlyclean-dejagnu:
6744 @: $(MAKE); $(unstage)
6745 @[ -f ./dejagnu/Makefile ] || exit 0; \
6746 r=`${PWD_COMMAND}`; export r; \
6747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6748 $(HOST_EXPORTS) \
6749 for flag in $(EXTRA_HOST_FLAGS) ; do \
6750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6751 done; \
6752 echo "Doing mostlyclean in dejagnu" ; \
6753 (cd $(HOST_SUBDIR)/dejagnu && \
6754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6756 "RANLIB=$${RANLIB}" \
6757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6758 mostlyclean) \
6759 || exit 1
6761 @endif dejagnu
6763 .PHONY: maybe-clean-dejagnu clean-dejagnu
6764 maybe-clean-dejagnu:
6765 @if dejagnu
6766 maybe-clean-dejagnu: clean-dejagnu
6768 clean-dejagnu:
6769 @: $(MAKE); $(unstage)
6770 @[ -f ./dejagnu/Makefile ] || exit 0; \
6771 r=`${PWD_COMMAND}`; export r; \
6772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6773 $(HOST_EXPORTS) \
6774 for flag in $(EXTRA_HOST_FLAGS) ; do \
6775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6776 done; \
6777 echo "Doing clean in dejagnu" ; \
6778 (cd $(HOST_SUBDIR)/dejagnu && \
6779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6781 "RANLIB=$${RANLIB}" \
6782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6783 clean) \
6784 || exit 1
6786 @endif dejagnu
6788 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6789 maybe-distclean-dejagnu:
6790 @if dejagnu
6791 maybe-distclean-dejagnu: distclean-dejagnu
6793 distclean-dejagnu:
6794 @: $(MAKE); $(unstage)
6795 @[ -f ./dejagnu/Makefile ] || exit 0; \
6796 r=`${PWD_COMMAND}`; export r; \
6797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6798 $(HOST_EXPORTS) \
6799 for flag in $(EXTRA_HOST_FLAGS) ; do \
6800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6801 done; \
6802 echo "Doing distclean in dejagnu" ; \
6803 (cd $(HOST_SUBDIR)/dejagnu && \
6804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6806 "RANLIB=$${RANLIB}" \
6807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6808 distclean) \
6809 || exit 1
6811 @endif dejagnu
6813 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
6814 maybe-maintainer-clean-dejagnu:
6815 @if dejagnu
6816 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6818 maintainer-clean-dejagnu:
6819 @: $(MAKE); $(unstage)
6820 @[ -f ./dejagnu/Makefile ] || exit 0; \
6821 r=`${PWD_COMMAND}`; export r; \
6822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6823 $(HOST_EXPORTS) \
6824 for flag in $(EXTRA_HOST_FLAGS) ; do \
6825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6826 done; \
6827 echo "Doing maintainer-clean in dejagnu" ; \
6828 (cd $(HOST_SUBDIR)/dejagnu && \
6829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6831 "RANLIB=$${RANLIB}" \
6832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6833 maintainer-clean) \
6834 || exit 1
6836 @endif dejagnu
6840 .PHONY: configure-etc maybe-configure-etc
6841 maybe-configure-etc:
6842 @if gcc-bootstrap
6843 configure-etc: stage_current
6844 @endif gcc-bootstrap
6845 @if etc
6846 maybe-configure-etc: configure-etc
6847 configure-etc:
6848 @: $(MAKE); $(unstage)
6849 @r=`${PWD_COMMAND}`; export r; \
6850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6851 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
6852 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
6853 $(HOST_EXPORTS) \
6854 echo Configuring in $(HOST_SUBDIR)/etc; \
6855 cd "$(HOST_SUBDIR)/etc" || exit 1; \
6856 case $(srcdir) in \
6857 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6858 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
6859 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6860 esac; \
6861 srcdiroption="--srcdir=$${topdir}/etc"; \
6862 libsrcdir="$$s/etc"; \
6863 $(SHELL) $${libsrcdir}/configure \
6864 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6865 --target=${target_alias} $${srcdiroption} \
6866 || exit 1
6867 @endif etc
6873 .PHONY: all-etc maybe-all-etc
6874 maybe-all-etc:
6875 @if gcc-bootstrap
6876 all-etc: stage_current
6877 @endif gcc-bootstrap
6878 @if etc
6879 TARGET-etc=all
6880 maybe-all-etc: all-etc
6881 all-etc: configure-etc
6882 @: $(MAKE); $(unstage)
6883 @r=`${PWD_COMMAND}`; export r; \
6884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6885 $(HOST_EXPORTS) \
6886 (cd $(HOST_SUBDIR)/etc && \
6887 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6888 $(TARGET-etc))
6889 @endif etc
6894 .PHONY: check-etc maybe-check-etc
6895 maybe-check-etc:
6896 @if etc
6897 maybe-check-etc: check-etc
6899 check-etc:
6900 @: $(MAKE); $(unstage)
6901 @r=`${PWD_COMMAND}`; export r; \
6902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6903 $(HOST_EXPORTS) \
6904 (cd $(HOST_SUBDIR)/etc && \
6905 $(MAKE) $(FLAGS_TO_PASS) check)
6907 @endif etc
6909 .PHONY: install-etc maybe-install-etc
6910 maybe-install-etc:
6911 @if etc
6912 maybe-install-etc: install-etc
6914 install-etc: installdirs
6915 @: $(MAKE); $(unstage)
6916 @r=`${PWD_COMMAND}`; export r; \
6917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6918 $(HOST_EXPORTS) \
6919 (cd $(HOST_SUBDIR)/etc && \
6920 $(MAKE) $(FLAGS_TO_PASS) install)
6922 @endif etc
6924 .PHONY: install-strip-etc maybe-install-strip-etc
6925 maybe-install-strip-etc:
6926 @if etc
6927 maybe-install-strip-etc: install-strip-etc
6929 install-strip-etc: installdirs
6930 @: $(MAKE); $(unstage)
6931 @r=`${PWD_COMMAND}`; export r; \
6932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6933 $(HOST_EXPORTS) \
6934 (cd $(HOST_SUBDIR)/etc && \
6935 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6937 @endif etc
6939 # Other targets (info, dvi, pdf, etc.)
6941 .PHONY: maybe-info-etc info-etc
6942 maybe-info-etc:
6943 @if etc
6944 maybe-info-etc: info-etc
6946 info-etc: \
6947 configure-etc
6948 @: $(MAKE); $(unstage)
6949 @[ -f ./etc/Makefile ] || exit 0; \
6950 r=`${PWD_COMMAND}`; export r; \
6951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6952 $(HOST_EXPORTS) \
6953 for flag in $(EXTRA_HOST_FLAGS) ; do \
6954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6955 done; \
6956 echo "Doing info in etc" ; \
6957 (cd $(HOST_SUBDIR)/etc && \
6958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6960 "RANLIB=$${RANLIB}" \
6961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6962 info) \
6963 || exit 1
6965 @endif etc
6967 .PHONY: maybe-dvi-etc dvi-etc
6968 maybe-dvi-etc:
6969 @if etc
6970 maybe-dvi-etc: dvi-etc
6972 dvi-etc: \
6973 configure-etc
6974 @: $(MAKE); $(unstage)
6975 @[ -f ./etc/Makefile ] || exit 0; \
6976 r=`${PWD_COMMAND}`; export r; \
6977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6978 $(HOST_EXPORTS) \
6979 for flag in $(EXTRA_HOST_FLAGS) ; do \
6980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6981 done; \
6982 echo "Doing dvi in etc" ; \
6983 (cd $(HOST_SUBDIR)/etc && \
6984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6986 "RANLIB=$${RANLIB}" \
6987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6988 dvi) \
6989 || exit 1
6991 @endif etc
6993 .PHONY: maybe-pdf-etc pdf-etc
6994 maybe-pdf-etc:
6995 @if etc
6996 maybe-pdf-etc: pdf-etc
6998 pdf-etc: \
6999 configure-etc
7000 @: $(MAKE); $(unstage)
7001 @[ -f ./etc/Makefile ] || exit 0; \
7002 r=`${PWD_COMMAND}`; export r; \
7003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7004 $(HOST_EXPORTS) \
7005 for flag in $(EXTRA_HOST_FLAGS) ; do \
7006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7007 done; \
7008 echo "Doing pdf in etc" ; \
7009 (cd $(HOST_SUBDIR)/etc && \
7010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7012 "RANLIB=$${RANLIB}" \
7013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7014 pdf) \
7015 || exit 1
7017 @endif etc
7019 .PHONY: maybe-html-etc html-etc
7020 maybe-html-etc:
7021 @if etc
7022 maybe-html-etc: html-etc
7024 html-etc: \
7025 configure-etc
7026 @: $(MAKE); $(unstage)
7027 @[ -f ./etc/Makefile ] || exit 0; \
7028 r=`${PWD_COMMAND}`; export r; \
7029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7030 $(HOST_EXPORTS) \
7031 for flag in $(EXTRA_HOST_FLAGS) ; do \
7032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7033 done; \
7034 echo "Doing html in etc" ; \
7035 (cd $(HOST_SUBDIR)/etc && \
7036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7038 "RANLIB=$${RANLIB}" \
7039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7040 html) \
7041 || exit 1
7043 @endif etc
7045 .PHONY: maybe-TAGS-etc TAGS-etc
7046 maybe-TAGS-etc:
7047 @if etc
7048 maybe-TAGS-etc: TAGS-etc
7050 TAGS-etc: \
7051 configure-etc
7052 @: $(MAKE); $(unstage)
7053 @[ -f ./etc/Makefile ] || exit 0; \
7054 r=`${PWD_COMMAND}`; export r; \
7055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7056 $(HOST_EXPORTS) \
7057 for flag in $(EXTRA_HOST_FLAGS) ; do \
7058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7059 done; \
7060 echo "Doing TAGS in etc" ; \
7061 (cd $(HOST_SUBDIR)/etc && \
7062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7064 "RANLIB=$${RANLIB}" \
7065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7066 TAGS) \
7067 || exit 1
7069 @endif etc
7071 .PHONY: maybe-install-info-etc install-info-etc
7072 maybe-install-info-etc:
7073 @if etc
7074 maybe-install-info-etc: install-info-etc
7076 install-info-etc: \
7077 configure-etc \
7078 info-etc
7079 @: $(MAKE); $(unstage)
7080 @[ -f ./etc/Makefile ] || exit 0; \
7081 r=`${PWD_COMMAND}`; export r; \
7082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7083 $(HOST_EXPORTS) \
7084 for flag in $(EXTRA_HOST_FLAGS) ; do \
7085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7086 done; \
7087 echo "Doing install-info in etc" ; \
7088 (cd $(HOST_SUBDIR)/etc && \
7089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7091 "RANLIB=$${RANLIB}" \
7092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7093 install-info) \
7094 || exit 1
7096 @endif etc
7098 .PHONY: maybe-install-pdf-etc install-pdf-etc
7099 maybe-install-pdf-etc:
7100 @if etc
7101 maybe-install-pdf-etc: install-pdf-etc
7103 install-pdf-etc: \
7104 configure-etc \
7105 pdf-etc
7106 @: $(MAKE); $(unstage)
7107 @[ -f ./etc/Makefile ] || exit 0; \
7108 r=`${PWD_COMMAND}`; export r; \
7109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7110 $(HOST_EXPORTS) \
7111 for flag in $(EXTRA_HOST_FLAGS) ; do \
7112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7113 done; \
7114 echo "Doing install-pdf in etc" ; \
7115 (cd $(HOST_SUBDIR)/etc && \
7116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7118 "RANLIB=$${RANLIB}" \
7119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7120 install-pdf) \
7121 || exit 1
7123 @endif etc
7125 .PHONY: maybe-install-html-etc install-html-etc
7126 maybe-install-html-etc:
7127 @if etc
7128 maybe-install-html-etc: install-html-etc
7130 install-html-etc: \
7131 configure-etc \
7132 html-etc
7133 @: $(MAKE); $(unstage)
7134 @[ -f ./etc/Makefile ] || exit 0; \
7135 r=`${PWD_COMMAND}`; export r; \
7136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7137 $(HOST_EXPORTS) \
7138 for flag in $(EXTRA_HOST_FLAGS) ; do \
7139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7140 done; \
7141 echo "Doing install-html in etc" ; \
7142 (cd $(HOST_SUBDIR)/etc && \
7143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7145 "RANLIB=$${RANLIB}" \
7146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7147 install-html) \
7148 || exit 1
7150 @endif etc
7152 .PHONY: maybe-installcheck-etc installcheck-etc
7153 maybe-installcheck-etc:
7154 @if etc
7155 maybe-installcheck-etc: installcheck-etc
7157 installcheck-etc: \
7158 configure-etc
7159 @: $(MAKE); $(unstage)
7160 @[ -f ./etc/Makefile ] || exit 0; \
7161 r=`${PWD_COMMAND}`; export r; \
7162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7163 $(HOST_EXPORTS) \
7164 for flag in $(EXTRA_HOST_FLAGS) ; do \
7165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7166 done; \
7167 echo "Doing installcheck in etc" ; \
7168 (cd $(HOST_SUBDIR)/etc && \
7169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7171 "RANLIB=$${RANLIB}" \
7172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7173 installcheck) \
7174 || exit 1
7176 @endif etc
7178 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7179 maybe-mostlyclean-etc:
7180 @if etc
7181 maybe-mostlyclean-etc: mostlyclean-etc
7183 mostlyclean-etc:
7184 @: $(MAKE); $(unstage)
7185 @[ -f ./etc/Makefile ] || exit 0; \
7186 r=`${PWD_COMMAND}`; export r; \
7187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7188 $(HOST_EXPORTS) \
7189 for flag in $(EXTRA_HOST_FLAGS) ; do \
7190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7191 done; \
7192 echo "Doing mostlyclean in etc" ; \
7193 (cd $(HOST_SUBDIR)/etc && \
7194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7196 "RANLIB=$${RANLIB}" \
7197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7198 mostlyclean) \
7199 || exit 1
7201 @endif etc
7203 .PHONY: maybe-clean-etc clean-etc
7204 maybe-clean-etc:
7205 @if etc
7206 maybe-clean-etc: clean-etc
7208 clean-etc:
7209 @: $(MAKE); $(unstage)
7210 @[ -f ./etc/Makefile ] || exit 0; \
7211 r=`${PWD_COMMAND}`; export r; \
7212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7213 $(HOST_EXPORTS) \
7214 for flag in $(EXTRA_HOST_FLAGS) ; do \
7215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7216 done; \
7217 echo "Doing clean in etc" ; \
7218 (cd $(HOST_SUBDIR)/etc && \
7219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7221 "RANLIB=$${RANLIB}" \
7222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7223 clean) \
7224 || exit 1
7226 @endif etc
7228 .PHONY: maybe-distclean-etc distclean-etc
7229 maybe-distclean-etc:
7230 @if etc
7231 maybe-distclean-etc: distclean-etc
7233 distclean-etc:
7234 @: $(MAKE); $(unstage)
7235 @[ -f ./etc/Makefile ] || exit 0; \
7236 r=`${PWD_COMMAND}`; export r; \
7237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7238 $(HOST_EXPORTS) \
7239 for flag in $(EXTRA_HOST_FLAGS) ; do \
7240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7241 done; \
7242 echo "Doing distclean in etc" ; \
7243 (cd $(HOST_SUBDIR)/etc && \
7244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7246 "RANLIB=$${RANLIB}" \
7247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7248 distclean) \
7249 || exit 1
7251 @endif etc
7253 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7254 maybe-maintainer-clean-etc:
7255 @if etc
7256 maybe-maintainer-clean-etc: maintainer-clean-etc
7258 maintainer-clean-etc:
7259 @: $(MAKE); $(unstage)
7260 @[ -f ./etc/Makefile ] || exit 0; \
7261 r=`${PWD_COMMAND}`; export r; \
7262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7263 $(HOST_EXPORTS) \
7264 for flag in $(EXTRA_HOST_FLAGS) ; do \
7265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7266 done; \
7267 echo "Doing maintainer-clean in etc" ; \
7268 (cd $(HOST_SUBDIR)/etc && \
7269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7271 "RANLIB=$${RANLIB}" \
7272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7273 maintainer-clean) \
7274 || exit 1
7276 @endif etc
7280 .PHONY: configure-fastjar maybe-configure-fastjar
7281 maybe-configure-fastjar:
7282 @if gcc-bootstrap
7283 configure-fastjar: stage_current
7284 @endif gcc-bootstrap
7285 @if fastjar
7286 maybe-configure-fastjar: configure-fastjar
7287 configure-fastjar:
7288 @: $(MAKE); $(unstage)
7289 @r=`${PWD_COMMAND}`; export r; \
7290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7291 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
7292 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
7293 $(HOST_EXPORTS) \
7294 echo Configuring in $(HOST_SUBDIR)/fastjar; \
7295 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
7296 case $(srcdir) in \
7297 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7298 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
7299 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7300 esac; \
7301 srcdiroption="--srcdir=$${topdir}/fastjar"; \
7302 libsrcdir="$$s/fastjar"; \
7303 $(SHELL) $${libsrcdir}/configure \
7304 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7305 --target=${target_alias} $${srcdiroption} \
7306 || exit 1
7307 @endif fastjar
7313 .PHONY: all-fastjar maybe-all-fastjar
7314 maybe-all-fastjar:
7315 @if gcc-bootstrap
7316 all-fastjar: stage_current
7317 @endif gcc-bootstrap
7318 @if fastjar
7319 TARGET-fastjar=all
7320 maybe-all-fastjar: all-fastjar
7321 all-fastjar: configure-fastjar
7322 @: $(MAKE); $(unstage)
7323 @r=`${PWD_COMMAND}`; export r; \
7324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7325 $(HOST_EXPORTS) \
7326 (cd $(HOST_SUBDIR)/fastjar && \
7327 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
7328 $(TARGET-fastjar))
7329 @endif fastjar
7334 .PHONY: check-fastjar maybe-check-fastjar
7335 maybe-check-fastjar:
7336 @if fastjar
7337 maybe-check-fastjar: check-fastjar
7339 # This module is only tested in a native toolchain.
7340 check-fastjar:
7341 @: $(MAKE); $(unstage)
7342 @if [ '$(host)' = '$(target)' ] ; then \
7343 r=`${PWD_COMMAND}`; export r; \
7344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7345 $(HOST_EXPORTS) \
7346 (cd $(HOST_SUBDIR)/fastjar && \
7347 $(MAKE) $(FLAGS_TO_PASS) check); \
7350 @endif fastjar
7352 .PHONY: install-fastjar maybe-install-fastjar
7353 maybe-install-fastjar:
7354 @if fastjar
7355 maybe-install-fastjar: install-fastjar
7357 install-fastjar: installdirs
7358 @: $(MAKE); $(unstage)
7359 @r=`${PWD_COMMAND}`; export r; \
7360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7361 $(HOST_EXPORTS) \
7362 (cd $(HOST_SUBDIR)/fastjar && \
7363 $(MAKE) $(FLAGS_TO_PASS) install)
7365 @endif fastjar
7367 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
7368 maybe-install-strip-fastjar:
7369 @if fastjar
7370 maybe-install-strip-fastjar: install-strip-fastjar
7372 install-strip-fastjar: installdirs
7373 @: $(MAKE); $(unstage)
7374 @r=`${PWD_COMMAND}`; export r; \
7375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7376 $(HOST_EXPORTS) \
7377 (cd $(HOST_SUBDIR)/fastjar && \
7378 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7380 @endif fastjar
7382 # Other targets (info, dvi, pdf, etc.)
7384 .PHONY: maybe-info-fastjar info-fastjar
7385 maybe-info-fastjar:
7386 @if fastjar
7387 maybe-info-fastjar: info-fastjar
7389 info-fastjar: \
7390 configure-fastjar
7391 @: $(MAKE); $(unstage)
7392 @[ -f ./fastjar/Makefile ] || exit 0; \
7393 r=`${PWD_COMMAND}`; export r; \
7394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7395 $(HOST_EXPORTS) \
7396 for flag in $(EXTRA_HOST_FLAGS) ; do \
7397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7398 done; \
7399 echo "Doing info in fastjar" ; \
7400 (cd $(HOST_SUBDIR)/fastjar && \
7401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7403 "RANLIB=$${RANLIB}" \
7404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7405 info) \
7406 || exit 1
7408 @endif fastjar
7410 .PHONY: maybe-dvi-fastjar dvi-fastjar
7411 maybe-dvi-fastjar:
7412 @if fastjar
7413 maybe-dvi-fastjar: dvi-fastjar
7415 dvi-fastjar: \
7416 configure-fastjar
7417 @: $(MAKE); $(unstage)
7418 @[ -f ./fastjar/Makefile ] || exit 0; \
7419 r=`${PWD_COMMAND}`; export r; \
7420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7421 $(HOST_EXPORTS) \
7422 for flag in $(EXTRA_HOST_FLAGS) ; do \
7423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7424 done; \
7425 echo "Doing dvi in fastjar" ; \
7426 (cd $(HOST_SUBDIR)/fastjar && \
7427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7429 "RANLIB=$${RANLIB}" \
7430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7431 dvi) \
7432 || exit 1
7434 @endif fastjar
7436 .PHONY: maybe-pdf-fastjar pdf-fastjar
7437 maybe-pdf-fastjar:
7438 @if fastjar
7439 maybe-pdf-fastjar: pdf-fastjar
7441 pdf-fastjar: \
7442 configure-fastjar
7443 @: $(MAKE); $(unstage)
7444 @[ -f ./fastjar/Makefile ] || exit 0; \
7445 r=`${PWD_COMMAND}`; export r; \
7446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7447 $(HOST_EXPORTS) \
7448 for flag in $(EXTRA_HOST_FLAGS) ; do \
7449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7450 done; \
7451 echo "Doing pdf in fastjar" ; \
7452 (cd $(HOST_SUBDIR)/fastjar && \
7453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7455 "RANLIB=$${RANLIB}" \
7456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7457 pdf) \
7458 || exit 1
7460 @endif fastjar
7462 .PHONY: maybe-html-fastjar html-fastjar
7463 maybe-html-fastjar:
7464 @if fastjar
7465 maybe-html-fastjar: html-fastjar
7467 html-fastjar: \
7468 configure-fastjar
7469 @: $(MAKE); $(unstage)
7470 @[ -f ./fastjar/Makefile ] || exit 0; \
7471 r=`${PWD_COMMAND}`; export r; \
7472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7473 $(HOST_EXPORTS) \
7474 for flag in $(EXTRA_HOST_FLAGS) ; do \
7475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7476 done; \
7477 echo "Doing html in fastjar" ; \
7478 (cd $(HOST_SUBDIR)/fastjar && \
7479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7481 "RANLIB=$${RANLIB}" \
7482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7483 html) \
7484 || exit 1
7486 @endif fastjar
7488 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7489 maybe-TAGS-fastjar:
7490 @if fastjar
7491 maybe-TAGS-fastjar: TAGS-fastjar
7493 TAGS-fastjar: \
7494 configure-fastjar
7495 @: $(MAKE); $(unstage)
7496 @[ -f ./fastjar/Makefile ] || exit 0; \
7497 r=`${PWD_COMMAND}`; export r; \
7498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7499 $(HOST_EXPORTS) \
7500 for flag in $(EXTRA_HOST_FLAGS) ; do \
7501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7502 done; \
7503 echo "Doing TAGS in fastjar" ; \
7504 (cd $(HOST_SUBDIR)/fastjar && \
7505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7507 "RANLIB=$${RANLIB}" \
7508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7509 TAGS) \
7510 || exit 1
7512 @endif fastjar
7514 .PHONY: maybe-install-info-fastjar install-info-fastjar
7515 maybe-install-info-fastjar:
7516 @if fastjar
7517 maybe-install-info-fastjar: install-info-fastjar
7519 install-info-fastjar: \
7520 configure-fastjar \
7521 info-fastjar
7522 @: $(MAKE); $(unstage)
7523 @[ -f ./fastjar/Makefile ] || exit 0; \
7524 r=`${PWD_COMMAND}`; export r; \
7525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7526 $(HOST_EXPORTS) \
7527 for flag in $(EXTRA_HOST_FLAGS) ; do \
7528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7529 done; \
7530 echo "Doing install-info in fastjar" ; \
7531 (cd $(HOST_SUBDIR)/fastjar && \
7532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7534 "RANLIB=$${RANLIB}" \
7535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7536 install-info) \
7537 || exit 1
7539 @endif fastjar
7541 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
7542 maybe-install-pdf-fastjar:
7543 @if fastjar
7544 maybe-install-pdf-fastjar: install-pdf-fastjar
7546 install-pdf-fastjar: \
7547 configure-fastjar \
7548 pdf-fastjar
7549 @: $(MAKE); $(unstage)
7550 @[ -f ./fastjar/Makefile ] || exit 0; \
7551 r=`${PWD_COMMAND}`; export r; \
7552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7553 $(HOST_EXPORTS) \
7554 for flag in $(EXTRA_HOST_FLAGS) ; do \
7555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7556 done; \
7557 echo "Doing install-pdf in fastjar" ; \
7558 (cd $(HOST_SUBDIR)/fastjar && \
7559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7561 "RANLIB=$${RANLIB}" \
7562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7563 install-pdf) \
7564 || exit 1
7566 @endif fastjar
7568 .PHONY: maybe-install-html-fastjar install-html-fastjar
7569 maybe-install-html-fastjar:
7570 @if fastjar
7571 maybe-install-html-fastjar: install-html-fastjar
7573 install-html-fastjar: \
7574 configure-fastjar \
7575 html-fastjar
7576 @: $(MAKE); $(unstage)
7577 @[ -f ./fastjar/Makefile ] || exit 0; \
7578 r=`${PWD_COMMAND}`; export r; \
7579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7580 $(HOST_EXPORTS) \
7581 for flag in $(EXTRA_HOST_FLAGS) ; do \
7582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7583 done; \
7584 echo "Doing install-html in fastjar" ; \
7585 (cd $(HOST_SUBDIR)/fastjar && \
7586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7588 "RANLIB=$${RANLIB}" \
7589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7590 install-html) \
7591 || exit 1
7593 @endif fastjar
7595 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7596 maybe-installcheck-fastjar:
7597 @if fastjar
7598 maybe-installcheck-fastjar: installcheck-fastjar
7600 installcheck-fastjar: \
7601 configure-fastjar
7602 @: $(MAKE); $(unstage)
7603 @[ -f ./fastjar/Makefile ] || exit 0; \
7604 r=`${PWD_COMMAND}`; export r; \
7605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7606 $(HOST_EXPORTS) \
7607 for flag in $(EXTRA_HOST_FLAGS) ; do \
7608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7609 done; \
7610 echo "Doing installcheck in fastjar" ; \
7611 (cd $(HOST_SUBDIR)/fastjar && \
7612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7614 "RANLIB=$${RANLIB}" \
7615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7616 installcheck) \
7617 || exit 1
7619 @endif fastjar
7621 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7622 maybe-mostlyclean-fastjar:
7623 @if fastjar
7624 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7626 mostlyclean-fastjar:
7627 @: $(MAKE); $(unstage)
7628 @[ -f ./fastjar/Makefile ] || exit 0; \
7629 r=`${PWD_COMMAND}`; export r; \
7630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7631 $(HOST_EXPORTS) \
7632 for flag in $(EXTRA_HOST_FLAGS) ; do \
7633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7634 done; \
7635 echo "Doing mostlyclean in fastjar" ; \
7636 (cd $(HOST_SUBDIR)/fastjar && \
7637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7639 "RANLIB=$${RANLIB}" \
7640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7641 mostlyclean) \
7642 || exit 1
7644 @endif fastjar
7646 .PHONY: maybe-clean-fastjar clean-fastjar
7647 maybe-clean-fastjar:
7648 @if fastjar
7649 maybe-clean-fastjar: clean-fastjar
7651 clean-fastjar:
7652 @: $(MAKE); $(unstage)
7653 @[ -f ./fastjar/Makefile ] || exit 0; \
7654 r=`${PWD_COMMAND}`; export r; \
7655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7656 $(HOST_EXPORTS) \
7657 for flag in $(EXTRA_HOST_FLAGS) ; do \
7658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7659 done; \
7660 echo "Doing clean in fastjar" ; \
7661 (cd $(HOST_SUBDIR)/fastjar && \
7662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7664 "RANLIB=$${RANLIB}" \
7665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7666 clean) \
7667 || exit 1
7669 @endif fastjar
7671 .PHONY: maybe-distclean-fastjar distclean-fastjar
7672 maybe-distclean-fastjar:
7673 @if fastjar
7674 maybe-distclean-fastjar: distclean-fastjar
7676 distclean-fastjar:
7677 @: $(MAKE); $(unstage)
7678 @[ -f ./fastjar/Makefile ] || exit 0; \
7679 r=`${PWD_COMMAND}`; export r; \
7680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7681 $(HOST_EXPORTS) \
7682 for flag in $(EXTRA_HOST_FLAGS) ; do \
7683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7684 done; \
7685 echo "Doing distclean in fastjar" ; \
7686 (cd $(HOST_SUBDIR)/fastjar && \
7687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7689 "RANLIB=$${RANLIB}" \
7690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7691 distclean) \
7692 || exit 1
7694 @endif fastjar
7696 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7697 maybe-maintainer-clean-fastjar:
7698 @if fastjar
7699 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7701 maintainer-clean-fastjar:
7702 @: $(MAKE); $(unstage)
7703 @[ -f ./fastjar/Makefile ] || exit 0; \
7704 r=`${PWD_COMMAND}`; export r; \
7705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7706 $(HOST_EXPORTS) \
7707 for flag in $(EXTRA_HOST_FLAGS) ; do \
7708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7709 done; \
7710 echo "Doing maintainer-clean in fastjar" ; \
7711 (cd $(HOST_SUBDIR)/fastjar && \
7712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7714 "RANLIB=$${RANLIB}" \
7715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7716 maintainer-clean) \
7717 || exit 1
7719 @endif fastjar
7723 .PHONY: configure-fixincludes maybe-configure-fixincludes
7724 maybe-configure-fixincludes:
7725 @if gcc-bootstrap
7726 configure-fixincludes: stage_current
7727 @endif gcc-bootstrap
7728 @if fixincludes
7729 maybe-configure-fixincludes: configure-fixincludes
7730 configure-fixincludes:
7731 @: $(MAKE); $(unstage)
7732 @r=`${PWD_COMMAND}`; export r; \
7733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7734 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7735 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7736 $(HOST_EXPORTS) \
7737 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
7738 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
7739 case $(srcdir) in \
7740 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7741 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7742 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7743 esac; \
7744 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
7745 libsrcdir="$$s/fixincludes"; \
7746 $(SHELL) $${libsrcdir}/configure \
7747 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7748 --target=${target_alias} $${srcdiroption} \
7749 || exit 1
7750 @endif fixincludes
7756 .PHONY: all-fixincludes maybe-all-fixincludes
7757 maybe-all-fixincludes:
7758 @if gcc-bootstrap
7759 all-fixincludes: stage_current
7760 @endif gcc-bootstrap
7761 @if fixincludes
7762 TARGET-fixincludes=all
7763 maybe-all-fixincludes: all-fixincludes
7764 all-fixincludes: configure-fixincludes
7765 @: $(MAKE); $(unstage)
7766 @r=`${PWD_COMMAND}`; export r; \
7767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7768 $(HOST_EXPORTS) \
7769 (cd $(HOST_SUBDIR)/fixincludes && \
7770 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
7771 $(TARGET-fixincludes))
7772 @endif fixincludes
7777 .PHONY: check-fixincludes maybe-check-fixincludes
7778 maybe-check-fixincludes:
7779 @if fixincludes
7780 maybe-check-fixincludes: check-fixincludes
7782 check-fixincludes:
7783 @: $(MAKE); $(unstage)
7784 @r=`${PWD_COMMAND}`; export r; \
7785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7786 $(HOST_EXPORTS) \
7787 (cd $(HOST_SUBDIR)/fixincludes && \
7788 $(MAKE) $(FLAGS_TO_PASS) check)
7790 @endif fixincludes
7792 .PHONY: install-fixincludes maybe-install-fixincludes
7793 maybe-install-fixincludes:
7794 @if fixincludes
7795 maybe-install-fixincludes: install-fixincludes
7797 install-fixincludes: installdirs
7798 @: $(MAKE); $(unstage)
7799 @r=`${PWD_COMMAND}`; export r; \
7800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7801 $(HOST_EXPORTS) \
7802 (cd $(HOST_SUBDIR)/fixincludes && \
7803 $(MAKE) $(FLAGS_TO_PASS) install)
7805 @endif fixincludes
7807 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
7808 maybe-install-strip-fixincludes:
7809 @if fixincludes
7810 maybe-install-strip-fixincludes: install-strip-fixincludes
7812 install-strip-fixincludes: installdirs
7813 @: $(MAKE); $(unstage)
7814 @r=`${PWD_COMMAND}`; export r; \
7815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7816 $(HOST_EXPORTS) \
7817 (cd $(HOST_SUBDIR)/fixincludes && \
7818 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7820 @endif fixincludes
7822 # Other targets (info, dvi, pdf, etc.)
7824 .PHONY: maybe-info-fixincludes info-fixincludes
7825 maybe-info-fixincludes:
7826 @if fixincludes
7827 maybe-info-fixincludes: info-fixincludes
7829 info-fixincludes: \
7830 configure-fixincludes
7831 @: $(MAKE); $(unstage)
7832 @[ -f ./fixincludes/Makefile ] || exit 0; \
7833 r=`${PWD_COMMAND}`; export r; \
7834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7835 $(HOST_EXPORTS) \
7836 for flag in $(EXTRA_HOST_FLAGS) ; do \
7837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7838 done; \
7839 echo "Doing info in fixincludes" ; \
7840 (cd $(HOST_SUBDIR)/fixincludes && \
7841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7843 "RANLIB=$${RANLIB}" \
7844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7845 info) \
7846 || exit 1
7848 @endif fixincludes
7850 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
7851 maybe-dvi-fixincludes:
7852 @if fixincludes
7853 maybe-dvi-fixincludes: dvi-fixincludes
7855 dvi-fixincludes: \
7856 configure-fixincludes
7857 @: $(MAKE); $(unstage)
7858 @[ -f ./fixincludes/Makefile ] || exit 0; \
7859 r=`${PWD_COMMAND}`; export r; \
7860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7861 $(HOST_EXPORTS) \
7862 for flag in $(EXTRA_HOST_FLAGS) ; do \
7863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7864 done; \
7865 echo "Doing dvi in fixincludes" ; \
7866 (cd $(HOST_SUBDIR)/fixincludes && \
7867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7869 "RANLIB=$${RANLIB}" \
7870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7871 dvi) \
7872 || exit 1
7874 @endif fixincludes
7876 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
7877 maybe-pdf-fixincludes:
7878 @if fixincludes
7879 maybe-pdf-fixincludes: pdf-fixincludes
7881 pdf-fixincludes: \
7882 configure-fixincludes
7883 @: $(MAKE); $(unstage)
7884 @[ -f ./fixincludes/Makefile ] || exit 0; \
7885 r=`${PWD_COMMAND}`; export r; \
7886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7887 $(HOST_EXPORTS) \
7888 for flag in $(EXTRA_HOST_FLAGS) ; do \
7889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7890 done; \
7891 echo "Doing pdf in fixincludes" ; \
7892 (cd $(HOST_SUBDIR)/fixincludes && \
7893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7895 "RANLIB=$${RANLIB}" \
7896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7897 pdf) \
7898 || exit 1
7900 @endif fixincludes
7902 .PHONY: maybe-html-fixincludes html-fixincludes
7903 maybe-html-fixincludes:
7904 @if fixincludes
7905 maybe-html-fixincludes: html-fixincludes
7907 html-fixincludes: \
7908 configure-fixincludes
7909 @: $(MAKE); $(unstage)
7910 @[ -f ./fixincludes/Makefile ] || exit 0; \
7911 r=`${PWD_COMMAND}`; export r; \
7912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7913 $(HOST_EXPORTS) \
7914 for flag in $(EXTRA_HOST_FLAGS) ; do \
7915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7916 done; \
7917 echo "Doing html in fixincludes" ; \
7918 (cd $(HOST_SUBDIR)/fixincludes && \
7919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7921 "RANLIB=$${RANLIB}" \
7922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7923 html) \
7924 || exit 1
7926 @endif fixincludes
7928 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
7929 maybe-TAGS-fixincludes:
7930 @if fixincludes
7931 maybe-TAGS-fixincludes: TAGS-fixincludes
7933 # fixincludes doesn't support TAGS.
7934 TAGS-fixincludes:
7936 @endif fixincludes
7938 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
7939 maybe-install-info-fixincludes:
7940 @if fixincludes
7941 maybe-install-info-fixincludes: install-info-fixincludes
7943 install-info-fixincludes: \
7944 configure-fixincludes \
7945 info-fixincludes
7946 @: $(MAKE); $(unstage)
7947 @[ -f ./fixincludes/Makefile ] || exit 0; \
7948 r=`${PWD_COMMAND}`; export r; \
7949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7950 $(HOST_EXPORTS) \
7951 for flag in $(EXTRA_HOST_FLAGS) ; do \
7952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7953 done; \
7954 echo "Doing install-info in fixincludes" ; \
7955 (cd $(HOST_SUBDIR)/fixincludes && \
7956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7958 "RANLIB=$${RANLIB}" \
7959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7960 install-info) \
7961 || exit 1
7963 @endif fixincludes
7965 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
7966 maybe-install-pdf-fixincludes:
7967 @if fixincludes
7968 maybe-install-pdf-fixincludes: install-pdf-fixincludes
7970 install-pdf-fixincludes: \
7971 configure-fixincludes \
7972 pdf-fixincludes
7973 @: $(MAKE); $(unstage)
7974 @[ -f ./fixincludes/Makefile ] || exit 0; \
7975 r=`${PWD_COMMAND}`; export r; \
7976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7977 $(HOST_EXPORTS) \
7978 for flag in $(EXTRA_HOST_FLAGS) ; do \
7979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7980 done; \
7981 echo "Doing install-pdf in fixincludes" ; \
7982 (cd $(HOST_SUBDIR)/fixincludes && \
7983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7985 "RANLIB=$${RANLIB}" \
7986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7987 install-pdf) \
7988 || exit 1
7990 @endif fixincludes
7992 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
7993 maybe-install-html-fixincludes:
7994 @if fixincludes
7995 maybe-install-html-fixincludes: install-html-fixincludes
7997 install-html-fixincludes: \
7998 configure-fixincludes \
7999 html-fixincludes
8000 @: $(MAKE); $(unstage)
8001 @[ -f ./fixincludes/Makefile ] || exit 0; \
8002 r=`${PWD_COMMAND}`; export r; \
8003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8004 $(HOST_EXPORTS) \
8005 for flag in $(EXTRA_HOST_FLAGS) ; do \
8006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8007 done; \
8008 echo "Doing install-html in fixincludes" ; \
8009 (cd $(HOST_SUBDIR)/fixincludes && \
8010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8012 "RANLIB=$${RANLIB}" \
8013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8014 install-html) \
8015 || exit 1
8017 @endif fixincludes
8019 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8020 maybe-installcheck-fixincludes:
8021 @if fixincludes
8022 maybe-installcheck-fixincludes: installcheck-fixincludes
8024 installcheck-fixincludes: \
8025 configure-fixincludes
8026 @: $(MAKE); $(unstage)
8027 @[ -f ./fixincludes/Makefile ] || exit 0; \
8028 r=`${PWD_COMMAND}`; export r; \
8029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8030 $(HOST_EXPORTS) \
8031 for flag in $(EXTRA_HOST_FLAGS) ; do \
8032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8033 done; \
8034 echo "Doing installcheck in fixincludes" ; \
8035 (cd $(HOST_SUBDIR)/fixincludes && \
8036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8038 "RANLIB=$${RANLIB}" \
8039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8040 installcheck) \
8041 || exit 1
8043 @endif fixincludes
8045 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8046 maybe-mostlyclean-fixincludes:
8047 @if fixincludes
8048 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8050 mostlyclean-fixincludes:
8051 @: $(MAKE); $(unstage)
8052 @[ -f ./fixincludes/Makefile ] || exit 0; \
8053 r=`${PWD_COMMAND}`; export r; \
8054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8055 $(HOST_EXPORTS) \
8056 for flag in $(EXTRA_HOST_FLAGS) ; do \
8057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8058 done; \
8059 echo "Doing mostlyclean in fixincludes" ; \
8060 (cd $(HOST_SUBDIR)/fixincludes && \
8061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8063 "RANLIB=$${RANLIB}" \
8064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8065 mostlyclean) \
8066 || exit 1
8068 @endif fixincludes
8070 .PHONY: maybe-clean-fixincludes clean-fixincludes
8071 maybe-clean-fixincludes:
8072 @if fixincludes
8073 maybe-clean-fixincludes: clean-fixincludes
8075 clean-fixincludes:
8076 @: $(MAKE); $(unstage)
8077 @[ -f ./fixincludes/Makefile ] || exit 0; \
8078 r=`${PWD_COMMAND}`; export r; \
8079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8080 $(HOST_EXPORTS) \
8081 for flag in $(EXTRA_HOST_FLAGS) ; do \
8082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8083 done; \
8084 echo "Doing clean in fixincludes" ; \
8085 (cd $(HOST_SUBDIR)/fixincludes && \
8086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8088 "RANLIB=$${RANLIB}" \
8089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8090 clean) \
8091 || exit 1
8093 @endif fixincludes
8095 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8096 maybe-distclean-fixincludes:
8097 @if fixincludes
8098 maybe-distclean-fixincludes: distclean-fixincludes
8100 distclean-fixincludes:
8101 @: $(MAKE); $(unstage)
8102 @[ -f ./fixincludes/Makefile ] || exit 0; \
8103 r=`${PWD_COMMAND}`; export r; \
8104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8105 $(HOST_EXPORTS) \
8106 for flag in $(EXTRA_HOST_FLAGS) ; do \
8107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8108 done; \
8109 echo "Doing distclean in fixincludes" ; \
8110 (cd $(HOST_SUBDIR)/fixincludes && \
8111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8113 "RANLIB=$${RANLIB}" \
8114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8115 distclean) \
8116 || exit 1
8118 @endif fixincludes
8120 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8121 maybe-maintainer-clean-fixincludes:
8122 @if fixincludes
8123 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8125 maintainer-clean-fixincludes:
8126 @: $(MAKE); $(unstage)
8127 @[ -f ./fixincludes/Makefile ] || exit 0; \
8128 r=`${PWD_COMMAND}`; export r; \
8129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8130 $(HOST_EXPORTS) \
8131 for flag in $(EXTRA_HOST_FLAGS) ; do \
8132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8133 done; \
8134 echo "Doing maintainer-clean in fixincludes" ; \
8135 (cd $(HOST_SUBDIR)/fixincludes && \
8136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8138 "RANLIB=$${RANLIB}" \
8139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8140 maintainer-clean) \
8141 || exit 1
8143 @endif fixincludes
8147 .PHONY: configure-flex maybe-configure-flex
8148 maybe-configure-flex:
8149 @if gcc-bootstrap
8150 configure-flex: stage_current
8151 @endif gcc-bootstrap
8152 @if flex
8153 maybe-configure-flex: configure-flex
8154 configure-flex:
8155 @: $(MAKE); $(unstage)
8156 @r=`${PWD_COMMAND}`; export r; \
8157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8158 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8159 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
8160 $(HOST_EXPORTS) \
8161 echo Configuring in $(HOST_SUBDIR)/flex; \
8162 cd "$(HOST_SUBDIR)/flex" || exit 1; \
8163 case $(srcdir) in \
8164 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8165 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8166 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8167 esac; \
8168 srcdiroption="--srcdir=$${topdir}/flex"; \
8169 libsrcdir="$$s/flex"; \
8170 $(SHELL) $${libsrcdir}/configure \
8171 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8172 --target=${target_alias} $${srcdiroption} \
8173 || exit 1
8174 @endif flex
8180 .PHONY: all-flex maybe-all-flex
8181 maybe-all-flex:
8182 @if gcc-bootstrap
8183 all-flex: stage_current
8184 @endif gcc-bootstrap
8185 @if flex
8186 TARGET-flex=all
8187 maybe-all-flex: all-flex
8188 all-flex: configure-flex
8189 @: $(MAKE); $(unstage)
8190 @r=`${PWD_COMMAND}`; export r; \
8191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8192 $(HOST_EXPORTS) \
8193 (cd $(HOST_SUBDIR)/flex && \
8194 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8195 $(TARGET-flex))
8196 @endif flex
8201 .PHONY: check-flex maybe-check-flex
8202 maybe-check-flex:
8203 @if flex
8204 maybe-check-flex: check-flex
8206 # This module is only tested in a native toolchain.
8207 check-flex:
8208 @: $(MAKE); $(unstage)
8209 @if [ '$(host)' = '$(target)' ] ; then \
8210 r=`${PWD_COMMAND}`; export r; \
8211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8212 $(HOST_EXPORTS) \
8213 (cd $(HOST_SUBDIR)/flex && \
8214 $(MAKE) $(FLAGS_TO_PASS) check); \
8217 @endif flex
8219 .PHONY: install-flex maybe-install-flex
8220 maybe-install-flex:
8221 @if flex
8222 maybe-install-flex: install-flex
8224 install-flex: installdirs
8225 @: $(MAKE); $(unstage)
8226 @r=`${PWD_COMMAND}`; export r; \
8227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8228 $(HOST_EXPORTS) \
8229 (cd $(HOST_SUBDIR)/flex && \
8230 $(MAKE) $(FLAGS_TO_PASS) install)
8232 @endif flex
8234 .PHONY: install-strip-flex maybe-install-strip-flex
8235 maybe-install-strip-flex:
8236 @if flex
8237 maybe-install-strip-flex: install-strip-flex
8239 install-strip-flex: installdirs
8240 @: $(MAKE); $(unstage)
8241 @r=`${PWD_COMMAND}`; export r; \
8242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8243 $(HOST_EXPORTS) \
8244 (cd $(HOST_SUBDIR)/flex && \
8245 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8247 @endif flex
8249 # Other targets (info, dvi, pdf, etc.)
8251 .PHONY: maybe-info-flex info-flex
8252 maybe-info-flex:
8253 @if flex
8254 maybe-info-flex: info-flex
8256 info-flex: \
8257 configure-flex
8258 @: $(MAKE); $(unstage)
8259 @[ -f ./flex/Makefile ] || exit 0; \
8260 r=`${PWD_COMMAND}`; export r; \
8261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8262 $(HOST_EXPORTS) \
8263 for flag in $(EXTRA_HOST_FLAGS) ; do \
8264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8265 done; \
8266 echo "Doing info in flex" ; \
8267 (cd $(HOST_SUBDIR)/flex && \
8268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8270 "RANLIB=$${RANLIB}" \
8271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8272 info) \
8273 || exit 1
8275 @endif flex
8277 .PHONY: maybe-dvi-flex dvi-flex
8278 maybe-dvi-flex:
8279 @if flex
8280 maybe-dvi-flex: dvi-flex
8282 dvi-flex: \
8283 configure-flex
8284 @: $(MAKE); $(unstage)
8285 @[ -f ./flex/Makefile ] || exit 0; \
8286 r=`${PWD_COMMAND}`; export r; \
8287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8288 $(HOST_EXPORTS) \
8289 for flag in $(EXTRA_HOST_FLAGS) ; do \
8290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8291 done; \
8292 echo "Doing dvi in flex" ; \
8293 (cd $(HOST_SUBDIR)/flex && \
8294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8296 "RANLIB=$${RANLIB}" \
8297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8298 dvi) \
8299 || exit 1
8301 @endif flex
8303 .PHONY: maybe-pdf-flex pdf-flex
8304 maybe-pdf-flex:
8305 @if flex
8306 maybe-pdf-flex: pdf-flex
8308 pdf-flex: \
8309 configure-flex
8310 @: $(MAKE); $(unstage)
8311 @[ -f ./flex/Makefile ] || exit 0; \
8312 r=`${PWD_COMMAND}`; export r; \
8313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8314 $(HOST_EXPORTS) \
8315 for flag in $(EXTRA_HOST_FLAGS) ; do \
8316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8317 done; \
8318 echo "Doing pdf in flex" ; \
8319 (cd $(HOST_SUBDIR)/flex && \
8320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8322 "RANLIB=$${RANLIB}" \
8323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8324 pdf) \
8325 || exit 1
8327 @endif flex
8329 .PHONY: maybe-html-flex html-flex
8330 maybe-html-flex:
8331 @if flex
8332 maybe-html-flex: html-flex
8334 html-flex: \
8335 configure-flex
8336 @: $(MAKE); $(unstage)
8337 @[ -f ./flex/Makefile ] || exit 0; \
8338 r=`${PWD_COMMAND}`; export r; \
8339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8340 $(HOST_EXPORTS) \
8341 for flag in $(EXTRA_HOST_FLAGS) ; do \
8342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8343 done; \
8344 echo "Doing html in flex" ; \
8345 (cd $(HOST_SUBDIR)/flex && \
8346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8348 "RANLIB=$${RANLIB}" \
8349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8350 html) \
8351 || exit 1
8353 @endif flex
8355 .PHONY: maybe-TAGS-flex TAGS-flex
8356 maybe-TAGS-flex:
8357 @if flex
8358 maybe-TAGS-flex: TAGS-flex
8360 TAGS-flex: \
8361 configure-flex
8362 @: $(MAKE); $(unstage)
8363 @[ -f ./flex/Makefile ] || exit 0; \
8364 r=`${PWD_COMMAND}`; export r; \
8365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8366 $(HOST_EXPORTS) \
8367 for flag in $(EXTRA_HOST_FLAGS) ; do \
8368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8369 done; \
8370 echo "Doing TAGS in flex" ; \
8371 (cd $(HOST_SUBDIR)/flex && \
8372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8374 "RANLIB=$${RANLIB}" \
8375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8376 TAGS) \
8377 || exit 1
8379 @endif flex
8381 .PHONY: maybe-install-info-flex install-info-flex
8382 maybe-install-info-flex:
8383 @if flex
8384 maybe-install-info-flex: install-info-flex
8386 install-info-flex: \
8387 configure-flex \
8388 info-flex
8389 @: $(MAKE); $(unstage)
8390 @[ -f ./flex/Makefile ] || exit 0; \
8391 r=`${PWD_COMMAND}`; export r; \
8392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8393 $(HOST_EXPORTS) \
8394 for flag in $(EXTRA_HOST_FLAGS) ; do \
8395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8396 done; \
8397 echo "Doing install-info in flex" ; \
8398 (cd $(HOST_SUBDIR)/flex && \
8399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8401 "RANLIB=$${RANLIB}" \
8402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8403 install-info) \
8404 || exit 1
8406 @endif flex
8408 .PHONY: maybe-install-pdf-flex install-pdf-flex
8409 maybe-install-pdf-flex:
8410 @if flex
8411 maybe-install-pdf-flex: install-pdf-flex
8413 install-pdf-flex: \
8414 configure-flex \
8415 pdf-flex
8416 @: $(MAKE); $(unstage)
8417 @[ -f ./flex/Makefile ] || exit 0; \
8418 r=`${PWD_COMMAND}`; export r; \
8419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8420 $(HOST_EXPORTS) \
8421 for flag in $(EXTRA_HOST_FLAGS) ; do \
8422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8423 done; \
8424 echo "Doing install-pdf in flex" ; \
8425 (cd $(HOST_SUBDIR)/flex && \
8426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8428 "RANLIB=$${RANLIB}" \
8429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8430 install-pdf) \
8431 || exit 1
8433 @endif flex
8435 .PHONY: maybe-install-html-flex install-html-flex
8436 maybe-install-html-flex:
8437 @if flex
8438 maybe-install-html-flex: install-html-flex
8440 install-html-flex: \
8441 configure-flex \
8442 html-flex
8443 @: $(MAKE); $(unstage)
8444 @[ -f ./flex/Makefile ] || exit 0; \
8445 r=`${PWD_COMMAND}`; export r; \
8446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8447 $(HOST_EXPORTS) \
8448 for flag in $(EXTRA_HOST_FLAGS) ; do \
8449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8450 done; \
8451 echo "Doing install-html in flex" ; \
8452 (cd $(HOST_SUBDIR)/flex && \
8453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8455 "RANLIB=$${RANLIB}" \
8456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8457 install-html) \
8458 || exit 1
8460 @endif flex
8462 .PHONY: maybe-installcheck-flex installcheck-flex
8463 maybe-installcheck-flex:
8464 @if flex
8465 maybe-installcheck-flex: installcheck-flex
8467 installcheck-flex: \
8468 configure-flex
8469 @: $(MAKE); $(unstage)
8470 @[ -f ./flex/Makefile ] || exit 0; \
8471 r=`${PWD_COMMAND}`; export r; \
8472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8473 $(HOST_EXPORTS) \
8474 for flag in $(EXTRA_HOST_FLAGS) ; do \
8475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8476 done; \
8477 echo "Doing installcheck in flex" ; \
8478 (cd $(HOST_SUBDIR)/flex && \
8479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8481 "RANLIB=$${RANLIB}" \
8482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8483 installcheck) \
8484 || exit 1
8486 @endif flex
8488 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8489 maybe-mostlyclean-flex:
8490 @if flex
8491 maybe-mostlyclean-flex: mostlyclean-flex
8493 mostlyclean-flex:
8494 @: $(MAKE); $(unstage)
8495 @[ -f ./flex/Makefile ] || exit 0; \
8496 r=`${PWD_COMMAND}`; export r; \
8497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8498 $(HOST_EXPORTS) \
8499 for flag in $(EXTRA_HOST_FLAGS) ; do \
8500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8501 done; \
8502 echo "Doing mostlyclean in flex" ; \
8503 (cd $(HOST_SUBDIR)/flex && \
8504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8506 "RANLIB=$${RANLIB}" \
8507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8508 mostlyclean) \
8509 || exit 1
8511 @endif flex
8513 .PHONY: maybe-clean-flex clean-flex
8514 maybe-clean-flex:
8515 @if flex
8516 maybe-clean-flex: clean-flex
8518 clean-flex:
8519 @: $(MAKE); $(unstage)
8520 @[ -f ./flex/Makefile ] || exit 0; \
8521 r=`${PWD_COMMAND}`; export r; \
8522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8523 $(HOST_EXPORTS) \
8524 for flag in $(EXTRA_HOST_FLAGS) ; do \
8525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8526 done; \
8527 echo "Doing clean in flex" ; \
8528 (cd $(HOST_SUBDIR)/flex && \
8529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8531 "RANLIB=$${RANLIB}" \
8532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8533 clean) \
8534 || exit 1
8536 @endif flex
8538 .PHONY: maybe-distclean-flex distclean-flex
8539 maybe-distclean-flex:
8540 @if flex
8541 maybe-distclean-flex: distclean-flex
8543 distclean-flex:
8544 @: $(MAKE); $(unstage)
8545 @[ -f ./flex/Makefile ] || exit 0; \
8546 r=`${PWD_COMMAND}`; export r; \
8547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8548 $(HOST_EXPORTS) \
8549 for flag in $(EXTRA_HOST_FLAGS) ; do \
8550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8551 done; \
8552 echo "Doing distclean in flex" ; \
8553 (cd $(HOST_SUBDIR)/flex && \
8554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8556 "RANLIB=$${RANLIB}" \
8557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8558 distclean) \
8559 || exit 1
8561 @endif flex
8563 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8564 maybe-maintainer-clean-flex:
8565 @if flex
8566 maybe-maintainer-clean-flex: maintainer-clean-flex
8568 maintainer-clean-flex:
8569 @: $(MAKE); $(unstage)
8570 @[ -f ./flex/Makefile ] || exit 0; \
8571 r=`${PWD_COMMAND}`; export r; \
8572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8573 $(HOST_EXPORTS) \
8574 for flag in $(EXTRA_HOST_FLAGS) ; do \
8575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8576 done; \
8577 echo "Doing maintainer-clean in flex" ; \
8578 (cd $(HOST_SUBDIR)/flex && \
8579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8581 "RANLIB=$${RANLIB}" \
8582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8583 maintainer-clean) \
8584 || exit 1
8586 @endif flex
8590 .PHONY: configure-gas maybe-configure-gas
8591 maybe-configure-gas:
8592 @if gcc-bootstrap
8593 configure-gas: stage_current
8594 @endif gcc-bootstrap
8595 @if gas
8596 maybe-configure-gas: configure-gas
8597 configure-gas:
8598 @r=`${PWD_COMMAND}`; export r; \
8599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8600 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8601 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8602 $(HOST_EXPORTS) \
8603 echo Configuring in $(HOST_SUBDIR)/gas; \
8604 cd "$(HOST_SUBDIR)/gas" || exit 1; \
8605 case $(srcdir) in \
8606 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8607 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8608 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8609 esac; \
8610 srcdiroption="--srcdir=$${topdir}/gas"; \
8611 libsrcdir="$$s/gas"; \
8612 $(SHELL) $${libsrcdir}/configure \
8613 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8614 --target=${target_alias} $${srcdiroption} \
8615 || exit 1
8616 @endif gas
8620 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
8621 maybe-configure-stage1-gas:
8622 @if gas-bootstrap
8623 maybe-configure-stage1-gas: configure-stage1-gas
8624 configure-stage1-gas:
8625 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8626 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8627 @r=`${PWD_COMMAND}`; export r; \
8628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8629 TFLAGS="$(STAGE1_TFLAGS)"; \
8630 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8631 $(HOST_EXPORTS) \
8632 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
8633 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
8634 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
8635 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
8636 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8637 cd $(HOST_SUBDIR)/gas || exit 1; \
8638 case $(srcdir) in \
8639 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8640 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8641 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8642 esac; \
8643 srcdiroption="--srcdir=$${topdir}/gas"; \
8644 libsrcdir="$$s/gas"; \
8645 $(SHELL) $${libsrcdir}/configure \
8646 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8647 --target=${target_alias} $${srcdiroption} \
8648 $(STAGE1_CONFIGURE_FLAGS)
8649 @endif gas-bootstrap
8651 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
8652 maybe-configure-stage2-gas:
8653 @if gas-bootstrap
8654 maybe-configure-stage2-gas: configure-stage2-gas
8655 configure-stage2-gas:
8656 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8657 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8658 @r=`${PWD_COMMAND}`; export r; \
8659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8660 TFLAGS="$(STAGE2_TFLAGS)"; \
8661 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8662 $(HOST_EXPORTS) \
8663 $(POSTSTAGE1_HOST_EXPORTS) \
8664 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8665 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8666 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8667 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
8668 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8669 cd $(HOST_SUBDIR)/gas || exit 1; \
8670 case $(srcdir) in \
8671 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8672 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8673 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8674 esac; \
8675 srcdiroption="--srcdir=$${topdir}/gas"; \
8676 libsrcdir="$$s/gas"; \
8677 $(SHELL) $${libsrcdir}/configure \
8678 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8679 --target=${target_alias} $${srcdiroption} \
8680 --with-build-libsubdir=$(HOST_SUBDIR) \
8681 $(STAGE2_CONFIGURE_FLAGS)
8682 @endif gas-bootstrap
8684 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
8685 maybe-configure-stage3-gas:
8686 @if gas-bootstrap
8687 maybe-configure-stage3-gas: configure-stage3-gas
8688 configure-stage3-gas:
8689 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8690 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8691 @r=`${PWD_COMMAND}`; export r; \
8692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8693 TFLAGS="$(STAGE3_TFLAGS)"; \
8694 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8695 $(HOST_EXPORTS) \
8696 $(POSTSTAGE1_HOST_EXPORTS) \
8697 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8698 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8699 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8700 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
8701 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8702 cd $(HOST_SUBDIR)/gas || exit 1; \
8703 case $(srcdir) in \
8704 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8705 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8706 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8707 esac; \
8708 srcdiroption="--srcdir=$${topdir}/gas"; \
8709 libsrcdir="$$s/gas"; \
8710 $(SHELL) $${libsrcdir}/configure \
8711 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8712 --target=${target_alias} $${srcdiroption} \
8713 --with-build-libsubdir=$(HOST_SUBDIR) \
8714 $(STAGE3_CONFIGURE_FLAGS)
8715 @endif gas-bootstrap
8717 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
8718 maybe-configure-stage4-gas:
8719 @if gas-bootstrap
8720 maybe-configure-stage4-gas: configure-stage4-gas
8721 configure-stage4-gas:
8722 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8723 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8724 @r=`${PWD_COMMAND}`; export r; \
8725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8726 TFLAGS="$(STAGE4_TFLAGS)"; \
8727 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8728 $(HOST_EXPORTS) \
8729 $(POSTSTAGE1_HOST_EXPORTS) \
8730 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8731 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8732 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8733 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
8734 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8735 cd $(HOST_SUBDIR)/gas || exit 1; \
8736 case $(srcdir) in \
8737 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8738 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8739 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8740 esac; \
8741 srcdiroption="--srcdir=$${topdir}/gas"; \
8742 libsrcdir="$$s/gas"; \
8743 $(SHELL) $${libsrcdir}/configure \
8744 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8745 --target=${target_alias} $${srcdiroption} \
8746 --with-build-libsubdir=$(HOST_SUBDIR) \
8747 $(STAGE4_CONFIGURE_FLAGS)
8748 @endif gas-bootstrap
8750 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
8751 maybe-configure-stageprofile-gas:
8752 @if gas-bootstrap
8753 maybe-configure-stageprofile-gas: configure-stageprofile-gas
8754 configure-stageprofile-gas:
8755 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8756 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8757 @r=`${PWD_COMMAND}`; export r; \
8758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8759 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8760 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8761 $(HOST_EXPORTS) \
8762 $(POSTSTAGE1_HOST_EXPORTS) \
8763 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8764 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8765 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8766 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
8767 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8768 cd $(HOST_SUBDIR)/gas || exit 1; \
8769 case $(srcdir) in \
8770 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8771 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8772 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8773 esac; \
8774 srcdiroption="--srcdir=$${topdir}/gas"; \
8775 libsrcdir="$$s/gas"; \
8776 $(SHELL) $${libsrcdir}/configure \
8777 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8778 --target=${target_alias} $${srcdiroption} \
8779 --with-build-libsubdir=$(HOST_SUBDIR) \
8780 $(STAGEprofile_CONFIGURE_FLAGS)
8781 @endif gas-bootstrap
8783 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
8784 maybe-configure-stagefeedback-gas:
8785 @if gas-bootstrap
8786 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
8787 configure-stagefeedback-gas:
8788 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8789 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8790 @r=`${PWD_COMMAND}`; export r; \
8791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8792 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8793 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8794 $(HOST_EXPORTS) \
8795 $(POSTSTAGE1_HOST_EXPORTS) \
8796 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8797 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8798 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8799 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
8800 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8801 cd $(HOST_SUBDIR)/gas || exit 1; \
8802 case $(srcdir) in \
8803 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8804 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8805 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8806 esac; \
8807 srcdiroption="--srcdir=$${topdir}/gas"; \
8808 libsrcdir="$$s/gas"; \
8809 $(SHELL) $${libsrcdir}/configure \
8810 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8811 --target=${target_alias} $${srcdiroption} \
8812 --with-build-libsubdir=$(HOST_SUBDIR) \
8813 $(STAGEfeedback_CONFIGURE_FLAGS)
8814 @endif gas-bootstrap
8820 .PHONY: all-gas maybe-all-gas
8821 maybe-all-gas:
8822 @if gcc-bootstrap
8823 all-gas: stage_current
8824 @endif gcc-bootstrap
8825 @if gas
8826 TARGET-gas=all
8827 maybe-all-gas: all-gas
8828 all-gas: configure-gas
8829 @r=`${PWD_COMMAND}`; export r; \
8830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8831 $(HOST_EXPORTS) \
8832 (cd $(HOST_SUBDIR)/gas && \
8833 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8834 $(TARGET-gas))
8835 @endif gas
8839 .PHONY: all-stage1-gas maybe-all-stage1-gas
8840 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
8841 maybe-all-stage1-gas:
8842 maybe-clean-stage1-gas:
8843 @if gas-bootstrap
8844 maybe-all-stage1-gas: all-stage1-gas
8845 all-stage1: all-stage1-gas
8846 TARGET-stage1-gas = $(TARGET-gas)
8847 all-stage1-gas: configure-stage1-gas
8848 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8849 @r=`${PWD_COMMAND}`; export r; \
8850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8851 TFLAGS="$(STAGE1_TFLAGS)"; \
8852 $(HOST_EXPORTS) \
8853 cd $(HOST_SUBDIR)/gas && \
8854 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8855 CFLAGS="$(STAGE1_CFLAGS)" \
8856 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
8857 LIBCFLAGS="$(LIBCFLAGS)" \
8858 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8859 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8860 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8861 $(EXTRA_HOST_FLAGS) \
8862 TFLAGS="$(STAGE1_TFLAGS)" \
8863 $(TARGET-stage1-gas)
8865 maybe-clean-stage1-gas: clean-stage1-gas
8866 clean-stage1: clean-stage1-gas
8867 clean-stage1-gas:
8868 @if [ $(current_stage) = stage1 ]; then \
8869 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8870 else \
8871 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
8872 $(MAKE) stage1-start; \
8873 fi; \
8874 cd $(HOST_SUBDIR)/gas && \
8875 $(MAKE) $(EXTRA_HOST_FLAGS) \
8876 clean
8877 @endif gas-bootstrap
8880 .PHONY: all-stage2-gas maybe-all-stage2-gas
8881 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
8882 maybe-all-stage2-gas:
8883 maybe-clean-stage2-gas:
8884 @if gas-bootstrap
8885 maybe-all-stage2-gas: all-stage2-gas
8886 all-stage2: all-stage2-gas
8887 TARGET-stage2-gas = $(TARGET-gas)
8888 all-stage2-gas: configure-stage2-gas
8889 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8890 @r=`${PWD_COMMAND}`; export r; \
8891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8892 TFLAGS="$(STAGE2_TFLAGS)"; \
8893 $(HOST_EXPORTS) \
8894 $(POSTSTAGE1_HOST_EXPORTS) \
8895 cd $(HOST_SUBDIR)/gas && \
8896 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8897 CFLAGS="$(STAGE2_CFLAGS)" \
8898 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
8899 LIBCFLAGS="$(STAGE2_CFLAGS)" \
8900 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8901 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8902 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8903 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8904 TFLAGS="$(STAGE2_TFLAGS)" \
8905 $(TARGET-stage2-gas)
8907 maybe-clean-stage2-gas: clean-stage2-gas
8908 clean-stage2: clean-stage2-gas
8909 clean-stage2-gas:
8910 @if [ $(current_stage) = stage2 ]; then \
8911 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8912 else \
8913 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
8914 $(MAKE) stage2-start; \
8915 fi; \
8916 cd $(HOST_SUBDIR)/gas && \
8917 $(MAKE) $(EXTRA_HOST_FLAGS) \
8918 $(POSTSTAGE1_FLAGS_TO_PASS) \
8919 clean
8920 @endif gas-bootstrap
8923 .PHONY: all-stage3-gas maybe-all-stage3-gas
8924 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
8925 maybe-all-stage3-gas:
8926 maybe-clean-stage3-gas:
8927 @if gas-bootstrap
8928 maybe-all-stage3-gas: all-stage3-gas
8929 all-stage3: all-stage3-gas
8930 TARGET-stage3-gas = $(TARGET-gas)
8931 all-stage3-gas: configure-stage3-gas
8932 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8933 @r=`${PWD_COMMAND}`; export r; \
8934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8935 TFLAGS="$(STAGE3_TFLAGS)"; \
8936 $(HOST_EXPORTS) \
8937 $(POSTSTAGE1_HOST_EXPORTS) \
8938 cd $(HOST_SUBDIR)/gas && \
8939 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8940 CFLAGS="$(STAGE3_CFLAGS)" \
8941 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
8942 LIBCFLAGS="$(STAGE3_CFLAGS)" \
8943 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8944 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8945 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8946 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8947 TFLAGS="$(STAGE3_TFLAGS)" \
8948 $(TARGET-stage3-gas)
8950 maybe-clean-stage3-gas: clean-stage3-gas
8951 clean-stage3: clean-stage3-gas
8952 clean-stage3-gas:
8953 @if [ $(current_stage) = stage3 ]; then \
8954 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8955 else \
8956 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
8957 $(MAKE) stage3-start; \
8958 fi; \
8959 cd $(HOST_SUBDIR)/gas && \
8960 $(MAKE) $(EXTRA_HOST_FLAGS) \
8961 $(POSTSTAGE1_FLAGS_TO_PASS) \
8962 clean
8963 @endif gas-bootstrap
8966 .PHONY: all-stage4-gas maybe-all-stage4-gas
8967 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
8968 maybe-all-stage4-gas:
8969 maybe-clean-stage4-gas:
8970 @if gas-bootstrap
8971 maybe-all-stage4-gas: all-stage4-gas
8972 all-stage4: all-stage4-gas
8973 TARGET-stage4-gas = $(TARGET-gas)
8974 all-stage4-gas: configure-stage4-gas
8975 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8976 @r=`${PWD_COMMAND}`; export r; \
8977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8978 TFLAGS="$(STAGE4_TFLAGS)"; \
8979 $(HOST_EXPORTS) \
8980 $(POSTSTAGE1_HOST_EXPORTS) \
8981 cd $(HOST_SUBDIR)/gas && \
8982 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8983 CFLAGS="$(STAGE4_CFLAGS)" \
8984 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
8985 LIBCFLAGS="$(STAGE4_CFLAGS)" \
8986 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8987 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8988 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8989 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8990 TFLAGS="$(STAGE4_TFLAGS)" \
8991 $(TARGET-stage4-gas)
8993 maybe-clean-stage4-gas: clean-stage4-gas
8994 clean-stage4: clean-stage4-gas
8995 clean-stage4-gas:
8996 @if [ $(current_stage) = stage4 ]; then \
8997 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8998 else \
8999 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
9000 $(MAKE) stage4-start; \
9001 fi; \
9002 cd $(HOST_SUBDIR)/gas && \
9003 $(MAKE) $(EXTRA_HOST_FLAGS) \
9004 $(POSTSTAGE1_FLAGS_TO_PASS) \
9005 clean
9006 @endif gas-bootstrap
9009 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
9010 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
9011 maybe-all-stageprofile-gas:
9012 maybe-clean-stageprofile-gas:
9013 @if gas-bootstrap
9014 maybe-all-stageprofile-gas: all-stageprofile-gas
9015 all-stageprofile: all-stageprofile-gas
9016 TARGET-stageprofile-gas = $(TARGET-gas)
9017 all-stageprofile-gas: configure-stageprofile-gas
9018 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9019 @r=`${PWD_COMMAND}`; export r; \
9020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9021 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9022 $(HOST_EXPORTS) \
9023 $(POSTSTAGE1_HOST_EXPORTS) \
9024 cd $(HOST_SUBDIR)/gas && \
9025 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9026 CFLAGS="$(STAGEprofile_CFLAGS)" \
9027 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9028 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9029 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9030 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9031 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9032 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9033 TFLAGS="$(STAGEprofile_TFLAGS)" \
9034 $(TARGET-stageprofile-gas)
9036 maybe-clean-stageprofile-gas: clean-stageprofile-gas
9037 clean-stageprofile: clean-stageprofile-gas
9038 clean-stageprofile-gas:
9039 @if [ $(current_stage) = stageprofile ]; then \
9040 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9041 else \
9042 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
9043 $(MAKE) stageprofile-start; \
9044 fi; \
9045 cd $(HOST_SUBDIR)/gas && \
9046 $(MAKE) $(EXTRA_HOST_FLAGS) \
9047 $(POSTSTAGE1_FLAGS_TO_PASS) \
9048 clean
9049 @endif gas-bootstrap
9052 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
9053 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
9054 maybe-all-stagefeedback-gas:
9055 maybe-clean-stagefeedback-gas:
9056 @if gas-bootstrap
9057 maybe-all-stagefeedback-gas: all-stagefeedback-gas
9058 all-stagefeedback: all-stagefeedback-gas
9059 TARGET-stagefeedback-gas = $(TARGET-gas)
9060 all-stagefeedback-gas: configure-stagefeedback-gas
9061 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9062 @r=`${PWD_COMMAND}`; export r; \
9063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9064 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9065 $(HOST_EXPORTS) \
9066 $(POSTSTAGE1_HOST_EXPORTS) \
9067 cd $(HOST_SUBDIR)/gas && \
9068 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9069 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9070 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9071 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9072 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9073 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9074 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9075 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9076 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9077 $(TARGET-stagefeedback-gas)
9079 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
9080 clean-stagefeedback: clean-stagefeedback-gas
9081 clean-stagefeedback-gas:
9082 @if [ $(current_stage) = stagefeedback ]; then \
9083 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9084 else \
9085 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
9086 $(MAKE) stagefeedback-start; \
9087 fi; \
9088 cd $(HOST_SUBDIR)/gas && \
9089 $(MAKE) $(EXTRA_HOST_FLAGS) \
9090 $(POSTSTAGE1_FLAGS_TO_PASS) \
9091 clean
9092 @endif gas-bootstrap
9098 .PHONY: check-gas maybe-check-gas
9099 maybe-check-gas:
9100 @if gas
9101 maybe-check-gas: check-gas
9103 check-gas:
9104 @: $(MAKE); $(unstage)
9105 @r=`${PWD_COMMAND}`; export r; \
9106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9107 $(HOST_EXPORTS) \
9108 (cd $(HOST_SUBDIR)/gas && \
9109 $(MAKE) $(FLAGS_TO_PASS) check)
9111 @endif gas
9113 .PHONY: install-gas maybe-install-gas
9114 maybe-install-gas:
9115 @if gas
9116 maybe-install-gas: install-gas
9118 install-gas: installdirs
9119 @: $(MAKE); $(unstage)
9120 @r=`${PWD_COMMAND}`; export r; \
9121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9122 $(HOST_EXPORTS) \
9123 (cd $(HOST_SUBDIR)/gas && \
9124 $(MAKE) $(FLAGS_TO_PASS) install)
9126 @endif gas
9128 .PHONY: install-strip-gas maybe-install-strip-gas
9129 maybe-install-strip-gas:
9130 @if gas
9131 maybe-install-strip-gas: install-strip-gas
9133 install-strip-gas: installdirs
9134 @: $(MAKE); $(unstage)
9135 @r=`${PWD_COMMAND}`; export r; \
9136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9137 $(HOST_EXPORTS) \
9138 (cd $(HOST_SUBDIR)/gas && \
9139 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9141 @endif gas
9143 # Other targets (info, dvi, pdf, etc.)
9145 .PHONY: maybe-info-gas info-gas
9146 maybe-info-gas:
9147 @if gas
9148 maybe-info-gas: info-gas
9150 info-gas: \
9151 configure-gas
9152 @[ -f ./gas/Makefile ] || exit 0; \
9153 r=`${PWD_COMMAND}`; export r; \
9154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9155 $(HOST_EXPORTS) \
9156 for flag in $(EXTRA_HOST_FLAGS) ; do \
9157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9158 done; \
9159 echo "Doing info in gas" ; \
9160 (cd $(HOST_SUBDIR)/gas && \
9161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9163 "RANLIB=$${RANLIB}" \
9164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9165 info) \
9166 || exit 1
9168 @endif gas
9170 .PHONY: maybe-dvi-gas dvi-gas
9171 maybe-dvi-gas:
9172 @if gas
9173 maybe-dvi-gas: dvi-gas
9175 dvi-gas: \
9176 configure-gas
9177 @[ -f ./gas/Makefile ] || exit 0; \
9178 r=`${PWD_COMMAND}`; export r; \
9179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9180 $(HOST_EXPORTS) \
9181 for flag in $(EXTRA_HOST_FLAGS) ; do \
9182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9183 done; \
9184 echo "Doing dvi in gas" ; \
9185 (cd $(HOST_SUBDIR)/gas && \
9186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9188 "RANLIB=$${RANLIB}" \
9189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9190 dvi) \
9191 || exit 1
9193 @endif gas
9195 .PHONY: maybe-pdf-gas pdf-gas
9196 maybe-pdf-gas:
9197 @if gas
9198 maybe-pdf-gas: pdf-gas
9200 pdf-gas: \
9201 configure-gas
9202 @[ -f ./gas/Makefile ] || exit 0; \
9203 r=`${PWD_COMMAND}`; export r; \
9204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9205 $(HOST_EXPORTS) \
9206 for flag in $(EXTRA_HOST_FLAGS) ; do \
9207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9208 done; \
9209 echo "Doing pdf in gas" ; \
9210 (cd $(HOST_SUBDIR)/gas && \
9211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9213 "RANLIB=$${RANLIB}" \
9214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9215 pdf) \
9216 || exit 1
9218 @endif gas
9220 .PHONY: maybe-html-gas html-gas
9221 maybe-html-gas:
9222 @if gas
9223 maybe-html-gas: html-gas
9225 html-gas: \
9226 configure-gas
9227 @[ -f ./gas/Makefile ] || exit 0; \
9228 r=`${PWD_COMMAND}`; export r; \
9229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9230 $(HOST_EXPORTS) \
9231 for flag in $(EXTRA_HOST_FLAGS) ; do \
9232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9233 done; \
9234 echo "Doing html in gas" ; \
9235 (cd $(HOST_SUBDIR)/gas && \
9236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9238 "RANLIB=$${RANLIB}" \
9239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9240 html) \
9241 || exit 1
9243 @endif gas
9245 .PHONY: maybe-TAGS-gas TAGS-gas
9246 maybe-TAGS-gas:
9247 @if gas
9248 maybe-TAGS-gas: TAGS-gas
9250 TAGS-gas: \
9251 configure-gas
9252 @[ -f ./gas/Makefile ] || exit 0; \
9253 r=`${PWD_COMMAND}`; export r; \
9254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9255 $(HOST_EXPORTS) \
9256 for flag in $(EXTRA_HOST_FLAGS) ; do \
9257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9258 done; \
9259 echo "Doing TAGS in gas" ; \
9260 (cd $(HOST_SUBDIR)/gas && \
9261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9263 "RANLIB=$${RANLIB}" \
9264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9265 TAGS) \
9266 || exit 1
9268 @endif gas
9270 .PHONY: maybe-install-info-gas install-info-gas
9271 maybe-install-info-gas:
9272 @if gas
9273 maybe-install-info-gas: install-info-gas
9275 install-info-gas: \
9276 configure-gas \
9277 info-gas
9278 @[ -f ./gas/Makefile ] || exit 0; \
9279 r=`${PWD_COMMAND}`; export r; \
9280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9281 $(HOST_EXPORTS) \
9282 for flag in $(EXTRA_HOST_FLAGS) ; do \
9283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9284 done; \
9285 echo "Doing install-info in gas" ; \
9286 (cd $(HOST_SUBDIR)/gas && \
9287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9289 "RANLIB=$${RANLIB}" \
9290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9291 install-info) \
9292 || exit 1
9294 @endif gas
9296 .PHONY: maybe-install-pdf-gas install-pdf-gas
9297 maybe-install-pdf-gas:
9298 @if gas
9299 maybe-install-pdf-gas: install-pdf-gas
9301 install-pdf-gas: \
9302 configure-gas \
9303 pdf-gas
9304 @[ -f ./gas/Makefile ] || exit 0; \
9305 r=`${PWD_COMMAND}`; export r; \
9306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9307 $(HOST_EXPORTS) \
9308 for flag in $(EXTRA_HOST_FLAGS) ; do \
9309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9310 done; \
9311 echo "Doing install-pdf in gas" ; \
9312 (cd $(HOST_SUBDIR)/gas && \
9313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9315 "RANLIB=$${RANLIB}" \
9316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9317 install-pdf) \
9318 || exit 1
9320 @endif gas
9322 .PHONY: maybe-install-html-gas install-html-gas
9323 maybe-install-html-gas:
9324 @if gas
9325 maybe-install-html-gas: install-html-gas
9327 install-html-gas: \
9328 configure-gas \
9329 html-gas
9330 @[ -f ./gas/Makefile ] || exit 0; \
9331 r=`${PWD_COMMAND}`; export r; \
9332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9333 $(HOST_EXPORTS) \
9334 for flag in $(EXTRA_HOST_FLAGS) ; do \
9335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9336 done; \
9337 echo "Doing install-html in gas" ; \
9338 (cd $(HOST_SUBDIR)/gas && \
9339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9341 "RANLIB=$${RANLIB}" \
9342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9343 install-html) \
9344 || exit 1
9346 @endif gas
9348 .PHONY: maybe-installcheck-gas installcheck-gas
9349 maybe-installcheck-gas:
9350 @if gas
9351 maybe-installcheck-gas: installcheck-gas
9353 installcheck-gas: \
9354 configure-gas
9355 @[ -f ./gas/Makefile ] || exit 0; \
9356 r=`${PWD_COMMAND}`; export r; \
9357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9358 $(HOST_EXPORTS) \
9359 for flag in $(EXTRA_HOST_FLAGS) ; do \
9360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9361 done; \
9362 echo "Doing installcheck in gas" ; \
9363 (cd $(HOST_SUBDIR)/gas && \
9364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9366 "RANLIB=$${RANLIB}" \
9367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9368 installcheck) \
9369 || exit 1
9371 @endif gas
9373 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9374 maybe-mostlyclean-gas:
9375 @if gas
9376 maybe-mostlyclean-gas: mostlyclean-gas
9378 mostlyclean-gas:
9379 @[ -f ./gas/Makefile ] || exit 0; \
9380 r=`${PWD_COMMAND}`; export r; \
9381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9382 $(HOST_EXPORTS) \
9383 for flag in $(EXTRA_HOST_FLAGS) ; do \
9384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9385 done; \
9386 echo "Doing mostlyclean in gas" ; \
9387 (cd $(HOST_SUBDIR)/gas && \
9388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9390 "RANLIB=$${RANLIB}" \
9391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9392 mostlyclean) \
9393 || exit 1
9395 @endif gas
9397 .PHONY: maybe-clean-gas clean-gas
9398 maybe-clean-gas:
9399 @if gas
9400 maybe-clean-gas: clean-gas
9402 clean-gas:
9403 @[ -f ./gas/Makefile ] || exit 0; \
9404 r=`${PWD_COMMAND}`; export r; \
9405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9406 $(HOST_EXPORTS) \
9407 for flag in $(EXTRA_HOST_FLAGS) ; do \
9408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9409 done; \
9410 echo "Doing clean in gas" ; \
9411 (cd $(HOST_SUBDIR)/gas && \
9412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9414 "RANLIB=$${RANLIB}" \
9415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9416 clean) \
9417 || exit 1
9419 @endif gas
9421 .PHONY: maybe-distclean-gas distclean-gas
9422 maybe-distclean-gas:
9423 @if gas
9424 maybe-distclean-gas: distclean-gas
9426 distclean-gas:
9427 @[ -f ./gas/Makefile ] || exit 0; \
9428 r=`${PWD_COMMAND}`; export r; \
9429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9430 $(HOST_EXPORTS) \
9431 for flag in $(EXTRA_HOST_FLAGS) ; do \
9432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9433 done; \
9434 echo "Doing distclean in gas" ; \
9435 (cd $(HOST_SUBDIR)/gas && \
9436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9438 "RANLIB=$${RANLIB}" \
9439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9440 distclean) \
9441 || exit 1
9443 @endif gas
9445 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9446 maybe-maintainer-clean-gas:
9447 @if gas
9448 maybe-maintainer-clean-gas: maintainer-clean-gas
9450 maintainer-clean-gas:
9451 @[ -f ./gas/Makefile ] || exit 0; \
9452 r=`${PWD_COMMAND}`; export r; \
9453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9454 $(HOST_EXPORTS) \
9455 for flag in $(EXTRA_HOST_FLAGS) ; do \
9456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9457 done; \
9458 echo "Doing maintainer-clean in gas" ; \
9459 (cd $(HOST_SUBDIR)/gas && \
9460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9462 "RANLIB=$${RANLIB}" \
9463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9464 maintainer-clean) \
9465 || exit 1
9467 @endif gas
9471 .PHONY: configure-gcc maybe-configure-gcc
9472 maybe-configure-gcc:
9473 @if gcc-bootstrap
9474 configure-gcc: stage_current
9475 @endif gcc-bootstrap
9476 @if gcc
9477 maybe-configure-gcc: configure-gcc
9478 configure-gcc:
9479 @r=`${PWD_COMMAND}`; export r; \
9480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9481 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9482 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9483 $(HOST_EXPORTS) \
9484 echo Configuring in $(HOST_SUBDIR)/gcc; \
9485 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
9486 case $(srcdir) in \
9487 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9488 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9489 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9490 esac; \
9491 srcdiroption="--srcdir=$${topdir}/gcc"; \
9492 libsrcdir="$$s/gcc"; \
9493 $(SHELL) $${libsrcdir}/configure \
9494 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9495 --target=${target_alias} $${srcdiroption} \
9496 || exit 1
9497 @endif gcc
9501 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
9502 maybe-configure-stage1-gcc:
9503 @if gcc-bootstrap
9504 maybe-configure-stage1-gcc: configure-stage1-gcc
9505 configure-stage1-gcc:
9506 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9507 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9508 @r=`${PWD_COMMAND}`; export r; \
9509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9510 TFLAGS="$(STAGE1_TFLAGS)"; \
9511 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9512 $(HOST_EXPORTS) \
9513 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
9514 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
9515 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
9516 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
9517 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9518 cd $(HOST_SUBDIR)/gcc || exit 1; \
9519 case $(srcdir) in \
9520 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9521 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9522 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9523 esac; \
9524 srcdiroption="--srcdir=$${topdir}/gcc"; \
9525 libsrcdir="$$s/gcc"; \
9526 $(SHELL) $${libsrcdir}/configure \
9527 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9528 --target=${target_alias} $${srcdiroption} \
9529 $(STAGE1_CONFIGURE_FLAGS)
9530 @endif gcc-bootstrap
9532 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
9533 maybe-configure-stage2-gcc:
9534 @if gcc-bootstrap
9535 maybe-configure-stage2-gcc: configure-stage2-gcc
9536 configure-stage2-gcc:
9537 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9538 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9539 @r=`${PWD_COMMAND}`; export r; \
9540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9541 TFLAGS="$(STAGE2_TFLAGS)"; \
9542 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9543 $(HOST_EXPORTS) \
9544 $(POSTSTAGE1_HOST_EXPORTS) \
9545 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
9546 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
9547 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
9548 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
9549 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9550 cd $(HOST_SUBDIR)/gcc || exit 1; \
9551 case $(srcdir) in \
9552 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9553 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9554 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9555 esac; \
9556 srcdiroption="--srcdir=$${topdir}/gcc"; \
9557 libsrcdir="$$s/gcc"; \
9558 $(SHELL) $${libsrcdir}/configure \
9559 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9560 --target=${target_alias} $${srcdiroption} \
9561 --with-build-libsubdir=$(HOST_SUBDIR) \
9562 $(STAGE2_CONFIGURE_FLAGS)
9563 @endif gcc-bootstrap
9565 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
9566 maybe-configure-stage3-gcc:
9567 @if gcc-bootstrap
9568 maybe-configure-stage3-gcc: configure-stage3-gcc
9569 configure-stage3-gcc:
9570 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9571 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9572 @r=`${PWD_COMMAND}`; export r; \
9573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9574 TFLAGS="$(STAGE3_TFLAGS)"; \
9575 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9576 $(HOST_EXPORTS) \
9577 $(POSTSTAGE1_HOST_EXPORTS) \
9578 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
9579 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
9580 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
9581 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
9582 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9583 cd $(HOST_SUBDIR)/gcc || exit 1; \
9584 case $(srcdir) in \
9585 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9586 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9587 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9588 esac; \
9589 srcdiroption="--srcdir=$${topdir}/gcc"; \
9590 libsrcdir="$$s/gcc"; \
9591 $(SHELL) $${libsrcdir}/configure \
9592 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9593 --target=${target_alias} $${srcdiroption} \
9594 --with-build-libsubdir=$(HOST_SUBDIR) \
9595 $(STAGE3_CONFIGURE_FLAGS)
9596 @endif gcc-bootstrap
9598 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
9599 maybe-configure-stage4-gcc:
9600 @if gcc-bootstrap
9601 maybe-configure-stage4-gcc: configure-stage4-gcc
9602 configure-stage4-gcc:
9603 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9604 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9605 @r=`${PWD_COMMAND}`; export r; \
9606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9607 TFLAGS="$(STAGE4_TFLAGS)"; \
9608 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9609 $(HOST_EXPORTS) \
9610 $(POSTSTAGE1_HOST_EXPORTS) \
9611 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
9612 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
9613 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
9614 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
9615 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9616 cd $(HOST_SUBDIR)/gcc || exit 1; \
9617 case $(srcdir) in \
9618 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9619 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9620 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9621 esac; \
9622 srcdiroption="--srcdir=$${topdir}/gcc"; \
9623 libsrcdir="$$s/gcc"; \
9624 $(SHELL) $${libsrcdir}/configure \
9625 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9626 --target=${target_alias} $${srcdiroption} \
9627 --with-build-libsubdir=$(HOST_SUBDIR) \
9628 $(STAGE4_CONFIGURE_FLAGS)
9629 @endif gcc-bootstrap
9631 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
9632 maybe-configure-stageprofile-gcc:
9633 @if gcc-bootstrap
9634 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
9635 configure-stageprofile-gcc:
9636 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9637 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9638 @r=`${PWD_COMMAND}`; export r; \
9639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9640 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9641 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9642 $(HOST_EXPORTS) \
9643 $(POSTSTAGE1_HOST_EXPORTS) \
9644 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
9645 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
9646 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
9647 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
9648 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9649 cd $(HOST_SUBDIR)/gcc || exit 1; \
9650 case $(srcdir) in \
9651 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9652 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9653 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9654 esac; \
9655 srcdiroption="--srcdir=$${topdir}/gcc"; \
9656 libsrcdir="$$s/gcc"; \
9657 $(SHELL) $${libsrcdir}/configure \
9658 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9659 --target=${target_alias} $${srcdiroption} \
9660 --with-build-libsubdir=$(HOST_SUBDIR) \
9661 $(STAGEprofile_CONFIGURE_FLAGS)
9662 @endif gcc-bootstrap
9664 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
9665 maybe-configure-stagefeedback-gcc:
9666 @if gcc-bootstrap
9667 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
9668 configure-stagefeedback-gcc:
9669 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9670 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9671 @r=`${PWD_COMMAND}`; export r; \
9672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9673 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9674 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9675 $(HOST_EXPORTS) \
9676 $(POSTSTAGE1_HOST_EXPORTS) \
9677 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9678 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9679 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9680 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
9681 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9682 cd $(HOST_SUBDIR)/gcc || exit 1; \
9683 case $(srcdir) in \
9684 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9685 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9686 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9687 esac; \
9688 srcdiroption="--srcdir=$${topdir}/gcc"; \
9689 libsrcdir="$$s/gcc"; \
9690 $(SHELL) $${libsrcdir}/configure \
9691 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9692 --target=${target_alias} $${srcdiroption} \
9693 --with-build-libsubdir=$(HOST_SUBDIR) \
9694 $(STAGEfeedback_CONFIGURE_FLAGS)
9695 @endif gcc-bootstrap
9701 .PHONY: all-gcc maybe-all-gcc
9702 maybe-all-gcc:
9703 @if gcc-bootstrap
9704 all-gcc: stage_current
9705 @endif gcc-bootstrap
9706 @if gcc
9707 TARGET-gcc=all
9708 maybe-all-gcc: all-gcc
9709 all-gcc: configure-gcc
9710 @r=`${PWD_COMMAND}`; export r; \
9711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9712 $(HOST_EXPORTS) \
9713 (cd $(HOST_SUBDIR)/gcc && \
9714 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \
9715 $(TARGET-gcc))
9716 @endif gcc
9720 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
9721 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
9722 maybe-all-stage1-gcc:
9723 maybe-clean-stage1-gcc:
9724 @if gcc-bootstrap
9725 maybe-all-stage1-gcc: all-stage1-gcc
9726 all-stage1: all-stage1-gcc
9727 TARGET-stage1-gcc = $(TARGET-gcc)
9728 all-stage1-gcc: configure-stage1-gcc
9729 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9730 @r=`${PWD_COMMAND}`; export r; \
9731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9732 TFLAGS="$(STAGE1_TFLAGS)"; \
9733 $(HOST_EXPORTS) \
9734 cd $(HOST_SUBDIR)/gcc && \
9735 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9736 CFLAGS="$(STAGE1_CFLAGS)" \
9737 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9738 LIBCFLAGS="$(LIBCFLAGS)" \
9739 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9740 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9741 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9742 $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \
9743 TFLAGS="$(STAGE1_TFLAGS)" \
9744 $(TARGET-stage1-gcc)
9746 maybe-clean-stage1-gcc: clean-stage1-gcc
9747 clean-stage1: clean-stage1-gcc
9748 clean-stage1-gcc:
9749 @if [ $(current_stage) = stage1 ]; then \
9750 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9751 else \
9752 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
9753 $(MAKE) stage1-start; \
9754 fi; \
9755 cd $(HOST_SUBDIR)/gcc && \
9756 $(MAKE) $(EXTRA_HOST_FLAGS) \
9757 $(EXTRA_GCC_FLAGS) clean
9758 @endif gcc-bootstrap
9761 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
9762 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
9763 maybe-all-stage2-gcc:
9764 maybe-clean-stage2-gcc:
9765 @if gcc-bootstrap
9766 maybe-all-stage2-gcc: all-stage2-gcc
9767 all-stage2: all-stage2-gcc
9768 TARGET-stage2-gcc = $(TARGET-gcc)
9769 all-stage2-gcc: configure-stage2-gcc
9770 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9771 @r=`${PWD_COMMAND}`; export r; \
9772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9773 TFLAGS="$(STAGE2_TFLAGS)"; \
9774 $(HOST_EXPORTS) \
9775 $(POSTSTAGE1_HOST_EXPORTS) \
9776 cd $(HOST_SUBDIR)/gcc && \
9777 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9778 CFLAGS="$(STAGE2_CFLAGS)" \
9779 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9780 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9781 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9782 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9783 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9784 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9785 TFLAGS="$(STAGE2_TFLAGS)" \
9786 $(TARGET-stage2-gcc)
9788 maybe-clean-stage2-gcc: clean-stage2-gcc
9789 clean-stage2: clean-stage2-gcc
9790 clean-stage2-gcc:
9791 @if [ $(current_stage) = stage2 ]; then \
9792 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9793 else \
9794 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
9795 $(MAKE) stage2-start; \
9796 fi; \
9797 cd $(HOST_SUBDIR)/gcc && \
9798 $(MAKE) $(EXTRA_HOST_FLAGS) \
9799 $(POSTSTAGE1_FLAGS_TO_PASS) \
9800 $(EXTRA_GCC_FLAGS) clean
9801 @endif gcc-bootstrap
9804 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
9805 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
9806 maybe-all-stage3-gcc:
9807 maybe-clean-stage3-gcc:
9808 @if gcc-bootstrap
9809 maybe-all-stage3-gcc: all-stage3-gcc
9810 all-stage3: all-stage3-gcc
9811 TARGET-stage3-gcc = $(TARGET-gcc)
9812 all-stage3-gcc: configure-stage3-gcc
9813 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9814 @r=`${PWD_COMMAND}`; export r; \
9815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9816 TFLAGS="$(STAGE3_TFLAGS)"; \
9817 $(HOST_EXPORTS) \
9818 $(POSTSTAGE1_HOST_EXPORTS) \
9819 cd $(HOST_SUBDIR)/gcc && \
9820 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9821 CFLAGS="$(STAGE3_CFLAGS)" \
9822 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9823 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9824 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9825 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9826 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9827 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9828 TFLAGS="$(STAGE3_TFLAGS)" \
9829 $(TARGET-stage3-gcc)
9831 maybe-clean-stage3-gcc: clean-stage3-gcc
9832 clean-stage3: clean-stage3-gcc
9833 clean-stage3-gcc:
9834 @if [ $(current_stage) = stage3 ]; then \
9835 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9836 else \
9837 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
9838 $(MAKE) stage3-start; \
9839 fi; \
9840 cd $(HOST_SUBDIR)/gcc && \
9841 $(MAKE) $(EXTRA_HOST_FLAGS) \
9842 $(POSTSTAGE1_FLAGS_TO_PASS) \
9843 $(EXTRA_GCC_FLAGS) clean
9844 @endif gcc-bootstrap
9847 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
9848 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
9849 maybe-all-stage4-gcc:
9850 maybe-clean-stage4-gcc:
9851 @if gcc-bootstrap
9852 maybe-all-stage4-gcc: all-stage4-gcc
9853 all-stage4: all-stage4-gcc
9854 TARGET-stage4-gcc = $(TARGET-gcc)
9855 all-stage4-gcc: configure-stage4-gcc
9856 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9857 @r=`${PWD_COMMAND}`; export r; \
9858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9859 TFLAGS="$(STAGE4_TFLAGS)"; \
9860 $(HOST_EXPORTS) \
9861 $(POSTSTAGE1_HOST_EXPORTS) \
9862 cd $(HOST_SUBDIR)/gcc && \
9863 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9864 CFLAGS="$(STAGE4_CFLAGS)" \
9865 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9866 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9867 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9868 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9869 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9870 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9871 TFLAGS="$(STAGE4_TFLAGS)" \
9872 $(TARGET-stage4-gcc)
9874 maybe-clean-stage4-gcc: clean-stage4-gcc
9875 clean-stage4: clean-stage4-gcc
9876 clean-stage4-gcc:
9877 @if [ $(current_stage) = stage4 ]; then \
9878 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9879 else \
9880 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
9881 $(MAKE) stage4-start; \
9882 fi; \
9883 cd $(HOST_SUBDIR)/gcc && \
9884 $(MAKE) $(EXTRA_HOST_FLAGS) \
9885 $(POSTSTAGE1_FLAGS_TO_PASS) \
9886 $(EXTRA_GCC_FLAGS) clean
9887 @endif gcc-bootstrap
9890 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
9891 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
9892 maybe-all-stageprofile-gcc:
9893 maybe-clean-stageprofile-gcc:
9894 @if gcc-bootstrap
9895 maybe-all-stageprofile-gcc: all-stageprofile-gcc
9896 all-stageprofile: all-stageprofile-gcc
9897 TARGET-stageprofile-gcc = $(TARGET-gcc)
9898 all-stageprofile-gcc: configure-stageprofile-gcc
9899 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9900 @r=`${PWD_COMMAND}`; export r; \
9901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9902 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9903 $(HOST_EXPORTS) \
9904 $(POSTSTAGE1_HOST_EXPORTS) \
9905 cd $(HOST_SUBDIR)/gcc && \
9906 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9907 CFLAGS="$(STAGEprofile_CFLAGS)" \
9908 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9909 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9910 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9911 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9912 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9913 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9914 TFLAGS="$(STAGEprofile_TFLAGS)" \
9915 $(TARGET-stageprofile-gcc)
9917 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
9918 clean-stageprofile: clean-stageprofile-gcc
9919 clean-stageprofile-gcc:
9920 @if [ $(current_stage) = stageprofile ]; then \
9921 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9922 else \
9923 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
9924 $(MAKE) stageprofile-start; \
9925 fi; \
9926 cd $(HOST_SUBDIR)/gcc && \
9927 $(MAKE) $(EXTRA_HOST_FLAGS) \
9928 $(POSTSTAGE1_FLAGS_TO_PASS) \
9929 $(EXTRA_GCC_FLAGS) clean
9930 @endif gcc-bootstrap
9933 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
9934 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
9935 maybe-all-stagefeedback-gcc:
9936 maybe-clean-stagefeedback-gcc:
9937 @if gcc-bootstrap
9938 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
9939 all-stagefeedback: all-stagefeedback-gcc
9940 TARGET-stagefeedback-gcc = $(TARGET-gcc)
9941 all-stagefeedback-gcc: configure-stagefeedback-gcc
9942 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9943 @r=`${PWD_COMMAND}`; export r; \
9944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9945 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9946 $(HOST_EXPORTS) \
9947 $(POSTSTAGE1_HOST_EXPORTS) \
9948 cd $(HOST_SUBDIR)/gcc && \
9949 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9950 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9951 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9952 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9953 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9954 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9955 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9956 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9957 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9958 $(TARGET-stagefeedback-gcc)
9960 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
9961 clean-stagefeedback: clean-stagefeedback-gcc
9962 clean-stagefeedback-gcc:
9963 @if [ $(current_stage) = stagefeedback ]; then \
9964 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9965 else \
9966 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
9967 $(MAKE) stagefeedback-start; \
9968 fi; \
9969 cd $(HOST_SUBDIR)/gcc && \
9970 $(MAKE) $(EXTRA_HOST_FLAGS) \
9971 $(POSTSTAGE1_FLAGS_TO_PASS) \
9972 $(EXTRA_GCC_FLAGS) clean
9973 @endif gcc-bootstrap
9979 .PHONY: check-gcc maybe-check-gcc
9980 maybe-check-gcc:
9981 @if gcc
9982 maybe-check-gcc: check-gcc
9984 check-gcc:
9985 @: $(MAKE); $(unstage)
9986 @r=`${PWD_COMMAND}`; export r; \
9987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9988 $(HOST_EXPORTS) \
9989 (cd $(HOST_SUBDIR)/gcc && \
9990 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
9992 @endif gcc
9994 .PHONY: install-gcc maybe-install-gcc
9995 maybe-install-gcc:
9996 @if gcc
9997 maybe-install-gcc: install-gcc
9999 install-gcc: installdirs
10000 @: $(MAKE); $(unstage)
10001 @r=`${PWD_COMMAND}`; export r; \
10002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10003 $(HOST_EXPORTS) \
10004 (cd $(HOST_SUBDIR)/gcc && \
10005 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
10007 @endif gcc
10009 .PHONY: install-strip-gcc maybe-install-strip-gcc
10010 maybe-install-strip-gcc:
10011 @if gcc
10012 maybe-install-strip-gcc: install-strip-gcc
10014 install-strip-gcc: installdirs
10015 @: $(MAKE); $(unstage)
10016 @r=`${PWD_COMMAND}`; export r; \
10017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10018 $(HOST_EXPORTS) \
10019 (cd $(HOST_SUBDIR)/gcc && \
10020 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
10022 @endif gcc
10024 # Other targets (info, dvi, pdf, etc.)
10026 .PHONY: maybe-info-gcc info-gcc
10027 maybe-info-gcc:
10028 @if gcc
10029 maybe-info-gcc: info-gcc
10031 info-gcc: \
10032 configure-gcc
10033 @[ -f ./gcc/Makefile ] || exit 0; \
10034 r=`${PWD_COMMAND}`; export r; \
10035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10036 $(HOST_EXPORTS) \
10037 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10039 done; \
10040 echo "Doing info in gcc" ; \
10041 (cd $(HOST_SUBDIR)/gcc && \
10042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10044 "RANLIB=$${RANLIB}" \
10045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10046 info) \
10047 || exit 1
10049 @endif gcc
10051 .PHONY: maybe-dvi-gcc dvi-gcc
10052 maybe-dvi-gcc:
10053 @if gcc
10054 maybe-dvi-gcc: dvi-gcc
10056 dvi-gcc: \
10057 configure-gcc
10058 @[ -f ./gcc/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) $(EXTRA_GCC_FLAGS); do \
10063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10064 done; \
10065 echo "Doing dvi in gcc" ; \
10066 (cd $(HOST_SUBDIR)/gcc && \
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 dvi) \
10072 || exit 1
10074 @endif gcc
10076 .PHONY: maybe-pdf-gcc pdf-gcc
10077 maybe-pdf-gcc:
10078 @if gcc
10079 maybe-pdf-gcc: pdf-gcc
10081 pdf-gcc: \
10082 configure-gcc
10083 @[ -f ./gcc/Makefile ] || exit 0; \
10084 r=`${PWD_COMMAND}`; export r; \
10085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10086 $(HOST_EXPORTS) \
10087 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10089 done; \
10090 echo "Doing pdf in gcc" ; \
10091 (cd $(HOST_SUBDIR)/gcc && \
10092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10094 "RANLIB=$${RANLIB}" \
10095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10096 pdf) \
10097 || exit 1
10099 @endif gcc
10101 .PHONY: maybe-html-gcc html-gcc
10102 maybe-html-gcc:
10103 @if gcc
10104 maybe-html-gcc: html-gcc
10106 html-gcc: \
10107 configure-gcc
10108 @[ -f ./gcc/Makefile ] || exit 0; \
10109 r=`${PWD_COMMAND}`; export r; \
10110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10111 $(HOST_EXPORTS) \
10112 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10114 done; \
10115 echo "Doing html in gcc" ; \
10116 (cd $(HOST_SUBDIR)/gcc && \
10117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10119 "RANLIB=$${RANLIB}" \
10120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10121 html) \
10122 || exit 1
10124 @endif gcc
10126 .PHONY: maybe-TAGS-gcc TAGS-gcc
10127 maybe-TAGS-gcc:
10128 @if gcc
10129 maybe-TAGS-gcc: TAGS-gcc
10131 TAGS-gcc: \
10132 configure-gcc
10133 @[ -f ./gcc/Makefile ] || exit 0; \
10134 r=`${PWD_COMMAND}`; export r; \
10135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10136 $(HOST_EXPORTS) \
10137 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10139 done; \
10140 echo "Doing TAGS in gcc" ; \
10141 (cd $(HOST_SUBDIR)/gcc && \
10142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10144 "RANLIB=$${RANLIB}" \
10145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10146 TAGS) \
10147 || exit 1
10149 @endif gcc
10151 .PHONY: maybe-install-info-gcc install-info-gcc
10152 maybe-install-info-gcc:
10153 @if gcc
10154 maybe-install-info-gcc: install-info-gcc
10156 install-info-gcc: \
10157 configure-gcc \
10158 info-gcc
10159 @[ -f ./gcc/Makefile ] || exit 0; \
10160 r=`${PWD_COMMAND}`; export r; \
10161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10162 $(HOST_EXPORTS) \
10163 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10165 done; \
10166 echo "Doing install-info in gcc" ; \
10167 (cd $(HOST_SUBDIR)/gcc && \
10168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10170 "RANLIB=$${RANLIB}" \
10171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10172 install-info) \
10173 || exit 1
10175 @endif gcc
10177 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
10178 maybe-install-pdf-gcc:
10179 @if gcc
10180 maybe-install-pdf-gcc: install-pdf-gcc
10182 install-pdf-gcc: \
10183 configure-gcc \
10184 pdf-gcc
10185 @[ -f ./gcc/Makefile ] || exit 0; \
10186 r=`${PWD_COMMAND}`; export r; \
10187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10188 $(HOST_EXPORTS) \
10189 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10191 done; \
10192 echo "Doing install-pdf in gcc" ; \
10193 (cd $(HOST_SUBDIR)/gcc && \
10194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10196 "RANLIB=$${RANLIB}" \
10197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10198 install-pdf) \
10199 || exit 1
10201 @endif gcc
10203 .PHONY: maybe-install-html-gcc install-html-gcc
10204 maybe-install-html-gcc:
10205 @if gcc
10206 maybe-install-html-gcc: install-html-gcc
10208 install-html-gcc: \
10209 configure-gcc \
10210 html-gcc
10211 @[ -f ./gcc/Makefile ] || exit 0; \
10212 r=`${PWD_COMMAND}`; export r; \
10213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10214 $(HOST_EXPORTS) \
10215 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10217 done; \
10218 echo "Doing install-html in gcc" ; \
10219 (cd $(HOST_SUBDIR)/gcc && \
10220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10222 "RANLIB=$${RANLIB}" \
10223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10224 install-html) \
10225 || exit 1
10227 @endif gcc
10229 .PHONY: maybe-installcheck-gcc installcheck-gcc
10230 maybe-installcheck-gcc:
10231 @if gcc
10232 maybe-installcheck-gcc: installcheck-gcc
10234 installcheck-gcc: \
10235 configure-gcc
10236 @[ -f ./gcc/Makefile ] || exit 0; \
10237 r=`${PWD_COMMAND}`; export r; \
10238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10239 $(HOST_EXPORTS) \
10240 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10242 done; \
10243 echo "Doing installcheck in gcc" ; \
10244 (cd $(HOST_SUBDIR)/gcc && \
10245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10247 "RANLIB=$${RANLIB}" \
10248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10249 installcheck) \
10250 || exit 1
10252 @endif gcc
10254 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
10255 maybe-mostlyclean-gcc:
10256 @if gcc
10257 maybe-mostlyclean-gcc: mostlyclean-gcc
10259 mostlyclean-gcc:
10260 @[ -f ./gcc/Makefile ] || exit 0; \
10261 r=`${PWD_COMMAND}`; export r; \
10262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10263 $(HOST_EXPORTS) \
10264 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10266 done; \
10267 echo "Doing mostlyclean in gcc" ; \
10268 (cd $(HOST_SUBDIR)/gcc && \
10269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10271 "RANLIB=$${RANLIB}" \
10272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10273 mostlyclean) \
10274 || exit 1
10276 @endif gcc
10278 .PHONY: maybe-clean-gcc clean-gcc
10279 maybe-clean-gcc:
10280 @if gcc
10281 maybe-clean-gcc: clean-gcc
10283 clean-gcc:
10284 @[ -f ./gcc/Makefile ] || exit 0; \
10285 r=`${PWD_COMMAND}`; export r; \
10286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10287 $(HOST_EXPORTS) \
10288 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10290 done; \
10291 echo "Doing clean in gcc" ; \
10292 (cd $(HOST_SUBDIR)/gcc && \
10293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10295 "RANLIB=$${RANLIB}" \
10296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10297 clean) \
10298 || exit 1
10300 @endif gcc
10302 .PHONY: maybe-distclean-gcc distclean-gcc
10303 maybe-distclean-gcc:
10304 @if gcc
10305 maybe-distclean-gcc: distclean-gcc
10307 distclean-gcc:
10308 @[ -f ./gcc/Makefile ] || exit 0; \
10309 r=`${PWD_COMMAND}`; export r; \
10310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10311 $(HOST_EXPORTS) \
10312 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10314 done; \
10315 echo "Doing distclean in gcc" ; \
10316 (cd $(HOST_SUBDIR)/gcc && \
10317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10319 "RANLIB=$${RANLIB}" \
10320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10321 distclean) \
10322 || exit 1
10324 @endif gcc
10326 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
10327 maybe-maintainer-clean-gcc:
10328 @if gcc
10329 maybe-maintainer-clean-gcc: maintainer-clean-gcc
10331 maintainer-clean-gcc:
10332 @[ -f ./gcc/Makefile ] || exit 0; \
10333 r=`${PWD_COMMAND}`; export r; \
10334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10335 $(HOST_EXPORTS) \
10336 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10338 done; \
10339 echo "Doing maintainer-clean in gcc" ; \
10340 (cd $(HOST_SUBDIR)/gcc && \
10341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10343 "RANLIB=$${RANLIB}" \
10344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10345 maintainer-clean) \
10346 || exit 1
10348 @endif gcc
10352 .PHONY: configure-gmp maybe-configure-gmp
10353 maybe-configure-gmp:
10354 @if gcc-bootstrap
10355 configure-gmp: stage_current
10356 @endif gcc-bootstrap
10357 @if gmp
10358 maybe-configure-gmp: configure-gmp
10359 configure-gmp:
10360 @r=`${PWD_COMMAND}`; export r; \
10361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10362 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10363 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10364 $(HOST_EXPORTS) \
10365 echo Configuring in $(HOST_SUBDIR)/gmp; \
10366 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
10367 case $(srcdir) in \
10368 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10369 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10370 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10371 esac; \
10372 srcdiroption="--srcdir=$${topdir}/gmp"; \
10373 libsrcdir="$$s/gmp"; \
10374 $(SHELL) $${libsrcdir}/configure \
10375 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10376 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared \
10377 || exit 1
10378 @endif gmp
10382 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
10383 maybe-configure-stage1-gmp:
10384 @if gmp-bootstrap
10385 maybe-configure-stage1-gmp: configure-stage1-gmp
10386 configure-stage1-gmp:
10387 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10388 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10389 @r=`${PWD_COMMAND}`; export r; \
10390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10391 TFLAGS="$(STAGE1_TFLAGS)"; \
10392 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10393 $(HOST_EXPORTS) \
10394 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10395 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10396 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10397 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
10398 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10399 cd $(HOST_SUBDIR)/gmp || exit 1; \
10400 case $(srcdir) in \
10401 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10402 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10403 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10404 esac; \
10405 srcdiroption="--srcdir=$${topdir}/gmp"; \
10406 libsrcdir="$$s/gmp"; \
10407 $(SHELL) $${libsrcdir}/configure \
10408 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10409 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10410 $(STAGE1_CONFIGURE_FLAGS) \
10411 --disable-shared
10412 @endif gmp-bootstrap
10414 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
10415 maybe-configure-stage2-gmp:
10416 @if gmp-bootstrap
10417 maybe-configure-stage2-gmp: configure-stage2-gmp
10418 configure-stage2-gmp:
10419 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10420 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10421 @r=`${PWD_COMMAND}`; export r; \
10422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10423 TFLAGS="$(STAGE2_TFLAGS)"; \
10424 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10425 $(HOST_EXPORTS) \
10426 $(POSTSTAGE1_HOST_EXPORTS) \
10427 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10428 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10429 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10430 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
10431 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10432 cd $(HOST_SUBDIR)/gmp || exit 1; \
10433 case $(srcdir) in \
10434 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10435 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10436 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10437 esac; \
10438 srcdiroption="--srcdir=$${topdir}/gmp"; \
10439 libsrcdir="$$s/gmp"; \
10440 $(SHELL) $${libsrcdir}/configure \
10441 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10442 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10443 --with-build-libsubdir=$(HOST_SUBDIR) \
10444 $(STAGE2_CONFIGURE_FLAGS) \
10445 --disable-shared
10446 @endif gmp-bootstrap
10448 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
10449 maybe-configure-stage3-gmp:
10450 @if gmp-bootstrap
10451 maybe-configure-stage3-gmp: configure-stage3-gmp
10452 configure-stage3-gmp:
10453 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10454 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10455 @r=`${PWD_COMMAND}`; export r; \
10456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10457 TFLAGS="$(STAGE3_TFLAGS)"; \
10458 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10459 $(HOST_EXPORTS) \
10460 $(POSTSTAGE1_HOST_EXPORTS) \
10461 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10462 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10463 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10464 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
10465 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10466 cd $(HOST_SUBDIR)/gmp || exit 1; \
10467 case $(srcdir) in \
10468 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10469 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10470 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10471 esac; \
10472 srcdiroption="--srcdir=$${topdir}/gmp"; \
10473 libsrcdir="$$s/gmp"; \
10474 $(SHELL) $${libsrcdir}/configure \
10475 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10476 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10477 --with-build-libsubdir=$(HOST_SUBDIR) \
10478 $(STAGE3_CONFIGURE_FLAGS) \
10479 --disable-shared
10480 @endif gmp-bootstrap
10482 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
10483 maybe-configure-stage4-gmp:
10484 @if gmp-bootstrap
10485 maybe-configure-stage4-gmp: configure-stage4-gmp
10486 configure-stage4-gmp:
10487 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10488 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10489 @r=`${PWD_COMMAND}`; export r; \
10490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10491 TFLAGS="$(STAGE4_TFLAGS)"; \
10492 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10493 $(HOST_EXPORTS) \
10494 $(POSTSTAGE1_HOST_EXPORTS) \
10495 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10496 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10497 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10498 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
10499 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10500 cd $(HOST_SUBDIR)/gmp || exit 1; \
10501 case $(srcdir) in \
10502 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10503 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10504 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10505 esac; \
10506 srcdiroption="--srcdir=$${topdir}/gmp"; \
10507 libsrcdir="$$s/gmp"; \
10508 $(SHELL) $${libsrcdir}/configure \
10509 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10510 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10511 --with-build-libsubdir=$(HOST_SUBDIR) \
10512 $(STAGE4_CONFIGURE_FLAGS) \
10513 --disable-shared
10514 @endif gmp-bootstrap
10516 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
10517 maybe-configure-stageprofile-gmp:
10518 @if gmp-bootstrap
10519 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
10520 configure-stageprofile-gmp:
10521 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10522 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10523 @r=`${PWD_COMMAND}`; export r; \
10524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10525 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10526 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10527 $(HOST_EXPORTS) \
10528 $(POSTSTAGE1_HOST_EXPORTS) \
10529 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10530 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10531 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10532 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
10533 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10534 cd $(HOST_SUBDIR)/gmp || exit 1; \
10535 case $(srcdir) in \
10536 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10537 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10538 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10539 esac; \
10540 srcdiroption="--srcdir=$${topdir}/gmp"; \
10541 libsrcdir="$$s/gmp"; \
10542 $(SHELL) $${libsrcdir}/configure \
10543 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10544 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10545 --with-build-libsubdir=$(HOST_SUBDIR) \
10546 $(STAGEprofile_CONFIGURE_FLAGS) \
10547 --disable-shared
10548 @endif gmp-bootstrap
10550 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
10551 maybe-configure-stagefeedback-gmp:
10552 @if gmp-bootstrap
10553 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
10554 configure-stagefeedback-gmp:
10555 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10556 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10557 @r=`${PWD_COMMAND}`; export r; \
10558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10559 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10560 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10561 $(HOST_EXPORTS) \
10562 $(POSTSTAGE1_HOST_EXPORTS) \
10563 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10564 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10565 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10566 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
10567 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10568 cd $(HOST_SUBDIR)/gmp || exit 1; \
10569 case $(srcdir) in \
10570 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10571 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10572 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10573 esac; \
10574 srcdiroption="--srcdir=$${topdir}/gmp"; \
10575 libsrcdir="$$s/gmp"; \
10576 $(SHELL) $${libsrcdir}/configure \
10577 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10578 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10579 --with-build-libsubdir=$(HOST_SUBDIR) \
10580 $(STAGEfeedback_CONFIGURE_FLAGS) \
10581 --disable-shared
10582 @endif gmp-bootstrap
10588 .PHONY: all-gmp maybe-all-gmp
10589 maybe-all-gmp:
10590 @if gcc-bootstrap
10591 all-gmp: stage_current
10592 @endif gcc-bootstrap
10593 @if gmp
10594 TARGET-gmp=all
10595 maybe-all-gmp: all-gmp
10596 all-gmp: configure-gmp
10597 @r=`${PWD_COMMAND}`; export r; \
10598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10599 $(HOST_EXPORTS) \
10600 (cd $(HOST_SUBDIR)/gmp && \
10601 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
10602 $(TARGET-gmp))
10603 @endif gmp
10607 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
10608 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
10609 maybe-all-stage1-gmp:
10610 maybe-clean-stage1-gmp:
10611 @if gmp-bootstrap
10612 maybe-all-stage1-gmp: all-stage1-gmp
10613 all-stage1: all-stage1-gmp
10614 TARGET-stage1-gmp = $(TARGET-gmp)
10615 all-stage1-gmp: configure-stage1-gmp
10616 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10617 @r=`${PWD_COMMAND}`; export r; \
10618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10619 TFLAGS="$(STAGE1_TFLAGS)"; \
10620 $(HOST_EXPORTS) \
10621 cd $(HOST_SUBDIR)/gmp && \
10622 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10623 CFLAGS="$(STAGE1_CFLAGS)" \
10624 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10625 LIBCFLAGS="$(LIBCFLAGS)" \
10626 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10627 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10628 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10629 $(EXTRA_HOST_FLAGS) \
10630 TFLAGS="$(STAGE1_TFLAGS)" \
10631 $(TARGET-stage1-gmp)
10633 maybe-clean-stage1-gmp: clean-stage1-gmp
10634 clean-stage1: clean-stage1-gmp
10635 clean-stage1-gmp:
10636 @if [ $(current_stage) = stage1 ]; then \
10637 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10638 else \
10639 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
10640 $(MAKE) stage1-start; \
10641 fi; \
10642 cd $(HOST_SUBDIR)/gmp && \
10643 $(MAKE) $(EXTRA_HOST_FLAGS) \
10644 clean
10645 @endif gmp-bootstrap
10648 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
10649 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
10650 maybe-all-stage2-gmp:
10651 maybe-clean-stage2-gmp:
10652 @if gmp-bootstrap
10653 maybe-all-stage2-gmp: all-stage2-gmp
10654 all-stage2: all-stage2-gmp
10655 TARGET-stage2-gmp = $(TARGET-gmp)
10656 all-stage2-gmp: configure-stage2-gmp
10657 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10658 @r=`${PWD_COMMAND}`; export r; \
10659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10660 TFLAGS="$(STAGE2_TFLAGS)"; \
10661 $(HOST_EXPORTS) \
10662 $(POSTSTAGE1_HOST_EXPORTS) \
10663 cd $(HOST_SUBDIR)/gmp && \
10664 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10665 CFLAGS="$(STAGE2_CFLAGS)" \
10666 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10667 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10668 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10669 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10670 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10671 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10672 TFLAGS="$(STAGE2_TFLAGS)" \
10673 $(TARGET-stage2-gmp)
10675 maybe-clean-stage2-gmp: clean-stage2-gmp
10676 clean-stage2: clean-stage2-gmp
10677 clean-stage2-gmp:
10678 @if [ $(current_stage) = stage2 ]; then \
10679 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10680 else \
10681 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
10682 $(MAKE) stage2-start; \
10683 fi; \
10684 cd $(HOST_SUBDIR)/gmp && \
10685 $(MAKE) $(EXTRA_HOST_FLAGS) \
10686 $(POSTSTAGE1_FLAGS_TO_PASS) \
10687 clean
10688 @endif gmp-bootstrap
10691 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
10692 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
10693 maybe-all-stage3-gmp:
10694 maybe-clean-stage3-gmp:
10695 @if gmp-bootstrap
10696 maybe-all-stage3-gmp: all-stage3-gmp
10697 all-stage3: all-stage3-gmp
10698 TARGET-stage3-gmp = $(TARGET-gmp)
10699 all-stage3-gmp: configure-stage3-gmp
10700 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10701 @r=`${PWD_COMMAND}`; export r; \
10702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10703 TFLAGS="$(STAGE3_TFLAGS)"; \
10704 $(HOST_EXPORTS) \
10705 $(POSTSTAGE1_HOST_EXPORTS) \
10706 cd $(HOST_SUBDIR)/gmp && \
10707 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10708 CFLAGS="$(STAGE3_CFLAGS)" \
10709 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10710 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10711 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10712 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10713 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10714 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10715 TFLAGS="$(STAGE3_TFLAGS)" \
10716 $(TARGET-stage3-gmp)
10718 maybe-clean-stage3-gmp: clean-stage3-gmp
10719 clean-stage3: clean-stage3-gmp
10720 clean-stage3-gmp:
10721 @if [ $(current_stage) = stage3 ]; then \
10722 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10723 else \
10724 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
10725 $(MAKE) stage3-start; \
10726 fi; \
10727 cd $(HOST_SUBDIR)/gmp && \
10728 $(MAKE) $(EXTRA_HOST_FLAGS) \
10729 $(POSTSTAGE1_FLAGS_TO_PASS) \
10730 clean
10731 @endif gmp-bootstrap
10734 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
10735 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
10736 maybe-all-stage4-gmp:
10737 maybe-clean-stage4-gmp:
10738 @if gmp-bootstrap
10739 maybe-all-stage4-gmp: all-stage4-gmp
10740 all-stage4: all-stage4-gmp
10741 TARGET-stage4-gmp = $(TARGET-gmp)
10742 all-stage4-gmp: configure-stage4-gmp
10743 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10744 @r=`${PWD_COMMAND}`; export r; \
10745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10746 TFLAGS="$(STAGE4_TFLAGS)"; \
10747 $(HOST_EXPORTS) \
10748 $(POSTSTAGE1_HOST_EXPORTS) \
10749 cd $(HOST_SUBDIR)/gmp && \
10750 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10751 CFLAGS="$(STAGE4_CFLAGS)" \
10752 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10753 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10754 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10755 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10756 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10757 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10758 TFLAGS="$(STAGE4_TFLAGS)" \
10759 $(TARGET-stage4-gmp)
10761 maybe-clean-stage4-gmp: clean-stage4-gmp
10762 clean-stage4: clean-stage4-gmp
10763 clean-stage4-gmp:
10764 @if [ $(current_stage) = stage4 ]; then \
10765 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10766 else \
10767 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
10768 $(MAKE) stage4-start; \
10769 fi; \
10770 cd $(HOST_SUBDIR)/gmp && \
10771 $(MAKE) $(EXTRA_HOST_FLAGS) \
10772 $(POSTSTAGE1_FLAGS_TO_PASS) \
10773 clean
10774 @endif gmp-bootstrap
10777 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
10778 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
10779 maybe-all-stageprofile-gmp:
10780 maybe-clean-stageprofile-gmp:
10781 @if gmp-bootstrap
10782 maybe-all-stageprofile-gmp: all-stageprofile-gmp
10783 all-stageprofile: all-stageprofile-gmp
10784 TARGET-stageprofile-gmp = $(TARGET-gmp)
10785 all-stageprofile-gmp: configure-stageprofile-gmp
10786 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10787 @r=`${PWD_COMMAND}`; export r; \
10788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10789 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10790 $(HOST_EXPORTS) \
10791 $(POSTSTAGE1_HOST_EXPORTS) \
10792 cd $(HOST_SUBDIR)/gmp && \
10793 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10794 CFLAGS="$(STAGEprofile_CFLAGS)" \
10795 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10796 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10797 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10798 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10799 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10800 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10801 TFLAGS="$(STAGEprofile_TFLAGS)" \
10802 $(TARGET-stageprofile-gmp)
10804 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
10805 clean-stageprofile: clean-stageprofile-gmp
10806 clean-stageprofile-gmp:
10807 @if [ $(current_stage) = stageprofile ]; then \
10808 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10809 else \
10810 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
10811 $(MAKE) stageprofile-start; \
10812 fi; \
10813 cd $(HOST_SUBDIR)/gmp && \
10814 $(MAKE) $(EXTRA_HOST_FLAGS) \
10815 $(POSTSTAGE1_FLAGS_TO_PASS) \
10816 clean
10817 @endif gmp-bootstrap
10820 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
10821 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
10822 maybe-all-stagefeedback-gmp:
10823 maybe-clean-stagefeedback-gmp:
10824 @if gmp-bootstrap
10825 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
10826 all-stagefeedback: all-stagefeedback-gmp
10827 TARGET-stagefeedback-gmp = $(TARGET-gmp)
10828 all-stagefeedback-gmp: configure-stagefeedback-gmp
10829 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10830 @r=`${PWD_COMMAND}`; export r; \
10831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10832 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10833 $(HOST_EXPORTS) \
10834 $(POSTSTAGE1_HOST_EXPORTS) \
10835 cd $(HOST_SUBDIR)/gmp && \
10836 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10837 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10838 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10839 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10840 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10841 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10842 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10843 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10844 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10845 $(TARGET-stagefeedback-gmp)
10847 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
10848 clean-stagefeedback: clean-stagefeedback-gmp
10849 clean-stagefeedback-gmp:
10850 @if [ $(current_stage) = stagefeedback ]; then \
10851 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10852 else \
10853 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
10854 $(MAKE) stagefeedback-start; \
10855 fi; \
10856 cd $(HOST_SUBDIR)/gmp && \
10857 $(MAKE) $(EXTRA_HOST_FLAGS) \
10858 $(POSTSTAGE1_FLAGS_TO_PASS) \
10859 clean
10860 @endif gmp-bootstrap
10866 .PHONY: check-gmp maybe-check-gmp
10867 maybe-check-gmp:
10868 @if gmp
10869 maybe-check-gmp: check-gmp
10871 check-gmp:
10872 @: $(MAKE); $(unstage)
10873 @r=`${PWD_COMMAND}`; export r; \
10874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10875 $(HOST_EXPORTS) \
10876 (cd $(HOST_SUBDIR)/gmp && \
10877 $(MAKE) $(FLAGS_TO_PASS) check)
10879 @endif gmp
10881 .PHONY: install-gmp maybe-install-gmp
10882 maybe-install-gmp:
10883 @if gmp
10884 maybe-install-gmp: install-gmp
10886 install-gmp:
10888 @endif gmp
10890 .PHONY: install-strip-gmp maybe-install-strip-gmp
10891 maybe-install-strip-gmp:
10892 @if gmp
10893 maybe-install-strip-gmp: install-strip-gmp
10895 install-strip-gmp:
10897 @endif gmp
10899 # Other targets (info, dvi, pdf, etc.)
10901 .PHONY: maybe-info-gmp info-gmp
10902 maybe-info-gmp:
10903 @if gmp
10904 maybe-info-gmp: info-gmp
10906 info-gmp: \
10907 configure-gmp
10908 @[ -f ./gmp/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) ; do \
10913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10914 done; \
10915 echo "Doing info in gmp" ; \
10916 (cd $(HOST_SUBDIR)/gmp && \
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 info) \
10922 || exit 1
10924 @endif gmp
10926 .PHONY: maybe-dvi-gmp dvi-gmp
10927 maybe-dvi-gmp:
10928 @if gmp
10929 maybe-dvi-gmp: dvi-gmp
10931 dvi-gmp: \
10932 configure-gmp
10933 @[ -f ./gmp/Makefile ] || exit 0; \
10934 r=`${PWD_COMMAND}`; export r; \
10935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10936 $(HOST_EXPORTS) \
10937 for flag in $(EXTRA_HOST_FLAGS) ; do \
10938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10939 done; \
10940 echo "Doing dvi in gmp" ; \
10941 (cd $(HOST_SUBDIR)/gmp && \
10942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10944 "RANLIB=$${RANLIB}" \
10945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10946 dvi) \
10947 || exit 1
10949 @endif gmp
10951 .PHONY: maybe-pdf-gmp pdf-gmp
10952 maybe-pdf-gmp:
10953 @if gmp
10954 maybe-pdf-gmp: pdf-gmp
10956 pdf-gmp: \
10957 configure-gmp
10958 @[ -f ./gmp/Makefile ] || exit 0; \
10959 r=`${PWD_COMMAND}`; export r; \
10960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10961 $(HOST_EXPORTS) \
10962 for flag in $(EXTRA_HOST_FLAGS) ; do \
10963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10964 done; \
10965 echo "Doing pdf in gmp" ; \
10966 (cd $(HOST_SUBDIR)/gmp && \
10967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10969 "RANLIB=$${RANLIB}" \
10970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10971 pdf) \
10972 || exit 1
10974 @endif gmp
10976 .PHONY: maybe-html-gmp html-gmp
10977 maybe-html-gmp:
10978 @if gmp
10979 maybe-html-gmp: html-gmp
10981 html-gmp: \
10982 configure-gmp
10983 @[ -f ./gmp/Makefile ] || exit 0; \
10984 r=`${PWD_COMMAND}`; export r; \
10985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10986 $(HOST_EXPORTS) \
10987 for flag in $(EXTRA_HOST_FLAGS) ; do \
10988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10989 done; \
10990 echo "Doing html in gmp" ; \
10991 (cd $(HOST_SUBDIR)/gmp && \
10992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10994 "RANLIB=$${RANLIB}" \
10995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10996 html) \
10997 || exit 1
10999 @endif gmp
11001 .PHONY: maybe-TAGS-gmp TAGS-gmp
11002 maybe-TAGS-gmp:
11003 @if gmp
11004 maybe-TAGS-gmp: TAGS-gmp
11006 TAGS-gmp: \
11007 configure-gmp
11008 @[ -f ./gmp/Makefile ] || exit 0; \
11009 r=`${PWD_COMMAND}`; export r; \
11010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11011 $(HOST_EXPORTS) \
11012 for flag in $(EXTRA_HOST_FLAGS) ; do \
11013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11014 done; \
11015 echo "Doing TAGS in gmp" ; \
11016 (cd $(HOST_SUBDIR)/gmp && \
11017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11019 "RANLIB=$${RANLIB}" \
11020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11021 TAGS) \
11022 || exit 1
11024 @endif gmp
11026 .PHONY: maybe-install-info-gmp install-info-gmp
11027 maybe-install-info-gmp:
11028 @if gmp
11029 maybe-install-info-gmp: install-info-gmp
11031 install-info-gmp: \
11032 configure-gmp \
11033 info-gmp
11034 @[ -f ./gmp/Makefile ] || exit 0; \
11035 r=`${PWD_COMMAND}`; export r; \
11036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11037 $(HOST_EXPORTS) \
11038 for flag in $(EXTRA_HOST_FLAGS) ; do \
11039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11040 done; \
11041 echo "Doing install-info in gmp" ; \
11042 (cd $(HOST_SUBDIR)/gmp && \
11043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11045 "RANLIB=$${RANLIB}" \
11046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11047 install-info) \
11048 || exit 1
11050 @endif gmp
11052 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
11053 maybe-install-pdf-gmp:
11054 @if gmp
11055 maybe-install-pdf-gmp: install-pdf-gmp
11057 install-pdf-gmp: \
11058 configure-gmp \
11059 pdf-gmp
11060 @[ -f ./gmp/Makefile ] || exit 0; \
11061 r=`${PWD_COMMAND}`; export r; \
11062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11063 $(HOST_EXPORTS) \
11064 for flag in $(EXTRA_HOST_FLAGS) ; do \
11065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11066 done; \
11067 echo "Doing install-pdf in gmp" ; \
11068 (cd $(HOST_SUBDIR)/gmp && \
11069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11071 "RANLIB=$${RANLIB}" \
11072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11073 install-pdf) \
11074 || exit 1
11076 @endif gmp
11078 .PHONY: maybe-install-html-gmp install-html-gmp
11079 maybe-install-html-gmp:
11080 @if gmp
11081 maybe-install-html-gmp: install-html-gmp
11083 install-html-gmp: \
11084 configure-gmp \
11085 html-gmp
11086 @[ -f ./gmp/Makefile ] || exit 0; \
11087 r=`${PWD_COMMAND}`; export r; \
11088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11089 $(HOST_EXPORTS) \
11090 for flag in $(EXTRA_HOST_FLAGS) ; do \
11091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11092 done; \
11093 echo "Doing install-html in gmp" ; \
11094 (cd $(HOST_SUBDIR)/gmp && \
11095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11097 "RANLIB=$${RANLIB}" \
11098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11099 install-html) \
11100 || exit 1
11102 @endif gmp
11104 .PHONY: maybe-installcheck-gmp installcheck-gmp
11105 maybe-installcheck-gmp:
11106 @if gmp
11107 maybe-installcheck-gmp: installcheck-gmp
11109 installcheck-gmp: \
11110 configure-gmp
11111 @[ -f ./gmp/Makefile ] || exit 0; \
11112 r=`${PWD_COMMAND}`; export r; \
11113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11114 $(HOST_EXPORTS) \
11115 for flag in $(EXTRA_HOST_FLAGS) ; do \
11116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11117 done; \
11118 echo "Doing installcheck in gmp" ; \
11119 (cd $(HOST_SUBDIR)/gmp && \
11120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11122 "RANLIB=$${RANLIB}" \
11123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11124 installcheck) \
11125 || exit 1
11127 @endif gmp
11129 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
11130 maybe-mostlyclean-gmp:
11131 @if gmp
11132 maybe-mostlyclean-gmp: mostlyclean-gmp
11134 mostlyclean-gmp:
11135 @[ -f ./gmp/Makefile ] || exit 0; \
11136 r=`${PWD_COMMAND}`; export r; \
11137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11138 $(HOST_EXPORTS) \
11139 for flag in $(EXTRA_HOST_FLAGS) ; do \
11140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11141 done; \
11142 echo "Doing mostlyclean in gmp" ; \
11143 (cd $(HOST_SUBDIR)/gmp && \
11144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11146 "RANLIB=$${RANLIB}" \
11147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11148 mostlyclean) \
11149 || exit 1
11151 @endif gmp
11153 .PHONY: maybe-clean-gmp clean-gmp
11154 maybe-clean-gmp:
11155 @if gmp
11156 maybe-clean-gmp: clean-gmp
11158 clean-gmp:
11159 @[ -f ./gmp/Makefile ] || exit 0; \
11160 r=`${PWD_COMMAND}`; export r; \
11161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11162 $(HOST_EXPORTS) \
11163 for flag in $(EXTRA_HOST_FLAGS) ; do \
11164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11165 done; \
11166 echo "Doing clean in gmp" ; \
11167 (cd $(HOST_SUBDIR)/gmp && \
11168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11170 "RANLIB=$${RANLIB}" \
11171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11172 clean) \
11173 || exit 1
11175 @endif gmp
11177 .PHONY: maybe-distclean-gmp distclean-gmp
11178 maybe-distclean-gmp:
11179 @if gmp
11180 maybe-distclean-gmp: distclean-gmp
11182 distclean-gmp:
11183 @[ -f ./gmp/Makefile ] || exit 0; \
11184 r=`${PWD_COMMAND}`; export r; \
11185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11186 $(HOST_EXPORTS) \
11187 for flag in $(EXTRA_HOST_FLAGS) ; do \
11188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11189 done; \
11190 echo "Doing distclean in gmp" ; \
11191 (cd $(HOST_SUBDIR)/gmp && \
11192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11194 "RANLIB=$${RANLIB}" \
11195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11196 distclean) \
11197 || exit 1
11199 @endif gmp
11201 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
11202 maybe-maintainer-clean-gmp:
11203 @if gmp
11204 maybe-maintainer-clean-gmp: maintainer-clean-gmp
11206 maintainer-clean-gmp:
11207 @[ -f ./gmp/Makefile ] || exit 0; \
11208 r=`${PWD_COMMAND}`; export r; \
11209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11210 $(HOST_EXPORTS) \
11211 for flag in $(EXTRA_HOST_FLAGS) ; do \
11212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11213 done; \
11214 echo "Doing maintainer-clean in gmp" ; \
11215 (cd $(HOST_SUBDIR)/gmp && \
11216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11218 "RANLIB=$${RANLIB}" \
11219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11220 maintainer-clean) \
11221 || exit 1
11223 @endif gmp
11227 .PHONY: configure-mpfr maybe-configure-mpfr
11228 maybe-configure-mpfr:
11229 @if gcc-bootstrap
11230 configure-mpfr: stage_current
11231 @endif gcc-bootstrap
11232 @if mpfr
11233 maybe-configure-mpfr: configure-mpfr
11234 configure-mpfr:
11235 @r=`${PWD_COMMAND}`; export r; \
11236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11237 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11238 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11239 $(HOST_EXPORTS) \
11240 echo Configuring in $(HOST_SUBDIR)/mpfr; \
11241 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
11242 case $(srcdir) in \
11243 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11244 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11245 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11246 esac; \
11247 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11248 libsrcdir="$$s/mpfr"; \
11249 $(SHELL) $${libsrcdir}/configure \
11250 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11251 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpfr_configure_flags@ \
11252 || exit 1
11253 @endif mpfr
11257 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
11258 maybe-configure-stage1-mpfr:
11259 @if mpfr-bootstrap
11260 maybe-configure-stage1-mpfr: configure-stage1-mpfr
11261 configure-stage1-mpfr:
11262 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11263 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11264 @r=`${PWD_COMMAND}`; export r; \
11265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11266 TFLAGS="$(STAGE1_TFLAGS)"; \
11267 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11268 $(HOST_EXPORTS) \
11269 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11270 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11271 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11272 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
11273 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11274 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11275 case $(srcdir) in \
11276 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11277 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11278 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11279 esac; \
11280 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11281 libsrcdir="$$s/mpfr"; \
11282 $(SHELL) $${libsrcdir}/configure \
11283 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11284 --target=${target_alias} $${srcdiroption} \
11285 $(STAGE1_CONFIGURE_FLAGS) \
11286 --disable-shared @extra_mpfr_configure_flags@
11287 @endif mpfr-bootstrap
11289 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
11290 maybe-configure-stage2-mpfr:
11291 @if mpfr-bootstrap
11292 maybe-configure-stage2-mpfr: configure-stage2-mpfr
11293 configure-stage2-mpfr:
11294 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11295 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11296 @r=`${PWD_COMMAND}`; export r; \
11297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11298 TFLAGS="$(STAGE2_TFLAGS)"; \
11299 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11300 $(HOST_EXPORTS) \
11301 $(POSTSTAGE1_HOST_EXPORTS) \
11302 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11303 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11304 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11305 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
11306 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11307 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11308 case $(srcdir) in \
11309 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11310 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11311 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11312 esac; \
11313 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11314 libsrcdir="$$s/mpfr"; \
11315 $(SHELL) $${libsrcdir}/configure \
11316 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11317 --target=${target_alias} $${srcdiroption} \
11318 --with-build-libsubdir=$(HOST_SUBDIR) \
11319 $(STAGE2_CONFIGURE_FLAGS) \
11320 --disable-shared @extra_mpfr_configure_flags@
11321 @endif mpfr-bootstrap
11323 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
11324 maybe-configure-stage3-mpfr:
11325 @if mpfr-bootstrap
11326 maybe-configure-stage3-mpfr: configure-stage3-mpfr
11327 configure-stage3-mpfr:
11328 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11329 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11330 @r=`${PWD_COMMAND}`; export r; \
11331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11332 TFLAGS="$(STAGE3_TFLAGS)"; \
11333 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11334 $(HOST_EXPORTS) \
11335 $(POSTSTAGE1_HOST_EXPORTS) \
11336 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11337 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11338 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11339 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
11340 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11341 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11342 case $(srcdir) in \
11343 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11344 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11345 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11346 esac; \
11347 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11348 libsrcdir="$$s/mpfr"; \
11349 $(SHELL) $${libsrcdir}/configure \
11350 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11351 --target=${target_alias} $${srcdiroption} \
11352 --with-build-libsubdir=$(HOST_SUBDIR) \
11353 $(STAGE3_CONFIGURE_FLAGS) \
11354 --disable-shared @extra_mpfr_configure_flags@
11355 @endif mpfr-bootstrap
11357 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
11358 maybe-configure-stage4-mpfr:
11359 @if mpfr-bootstrap
11360 maybe-configure-stage4-mpfr: configure-stage4-mpfr
11361 configure-stage4-mpfr:
11362 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11363 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11364 @r=`${PWD_COMMAND}`; export r; \
11365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11366 TFLAGS="$(STAGE4_TFLAGS)"; \
11367 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11368 $(HOST_EXPORTS) \
11369 $(POSTSTAGE1_HOST_EXPORTS) \
11370 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11371 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11372 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11373 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
11374 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11375 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11376 case $(srcdir) in \
11377 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11378 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11379 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11380 esac; \
11381 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11382 libsrcdir="$$s/mpfr"; \
11383 $(SHELL) $${libsrcdir}/configure \
11384 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11385 --target=${target_alias} $${srcdiroption} \
11386 --with-build-libsubdir=$(HOST_SUBDIR) \
11387 $(STAGE4_CONFIGURE_FLAGS) \
11388 --disable-shared @extra_mpfr_configure_flags@
11389 @endif mpfr-bootstrap
11391 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
11392 maybe-configure-stageprofile-mpfr:
11393 @if mpfr-bootstrap
11394 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
11395 configure-stageprofile-mpfr:
11396 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11397 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11398 @r=`${PWD_COMMAND}`; export r; \
11399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11400 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11401 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11402 $(HOST_EXPORTS) \
11403 $(POSTSTAGE1_HOST_EXPORTS) \
11404 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11405 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11406 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11407 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
11408 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11409 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11410 case $(srcdir) in \
11411 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11412 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11413 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11414 esac; \
11415 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11416 libsrcdir="$$s/mpfr"; \
11417 $(SHELL) $${libsrcdir}/configure \
11418 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11419 --target=${target_alias} $${srcdiroption} \
11420 --with-build-libsubdir=$(HOST_SUBDIR) \
11421 $(STAGEprofile_CONFIGURE_FLAGS) \
11422 --disable-shared @extra_mpfr_configure_flags@
11423 @endif mpfr-bootstrap
11425 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
11426 maybe-configure-stagefeedback-mpfr:
11427 @if mpfr-bootstrap
11428 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
11429 configure-stagefeedback-mpfr:
11430 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11431 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11432 @r=`${PWD_COMMAND}`; export r; \
11433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11434 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11435 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11436 $(HOST_EXPORTS) \
11437 $(POSTSTAGE1_HOST_EXPORTS) \
11438 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11439 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11440 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11441 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
11442 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11443 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11444 case $(srcdir) in \
11445 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11446 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11447 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11448 esac; \
11449 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11450 libsrcdir="$$s/mpfr"; \
11451 $(SHELL) $${libsrcdir}/configure \
11452 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11453 --target=${target_alias} $${srcdiroption} \
11454 --with-build-libsubdir=$(HOST_SUBDIR) \
11455 $(STAGEfeedback_CONFIGURE_FLAGS) \
11456 --disable-shared @extra_mpfr_configure_flags@
11457 @endif mpfr-bootstrap
11463 .PHONY: all-mpfr maybe-all-mpfr
11464 maybe-all-mpfr:
11465 @if gcc-bootstrap
11466 all-mpfr: stage_current
11467 @endif gcc-bootstrap
11468 @if mpfr
11469 TARGET-mpfr=all
11470 maybe-all-mpfr: all-mpfr
11471 all-mpfr: configure-mpfr
11472 @r=`${PWD_COMMAND}`; export r; \
11473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11474 $(HOST_EXPORTS) \
11475 (cd $(HOST_SUBDIR)/mpfr && \
11476 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
11477 $(TARGET-mpfr))
11478 @endif mpfr
11482 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
11483 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
11484 maybe-all-stage1-mpfr:
11485 maybe-clean-stage1-mpfr:
11486 @if mpfr-bootstrap
11487 maybe-all-stage1-mpfr: all-stage1-mpfr
11488 all-stage1: all-stage1-mpfr
11489 TARGET-stage1-mpfr = $(TARGET-mpfr)
11490 all-stage1-mpfr: configure-stage1-mpfr
11491 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11492 @r=`${PWD_COMMAND}`; export r; \
11493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11494 TFLAGS="$(STAGE1_TFLAGS)"; \
11495 $(HOST_EXPORTS) \
11496 cd $(HOST_SUBDIR)/mpfr && \
11497 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11498 CFLAGS="$(STAGE1_CFLAGS)" \
11499 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11500 LIBCFLAGS="$(LIBCFLAGS)" \
11501 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11502 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11503 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11504 $(EXTRA_HOST_FLAGS) \
11505 TFLAGS="$(STAGE1_TFLAGS)" \
11506 $(TARGET-stage1-mpfr)
11508 maybe-clean-stage1-mpfr: clean-stage1-mpfr
11509 clean-stage1: clean-stage1-mpfr
11510 clean-stage1-mpfr:
11511 @if [ $(current_stage) = stage1 ]; then \
11512 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11513 else \
11514 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
11515 $(MAKE) stage1-start; \
11516 fi; \
11517 cd $(HOST_SUBDIR)/mpfr && \
11518 $(MAKE) $(EXTRA_HOST_FLAGS) \
11519 clean
11520 @endif mpfr-bootstrap
11523 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
11524 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
11525 maybe-all-stage2-mpfr:
11526 maybe-clean-stage2-mpfr:
11527 @if mpfr-bootstrap
11528 maybe-all-stage2-mpfr: all-stage2-mpfr
11529 all-stage2: all-stage2-mpfr
11530 TARGET-stage2-mpfr = $(TARGET-mpfr)
11531 all-stage2-mpfr: configure-stage2-mpfr
11532 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11533 @r=`${PWD_COMMAND}`; export r; \
11534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11535 TFLAGS="$(STAGE2_TFLAGS)"; \
11536 $(HOST_EXPORTS) \
11537 $(POSTSTAGE1_HOST_EXPORTS) \
11538 cd $(HOST_SUBDIR)/mpfr && \
11539 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11540 CFLAGS="$(STAGE2_CFLAGS)" \
11541 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11542 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11543 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11544 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11545 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11546 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11547 TFLAGS="$(STAGE2_TFLAGS)" \
11548 $(TARGET-stage2-mpfr)
11550 maybe-clean-stage2-mpfr: clean-stage2-mpfr
11551 clean-stage2: clean-stage2-mpfr
11552 clean-stage2-mpfr:
11553 @if [ $(current_stage) = stage2 ]; then \
11554 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11555 else \
11556 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
11557 $(MAKE) stage2-start; \
11558 fi; \
11559 cd $(HOST_SUBDIR)/mpfr && \
11560 $(MAKE) $(EXTRA_HOST_FLAGS) \
11561 $(POSTSTAGE1_FLAGS_TO_PASS) \
11562 clean
11563 @endif mpfr-bootstrap
11566 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
11567 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
11568 maybe-all-stage3-mpfr:
11569 maybe-clean-stage3-mpfr:
11570 @if mpfr-bootstrap
11571 maybe-all-stage3-mpfr: all-stage3-mpfr
11572 all-stage3: all-stage3-mpfr
11573 TARGET-stage3-mpfr = $(TARGET-mpfr)
11574 all-stage3-mpfr: configure-stage3-mpfr
11575 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11576 @r=`${PWD_COMMAND}`; export r; \
11577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11578 TFLAGS="$(STAGE3_TFLAGS)"; \
11579 $(HOST_EXPORTS) \
11580 $(POSTSTAGE1_HOST_EXPORTS) \
11581 cd $(HOST_SUBDIR)/mpfr && \
11582 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11583 CFLAGS="$(STAGE3_CFLAGS)" \
11584 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11585 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11586 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11587 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11588 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11589 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11590 TFLAGS="$(STAGE3_TFLAGS)" \
11591 $(TARGET-stage3-mpfr)
11593 maybe-clean-stage3-mpfr: clean-stage3-mpfr
11594 clean-stage3: clean-stage3-mpfr
11595 clean-stage3-mpfr:
11596 @if [ $(current_stage) = stage3 ]; then \
11597 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11598 else \
11599 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
11600 $(MAKE) stage3-start; \
11601 fi; \
11602 cd $(HOST_SUBDIR)/mpfr && \
11603 $(MAKE) $(EXTRA_HOST_FLAGS) \
11604 $(POSTSTAGE1_FLAGS_TO_PASS) \
11605 clean
11606 @endif mpfr-bootstrap
11609 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
11610 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
11611 maybe-all-stage4-mpfr:
11612 maybe-clean-stage4-mpfr:
11613 @if mpfr-bootstrap
11614 maybe-all-stage4-mpfr: all-stage4-mpfr
11615 all-stage4: all-stage4-mpfr
11616 TARGET-stage4-mpfr = $(TARGET-mpfr)
11617 all-stage4-mpfr: configure-stage4-mpfr
11618 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11619 @r=`${PWD_COMMAND}`; export r; \
11620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11621 TFLAGS="$(STAGE4_TFLAGS)"; \
11622 $(HOST_EXPORTS) \
11623 $(POSTSTAGE1_HOST_EXPORTS) \
11624 cd $(HOST_SUBDIR)/mpfr && \
11625 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11626 CFLAGS="$(STAGE4_CFLAGS)" \
11627 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11628 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11629 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11630 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11631 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11632 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11633 TFLAGS="$(STAGE4_TFLAGS)" \
11634 $(TARGET-stage4-mpfr)
11636 maybe-clean-stage4-mpfr: clean-stage4-mpfr
11637 clean-stage4: clean-stage4-mpfr
11638 clean-stage4-mpfr:
11639 @if [ $(current_stage) = stage4 ]; then \
11640 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11641 else \
11642 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
11643 $(MAKE) stage4-start; \
11644 fi; \
11645 cd $(HOST_SUBDIR)/mpfr && \
11646 $(MAKE) $(EXTRA_HOST_FLAGS) \
11647 $(POSTSTAGE1_FLAGS_TO_PASS) \
11648 clean
11649 @endif mpfr-bootstrap
11652 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
11653 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
11654 maybe-all-stageprofile-mpfr:
11655 maybe-clean-stageprofile-mpfr:
11656 @if mpfr-bootstrap
11657 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
11658 all-stageprofile: all-stageprofile-mpfr
11659 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
11660 all-stageprofile-mpfr: configure-stageprofile-mpfr
11661 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11662 @r=`${PWD_COMMAND}`; export r; \
11663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11664 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11665 $(HOST_EXPORTS) \
11666 $(POSTSTAGE1_HOST_EXPORTS) \
11667 cd $(HOST_SUBDIR)/mpfr && \
11668 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11669 CFLAGS="$(STAGEprofile_CFLAGS)" \
11670 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11671 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11672 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11673 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11674 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11675 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11676 TFLAGS="$(STAGEprofile_TFLAGS)" \
11677 $(TARGET-stageprofile-mpfr)
11679 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
11680 clean-stageprofile: clean-stageprofile-mpfr
11681 clean-stageprofile-mpfr:
11682 @if [ $(current_stage) = stageprofile ]; then \
11683 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11684 else \
11685 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
11686 $(MAKE) stageprofile-start; \
11687 fi; \
11688 cd $(HOST_SUBDIR)/mpfr && \
11689 $(MAKE) $(EXTRA_HOST_FLAGS) \
11690 $(POSTSTAGE1_FLAGS_TO_PASS) \
11691 clean
11692 @endif mpfr-bootstrap
11695 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
11696 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
11697 maybe-all-stagefeedback-mpfr:
11698 maybe-clean-stagefeedback-mpfr:
11699 @if mpfr-bootstrap
11700 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
11701 all-stagefeedback: all-stagefeedback-mpfr
11702 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
11703 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
11704 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11705 @r=`${PWD_COMMAND}`; export r; \
11706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11707 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11708 $(HOST_EXPORTS) \
11709 $(POSTSTAGE1_HOST_EXPORTS) \
11710 cd $(HOST_SUBDIR)/mpfr && \
11711 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11712 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11713 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11714 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11715 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11716 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11717 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11718 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11719 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11720 $(TARGET-stagefeedback-mpfr)
11722 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
11723 clean-stagefeedback: clean-stagefeedback-mpfr
11724 clean-stagefeedback-mpfr:
11725 @if [ $(current_stage) = stagefeedback ]; then \
11726 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11727 else \
11728 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
11729 $(MAKE) stagefeedback-start; \
11730 fi; \
11731 cd $(HOST_SUBDIR)/mpfr && \
11732 $(MAKE) $(EXTRA_HOST_FLAGS) \
11733 $(POSTSTAGE1_FLAGS_TO_PASS) \
11734 clean
11735 @endif mpfr-bootstrap
11741 .PHONY: check-mpfr maybe-check-mpfr
11742 maybe-check-mpfr:
11743 @if mpfr
11744 maybe-check-mpfr: check-mpfr
11746 check-mpfr:
11747 @: $(MAKE); $(unstage)
11748 @r=`${PWD_COMMAND}`; export r; \
11749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11750 $(HOST_EXPORTS) \
11751 (cd $(HOST_SUBDIR)/mpfr && \
11752 $(MAKE) $(FLAGS_TO_PASS) check)
11754 @endif mpfr
11756 .PHONY: install-mpfr maybe-install-mpfr
11757 maybe-install-mpfr:
11758 @if mpfr
11759 maybe-install-mpfr: install-mpfr
11761 install-mpfr:
11763 @endif mpfr
11765 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
11766 maybe-install-strip-mpfr:
11767 @if mpfr
11768 maybe-install-strip-mpfr: install-strip-mpfr
11770 install-strip-mpfr:
11772 @endif mpfr
11774 # Other targets (info, dvi, pdf, etc.)
11776 .PHONY: maybe-info-mpfr info-mpfr
11777 maybe-info-mpfr:
11778 @if mpfr
11779 maybe-info-mpfr: info-mpfr
11781 info-mpfr: \
11782 configure-mpfr
11783 @[ -f ./mpfr/Makefile ] || exit 0; \
11784 r=`${PWD_COMMAND}`; export r; \
11785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11786 $(HOST_EXPORTS) \
11787 for flag in $(EXTRA_HOST_FLAGS) ; do \
11788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11789 done; \
11790 echo "Doing info in mpfr" ; \
11791 (cd $(HOST_SUBDIR)/mpfr && \
11792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11794 "RANLIB=$${RANLIB}" \
11795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11796 info) \
11797 || exit 1
11799 @endif mpfr
11801 .PHONY: maybe-dvi-mpfr dvi-mpfr
11802 maybe-dvi-mpfr:
11803 @if mpfr
11804 maybe-dvi-mpfr: dvi-mpfr
11806 dvi-mpfr: \
11807 configure-mpfr
11808 @[ -f ./mpfr/Makefile ] || exit 0; \
11809 r=`${PWD_COMMAND}`; export r; \
11810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11811 $(HOST_EXPORTS) \
11812 for flag in $(EXTRA_HOST_FLAGS) ; do \
11813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11814 done; \
11815 echo "Doing dvi in mpfr" ; \
11816 (cd $(HOST_SUBDIR)/mpfr && \
11817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11819 "RANLIB=$${RANLIB}" \
11820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11821 dvi) \
11822 || exit 1
11824 @endif mpfr
11826 .PHONY: maybe-pdf-mpfr pdf-mpfr
11827 maybe-pdf-mpfr:
11828 @if mpfr
11829 maybe-pdf-mpfr: pdf-mpfr
11831 pdf-mpfr: \
11832 configure-mpfr
11833 @[ -f ./mpfr/Makefile ] || exit 0; \
11834 r=`${PWD_COMMAND}`; export r; \
11835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11836 $(HOST_EXPORTS) \
11837 for flag in $(EXTRA_HOST_FLAGS) ; do \
11838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11839 done; \
11840 echo "Doing pdf in mpfr" ; \
11841 (cd $(HOST_SUBDIR)/mpfr && \
11842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11844 "RANLIB=$${RANLIB}" \
11845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11846 pdf) \
11847 || exit 1
11849 @endif mpfr
11851 .PHONY: maybe-html-mpfr html-mpfr
11852 maybe-html-mpfr:
11853 @if mpfr
11854 maybe-html-mpfr: html-mpfr
11856 html-mpfr: \
11857 configure-mpfr
11858 @[ -f ./mpfr/Makefile ] || exit 0; \
11859 r=`${PWD_COMMAND}`; export r; \
11860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11861 $(HOST_EXPORTS) \
11862 for flag in $(EXTRA_HOST_FLAGS) ; do \
11863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11864 done; \
11865 echo "Doing html in mpfr" ; \
11866 (cd $(HOST_SUBDIR)/mpfr && \
11867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11869 "RANLIB=$${RANLIB}" \
11870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11871 html) \
11872 || exit 1
11874 @endif mpfr
11876 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
11877 maybe-TAGS-mpfr:
11878 @if mpfr
11879 maybe-TAGS-mpfr: TAGS-mpfr
11881 TAGS-mpfr: \
11882 configure-mpfr
11883 @[ -f ./mpfr/Makefile ] || exit 0; \
11884 r=`${PWD_COMMAND}`; export r; \
11885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11886 $(HOST_EXPORTS) \
11887 for flag in $(EXTRA_HOST_FLAGS) ; do \
11888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11889 done; \
11890 echo "Doing TAGS in mpfr" ; \
11891 (cd $(HOST_SUBDIR)/mpfr && \
11892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11894 "RANLIB=$${RANLIB}" \
11895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11896 TAGS) \
11897 || exit 1
11899 @endif mpfr
11901 .PHONY: maybe-install-info-mpfr install-info-mpfr
11902 maybe-install-info-mpfr:
11903 @if mpfr
11904 maybe-install-info-mpfr: install-info-mpfr
11906 install-info-mpfr: \
11907 configure-mpfr \
11908 info-mpfr
11909 @[ -f ./mpfr/Makefile ] || exit 0; \
11910 r=`${PWD_COMMAND}`; export r; \
11911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11912 $(HOST_EXPORTS) \
11913 for flag in $(EXTRA_HOST_FLAGS) ; do \
11914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11915 done; \
11916 echo "Doing install-info in mpfr" ; \
11917 (cd $(HOST_SUBDIR)/mpfr && \
11918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11920 "RANLIB=$${RANLIB}" \
11921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11922 install-info) \
11923 || exit 1
11925 @endif mpfr
11927 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
11928 maybe-install-pdf-mpfr:
11929 @if mpfr
11930 maybe-install-pdf-mpfr: install-pdf-mpfr
11932 install-pdf-mpfr: \
11933 configure-mpfr \
11934 pdf-mpfr
11935 @[ -f ./mpfr/Makefile ] || exit 0; \
11936 r=`${PWD_COMMAND}`; export r; \
11937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11938 $(HOST_EXPORTS) \
11939 for flag in $(EXTRA_HOST_FLAGS) ; do \
11940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11941 done; \
11942 echo "Doing install-pdf in mpfr" ; \
11943 (cd $(HOST_SUBDIR)/mpfr && \
11944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11946 "RANLIB=$${RANLIB}" \
11947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11948 install-pdf) \
11949 || exit 1
11951 @endif mpfr
11953 .PHONY: maybe-install-html-mpfr install-html-mpfr
11954 maybe-install-html-mpfr:
11955 @if mpfr
11956 maybe-install-html-mpfr: install-html-mpfr
11958 install-html-mpfr: \
11959 configure-mpfr \
11960 html-mpfr
11961 @[ -f ./mpfr/Makefile ] || exit 0; \
11962 r=`${PWD_COMMAND}`; export r; \
11963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11964 $(HOST_EXPORTS) \
11965 for flag in $(EXTRA_HOST_FLAGS) ; do \
11966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11967 done; \
11968 echo "Doing install-html in mpfr" ; \
11969 (cd $(HOST_SUBDIR)/mpfr && \
11970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11972 "RANLIB=$${RANLIB}" \
11973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11974 install-html) \
11975 || exit 1
11977 @endif mpfr
11979 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
11980 maybe-installcheck-mpfr:
11981 @if mpfr
11982 maybe-installcheck-mpfr: installcheck-mpfr
11984 installcheck-mpfr: \
11985 configure-mpfr
11986 @[ -f ./mpfr/Makefile ] || exit 0; \
11987 r=`${PWD_COMMAND}`; export r; \
11988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11989 $(HOST_EXPORTS) \
11990 for flag in $(EXTRA_HOST_FLAGS) ; do \
11991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11992 done; \
11993 echo "Doing installcheck in mpfr" ; \
11994 (cd $(HOST_SUBDIR)/mpfr && \
11995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11997 "RANLIB=$${RANLIB}" \
11998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11999 installcheck) \
12000 || exit 1
12002 @endif mpfr
12004 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
12005 maybe-mostlyclean-mpfr:
12006 @if mpfr
12007 maybe-mostlyclean-mpfr: mostlyclean-mpfr
12009 mostlyclean-mpfr:
12010 @[ -f ./mpfr/Makefile ] || exit 0; \
12011 r=`${PWD_COMMAND}`; export r; \
12012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12013 $(HOST_EXPORTS) \
12014 for flag in $(EXTRA_HOST_FLAGS) ; do \
12015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12016 done; \
12017 echo "Doing mostlyclean in mpfr" ; \
12018 (cd $(HOST_SUBDIR)/mpfr && \
12019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12021 "RANLIB=$${RANLIB}" \
12022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12023 mostlyclean) \
12024 || exit 1
12026 @endif mpfr
12028 .PHONY: maybe-clean-mpfr clean-mpfr
12029 maybe-clean-mpfr:
12030 @if mpfr
12031 maybe-clean-mpfr: clean-mpfr
12033 clean-mpfr:
12034 @[ -f ./mpfr/Makefile ] || exit 0; \
12035 r=`${PWD_COMMAND}`; export r; \
12036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12037 $(HOST_EXPORTS) \
12038 for flag in $(EXTRA_HOST_FLAGS) ; do \
12039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12040 done; \
12041 echo "Doing clean in mpfr" ; \
12042 (cd $(HOST_SUBDIR)/mpfr && \
12043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12045 "RANLIB=$${RANLIB}" \
12046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12047 clean) \
12048 || exit 1
12050 @endif mpfr
12052 .PHONY: maybe-distclean-mpfr distclean-mpfr
12053 maybe-distclean-mpfr:
12054 @if mpfr
12055 maybe-distclean-mpfr: distclean-mpfr
12057 distclean-mpfr:
12058 @[ -f ./mpfr/Makefile ] || exit 0; \
12059 r=`${PWD_COMMAND}`; export r; \
12060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12061 $(HOST_EXPORTS) \
12062 for flag in $(EXTRA_HOST_FLAGS) ; do \
12063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12064 done; \
12065 echo "Doing distclean in mpfr" ; \
12066 (cd $(HOST_SUBDIR)/mpfr && \
12067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12069 "RANLIB=$${RANLIB}" \
12070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12071 distclean) \
12072 || exit 1
12074 @endif mpfr
12076 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
12077 maybe-maintainer-clean-mpfr:
12078 @if mpfr
12079 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
12081 maintainer-clean-mpfr:
12082 @[ -f ./mpfr/Makefile ] || exit 0; \
12083 r=`${PWD_COMMAND}`; export r; \
12084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12085 $(HOST_EXPORTS) \
12086 for flag in $(EXTRA_HOST_FLAGS) ; do \
12087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12088 done; \
12089 echo "Doing maintainer-clean in mpfr" ; \
12090 (cd $(HOST_SUBDIR)/mpfr && \
12091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12093 "RANLIB=$${RANLIB}" \
12094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12095 maintainer-clean) \
12096 || exit 1
12098 @endif mpfr
12102 .PHONY: configure-mpc maybe-configure-mpc
12103 maybe-configure-mpc:
12104 @if gcc-bootstrap
12105 configure-mpc: stage_current
12106 @endif gcc-bootstrap
12107 @if mpc
12108 maybe-configure-mpc: configure-mpc
12109 configure-mpc:
12110 @r=`${PWD_COMMAND}`; export r; \
12111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12112 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12113 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12114 $(HOST_EXPORTS) \
12115 echo Configuring in $(HOST_SUBDIR)/mpc; \
12116 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
12117 case $(srcdir) in \
12118 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12119 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12120 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12121 esac; \
12122 srcdiroption="--srcdir=$${topdir}/mpc"; \
12123 libsrcdir="$$s/mpc"; \
12124 $(SHELL) $${libsrcdir}/configure \
12125 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12126 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
12127 || exit 1
12128 @endif mpc
12132 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
12133 maybe-configure-stage1-mpc:
12134 @if mpc-bootstrap
12135 maybe-configure-stage1-mpc: configure-stage1-mpc
12136 configure-stage1-mpc:
12137 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12138 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12139 @r=`${PWD_COMMAND}`; export r; \
12140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12141 TFLAGS="$(STAGE1_TFLAGS)"; \
12142 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12143 $(HOST_EXPORTS) \
12144 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12145 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12146 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12147 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc ; \
12148 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12149 cd $(HOST_SUBDIR)/mpc || exit 1; \
12150 case $(srcdir) in \
12151 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12152 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12153 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12154 esac; \
12155 srcdiroption="--srcdir=$${topdir}/mpc"; \
12156 libsrcdir="$$s/mpc"; \
12157 $(SHELL) $${libsrcdir}/configure \
12158 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12159 --target=${target_alias} $${srcdiroption} \
12160 $(STAGE1_CONFIGURE_FLAGS) \
12161 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12162 @endif mpc-bootstrap
12164 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
12165 maybe-configure-stage2-mpc:
12166 @if mpc-bootstrap
12167 maybe-configure-stage2-mpc: configure-stage2-mpc
12168 configure-stage2-mpc:
12169 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12170 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12171 @r=`${PWD_COMMAND}`; export r; \
12172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12173 TFLAGS="$(STAGE2_TFLAGS)"; \
12174 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12175 $(HOST_EXPORTS) \
12176 $(POSTSTAGE1_HOST_EXPORTS) \
12177 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12178 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12179 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12180 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc ; \
12181 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12182 cd $(HOST_SUBDIR)/mpc || exit 1; \
12183 case $(srcdir) in \
12184 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12185 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12186 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12187 esac; \
12188 srcdiroption="--srcdir=$${topdir}/mpc"; \
12189 libsrcdir="$$s/mpc"; \
12190 $(SHELL) $${libsrcdir}/configure \
12191 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12192 --target=${target_alias} $${srcdiroption} \
12193 --with-build-libsubdir=$(HOST_SUBDIR) \
12194 $(STAGE2_CONFIGURE_FLAGS) \
12195 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12196 @endif mpc-bootstrap
12198 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
12199 maybe-configure-stage3-mpc:
12200 @if mpc-bootstrap
12201 maybe-configure-stage3-mpc: configure-stage3-mpc
12202 configure-stage3-mpc:
12203 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12204 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12205 @r=`${PWD_COMMAND}`; export r; \
12206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12207 TFLAGS="$(STAGE3_TFLAGS)"; \
12208 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12209 $(HOST_EXPORTS) \
12210 $(POSTSTAGE1_HOST_EXPORTS) \
12211 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12212 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12213 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12214 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc ; \
12215 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12216 cd $(HOST_SUBDIR)/mpc || exit 1; \
12217 case $(srcdir) in \
12218 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12219 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12220 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12221 esac; \
12222 srcdiroption="--srcdir=$${topdir}/mpc"; \
12223 libsrcdir="$$s/mpc"; \
12224 $(SHELL) $${libsrcdir}/configure \
12225 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12226 --target=${target_alias} $${srcdiroption} \
12227 --with-build-libsubdir=$(HOST_SUBDIR) \
12228 $(STAGE3_CONFIGURE_FLAGS) \
12229 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12230 @endif mpc-bootstrap
12232 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
12233 maybe-configure-stage4-mpc:
12234 @if mpc-bootstrap
12235 maybe-configure-stage4-mpc: configure-stage4-mpc
12236 configure-stage4-mpc:
12237 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12238 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12239 @r=`${PWD_COMMAND}`; export r; \
12240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12241 TFLAGS="$(STAGE4_TFLAGS)"; \
12242 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12243 $(HOST_EXPORTS) \
12244 $(POSTSTAGE1_HOST_EXPORTS) \
12245 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12246 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12247 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12248 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc ; \
12249 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12250 cd $(HOST_SUBDIR)/mpc || exit 1; \
12251 case $(srcdir) in \
12252 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12253 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12254 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12255 esac; \
12256 srcdiroption="--srcdir=$${topdir}/mpc"; \
12257 libsrcdir="$$s/mpc"; \
12258 $(SHELL) $${libsrcdir}/configure \
12259 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12260 --target=${target_alias} $${srcdiroption} \
12261 --with-build-libsubdir=$(HOST_SUBDIR) \
12262 $(STAGE4_CONFIGURE_FLAGS) \
12263 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12264 @endif mpc-bootstrap
12266 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
12267 maybe-configure-stageprofile-mpc:
12268 @if mpc-bootstrap
12269 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
12270 configure-stageprofile-mpc:
12271 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12272 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12273 @r=`${PWD_COMMAND}`; export r; \
12274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12275 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12276 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12277 $(HOST_EXPORTS) \
12278 $(POSTSTAGE1_HOST_EXPORTS) \
12279 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12280 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12281 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12282 echo Configuring stage profile in $(HOST_SUBDIR)/mpc ; \
12283 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12284 cd $(HOST_SUBDIR)/mpc || exit 1; \
12285 case $(srcdir) in \
12286 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12287 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12288 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12289 esac; \
12290 srcdiroption="--srcdir=$${topdir}/mpc"; \
12291 libsrcdir="$$s/mpc"; \
12292 $(SHELL) $${libsrcdir}/configure \
12293 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12294 --target=${target_alias} $${srcdiroption} \
12295 --with-build-libsubdir=$(HOST_SUBDIR) \
12296 $(STAGEprofile_CONFIGURE_FLAGS) \
12297 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12298 @endif mpc-bootstrap
12300 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
12301 maybe-configure-stagefeedback-mpc:
12302 @if mpc-bootstrap
12303 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
12304 configure-stagefeedback-mpc:
12305 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12306 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12307 @r=`${PWD_COMMAND}`; export r; \
12308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12309 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12310 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12311 $(HOST_EXPORTS) \
12312 $(POSTSTAGE1_HOST_EXPORTS) \
12313 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12314 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12315 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12316 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc ; \
12317 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12318 cd $(HOST_SUBDIR)/mpc || exit 1; \
12319 case $(srcdir) in \
12320 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12321 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12322 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12323 esac; \
12324 srcdiroption="--srcdir=$${topdir}/mpc"; \
12325 libsrcdir="$$s/mpc"; \
12326 $(SHELL) $${libsrcdir}/configure \
12327 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12328 --target=${target_alias} $${srcdiroption} \
12329 --with-build-libsubdir=$(HOST_SUBDIR) \
12330 $(STAGEfeedback_CONFIGURE_FLAGS) \
12331 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12332 @endif mpc-bootstrap
12338 .PHONY: all-mpc maybe-all-mpc
12339 maybe-all-mpc:
12340 @if gcc-bootstrap
12341 all-mpc: stage_current
12342 @endif gcc-bootstrap
12343 @if mpc
12344 TARGET-mpc=all
12345 maybe-all-mpc: all-mpc
12346 all-mpc: configure-mpc
12347 @r=`${PWD_COMMAND}`; export r; \
12348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12349 $(HOST_EXPORTS) \
12350 (cd $(HOST_SUBDIR)/mpc && \
12351 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
12352 $(TARGET-mpc))
12353 @endif mpc
12357 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
12358 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
12359 maybe-all-stage1-mpc:
12360 maybe-clean-stage1-mpc:
12361 @if mpc-bootstrap
12362 maybe-all-stage1-mpc: all-stage1-mpc
12363 all-stage1: all-stage1-mpc
12364 TARGET-stage1-mpc = $(TARGET-mpc)
12365 all-stage1-mpc: configure-stage1-mpc
12366 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12367 @r=`${PWD_COMMAND}`; export r; \
12368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12369 TFLAGS="$(STAGE1_TFLAGS)"; \
12370 $(HOST_EXPORTS) \
12371 cd $(HOST_SUBDIR)/mpc && \
12372 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12373 CFLAGS="$(STAGE1_CFLAGS)" \
12374 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12375 LIBCFLAGS="$(LIBCFLAGS)" \
12376 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12377 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12378 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12379 $(EXTRA_HOST_FLAGS) \
12380 TFLAGS="$(STAGE1_TFLAGS)" \
12381 $(TARGET-stage1-mpc)
12383 maybe-clean-stage1-mpc: clean-stage1-mpc
12384 clean-stage1: clean-stage1-mpc
12385 clean-stage1-mpc:
12386 @if [ $(current_stage) = stage1 ]; then \
12387 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12388 else \
12389 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
12390 $(MAKE) stage1-start; \
12391 fi; \
12392 cd $(HOST_SUBDIR)/mpc && \
12393 $(MAKE) $(EXTRA_HOST_FLAGS) \
12394 clean
12395 @endif mpc-bootstrap
12398 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
12399 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
12400 maybe-all-stage2-mpc:
12401 maybe-clean-stage2-mpc:
12402 @if mpc-bootstrap
12403 maybe-all-stage2-mpc: all-stage2-mpc
12404 all-stage2: all-stage2-mpc
12405 TARGET-stage2-mpc = $(TARGET-mpc)
12406 all-stage2-mpc: configure-stage2-mpc
12407 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12408 @r=`${PWD_COMMAND}`; export r; \
12409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12410 TFLAGS="$(STAGE2_TFLAGS)"; \
12411 $(HOST_EXPORTS) \
12412 $(POSTSTAGE1_HOST_EXPORTS) \
12413 cd $(HOST_SUBDIR)/mpc && \
12414 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12415 CFLAGS="$(STAGE2_CFLAGS)" \
12416 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12417 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12418 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12419 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12420 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12421 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12422 TFLAGS="$(STAGE2_TFLAGS)" \
12423 $(TARGET-stage2-mpc)
12425 maybe-clean-stage2-mpc: clean-stage2-mpc
12426 clean-stage2: clean-stage2-mpc
12427 clean-stage2-mpc:
12428 @if [ $(current_stage) = stage2 ]; then \
12429 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12430 else \
12431 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
12432 $(MAKE) stage2-start; \
12433 fi; \
12434 cd $(HOST_SUBDIR)/mpc && \
12435 $(MAKE) $(EXTRA_HOST_FLAGS) \
12436 $(POSTSTAGE1_FLAGS_TO_PASS) \
12437 clean
12438 @endif mpc-bootstrap
12441 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
12442 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
12443 maybe-all-stage3-mpc:
12444 maybe-clean-stage3-mpc:
12445 @if mpc-bootstrap
12446 maybe-all-stage3-mpc: all-stage3-mpc
12447 all-stage3: all-stage3-mpc
12448 TARGET-stage3-mpc = $(TARGET-mpc)
12449 all-stage3-mpc: configure-stage3-mpc
12450 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12451 @r=`${PWD_COMMAND}`; export r; \
12452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12453 TFLAGS="$(STAGE3_TFLAGS)"; \
12454 $(HOST_EXPORTS) \
12455 $(POSTSTAGE1_HOST_EXPORTS) \
12456 cd $(HOST_SUBDIR)/mpc && \
12457 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12458 CFLAGS="$(STAGE3_CFLAGS)" \
12459 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12460 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12461 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12462 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12463 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12464 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12465 TFLAGS="$(STAGE3_TFLAGS)" \
12466 $(TARGET-stage3-mpc)
12468 maybe-clean-stage3-mpc: clean-stage3-mpc
12469 clean-stage3: clean-stage3-mpc
12470 clean-stage3-mpc:
12471 @if [ $(current_stage) = stage3 ]; then \
12472 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12473 else \
12474 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
12475 $(MAKE) stage3-start; \
12476 fi; \
12477 cd $(HOST_SUBDIR)/mpc && \
12478 $(MAKE) $(EXTRA_HOST_FLAGS) \
12479 $(POSTSTAGE1_FLAGS_TO_PASS) \
12480 clean
12481 @endif mpc-bootstrap
12484 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
12485 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
12486 maybe-all-stage4-mpc:
12487 maybe-clean-stage4-mpc:
12488 @if mpc-bootstrap
12489 maybe-all-stage4-mpc: all-stage4-mpc
12490 all-stage4: all-stage4-mpc
12491 TARGET-stage4-mpc = $(TARGET-mpc)
12492 all-stage4-mpc: configure-stage4-mpc
12493 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12494 @r=`${PWD_COMMAND}`; export r; \
12495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12496 TFLAGS="$(STAGE4_TFLAGS)"; \
12497 $(HOST_EXPORTS) \
12498 $(POSTSTAGE1_HOST_EXPORTS) \
12499 cd $(HOST_SUBDIR)/mpc && \
12500 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12501 CFLAGS="$(STAGE4_CFLAGS)" \
12502 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12503 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12504 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12505 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12506 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12507 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12508 TFLAGS="$(STAGE4_TFLAGS)" \
12509 $(TARGET-stage4-mpc)
12511 maybe-clean-stage4-mpc: clean-stage4-mpc
12512 clean-stage4: clean-stage4-mpc
12513 clean-stage4-mpc:
12514 @if [ $(current_stage) = stage4 ]; then \
12515 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12516 else \
12517 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
12518 $(MAKE) stage4-start; \
12519 fi; \
12520 cd $(HOST_SUBDIR)/mpc && \
12521 $(MAKE) $(EXTRA_HOST_FLAGS) \
12522 $(POSTSTAGE1_FLAGS_TO_PASS) \
12523 clean
12524 @endif mpc-bootstrap
12527 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
12528 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
12529 maybe-all-stageprofile-mpc:
12530 maybe-clean-stageprofile-mpc:
12531 @if mpc-bootstrap
12532 maybe-all-stageprofile-mpc: all-stageprofile-mpc
12533 all-stageprofile: all-stageprofile-mpc
12534 TARGET-stageprofile-mpc = $(TARGET-mpc)
12535 all-stageprofile-mpc: configure-stageprofile-mpc
12536 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12537 @r=`${PWD_COMMAND}`; export r; \
12538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12539 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12540 $(HOST_EXPORTS) \
12541 $(POSTSTAGE1_HOST_EXPORTS) \
12542 cd $(HOST_SUBDIR)/mpc && \
12543 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12544 CFLAGS="$(STAGEprofile_CFLAGS)" \
12545 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12546 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12547 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12548 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12549 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12550 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12551 TFLAGS="$(STAGEprofile_TFLAGS)" \
12552 $(TARGET-stageprofile-mpc)
12554 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
12555 clean-stageprofile: clean-stageprofile-mpc
12556 clean-stageprofile-mpc:
12557 @if [ $(current_stage) = stageprofile ]; then \
12558 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12559 else \
12560 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
12561 $(MAKE) stageprofile-start; \
12562 fi; \
12563 cd $(HOST_SUBDIR)/mpc && \
12564 $(MAKE) $(EXTRA_HOST_FLAGS) \
12565 $(POSTSTAGE1_FLAGS_TO_PASS) \
12566 clean
12567 @endif mpc-bootstrap
12570 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
12571 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
12572 maybe-all-stagefeedback-mpc:
12573 maybe-clean-stagefeedback-mpc:
12574 @if mpc-bootstrap
12575 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
12576 all-stagefeedback: all-stagefeedback-mpc
12577 TARGET-stagefeedback-mpc = $(TARGET-mpc)
12578 all-stagefeedback-mpc: configure-stagefeedback-mpc
12579 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12580 @r=`${PWD_COMMAND}`; export r; \
12581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12582 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12583 $(HOST_EXPORTS) \
12584 $(POSTSTAGE1_HOST_EXPORTS) \
12585 cd $(HOST_SUBDIR)/mpc && \
12586 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12587 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12588 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12589 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12590 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12591 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12592 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12593 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12594 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12595 $(TARGET-stagefeedback-mpc)
12597 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
12598 clean-stagefeedback: clean-stagefeedback-mpc
12599 clean-stagefeedback-mpc:
12600 @if [ $(current_stage) = stagefeedback ]; then \
12601 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12602 else \
12603 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
12604 $(MAKE) stagefeedback-start; \
12605 fi; \
12606 cd $(HOST_SUBDIR)/mpc && \
12607 $(MAKE) $(EXTRA_HOST_FLAGS) \
12608 $(POSTSTAGE1_FLAGS_TO_PASS) \
12609 clean
12610 @endif mpc-bootstrap
12616 .PHONY: check-mpc maybe-check-mpc
12617 maybe-check-mpc:
12618 @if mpc
12619 maybe-check-mpc: check-mpc
12621 check-mpc:
12622 @: $(MAKE); $(unstage)
12623 @r=`${PWD_COMMAND}`; export r; \
12624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12625 $(HOST_EXPORTS) \
12626 (cd $(HOST_SUBDIR)/mpc && \
12627 $(MAKE) $(FLAGS_TO_PASS) check)
12629 @endif mpc
12631 .PHONY: install-mpc maybe-install-mpc
12632 maybe-install-mpc:
12633 @if mpc
12634 maybe-install-mpc: install-mpc
12636 install-mpc:
12638 @endif mpc
12640 .PHONY: install-strip-mpc maybe-install-strip-mpc
12641 maybe-install-strip-mpc:
12642 @if mpc
12643 maybe-install-strip-mpc: install-strip-mpc
12645 install-strip-mpc:
12647 @endif mpc
12649 # Other targets (info, dvi, pdf, etc.)
12651 .PHONY: maybe-info-mpc info-mpc
12652 maybe-info-mpc:
12653 @if mpc
12654 maybe-info-mpc: info-mpc
12656 info-mpc: \
12657 configure-mpc
12658 @[ -f ./mpc/Makefile ] || exit 0; \
12659 r=`${PWD_COMMAND}`; export r; \
12660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12661 $(HOST_EXPORTS) \
12662 for flag in $(EXTRA_HOST_FLAGS) ; do \
12663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12664 done; \
12665 echo "Doing info in mpc" ; \
12666 (cd $(HOST_SUBDIR)/mpc && \
12667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12669 "RANLIB=$${RANLIB}" \
12670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12671 info) \
12672 || exit 1
12674 @endif mpc
12676 .PHONY: maybe-dvi-mpc dvi-mpc
12677 maybe-dvi-mpc:
12678 @if mpc
12679 maybe-dvi-mpc: dvi-mpc
12681 dvi-mpc: \
12682 configure-mpc
12683 @[ -f ./mpc/Makefile ] || exit 0; \
12684 r=`${PWD_COMMAND}`; export r; \
12685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12686 $(HOST_EXPORTS) \
12687 for flag in $(EXTRA_HOST_FLAGS) ; do \
12688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12689 done; \
12690 echo "Doing dvi in mpc" ; \
12691 (cd $(HOST_SUBDIR)/mpc && \
12692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12694 "RANLIB=$${RANLIB}" \
12695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12696 dvi) \
12697 || exit 1
12699 @endif mpc
12701 .PHONY: maybe-pdf-mpc pdf-mpc
12702 maybe-pdf-mpc:
12703 @if mpc
12704 maybe-pdf-mpc: pdf-mpc
12706 pdf-mpc: \
12707 configure-mpc
12708 @[ -f ./mpc/Makefile ] || exit 0; \
12709 r=`${PWD_COMMAND}`; export r; \
12710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12711 $(HOST_EXPORTS) \
12712 for flag in $(EXTRA_HOST_FLAGS) ; do \
12713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12714 done; \
12715 echo "Doing pdf in mpc" ; \
12716 (cd $(HOST_SUBDIR)/mpc && \
12717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12719 "RANLIB=$${RANLIB}" \
12720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12721 pdf) \
12722 || exit 1
12724 @endif mpc
12726 .PHONY: maybe-html-mpc html-mpc
12727 maybe-html-mpc:
12728 @if mpc
12729 maybe-html-mpc: html-mpc
12731 html-mpc: \
12732 configure-mpc
12733 @[ -f ./mpc/Makefile ] || exit 0; \
12734 r=`${PWD_COMMAND}`; export r; \
12735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12736 $(HOST_EXPORTS) \
12737 for flag in $(EXTRA_HOST_FLAGS) ; do \
12738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12739 done; \
12740 echo "Doing html in mpc" ; \
12741 (cd $(HOST_SUBDIR)/mpc && \
12742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12744 "RANLIB=$${RANLIB}" \
12745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12746 html) \
12747 || exit 1
12749 @endif mpc
12751 .PHONY: maybe-TAGS-mpc TAGS-mpc
12752 maybe-TAGS-mpc:
12753 @if mpc
12754 maybe-TAGS-mpc: TAGS-mpc
12756 TAGS-mpc: \
12757 configure-mpc
12758 @[ -f ./mpc/Makefile ] || exit 0; \
12759 r=`${PWD_COMMAND}`; export r; \
12760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12761 $(HOST_EXPORTS) \
12762 for flag in $(EXTRA_HOST_FLAGS) ; do \
12763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12764 done; \
12765 echo "Doing TAGS in mpc" ; \
12766 (cd $(HOST_SUBDIR)/mpc && \
12767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12769 "RANLIB=$${RANLIB}" \
12770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12771 TAGS) \
12772 || exit 1
12774 @endif mpc
12776 .PHONY: maybe-install-info-mpc install-info-mpc
12777 maybe-install-info-mpc:
12778 @if mpc
12779 maybe-install-info-mpc: install-info-mpc
12781 install-info-mpc: \
12782 configure-mpc \
12783 info-mpc
12784 @[ -f ./mpc/Makefile ] || exit 0; \
12785 r=`${PWD_COMMAND}`; export r; \
12786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12787 $(HOST_EXPORTS) \
12788 for flag in $(EXTRA_HOST_FLAGS) ; do \
12789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12790 done; \
12791 echo "Doing install-info in mpc" ; \
12792 (cd $(HOST_SUBDIR)/mpc && \
12793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12795 "RANLIB=$${RANLIB}" \
12796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12797 install-info) \
12798 || exit 1
12800 @endif mpc
12802 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
12803 maybe-install-pdf-mpc:
12804 @if mpc
12805 maybe-install-pdf-mpc: install-pdf-mpc
12807 install-pdf-mpc: \
12808 configure-mpc \
12809 pdf-mpc
12810 @[ -f ./mpc/Makefile ] || exit 0; \
12811 r=`${PWD_COMMAND}`; export r; \
12812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12813 $(HOST_EXPORTS) \
12814 for flag in $(EXTRA_HOST_FLAGS) ; do \
12815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12816 done; \
12817 echo "Doing install-pdf in mpc" ; \
12818 (cd $(HOST_SUBDIR)/mpc && \
12819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12821 "RANLIB=$${RANLIB}" \
12822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12823 install-pdf) \
12824 || exit 1
12826 @endif mpc
12828 .PHONY: maybe-install-html-mpc install-html-mpc
12829 maybe-install-html-mpc:
12830 @if mpc
12831 maybe-install-html-mpc: install-html-mpc
12833 install-html-mpc: \
12834 configure-mpc \
12835 html-mpc
12836 @[ -f ./mpc/Makefile ] || exit 0; \
12837 r=`${PWD_COMMAND}`; export r; \
12838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12839 $(HOST_EXPORTS) \
12840 for flag in $(EXTRA_HOST_FLAGS) ; do \
12841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12842 done; \
12843 echo "Doing install-html in mpc" ; \
12844 (cd $(HOST_SUBDIR)/mpc && \
12845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12847 "RANLIB=$${RANLIB}" \
12848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12849 install-html) \
12850 || exit 1
12852 @endif mpc
12854 .PHONY: maybe-installcheck-mpc installcheck-mpc
12855 maybe-installcheck-mpc:
12856 @if mpc
12857 maybe-installcheck-mpc: installcheck-mpc
12859 installcheck-mpc: \
12860 configure-mpc
12861 @[ -f ./mpc/Makefile ] || exit 0; \
12862 r=`${PWD_COMMAND}`; export r; \
12863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12864 $(HOST_EXPORTS) \
12865 for flag in $(EXTRA_HOST_FLAGS) ; do \
12866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12867 done; \
12868 echo "Doing installcheck in mpc" ; \
12869 (cd $(HOST_SUBDIR)/mpc && \
12870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12872 "RANLIB=$${RANLIB}" \
12873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12874 installcheck) \
12875 || exit 1
12877 @endif mpc
12879 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
12880 maybe-mostlyclean-mpc:
12881 @if mpc
12882 maybe-mostlyclean-mpc: mostlyclean-mpc
12884 mostlyclean-mpc:
12885 @[ -f ./mpc/Makefile ] || exit 0; \
12886 r=`${PWD_COMMAND}`; export r; \
12887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12888 $(HOST_EXPORTS) \
12889 for flag in $(EXTRA_HOST_FLAGS) ; do \
12890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12891 done; \
12892 echo "Doing mostlyclean in mpc" ; \
12893 (cd $(HOST_SUBDIR)/mpc && \
12894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12896 "RANLIB=$${RANLIB}" \
12897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12898 mostlyclean) \
12899 || exit 1
12901 @endif mpc
12903 .PHONY: maybe-clean-mpc clean-mpc
12904 maybe-clean-mpc:
12905 @if mpc
12906 maybe-clean-mpc: clean-mpc
12908 clean-mpc:
12909 @[ -f ./mpc/Makefile ] || exit 0; \
12910 r=`${PWD_COMMAND}`; export r; \
12911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12912 $(HOST_EXPORTS) \
12913 for flag in $(EXTRA_HOST_FLAGS) ; do \
12914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12915 done; \
12916 echo "Doing clean in mpc" ; \
12917 (cd $(HOST_SUBDIR)/mpc && \
12918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12920 "RANLIB=$${RANLIB}" \
12921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12922 clean) \
12923 || exit 1
12925 @endif mpc
12927 .PHONY: maybe-distclean-mpc distclean-mpc
12928 maybe-distclean-mpc:
12929 @if mpc
12930 maybe-distclean-mpc: distclean-mpc
12932 distclean-mpc:
12933 @[ -f ./mpc/Makefile ] || exit 0; \
12934 r=`${PWD_COMMAND}`; export r; \
12935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12936 $(HOST_EXPORTS) \
12937 for flag in $(EXTRA_HOST_FLAGS) ; do \
12938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12939 done; \
12940 echo "Doing distclean in mpc" ; \
12941 (cd $(HOST_SUBDIR)/mpc && \
12942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12944 "RANLIB=$${RANLIB}" \
12945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12946 distclean) \
12947 || exit 1
12949 @endif mpc
12951 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
12952 maybe-maintainer-clean-mpc:
12953 @if mpc
12954 maybe-maintainer-clean-mpc: maintainer-clean-mpc
12956 maintainer-clean-mpc:
12957 @[ -f ./mpc/Makefile ] || exit 0; \
12958 r=`${PWD_COMMAND}`; export r; \
12959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12960 $(HOST_EXPORTS) \
12961 for flag in $(EXTRA_HOST_FLAGS) ; do \
12962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12963 done; \
12964 echo "Doing maintainer-clean in mpc" ; \
12965 (cd $(HOST_SUBDIR)/mpc && \
12966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12968 "RANLIB=$${RANLIB}" \
12969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12970 maintainer-clean) \
12971 || exit 1
12973 @endif mpc
12977 .PHONY: configure-ppl maybe-configure-ppl
12978 maybe-configure-ppl:
12979 @if gcc-bootstrap
12980 configure-ppl: stage_current
12981 @endif gcc-bootstrap
12982 @if ppl
12983 maybe-configure-ppl: configure-ppl
12984 configure-ppl:
12985 @r=`${PWD_COMMAND}`; export r; \
12986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12987 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
12988 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
12989 $(HOST_EXPORTS) \
12990 echo Configuring in $(HOST_SUBDIR)/ppl; \
12991 cd "$(HOST_SUBDIR)/ppl" || exit 1; \
12992 case $(srcdir) in \
12993 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12994 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
12995 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12996 esac; \
12997 srcdiroption="--srcdir=$${topdir}/ppl"; \
12998 libsrcdir="$$s/ppl"; \
12999 $(SHELL) $${libsrcdir}/configure \
13000 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13001 --target=${target_alias} $${srcdiroption} --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/ \
13002 || exit 1
13003 @endif ppl
13007 .PHONY: configure-stage1-ppl maybe-configure-stage1-ppl
13008 maybe-configure-stage1-ppl:
13009 @if ppl-bootstrap
13010 maybe-configure-stage1-ppl: configure-stage1-ppl
13011 configure-stage1-ppl:
13012 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13013 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13014 @r=`${PWD_COMMAND}`; export r; \
13015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13016 TFLAGS="$(STAGE1_TFLAGS)"; \
13017 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13018 $(HOST_EXPORTS) \
13019 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13020 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13021 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13022 echo Configuring stage 1 in $(HOST_SUBDIR)/ppl ; \
13023 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13024 cd $(HOST_SUBDIR)/ppl || exit 1; \
13025 case $(srcdir) in \
13026 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13027 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13028 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13029 esac; \
13030 srcdiroption="--srcdir=$${topdir}/ppl"; \
13031 libsrcdir="$$s/ppl"; \
13032 $(SHELL) $${libsrcdir}/configure \
13033 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13034 --target=${target_alias} $${srcdiroption} \
13035 $(STAGE1_CONFIGURE_FLAGS) \
13036 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13037 @endif ppl-bootstrap
13039 .PHONY: configure-stage2-ppl maybe-configure-stage2-ppl
13040 maybe-configure-stage2-ppl:
13041 @if ppl-bootstrap
13042 maybe-configure-stage2-ppl: configure-stage2-ppl
13043 configure-stage2-ppl:
13044 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13045 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13046 @r=`${PWD_COMMAND}`; export r; \
13047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13048 TFLAGS="$(STAGE2_TFLAGS)"; \
13049 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13050 $(HOST_EXPORTS) \
13051 $(POSTSTAGE1_HOST_EXPORTS) \
13052 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13053 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13054 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13055 echo Configuring stage 2 in $(HOST_SUBDIR)/ppl ; \
13056 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13057 cd $(HOST_SUBDIR)/ppl || exit 1; \
13058 case $(srcdir) in \
13059 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13060 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13061 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13062 esac; \
13063 srcdiroption="--srcdir=$${topdir}/ppl"; \
13064 libsrcdir="$$s/ppl"; \
13065 $(SHELL) $${libsrcdir}/configure \
13066 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13067 --target=${target_alias} $${srcdiroption} \
13068 --with-build-libsubdir=$(HOST_SUBDIR) \
13069 $(STAGE2_CONFIGURE_FLAGS) \
13070 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13071 @endif ppl-bootstrap
13073 .PHONY: configure-stage3-ppl maybe-configure-stage3-ppl
13074 maybe-configure-stage3-ppl:
13075 @if ppl-bootstrap
13076 maybe-configure-stage3-ppl: configure-stage3-ppl
13077 configure-stage3-ppl:
13078 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13079 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13080 @r=`${PWD_COMMAND}`; export r; \
13081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13082 TFLAGS="$(STAGE3_TFLAGS)"; \
13083 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13084 $(HOST_EXPORTS) \
13085 $(POSTSTAGE1_HOST_EXPORTS) \
13086 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13087 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13088 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13089 echo Configuring stage 3 in $(HOST_SUBDIR)/ppl ; \
13090 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13091 cd $(HOST_SUBDIR)/ppl || exit 1; \
13092 case $(srcdir) in \
13093 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13094 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13095 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13096 esac; \
13097 srcdiroption="--srcdir=$${topdir}/ppl"; \
13098 libsrcdir="$$s/ppl"; \
13099 $(SHELL) $${libsrcdir}/configure \
13100 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13101 --target=${target_alias} $${srcdiroption} \
13102 --with-build-libsubdir=$(HOST_SUBDIR) \
13103 $(STAGE3_CONFIGURE_FLAGS) \
13104 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13105 @endif ppl-bootstrap
13107 .PHONY: configure-stage4-ppl maybe-configure-stage4-ppl
13108 maybe-configure-stage4-ppl:
13109 @if ppl-bootstrap
13110 maybe-configure-stage4-ppl: configure-stage4-ppl
13111 configure-stage4-ppl:
13112 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13113 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13114 @r=`${PWD_COMMAND}`; export r; \
13115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13116 TFLAGS="$(STAGE4_TFLAGS)"; \
13117 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13118 $(HOST_EXPORTS) \
13119 $(POSTSTAGE1_HOST_EXPORTS) \
13120 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13121 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13122 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13123 echo Configuring stage 4 in $(HOST_SUBDIR)/ppl ; \
13124 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13125 cd $(HOST_SUBDIR)/ppl || exit 1; \
13126 case $(srcdir) in \
13127 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13128 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13129 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13130 esac; \
13131 srcdiroption="--srcdir=$${topdir}/ppl"; \
13132 libsrcdir="$$s/ppl"; \
13133 $(SHELL) $${libsrcdir}/configure \
13134 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13135 --target=${target_alias} $${srcdiroption} \
13136 --with-build-libsubdir=$(HOST_SUBDIR) \
13137 $(STAGE4_CONFIGURE_FLAGS) \
13138 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13139 @endif ppl-bootstrap
13141 .PHONY: configure-stageprofile-ppl maybe-configure-stageprofile-ppl
13142 maybe-configure-stageprofile-ppl:
13143 @if ppl-bootstrap
13144 maybe-configure-stageprofile-ppl: configure-stageprofile-ppl
13145 configure-stageprofile-ppl:
13146 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13147 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13148 @r=`${PWD_COMMAND}`; export r; \
13149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13150 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13151 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13152 $(HOST_EXPORTS) \
13153 $(POSTSTAGE1_HOST_EXPORTS) \
13154 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13155 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13156 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13157 echo Configuring stage profile in $(HOST_SUBDIR)/ppl ; \
13158 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13159 cd $(HOST_SUBDIR)/ppl || exit 1; \
13160 case $(srcdir) in \
13161 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13162 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13163 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13164 esac; \
13165 srcdiroption="--srcdir=$${topdir}/ppl"; \
13166 libsrcdir="$$s/ppl"; \
13167 $(SHELL) $${libsrcdir}/configure \
13168 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13169 --target=${target_alias} $${srcdiroption} \
13170 --with-build-libsubdir=$(HOST_SUBDIR) \
13171 $(STAGEprofile_CONFIGURE_FLAGS) \
13172 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13173 @endif ppl-bootstrap
13175 .PHONY: configure-stagefeedback-ppl maybe-configure-stagefeedback-ppl
13176 maybe-configure-stagefeedback-ppl:
13177 @if ppl-bootstrap
13178 maybe-configure-stagefeedback-ppl: configure-stagefeedback-ppl
13179 configure-stagefeedback-ppl:
13180 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13181 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13182 @r=`${PWD_COMMAND}`; export r; \
13183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13184 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13185 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13186 $(HOST_EXPORTS) \
13187 $(POSTSTAGE1_HOST_EXPORTS) \
13188 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13189 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13190 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13191 echo Configuring stage feedback in $(HOST_SUBDIR)/ppl ; \
13192 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13193 cd $(HOST_SUBDIR)/ppl || exit 1; \
13194 case $(srcdir) in \
13195 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13196 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13197 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13198 esac; \
13199 srcdiroption="--srcdir=$${topdir}/ppl"; \
13200 libsrcdir="$$s/ppl"; \
13201 $(SHELL) $${libsrcdir}/configure \
13202 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13203 --target=${target_alias} $${srcdiroption} \
13204 --with-build-libsubdir=$(HOST_SUBDIR) \
13205 $(STAGEfeedback_CONFIGURE_FLAGS) \
13206 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13207 @endif ppl-bootstrap
13213 .PHONY: all-ppl maybe-all-ppl
13214 maybe-all-ppl:
13215 @if gcc-bootstrap
13216 all-ppl: stage_current
13217 @endif gcc-bootstrap
13218 @if ppl
13219 TARGET-ppl=all
13220 maybe-all-ppl: all-ppl
13221 all-ppl: configure-ppl
13222 @r=`${PWD_COMMAND}`; export r; \
13223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13224 $(HOST_EXPORTS) \
13225 (cd $(HOST_SUBDIR)/ppl && \
13226 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
13227 $(TARGET-ppl))
13228 @endif ppl
13232 .PHONY: all-stage1-ppl maybe-all-stage1-ppl
13233 .PHONY: clean-stage1-ppl maybe-clean-stage1-ppl
13234 maybe-all-stage1-ppl:
13235 maybe-clean-stage1-ppl:
13236 @if ppl-bootstrap
13237 maybe-all-stage1-ppl: all-stage1-ppl
13238 all-stage1: all-stage1-ppl
13239 TARGET-stage1-ppl = $(TARGET-ppl)
13240 all-stage1-ppl: configure-stage1-ppl
13241 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13242 @r=`${PWD_COMMAND}`; export r; \
13243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13244 TFLAGS="$(STAGE1_TFLAGS)"; \
13245 $(HOST_EXPORTS) \
13246 cd $(HOST_SUBDIR)/ppl && \
13247 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13248 CFLAGS="$(STAGE1_CFLAGS)" \
13249 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13250 LIBCFLAGS="$(LIBCFLAGS)" \
13251 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13252 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13253 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13254 $(EXTRA_HOST_FLAGS) \
13255 TFLAGS="$(STAGE1_TFLAGS)" \
13256 $(TARGET-stage1-ppl)
13258 maybe-clean-stage1-ppl: clean-stage1-ppl
13259 clean-stage1: clean-stage1-ppl
13260 clean-stage1-ppl:
13261 @if [ $(current_stage) = stage1 ]; then \
13262 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13263 else \
13264 [ -f $(HOST_SUBDIR)/stage1-ppl/Makefile ] || exit 0; \
13265 $(MAKE) stage1-start; \
13266 fi; \
13267 cd $(HOST_SUBDIR)/ppl && \
13268 $(MAKE) $(EXTRA_HOST_FLAGS) \
13269 clean
13270 @endif ppl-bootstrap
13273 .PHONY: all-stage2-ppl maybe-all-stage2-ppl
13274 .PHONY: clean-stage2-ppl maybe-clean-stage2-ppl
13275 maybe-all-stage2-ppl:
13276 maybe-clean-stage2-ppl:
13277 @if ppl-bootstrap
13278 maybe-all-stage2-ppl: all-stage2-ppl
13279 all-stage2: all-stage2-ppl
13280 TARGET-stage2-ppl = $(TARGET-ppl)
13281 all-stage2-ppl: configure-stage2-ppl
13282 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13283 @r=`${PWD_COMMAND}`; export r; \
13284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13285 TFLAGS="$(STAGE2_TFLAGS)"; \
13286 $(HOST_EXPORTS) \
13287 $(POSTSTAGE1_HOST_EXPORTS) \
13288 cd $(HOST_SUBDIR)/ppl && \
13289 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13290 CFLAGS="$(STAGE2_CFLAGS)" \
13291 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13292 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13293 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13294 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13295 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13296 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13297 TFLAGS="$(STAGE2_TFLAGS)" \
13298 $(TARGET-stage2-ppl)
13300 maybe-clean-stage2-ppl: clean-stage2-ppl
13301 clean-stage2: clean-stage2-ppl
13302 clean-stage2-ppl:
13303 @if [ $(current_stage) = stage2 ]; then \
13304 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13305 else \
13306 [ -f $(HOST_SUBDIR)/stage2-ppl/Makefile ] || exit 0; \
13307 $(MAKE) stage2-start; \
13308 fi; \
13309 cd $(HOST_SUBDIR)/ppl && \
13310 $(MAKE) $(EXTRA_HOST_FLAGS) \
13311 $(POSTSTAGE1_FLAGS_TO_PASS) \
13312 clean
13313 @endif ppl-bootstrap
13316 .PHONY: all-stage3-ppl maybe-all-stage3-ppl
13317 .PHONY: clean-stage3-ppl maybe-clean-stage3-ppl
13318 maybe-all-stage3-ppl:
13319 maybe-clean-stage3-ppl:
13320 @if ppl-bootstrap
13321 maybe-all-stage3-ppl: all-stage3-ppl
13322 all-stage3: all-stage3-ppl
13323 TARGET-stage3-ppl = $(TARGET-ppl)
13324 all-stage3-ppl: configure-stage3-ppl
13325 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13326 @r=`${PWD_COMMAND}`; export r; \
13327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13328 TFLAGS="$(STAGE3_TFLAGS)"; \
13329 $(HOST_EXPORTS) \
13330 $(POSTSTAGE1_HOST_EXPORTS) \
13331 cd $(HOST_SUBDIR)/ppl && \
13332 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13333 CFLAGS="$(STAGE3_CFLAGS)" \
13334 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13335 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13336 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13337 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13338 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13339 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13340 TFLAGS="$(STAGE3_TFLAGS)" \
13341 $(TARGET-stage3-ppl)
13343 maybe-clean-stage3-ppl: clean-stage3-ppl
13344 clean-stage3: clean-stage3-ppl
13345 clean-stage3-ppl:
13346 @if [ $(current_stage) = stage3 ]; then \
13347 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13348 else \
13349 [ -f $(HOST_SUBDIR)/stage3-ppl/Makefile ] || exit 0; \
13350 $(MAKE) stage3-start; \
13351 fi; \
13352 cd $(HOST_SUBDIR)/ppl && \
13353 $(MAKE) $(EXTRA_HOST_FLAGS) \
13354 $(POSTSTAGE1_FLAGS_TO_PASS) \
13355 clean
13356 @endif ppl-bootstrap
13359 .PHONY: all-stage4-ppl maybe-all-stage4-ppl
13360 .PHONY: clean-stage4-ppl maybe-clean-stage4-ppl
13361 maybe-all-stage4-ppl:
13362 maybe-clean-stage4-ppl:
13363 @if ppl-bootstrap
13364 maybe-all-stage4-ppl: all-stage4-ppl
13365 all-stage4: all-stage4-ppl
13366 TARGET-stage4-ppl = $(TARGET-ppl)
13367 all-stage4-ppl: configure-stage4-ppl
13368 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13369 @r=`${PWD_COMMAND}`; export r; \
13370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13371 TFLAGS="$(STAGE4_TFLAGS)"; \
13372 $(HOST_EXPORTS) \
13373 $(POSTSTAGE1_HOST_EXPORTS) \
13374 cd $(HOST_SUBDIR)/ppl && \
13375 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13376 CFLAGS="$(STAGE4_CFLAGS)" \
13377 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13378 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13379 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13380 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13381 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13382 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13383 TFLAGS="$(STAGE4_TFLAGS)" \
13384 $(TARGET-stage4-ppl)
13386 maybe-clean-stage4-ppl: clean-stage4-ppl
13387 clean-stage4: clean-stage4-ppl
13388 clean-stage4-ppl:
13389 @if [ $(current_stage) = stage4 ]; then \
13390 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13391 else \
13392 [ -f $(HOST_SUBDIR)/stage4-ppl/Makefile ] || exit 0; \
13393 $(MAKE) stage4-start; \
13394 fi; \
13395 cd $(HOST_SUBDIR)/ppl && \
13396 $(MAKE) $(EXTRA_HOST_FLAGS) \
13397 $(POSTSTAGE1_FLAGS_TO_PASS) \
13398 clean
13399 @endif ppl-bootstrap
13402 .PHONY: all-stageprofile-ppl maybe-all-stageprofile-ppl
13403 .PHONY: clean-stageprofile-ppl maybe-clean-stageprofile-ppl
13404 maybe-all-stageprofile-ppl:
13405 maybe-clean-stageprofile-ppl:
13406 @if ppl-bootstrap
13407 maybe-all-stageprofile-ppl: all-stageprofile-ppl
13408 all-stageprofile: all-stageprofile-ppl
13409 TARGET-stageprofile-ppl = $(TARGET-ppl)
13410 all-stageprofile-ppl: configure-stageprofile-ppl
13411 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13412 @r=`${PWD_COMMAND}`; export r; \
13413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13414 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13415 $(HOST_EXPORTS) \
13416 $(POSTSTAGE1_HOST_EXPORTS) \
13417 cd $(HOST_SUBDIR)/ppl && \
13418 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13419 CFLAGS="$(STAGEprofile_CFLAGS)" \
13420 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13421 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13422 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13423 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13424 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13425 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13426 TFLAGS="$(STAGEprofile_TFLAGS)" \
13427 $(TARGET-stageprofile-ppl)
13429 maybe-clean-stageprofile-ppl: clean-stageprofile-ppl
13430 clean-stageprofile: clean-stageprofile-ppl
13431 clean-stageprofile-ppl:
13432 @if [ $(current_stage) = stageprofile ]; then \
13433 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13434 else \
13435 [ -f $(HOST_SUBDIR)/stageprofile-ppl/Makefile ] || exit 0; \
13436 $(MAKE) stageprofile-start; \
13437 fi; \
13438 cd $(HOST_SUBDIR)/ppl && \
13439 $(MAKE) $(EXTRA_HOST_FLAGS) \
13440 $(POSTSTAGE1_FLAGS_TO_PASS) \
13441 clean
13442 @endif ppl-bootstrap
13445 .PHONY: all-stagefeedback-ppl maybe-all-stagefeedback-ppl
13446 .PHONY: clean-stagefeedback-ppl maybe-clean-stagefeedback-ppl
13447 maybe-all-stagefeedback-ppl:
13448 maybe-clean-stagefeedback-ppl:
13449 @if ppl-bootstrap
13450 maybe-all-stagefeedback-ppl: all-stagefeedback-ppl
13451 all-stagefeedback: all-stagefeedback-ppl
13452 TARGET-stagefeedback-ppl = $(TARGET-ppl)
13453 all-stagefeedback-ppl: configure-stagefeedback-ppl
13454 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13455 @r=`${PWD_COMMAND}`; export r; \
13456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13457 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13458 $(HOST_EXPORTS) \
13459 $(POSTSTAGE1_HOST_EXPORTS) \
13460 cd $(HOST_SUBDIR)/ppl && \
13461 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13462 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13463 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13464 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13465 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13466 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13467 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13468 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13469 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13470 $(TARGET-stagefeedback-ppl)
13472 maybe-clean-stagefeedback-ppl: clean-stagefeedback-ppl
13473 clean-stagefeedback: clean-stagefeedback-ppl
13474 clean-stagefeedback-ppl:
13475 @if [ $(current_stage) = stagefeedback ]; then \
13476 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13477 else \
13478 [ -f $(HOST_SUBDIR)/stagefeedback-ppl/Makefile ] || exit 0; \
13479 $(MAKE) stagefeedback-start; \
13480 fi; \
13481 cd $(HOST_SUBDIR)/ppl && \
13482 $(MAKE) $(EXTRA_HOST_FLAGS) \
13483 $(POSTSTAGE1_FLAGS_TO_PASS) \
13484 clean
13485 @endif ppl-bootstrap
13491 .PHONY: check-ppl maybe-check-ppl
13492 maybe-check-ppl:
13493 @if ppl
13494 maybe-check-ppl: check-ppl
13496 check-ppl:
13497 @: $(MAKE); $(unstage)
13498 @r=`${PWD_COMMAND}`; export r; \
13499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13500 $(HOST_EXPORTS) \
13501 (cd $(HOST_SUBDIR)/ppl && \
13502 $(MAKE) $(FLAGS_TO_PASS) check)
13504 @endif ppl
13506 .PHONY: install-ppl maybe-install-ppl
13507 maybe-install-ppl:
13508 @if ppl
13509 maybe-install-ppl: install-ppl
13511 install-ppl:
13513 @endif ppl
13515 .PHONY: install-strip-ppl maybe-install-strip-ppl
13516 maybe-install-strip-ppl:
13517 @if ppl
13518 maybe-install-strip-ppl: install-strip-ppl
13520 install-strip-ppl:
13522 @endif ppl
13524 # Other targets (info, dvi, pdf, etc.)
13526 .PHONY: maybe-info-ppl info-ppl
13527 maybe-info-ppl:
13528 @if ppl
13529 maybe-info-ppl: info-ppl
13531 info-ppl: \
13532 configure-ppl
13533 @[ -f ./ppl/Makefile ] || exit 0; \
13534 r=`${PWD_COMMAND}`; export r; \
13535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13536 $(HOST_EXPORTS) \
13537 for flag in $(EXTRA_HOST_FLAGS) ; do \
13538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13539 done; \
13540 echo "Doing info in ppl" ; \
13541 (cd $(HOST_SUBDIR)/ppl && \
13542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13544 "RANLIB=$${RANLIB}" \
13545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13546 info) \
13547 || exit 1
13549 @endif ppl
13551 .PHONY: maybe-dvi-ppl dvi-ppl
13552 maybe-dvi-ppl:
13553 @if ppl
13554 maybe-dvi-ppl: dvi-ppl
13556 dvi-ppl: \
13557 configure-ppl
13558 @[ -f ./ppl/Makefile ] || exit 0; \
13559 r=`${PWD_COMMAND}`; export r; \
13560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13561 $(HOST_EXPORTS) \
13562 for flag in $(EXTRA_HOST_FLAGS) ; do \
13563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13564 done; \
13565 echo "Doing dvi in ppl" ; \
13566 (cd $(HOST_SUBDIR)/ppl && \
13567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13569 "RANLIB=$${RANLIB}" \
13570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13571 dvi) \
13572 || exit 1
13574 @endif ppl
13576 .PHONY: maybe-pdf-ppl pdf-ppl
13577 maybe-pdf-ppl:
13578 @if ppl
13579 maybe-pdf-ppl: pdf-ppl
13581 pdf-ppl: \
13582 configure-ppl
13583 @[ -f ./ppl/Makefile ] || exit 0; \
13584 r=`${PWD_COMMAND}`; export r; \
13585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13586 $(HOST_EXPORTS) \
13587 for flag in $(EXTRA_HOST_FLAGS) ; do \
13588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13589 done; \
13590 echo "Doing pdf in ppl" ; \
13591 (cd $(HOST_SUBDIR)/ppl && \
13592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13594 "RANLIB=$${RANLIB}" \
13595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13596 pdf) \
13597 || exit 1
13599 @endif ppl
13601 .PHONY: maybe-html-ppl html-ppl
13602 maybe-html-ppl:
13603 @if ppl
13604 maybe-html-ppl: html-ppl
13606 html-ppl: \
13607 configure-ppl
13608 @[ -f ./ppl/Makefile ] || exit 0; \
13609 r=`${PWD_COMMAND}`; export r; \
13610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13611 $(HOST_EXPORTS) \
13612 for flag in $(EXTRA_HOST_FLAGS) ; do \
13613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13614 done; \
13615 echo "Doing html in ppl" ; \
13616 (cd $(HOST_SUBDIR)/ppl && \
13617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13619 "RANLIB=$${RANLIB}" \
13620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13621 html) \
13622 || exit 1
13624 @endif ppl
13626 .PHONY: maybe-TAGS-ppl TAGS-ppl
13627 maybe-TAGS-ppl:
13628 @if ppl
13629 maybe-TAGS-ppl: TAGS-ppl
13631 TAGS-ppl: \
13632 configure-ppl
13633 @[ -f ./ppl/Makefile ] || exit 0; \
13634 r=`${PWD_COMMAND}`; export r; \
13635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13636 $(HOST_EXPORTS) \
13637 for flag in $(EXTRA_HOST_FLAGS) ; do \
13638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13639 done; \
13640 echo "Doing TAGS in ppl" ; \
13641 (cd $(HOST_SUBDIR)/ppl && \
13642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13644 "RANLIB=$${RANLIB}" \
13645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13646 TAGS) \
13647 || exit 1
13649 @endif ppl
13651 .PHONY: maybe-install-info-ppl install-info-ppl
13652 maybe-install-info-ppl:
13653 @if ppl
13654 maybe-install-info-ppl: install-info-ppl
13656 install-info-ppl: \
13657 configure-ppl \
13658 info-ppl
13659 @[ -f ./ppl/Makefile ] || exit 0; \
13660 r=`${PWD_COMMAND}`; export r; \
13661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13662 $(HOST_EXPORTS) \
13663 for flag in $(EXTRA_HOST_FLAGS) ; do \
13664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13665 done; \
13666 echo "Doing install-info in ppl" ; \
13667 (cd $(HOST_SUBDIR)/ppl && \
13668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13670 "RANLIB=$${RANLIB}" \
13671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13672 install-info) \
13673 || exit 1
13675 @endif ppl
13677 .PHONY: maybe-install-pdf-ppl install-pdf-ppl
13678 maybe-install-pdf-ppl:
13679 @if ppl
13680 maybe-install-pdf-ppl: install-pdf-ppl
13682 install-pdf-ppl: \
13683 configure-ppl \
13684 pdf-ppl
13685 @[ -f ./ppl/Makefile ] || exit 0; \
13686 r=`${PWD_COMMAND}`; export r; \
13687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13688 $(HOST_EXPORTS) \
13689 for flag in $(EXTRA_HOST_FLAGS) ; do \
13690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13691 done; \
13692 echo "Doing install-pdf in ppl" ; \
13693 (cd $(HOST_SUBDIR)/ppl && \
13694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13696 "RANLIB=$${RANLIB}" \
13697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13698 install-pdf) \
13699 || exit 1
13701 @endif ppl
13703 .PHONY: maybe-install-html-ppl install-html-ppl
13704 maybe-install-html-ppl:
13705 @if ppl
13706 maybe-install-html-ppl: install-html-ppl
13708 install-html-ppl: \
13709 configure-ppl \
13710 html-ppl
13711 @[ -f ./ppl/Makefile ] || exit 0; \
13712 r=`${PWD_COMMAND}`; export r; \
13713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13714 $(HOST_EXPORTS) \
13715 for flag in $(EXTRA_HOST_FLAGS) ; do \
13716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13717 done; \
13718 echo "Doing install-html in ppl" ; \
13719 (cd $(HOST_SUBDIR)/ppl && \
13720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13722 "RANLIB=$${RANLIB}" \
13723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13724 install-html) \
13725 || exit 1
13727 @endif ppl
13729 .PHONY: maybe-installcheck-ppl installcheck-ppl
13730 maybe-installcheck-ppl:
13731 @if ppl
13732 maybe-installcheck-ppl: installcheck-ppl
13734 installcheck-ppl: \
13735 configure-ppl
13736 @[ -f ./ppl/Makefile ] || exit 0; \
13737 r=`${PWD_COMMAND}`; export r; \
13738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13739 $(HOST_EXPORTS) \
13740 for flag in $(EXTRA_HOST_FLAGS) ; do \
13741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13742 done; \
13743 echo "Doing installcheck in ppl" ; \
13744 (cd $(HOST_SUBDIR)/ppl && \
13745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13747 "RANLIB=$${RANLIB}" \
13748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13749 installcheck) \
13750 || exit 1
13752 @endif ppl
13754 .PHONY: maybe-mostlyclean-ppl mostlyclean-ppl
13755 maybe-mostlyclean-ppl:
13756 @if ppl
13757 maybe-mostlyclean-ppl: mostlyclean-ppl
13759 mostlyclean-ppl:
13760 @[ -f ./ppl/Makefile ] || exit 0; \
13761 r=`${PWD_COMMAND}`; export r; \
13762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13763 $(HOST_EXPORTS) \
13764 for flag in $(EXTRA_HOST_FLAGS) ; do \
13765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13766 done; \
13767 echo "Doing mostlyclean in ppl" ; \
13768 (cd $(HOST_SUBDIR)/ppl && \
13769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13771 "RANLIB=$${RANLIB}" \
13772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13773 mostlyclean) \
13774 || exit 1
13776 @endif ppl
13778 .PHONY: maybe-clean-ppl clean-ppl
13779 maybe-clean-ppl:
13780 @if ppl
13781 maybe-clean-ppl: clean-ppl
13783 clean-ppl:
13784 @[ -f ./ppl/Makefile ] || exit 0; \
13785 r=`${PWD_COMMAND}`; export r; \
13786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13787 $(HOST_EXPORTS) \
13788 for flag in $(EXTRA_HOST_FLAGS) ; do \
13789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13790 done; \
13791 echo "Doing clean in ppl" ; \
13792 (cd $(HOST_SUBDIR)/ppl && \
13793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13795 "RANLIB=$${RANLIB}" \
13796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13797 clean) \
13798 || exit 1
13800 @endif ppl
13802 .PHONY: maybe-distclean-ppl distclean-ppl
13803 maybe-distclean-ppl:
13804 @if ppl
13805 maybe-distclean-ppl: distclean-ppl
13807 distclean-ppl:
13808 @[ -f ./ppl/Makefile ] || exit 0; \
13809 r=`${PWD_COMMAND}`; export r; \
13810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13811 $(HOST_EXPORTS) \
13812 for flag in $(EXTRA_HOST_FLAGS) ; do \
13813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13814 done; \
13815 echo "Doing distclean in ppl" ; \
13816 (cd $(HOST_SUBDIR)/ppl && \
13817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13819 "RANLIB=$${RANLIB}" \
13820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13821 distclean) \
13822 || exit 1
13824 @endif ppl
13826 .PHONY: maybe-maintainer-clean-ppl maintainer-clean-ppl
13827 maybe-maintainer-clean-ppl:
13828 @if ppl
13829 maybe-maintainer-clean-ppl: maintainer-clean-ppl
13831 maintainer-clean-ppl:
13832 @[ -f ./ppl/Makefile ] || exit 0; \
13833 r=`${PWD_COMMAND}`; export r; \
13834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13835 $(HOST_EXPORTS) \
13836 for flag in $(EXTRA_HOST_FLAGS) ; do \
13837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13838 done; \
13839 echo "Doing maintainer-clean in ppl" ; \
13840 (cd $(HOST_SUBDIR)/ppl && \
13841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13843 "RANLIB=$${RANLIB}" \
13844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13845 maintainer-clean) \
13846 || exit 1
13848 @endif ppl
13852 .PHONY: configure-cloog maybe-configure-cloog
13853 maybe-configure-cloog:
13854 @if gcc-bootstrap
13855 configure-cloog: stage_current
13856 @endif gcc-bootstrap
13857 @if cloog
13858 maybe-configure-cloog: configure-cloog
13859 configure-cloog:
13860 @r=`${PWD_COMMAND}`; export r; \
13861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13862 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13863 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13864 $(HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
13865 echo Configuring in $(HOST_SUBDIR)/cloog; \
13866 cd "$(HOST_SUBDIR)/cloog" || exit 1; \
13867 case $(srcdir) in \
13868 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13869 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13870 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13871 esac; \
13872 srcdiroption="--srcdir=$${topdir}/cloog"; \
13873 libsrcdir="$$s/cloog"; \
13874 $(SHELL) $${libsrcdir}/configure \
13875 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13876 --target=${target_alias} $${srcdiroption} --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl \
13877 || exit 1
13878 @endif cloog
13882 .PHONY: configure-stage1-cloog maybe-configure-stage1-cloog
13883 maybe-configure-stage1-cloog:
13884 @if cloog-bootstrap
13885 maybe-configure-stage1-cloog: configure-stage1-cloog
13886 configure-stage1-cloog:
13887 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13888 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13889 @r=`${PWD_COMMAND}`; export r; \
13890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13891 TFLAGS="$(STAGE1_TFLAGS)"; \
13892 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13893 $(HOST_EXPORTS) \
13894 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13895 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13896 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
13897 echo Configuring stage 1 in $(HOST_SUBDIR)/cloog ; \
13898 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13899 cd $(HOST_SUBDIR)/cloog || exit 1; \
13900 case $(srcdir) in \
13901 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13902 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13903 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13904 esac; \
13905 srcdiroption="--srcdir=$${topdir}/cloog"; \
13906 libsrcdir="$$s/cloog"; \
13907 $(SHELL) $${libsrcdir}/configure \
13908 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13909 --target=${target_alias} $${srcdiroption} \
13910 $(STAGE1_CONFIGURE_FLAGS) \
13911 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
13912 @endif cloog-bootstrap
13914 .PHONY: configure-stage2-cloog maybe-configure-stage2-cloog
13915 maybe-configure-stage2-cloog:
13916 @if cloog-bootstrap
13917 maybe-configure-stage2-cloog: configure-stage2-cloog
13918 configure-stage2-cloog:
13919 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13920 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13921 @r=`${PWD_COMMAND}`; export r; \
13922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13923 TFLAGS="$(STAGE2_TFLAGS)"; \
13924 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13925 $(HOST_EXPORTS) \
13926 $(POSTSTAGE1_HOST_EXPORTS) \
13927 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13928 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13929 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
13930 echo Configuring stage 2 in $(HOST_SUBDIR)/cloog ; \
13931 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13932 cd $(HOST_SUBDIR)/cloog || exit 1; \
13933 case $(srcdir) in \
13934 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13935 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13936 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13937 esac; \
13938 srcdiroption="--srcdir=$${topdir}/cloog"; \
13939 libsrcdir="$$s/cloog"; \
13940 $(SHELL) $${libsrcdir}/configure \
13941 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13942 --target=${target_alias} $${srcdiroption} \
13943 --with-build-libsubdir=$(HOST_SUBDIR) \
13944 $(STAGE2_CONFIGURE_FLAGS) \
13945 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
13946 @endif cloog-bootstrap
13948 .PHONY: configure-stage3-cloog maybe-configure-stage3-cloog
13949 maybe-configure-stage3-cloog:
13950 @if cloog-bootstrap
13951 maybe-configure-stage3-cloog: configure-stage3-cloog
13952 configure-stage3-cloog:
13953 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13954 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13955 @r=`${PWD_COMMAND}`; export r; \
13956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13957 TFLAGS="$(STAGE3_TFLAGS)"; \
13958 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13959 $(HOST_EXPORTS) \
13960 $(POSTSTAGE1_HOST_EXPORTS) \
13961 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13962 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13963 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
13964 echo Configuring stage 3 in $(HOST_SUBDIR)/cloog ; \
13965 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13966 cd $(HOST_SUBDIR)/cloog || exit 1; \
13967 case $(srcdir) in \
13968 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13969 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13970 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13971 esac; \
13972 srcdiroption="--srcdir=$${topdir}/cloog"; \
13973 libsrcdir="$$s/cloog"; \
13974 $(SHELL) $${libsrcdir}/configure \
13975 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13976 --target=${target_alias} $${srcdiroption} \
13977 --with-build-libsubdir=$(HOST_SUBDIR) \
13978 $(STAGE3_CONFIGURE_FLAGS) \
13979 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
13980 @endif cloog-bootstrap
13982 .PHONY: configure-stage4-cloog maybe-configure-stage4-cloog
13983 maybe-configure-stage4-cloog:
13984 @if cloog-bootstrap
13985 maybe-configure-stage4-cloog: configure-stage4-cloog
13986 configure-stage4-cloog:
13987 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13988 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13989 @r=`${PWD_COMMAND}`; export r; \
13990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13991 TFLAGS="$(STAGE4_TFLAGS)"; \
13992 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13993 $(HOST_EXPORTS) \
13994 $(POSTSTAGE1_HOST_EXPORTS) \
13995 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13996 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13997 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
13998 echo Configuring stage 4 in $(HOST_SUBDIR)/cloog ; \
13999 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14000 cd $(HOST_SUBDIR)/cloog || exit 1; \
14001 case $(srcdir) in \
14002 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14003 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14004 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14005 esac; \
14006 srcdiroption="--srcdir=$${topdir}/cloog"; \
14007 libsrcdir="$$s/cloog"; \
14008 $(SHELL) $${libsrcdir}/configure \
14009 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14010 --target=${target_alias} $${srcdiroption} \
14011 --with-build-libsubdir=$(HOST_SUBDIR) \
14012 $(STAGE4_CONFIGURE_FLAGS) \
14013 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
14014 @endif cloog-bootstrap
14016 .PHONY: configure-stageprofile-cloog maybe-configure-stageprofile-cloog
14017 maybe-configure-stageprofile-cloog:
14018 @if cloog-bootstrap
14019 maybe-configure-stageprofile-cloog: configure-stageprofile-cloog
14020 configure-stageprofile-cloog:
14021 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14022 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14023 @r=`${PWD_COMMAND}`; export r; \
14024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14025 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14026 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14027 $(HOST_EXPORTS) \
14028 $(POSTSTAGE1_HOST_EXPORTS) \
14029 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14030 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14031 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14032 echo Configuring stage profile in $(HOST_SUBDIR)/cloog ; \
14033 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14034 cd $(HOST_SUBDIR)/cloog || exit 1; \
14035 case $(srcdir) in \
14036 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14037 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14038 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14039 esac; \
14040 srcdiroption="--srcdir=$${topdir}/cloog"; \
14041 libsrcdir="$$s/cloog"; \
14042 $(SHELL) $${libsrcdir}/configure \
14043 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14044 --target=${target_alias} $${srcdiroption} \
14045 --with-build-libsubdir=$(HOST_SUBDIR) \
14046 $(STAGEprofile_CONFIGURE_FLAGS) \
14047 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
14048 @endif cloog-bootstrap
14050 .PHONY: configure-stagefeedback-cloog maybe-configure-stagefeedback-cloog
14051 maybe-configure-stagefeedback-cloog:
14052 @if cloog-bootstrap
14053 maybe-configure-stagefeedback-cloog: configure-stagefeedback-cloog
14054 configure-stagefeedback-cloog:
14055 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14056 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14057 @r=`${PWD_COMMAND}`; export r; \
14058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14059 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14060 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14061 $(HOST_EXPORTS) \
14062 $(POSTSTAGE1_HOST_EXPORTS) \
14063 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14064 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14065 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14066 echo Configuring stage feedback in $(HOST_SUBDIR)/cloog ; \
14067 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14068 cd $(HOST_SUBDIR)/cloog || exit 1; \
14069 case $(srcdir) in \
14070 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14071 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14072 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14073 esac; \
14074 srcdiroption="--srcdir=$${topdir}/cloog"; \
14075 libsrcdir="$$s/cloog"; \
14076 $(SHELL) $${libsrcdir}/configure \
14077 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14078 --target=${target_alias} $${srcdiroption} \
14079 --with-build-libsubdir=$(HOST_SUBDIR) \
14080 $(STAGEfeedback_CONFIGURE_FLAGS) \
14081 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
14082 @endif cloog-bootstrap
14088 .PHONY: all-cloog maybe-all-cloog
14089 maybe-all-cloog:
14090 @if gcc-bootstrap
14091 all-cloog: stage_current
14092 @endif gcc-bootstrap
14093 @if cloog
14094 TARGET-cloog=all
14095 maybe-all-cloog: all-cloog
14096 all-cloog: configure-cloog
14097 @r=`${PWD_COMMAND}`; export r; \
14098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14099 $(HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14100 (cd $(HOST_SUBDIR)/cloog && \
14101 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14102 $(TARGET-cloog))
14103 @endif cloog
14107 .PHONY: all-stage1-cloog maybe-all-stage1-cloog
14108 .PHONY: clean-stage1-cloog maybe-clean-stage1-cloog
14109 maybe-all-stage1-cloog:
14110 maybe-clean-stage1-cloog:
14111 @if cloog-bootstrap
14112 maybe-all-stage1-cloog: all-stage1-cloog
14113 all-stage1: all-stage1-cloog
14114 TARGET-stage1-cloog = $(TARGET-cloog)
14115 all-stage1-cloog: configure-stage1-cloog
14116 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14117 @r=`${PWD_COMMAND}`; export r; \
14118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14119 TFLAGS="$(STAGE1_TFLAGS)"; \
14120 $(HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14121 cd $(HOST_SUBDIR)/cloog && \
14122 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14123 CFLAGS="$(STAGE1_CFLAGS)" \
14124 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14125 LIBCFLAGS="$(LIBCFLAGS)" \
14126 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14127 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14128 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14129 $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14130 TFLAGS="$(STAGE1_TFLAGS)" \
14131 $(TARGET-stage1-cloog)
14133 maybe-clean-stage1-cloog: clean-stage1-cloog
14134 clean-stage1: clean-stage1-cloog
14135 clean-stage1-cloog:
14136 @if [ $(current_stage) = stage1 ]; then \
14137 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14138 else \
14139 [ -f $(HOST_SUBDIR)/stage1-cloog/Makefile ] || exit 0; \
14140 $(MAKE) stage1-start; \
14141 fi; \
14142 cd $(HOST_SUBDIR)/cloog && \
14143 $(MAKE) $(EXTRA_HOST_FLAGS) \
14144 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14145 @endif cloog-bootstrap
14148 .PHONY: all-stage2-cloog maybe-all-stage2-cloog
14149 .PHONY: clean-stage2-cloog maybe-clean-stage2-cloog
14150 maybe-all-stage2-cloog:
14151 maybe-clean-stage2-cloog:
14152 @if cloog-bootstrap
14153 maybe-all-stage2-cloog: all-stage2-cloog
14154 all-stage2: all-stage2-cloog
14155 TARGET-stage2-cloog = $(TARGET-cloog)
14156 all-stage2-cloog: configure-stage2-cloog
14157 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14158 @r=`${PWD_COMMAND}`; export r; \
14159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14160 TFLAGS="$(STAGE2_TFLAGS)"; \
14161 $(HOST_EXPORTS) \
14162 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14163 cd $(HOST_SUBDIR)/cloog && \
14164 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14165 CFLAGS="$(STAGE2_CFLAGS)" \
14166 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14167 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14168 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14169 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14170 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14171 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14172 TFLAGS="$(STAGE2_TFLAGS)" \
14173 $(TARGET-stage2-cloog)
14175 maybe-clean-stage2-cloog: clean-stage2-cloog
14176 clean-stage2: clean-stage2-cloog
14177 clean-stage2-cloog:
14178 @if [ $(current_stage) = stage2 ]; then \
14179 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14180 else \
14181 [ -f $(HOST_SUBDIR)/stage2-cloog/Makefile ] || exit 0; \
14182 $(MAKE) stage2-start; \
14183 fi; \
14184 cd $(HOST_SUBDIR)/cloog && \
14185 $(MAKE) $(EXTRA_HOST_FLAGS) \
14186 $(POSTSTAGE1_FLAGS_TO_PASS) \
14187 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14188 @endif cloog-bootstrap
14191 .PHONY: all-stage3-cloog maybe-all-stage3-cloog
14192 .PHONY: clean-stage3-cloog maybe-clean-stage3-cloog
14193 maybe-all-stage3-cloog:
14194 maybe-clean-stage3-cloog:
14195 @if cloog-bootstrap
14196 maybe-all-stage3-cloog: all-stage3-cloog
14197 all-stage3: all-stage3-cloog
14198 TARGET-stage3-cloog = $(TARGET-cloog)
14199 all-stage3-cloog: configure-stage3-cloog
14200 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14201 @r=`${PWD_COMMAND}`; export r; \
14202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14203 TFLAGS="$(STAGE3_TFLAGS)"; \
14204 $(HOST_EXPORTS) \
14205 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14206 cd $(HOST_SUBDIR)/cloog && \
14207 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14208 CFLAGS="$(STAGE3_CFLAGS)" \
14209 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14210 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14211 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14212 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14213 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14214 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14215 TFLAGS="$(STAGE3_TFLAGS)" \
14216 $(TARGET-stage3-cloog)
14218 maybe-clean-stage3-cloog: clean-stage3-cloog
14219 clean-stage3: clean-stage3-cloog
14220 clean-stage3-cloog:
14221 @if [ $(current_stage) = stage3 ]; then \
14222 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14223 else \
14224 [ -f $(HOST_SUBDIR)/stage3-cloog/Makefile ] || exit 0; \
14225 $(MAKE) stage3-start; \
14226 fi; \
14227 cd $(HOST_SUBDIR)/cloog && \
14228 $(MAKE) $(EXTRA_HOST_FLAGS) \
14229 $(POSTSTAGE1_FLAGS_TO_PASS) \
14230 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14231 @endif cloog-bootstrap
14234 .PHONY: all-stage4-cloog maybe-all-stage4-cloog
14235 .PHONY: clean-stage4-cloog maybe-clean-stage4-cloog
14236 maybe-all-stage4-cloog:
14237 maybe-clean-stage4-cloog:
14238 @if cloog-bootstrap
14239 maybe-all-stage4-cloog: all-stage4-cloog
14240 all-stage4: all-stage4-cloog
14241 TARGET-stage4-cloog = $(TARGET-cloog)
14242 all-stage4-cloog: configure-stage4-cloog
14243 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14244 @r=`${PWD_COMMAND}`; export r; \
14245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14246 TFLAGS="$(STAGE4_TFLAGS)"; \
14247 $(HOST_EXPORTS) \
14248 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14249 cd $(HOST_SUBDIR)/cloog && \
14250 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14251 CFLAGS="$(STAGE4_CFLAGS)" \
14252 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14253 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14254 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14255 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14256 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14257 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14258 TFLAGS="$(STAGE4_TFLAGS)" \
14259 $(TARGET-stage4-cloog)
14261 maybe-clean-stage4-cloog: clean-stage4-cloog
14262 clean-stage4: clean-stage4-cloog
14263 clean-stage4-cloog:
14264 @if [ $(current_stage) = stage4 ]; then \
14265 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14266 else \
14267 [ -f $(HOST_SUBDIR)/stage4-cloog/Makefile ] || exit 0; \
14268 $(MAKE) stage4-start; \
14269 fi; \
14270 cd $(HOST_SUBDIR)/cloog && \
14271 $(MAKE) $(EXTRA_HOST_FLAGS) \
14272 $(POSTSTAGE1_FLAGS_TO_PASS) \
14273 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14274 @endif cloog-bootstrap
14277 .PHONY: all-stageprofile-cloog maybe-all-stageprofile-cloog
14278 .PHONY: clean-stageprofile-cloog maybe-clean-stageprofile-cloog
14279 maybe-all-stageprofile-cloog:
14280 maybe-clean-stageprofile-cloog:
14281 @if cloog-bootstrap
14282 maybe-all-stageprofile-cloog: all-stageprofile-cloog
14283 all-stageprofile: all-stageprofile-cloog
14284 TARGET-stageprofile-cloog = $(TARGET-cloog)
14285 all-stageprofile-cloog: configure-stageprofile-cloog
14286 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14287 @r=`${PWD_COMMAND}`; export r; \
14288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14289 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14290 $(HOST_EXPORTS) \
14291 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14292 cd $(HOST_SUBDIR)/cloog && \
14293 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14294 CFLAGS="$(STAGEprofile_CFLAGS)" \
14295 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14296 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14297 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14298 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14299 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14300 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14301 TFLAGS="$(STAGEprofile_TFLAGS)" \
14302 $(TARGET-stageprofile-cloog)
14304 maybe-clean-stageprofile-cloog: clean-stageprofile-cloog
14305 clean-stageprofile: clean-stageprofile-cloog
14306 clean-stageprofile-cloog:
14307 @if [ $(current_stage) = stageprofile ]; then \
14308 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14309 else \
14310 [ -f $(HOST_SUBDIR)/stageprofile-cloog/Makefile ] || exit 0; \
14311 $(MAKE) stageprofile-start; \
14312 fi; \
14313 cd $(HOST_SUBDIR)/cloog && \
14314 $(MAKE) $(EXTRA_HOST_FLAGS) \
14315 $(POSTSTAGE1_FLAGS_TO_PASS) \
14316 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14317 @endif cloog-bootstrap
14320 .PHONY: all-stagefeedback-cloog maybe-all-stagefeedback-cloog
14321 .PHONY: clean-stagefeedback-cloog maybe-clean-stagefeedback-cloog
14322 maybe-all-stagefeedback-cloog:
14323 maybe-clean-stagefeedback-cloog:
14324 @if cloog-bootstrap
14325 maybe-all-stagefeedback-cloog: all-stagefeedback-cloog
14326 all-stagefeedback: all-stagefeedback-cloog
14327 TARGET-stagefeedback-cloog = $(TARGET-cloog)
14328 all-stagefeedback-cloog: configure-stagefeedback-cloog
14329 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14330 @r=`${PWD_COMMAND}`; export r; \
14331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14332 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14333 $(HOST_EXPORTS) \
14334 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14335 cd $(HOST_SUBDIR)/cloog && \
14336 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14337 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14338 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14339 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14340 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14341 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14342 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14343 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14344 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14345 $(TARGET-stagefeedback-cloog)
14347 maybe-clean-stagefeedback-cloog: clean-stagefeedback-cloog
14348 clean-stagefeedback: clean-stagefeedback-cloog
14349 clean-stagefeedback-cloog:
14350 @if [ $(current_stage) = stagefeedback ]; then \
14351 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14352 else \
14353 [ -f $(HOST_SUBDIR)/stagefeedback-cloog/Makefile ] || exit 0; \
14354 $(MAKE) stagefeedback-start; \
14355 fi; \
14356 cd $(HOST_SUBDIR)/cloog && \
14357 $(MAKE) $(EXTRA_HOST_FLAGS) \
14358 $(POSTSTAGE1_FLAGS_TO_PASS) \
14359 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14360 @endif cloog-bootstrap
14366 .PHONY: check-cloog maybe-check-cloog
14367 maybe-check-cloog:
14368 @if cloog
14369 maybe-check-cloog: check-cloog
14371 check-cloog:
14372 @: $(MAKE); $(unstage)
14373 @r=`${PWD_COMMAND}`; export r; \
14374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14375 $(HOST_EXPORTS) \
14376 (cd $(HOST_SUBDIR)/cloog && \
14377 $(MAKE) $(FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" check)
14379 @endif cloog
14381 .PHONY: install-cloog maybe-install-cloog
14382 maybe-install-cloog:
14383 @if cloog
14384 maybe-install-cloog: install-cloog
14386 install-cloog:
14388 @endif cloog
14390 .PHONY: install-strip-cloog maybe-install-strip-cloog
14391 maybe-install-strip-cloog:
14392 @if cloog
14393 maybe-install-strip-cloog: install-strip-cloog
14395 install-strip-cloog:
14397 @endif cloog
14399 # Other targets (info, dvi, pdf, etc.)
14401 .PHONY: maybe-info-cloog info-cloog
14402 maybe-info-cloog:
14403 @if cloog
14404 maybe-info-cloog: info-cloog
14406 info-cloog: \
14407 configure-cloog
14408 @[ -f ./cloog/Makefile ] || exit 0; \
14409 r=`${PWD_COMMAND}`; export r; \
14410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14411 $(HOST_EXPORTS) \
14412 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14414 done; \
14415 echo "Doing info in cloog" ; \
14416 (cd $(HOST_SUBDIR)/cloog && \
14417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14419 "RANLIB=$${RANLIB}" \
14420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14421 info) \
14422 || exit 1
14424 @endif cloog
14426 .PHONY: maybe-dvi-cloog dvi-cloog
14427 maybe-dvi-cloog:
14428 @if cloog
14429 maybe-dvi-cloog: dvi-cloog
14431 dvi-cloog: \
14432 configure-cloog
14433 @[ -f ./cloog/Makefile ] || exit 0; \
14434 r=`${PWD_COMMAND}`; export r; \
14435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14436 $(HOST_EXPORTS) \
14437 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14439 done; \
14440 echo "Doing dvi in cloog" ; \
14441 (cd $(HOST_SUBDIR)/cloog && \
14442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14444 "RANLIB=$${RANLIB}" \
14445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14446 dvi) \
14447 || exit 1
14449 @endif cloog
14451 .PHONY: maybe-pdf-cloog pdf-cloog
14452 maybe-pdf-cloog:
14453 @if cloog
14454 maybe-pdf-cloog: pdf-cloog
14456 pdf-cloog: \
14457 configure-cloog
14458 @[ -f ./cloog/Makefile ] || exit 0; \
14459 r=`${PWD_COMMAND}`; export r; \
14460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14461 $(HOST_EXPORTS) \
14462 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14464 done; \
14465 echo "Doing pdf in cloog" ; \
14466 (cd $(HOST_SUBDIR)/cloog && \
14467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14469 "RANLIB=$${RANLIB}" \
14470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14471 pdf) \
14472 || exit 1
14474 @endif cloog
14476 .PHONY: maybe-html-cloog html-cloog
14477 maybe-html-cloog:
14478 @if cloog
14479 maybe-html-cloog: html-cloog
14481 html-cloog: \
14482 configure-cloog
14483 @[ -f ./cloog/Makefile ] || exit 0; \
14484 r=`${PWD_COMMAND}`; export r; \
14485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14486 $(HOST_EXPORTS) \
14487 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14489 done; \
14490 echo "Doing html in cloog" ; \
14491 (cd $(HOST_SUBDIR)/cloog && \
14492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14494 "RANLIB=$${RANLIB}" \
14495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14496 html) \
14497 || exit 1
14499 @endif cloog
14501 .PHONY: maybe-TAGS-cloog TAGS-cloog
14502 maybe-TAGS-cloog:
14503 @if cloog
14504 maybe-TAGS-cloog: TAGS-cloog
14506 TAGS-cloog: \
14507 configure-cloog
14508 @[ -f ./cloog/Makefile ] || exit 0; \
14509 r=`${PWD_COMMAND}`; export r; \
14510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14511 $(HOST_EXPORTS) \
14512 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14514 done; \
14515 echo "Doing TAGS in cloog" ; \
14516 (cd $(HOST_SUBDIR)/cloog && \
14517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14519 "RANLIB=$${RANLIB}" \
14520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14521 TAGS) \
14522 || exit 1
14524 @endif cloog
14526 .PHONY: maybe-install-info-cloog install-info-cloog
14527 maybe-install-info-cloog:
14528 @if cloog
14529 maybe-install-info-cloog: install-info-cloog
14531 install-info-cloog: \
14532 configure-cloog \
14533 info-cloog
14534 @[ -f ./cloog/Makefile ] || exit 0; \
14535 r=`${PWD_COMMAND}`; export r; \
14536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14537 $(HOST_EXPORTS) \
14538 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14540 done; \
14541 echo "Doing install-info in cloog" ; \
14542 (cd $(HOST_SUBDIR)/cloog && \
14543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14545 "RANLIB=$${RANLIB}" \
14546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14547 install-info) \
14548 || exit 1
14550 @endif cloog
14552 .PHONY: maybe-install-pdf-cloog install-pdf-cloog
14553 maybe-install-pdf-cloog:
14554 @if cloog
14555 maybe-install-pdf-cloog: install-pdf-cloog
14557 install-pdf-cloog: \
14558 configure-cloog \
14559 pdf-cloog
14560 @[ -f ./cloog/Makefile ] || exit 0; \
14561 r=`${PWD_COMMAND}`; export r; \
14562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14563 $(HOST_EXPORTS) \
14564 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14566 done; \
14567 echo "Doing install-pdf in cloog" ; \
14568 (cd $(HOST_SUBDIR)/cloog && \
14569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14571 "RANLIB=$${RANLIB}" \
14572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14573 install-pdf) \
14574 || exit 1
14576 @endif cloog
14578 .PHONY: maybe-install-html-cloog install-html-cloog
14579 maybe-install-html-cloog:
14580 @if cloog
14581 maybe-install-html-cloog: install-html-cloog
14583 install-html-cloog: \
14584 configure-cloog \
14585 html-cloog
14586 @[ -f ./cloog/Makefile ] || exit 0; \
14587 r=`${PWD_COMMAND}`; export r; \
14588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14589 $(HOST_EXPORTS) \
14590 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14592 done; \
14593 echo "Doing install-html in cloog" ; \
14594 (cd $(HOST_SUBDIR)/cloog && \
14595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14597 "RANLIB=$${RANLIB}" \
14598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14599 install-html) \
14600 || exit 1
14602 @endif cloog
14604 .PHONY: maybe-installcheck-cloog installcheck-cloog
14605 maybe-installcheck-cloog:
14606 @if cloog
14607 maybe-installcheck-cloog: installcheck-cloog
14609 installcheck-cloog: \
14610 configure-cloog
14611 @[ -f ./cloog/Makefile ] || exit 0; \
14612 r=`${PWD_COMMAND}`; export r; \
14613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14614 $(HOST_EXPORTS) \
14615 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14617 done; \
14618 echo "Doing installcheck in cloog" ; \
14619 (cd $(HOST_SUBDIR)/cloog && \
14620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14622 "RANLIB=$${RANLIB}" \
14623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14624 installcheck) \
14625 || exit 1
14627 @endif cloog
14629 .PHONY: maybe-mostlyclean-cloog mostlyclean-cloog
14630 maybe-mostlyclean-cloog:
14631 @if cloog
14632 maybe-mostlyclean-cloog: mostlyclean-cloog
14634 mostlyclean-cloog:
14635 @[ -f ./cloog/Makefile ] || exit 0; \
14636 r=`${PWD_COMMAND}`; export r; \
14637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14638 $(HOST_EXPORTS) \
14639 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14641 done; \
14642 echo "Doing mostlyclean in cloog" ; \
14643 (cd $(HOST_SUBDIR)/cloog && \
14644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14646 "RANLIB=$${RANLIB}" \
14647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14648 mostlyclean) \
14649 || exit 1
14651 @endif cloog
14653 .PHONY: maybe-clean-cloog clean-cloog
14654 maybe-clean-cloog:
14655 @if cloog
14656 maybe-clean-cloog: clean-cloog
14658 clean-cloog:
14659 @[ -f ./cloog/Makefile ] || exit 0; \
14660 r=`${PWD_COMMAND}`; export r; \
14661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14662 $(HOST_EXPORTS) \
14663 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14665 done; \
14666 echo "Doing clean in cloog" ; \
14667 (cd $(HOST_SUBDIR)/cloog && \
14668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14670 "RANLIB=$${RANLIB}" \
14671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14672 clean) \
14673 || exit 1
14675 @endif cloog
14677 .PHONY: maybe-distclean-cloog distclean-cloog
14678 maybe-distclean-cloog:
14679 @if cloog
14680 maybe-distclean-cloog: distclean-cloog
14682 distclean-cloog:
14683 @[ -f ./cloog/Makefile ] || exit 0; \
14684 r=`${PWD_COMMAND}`; export r; \
14685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14686 $(HOST_EXPORTS) \
14687 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14689 done; \
14690 echo "Doing distclean in cloog" ; \
14691 (cd $(HOST_SUBDIR)/cloog && \
14692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14694 "RANLIB=$${RANLIB}" \
14695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14696 distclean) \
14697 || exit 1
14699 @endif cloog
14701 .PHONY: maybe-maintainer-clean-cloog maintainer-clean-cloog
14702 maybe-maintainer-clean-cloog:
14703 @if cloog
14704 maybe-maintainer-clean-cloog: maintainer-clean-cloog
14706 maintainer-clean-cloog:
14707 @[ -f ./cloog/Makefile ] || exit 0; \
14708 r=`${PWD_COMMAND}`; export r; \
14709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14710 $(HOST_EXPORTS) \
14711 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14713 done; \
14714 echo "Doing maintainer-clean in cloog" ; \
14715 (cd $(HOST_SUBDIR)/cloog && \
14716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14718 "RANLIB=$${RANLIB}" \
14719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14720 maintainer-clean) \
14721 || exit 1
14723 @endif cloog
14727 .PHONY: configure-libelf maybe-configure-libelf
14728 maybe-configure-libelf:
14729 @if gcc-bootstrap
14730 configure-libelf: stage_current
14731 @endif gcc-bootstrap
14732 @if libelf
14733 maybe-configure-libelf: configure-libelf
14734 configure-libelf:
14735 @r=`${PWD_COMMAND}`; export r; \
14736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14737 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14738 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14739 $(HOST_EXPORTS) \
14740 echo Configuring in $(HOST_SUBDIR)/libelf; \
14741 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
14742 case $(srcdir) in \
14743 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14744 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14745 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14746 esac; \
14747 srcdiroption="--srcdir=$${topdir}/libelf"; \
14748 libsrcdir="$$s/libelf"; \
14749 $(SHELL) $${libsrcdir}/configure \
14750 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14751 --target=${target_alias} $${srcdiroption} --disable-shared \
14752 || exit 1
14753 @endif libelf
14757 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
14758 maybe-configure-stage1-libelf:
14759 @if libelf-bootstrap
14760 maybe-configure-stage1-libelf: configure-stage1-libelf
14761 configure-stage1-libelf:
14762 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14763 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14764 @r=`${PWD_COMMAND}`; export r; \
14765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14766 TFLAGS="$(STAGE1_TFLAGS)"; \
14767 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14768 $(HOST_EXPORTS) \
14769 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14770 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14771 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14772 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf ; \
14773 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14774 cd $(HOST_SUBDIR)/libelf || exit 1; \
14775 case $(srcdir) in \
14776 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14777 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14778 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14779 esac; \
14780 srcdiroption="--srcdir=$${topdir}/libelf"; \
14781 libsrcdir="$$s/libelf"; \
14782 $(SHELL) $${libsrcdir}/configure \
14783 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14784 --target=${target_alias} $${srcdiroption} \
14785 $(STAGE1_CONFIGURE_FLAGS) \
14786 --disable-shared
14787 @endif libelf-bootstrap
14789 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
14790 maybe-configure-stage2-libelf:
14791 @if libelf-bootstrap
14792 maybe-configure-stage2-libelf: configure-stage2-libelf
14793 configure-stage2-libelf:
14794 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14795 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14796 @r=`${PWD_COMMAND}`; export r; \
14797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14798 TFLAGS="$(STAGE2_TFLAGS)"; \
14799 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14800 $(HOST_EXPORTS) \
14801 $(POSTSTAGE1_HOST_EXPORTS) \
14802 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14803 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14804 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14805 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf ; \
14806 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14807 cd $(HOST_SUBDIR)/libelf || exit 1; \
14808 case $(srcdir) in \
14809 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14810 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14811 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14812 esac; \
14813 srcdiroption="--srcdir=$${topdir}/libelf"; \
14814 libsrcdir="$$s/libelf"; \
14815 $(SHELL) $${libsrcdir}/configure \
14816 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14817 --target=${target_alias} $${srcdiroption} \
14818 --with-build-libsubdir=$(HOST_SUBDIR) \
14819 $(STAGE2_CONFIGURE_FLAGS) \
14820 --disable-shared
14821 @endif libelf-bootstrap
14823 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
14824 maybe-configure-stage3-libelf:
14825 @if libelf-bootstrap
14826 maybe-configure-stage3-libelf: configure-stage3-libelf
14827 configure-stage3-libelf:
14828 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14829 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14830 @r=`${PWD_COMMAND}`; export r; \
14831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14832 TFLAGS="$(STAGE3_TFLAGS)"; \
14833 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14834 $(HOST_EXPORTS) \
14835 $(POSTSTAGE1_HOST_EXPORTS) \
14836 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14837 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14838 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14839 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf ; \
14840 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14841 cd $(HOST_SUBDIR)/libelf || exit 1; \
14842 case $(srcdir) in \
14843 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14844 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14845 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14846 esac; \
14847 srcdiroption="--srcdir=$${topdir}/libelf"; \
14848 libsrcdir="$$s/libelf"; \
14849 $(SHELL) $${libsrcdir}/configure \
14850 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14851 --target=${target_alias} $${srcdiroption} \
14852 --with-build-libsubdir=$(HOST_SUBDIR) \
14853 $(STAGE3_CONFIGURE_FLAGS) \
14854 --disable-shared
14855 @endif libelf-bootstrap
14857 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
14858 maybe-configure-stage4-libelf:
14859 @if libelf-bootstrap
14860 maybe-configure-stage4-libelf: configure-stage4-libelf
14861 configure-stage4-libelf:
14862 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14863 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14864 @r=`${PWD_COMMAND}`; export r; \
14865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14866 TFLAGS="$(STAGE4_TFLAGS)"; \
14867 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14868 $(HOST_EXPORTS) \
14869 $(POSTSTAGE1_HOST_EXPORTS) \
14870 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14871 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14872 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14873 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf ; \
14874 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14875 cd $(HOST_SUBDIR)/libelf || exit 1; \
14876 case $(srcdir) in \
14877 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14878 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14879 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14880 esac; \
14881 srcdiroption="--srcdir=$${topdir}/libelf"; \
14882 libsrcdir="$$s/libelf"; \
14883 $(SHELL) $${libsrcdir}/configure \
14884 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14885 --target=${target_alias} $${srcdiroption} \
14886 --with-build-libsubdir=$(HOST_SUBDIR) \
14887 $(STAGE4_CONFIGURE_FLAGS) \
14888 --disable-shared
14889 @endif libelf-bootstrap
14891 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
14892 maybe-configure-stageprofile-libelf:
14893 @if libelf-bootstrap
14894 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
14895 configure-stageprofile-libelf:
14896 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14897 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14898 @r=`${PWD_COMMAND}`; export r; \
14899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14900 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14901 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14902 $(HOST_EXPORTS) \
14903 $(POSTSTAGE1_HOST_EXPORTS) \
14904 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14905 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14906 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14907 echo Configuring stage profile in $(HOST_SUBDIR)/libelf ; \
14908 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14909 cd $(HOST_SUBDIR)/libelf || exit 1; \
14910 case $(srcdir) in \
14911 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14912 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14913 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14914 esac; \
14915 srcdiroption="--srcdir=$${topdir}/libelf"; \
14916 libsrcdir="$$s/libelf"; \
14917 $(SHELL) $${libsrcdir}/configure \
14918 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14919 --target=${target_alias} $${srcdiroption} \
14920 --with-build-libsubdir=$(HOST_SUBDIR) \
14921 $(STAGEprofile_CONFIGURE_FLAGS) \
14922 --disable-shared
14923 @endif libelf-bootstrap
14925 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
14926 maybe-configure-stagefeedback-libelf:
14927 @if libelf-bootstrap
14928 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
14929 configure-stagefeedback-libelf:
14930 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14931 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14932 @r=`${PWD_COMMAND}`; export r; \
14933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14934 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14935 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14936 $(HOST_EXPORTS) \
14937 $(POSTSTAGE1_HOST_EXPORTS) \
14938 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14939 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14940 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14941 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf ; \
14942 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14943 cd $(HOST_SUBDIR)/libelf || exit 1; \
14944 case $(srcdir) in \
14945 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14946 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14947 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14948 esac; \
14949 srcdiroption="--srcdir=$${topdir}/libelf"; \
14950 libsrcdir="$$s/libelf"; \
14951 $(SHELL) $${libsrcdir}/configure \
14952 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14953 --target=${target_alias} $${srcdiroption} \
14954 --with-build-libsubdir=$(HOST_SUBDIR) \
14955 $(STAGEfeedback_CONFIGURE_FLAGS) \
14956 --disable-shared
14957 @endif libelf-bootstrap
14963 .PHONY: all-libelf maybe-all-libelf
14964 maybe-all-libelf:
14965 @if gcc-bootstrap
14966 all-libelf: stage_current
14967 @endif gcc-bootstrap
14968 @if libelf
14969 TARGET-libelf=all
14970 maybe-all-libelf: all-libelf
14971 all-libelf: configure-libelf
14972 @r=`${PWD_COMMAND}`; export r; \
14973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14974 $(HOST_EXPORTS) \
14975 (cd $(HOST_SUBDIR)/libelf && \
14976 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
14977 $(TARGET-libelf))
14978 @endif libelf
14982 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
14983 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
14984 maybe-all-stage1-libelf:
14985 maybe-clean-stage1-libelf:
14986 @if libelf-bootstrap
14987 maybe-all-stage1-libelf: all-stage1-libelf
14988 all-stage1: all-stage1-libelf
14989 TARGET-stage1-libelf = $(TARGET-libelf)
14990 all-stage1-libelf: configure-stage1-libelf
14991 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14992 @r=`${PWD_COMMAND}`; export r; \
14993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14994 TFLAGS="$(STAGE1_TFLAGS)"; \
14995 $(HOST_EXPORTS) \
14996 cd $(HOST_SUBDIR)/libelf && \
14997 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14998 CFLAGS="$(STAGE1_CFLAGS)" \
14999 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15000 LIBCFLAGS="$(LIBCFLAGS)" \
15001 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15002 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15003 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15004 $(EXTRA_HOST_FLAGS) \
15005 TFLAGS="$(STAGE1_TFLAGS)" \
15006 $(TARGET-stage1-libelf)
15008 maybe-clean-stage1-libelf: clean-stage1-libelf
15009 clean-stage1: clean-stage1-libelf
15010 clean-stage1-libelf:
15011 @if [ $(current_stage) = stage1 ]; then \
15012 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15013 else \
15014 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
15015 $(MAKE) stage1-start; \
15016 fi; \
15017 cd $(HOST_SUBDIR)/libelf && \
15018 $(MAKE) $(EXTRA_HOST_FLAGS) \
15019 clean
15020 @endif libelf-bootstrap
15023 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
15024 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
15025 maybe-all-stage2-libelf:
15026 maybe-clean-stage2-libelf:
15027 @if libelf-bootstrap
15028 maybe-all-stage2-libelf: all-stage2-libelf
15029 all-stage2: all-stage2-libelf
15030 TARGET-stage2-libelf = $(TARGET-libelf)
15031 all-stage2-libelf: configure-stage2-libelf
15032 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15033 @r=`${PWD_COMMAND}`; export r; \
15034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15035 TFLAGS="$(STAGE2_TFLAGS)"; \
15036 $(HOST_EXPORTS) \
15037 $(POSTSTAGE1_HOST_EXPORTS) \
15038 cd $(HOST_SUBDIR)/libelf && \
15039 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15040 CFLAGS="$(STAGE2_CFLAGS)" \
15041 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15042 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15043 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15044 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15045 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15046 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15047 TFLAGS="$(STAGE2_TFLAGS)" \
15048 $(TARGET-stage2-libelf)
15050 maybe-clean-stage2-libelf: clean-stage2-libelf
15051 clean-stage2: clean-stage2-libelf
15052 clean-stage2-libelf:
15053 @if [ $(current_stage) = stage2 ]; then \
15054 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15055 else \
15056 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
15057 $(MAKE) stage2-start; \
15058 fi; \
15059 cd $(HOST_SUBDIR)/libelf && \
15060 $(MAKE) $(EXTRA_HOST_FLAGS) \
15061 $(POSTSTAGE1_FLAGS_TO_PASS) \
15062 clean
15063 @endif libelf-bootstrap
15066 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
15067 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
15068 maybe-all-stage3-libelf:
15069 maybe-clean-stage3-libelf:
15070 @if libelf-bootstrap
15071 maybe-all-stage3-libelf: all-stage3-libelf
15072 all-stage3: all-stage3-libelf
15073 TARGET-stage3-libelf = $(TARGET-libelf)
15074 all-stage3-libelf: configure-stage3-libelf
15075 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15076 @r=`${PWD_COMMAND}`; export r; \
15077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15078 TFLAGS="$(STAGE3_TFLAGS)"; \
15079 $(HOST_EXPORTS) \
15080 $(POSTSTAGE1_HOST_EXPORTS) \
15081 cd $(HOST_SUBDIR)/libelf && \
15082 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15083 CFLAGS="$(STAGE3_CFLAGS)" \
15084 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15085 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15086 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15087 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15088 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15089 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15090 TFLAGS="$(STAGE3_TFLAGS)" \
15091 $(TARGET-stage3-libelf)
15093 maybe-clean-stage3-libelf: clean-stage3-libelf
15094 clean-stage3: clean-stage3-libelf
15095 clean-stage3-libelf:
15096 @if [ $(current_stage) = stage3 ]; then \
15097 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15098 else \
15099 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
15100 $(MAKE) stage3-start; \
15101 fi; \
15102 cd $(HOST_SUBDIR)/libelf && \
15103 $(MAKE) $(EXTRA_HOST_FLAGS) \
15104 $(POSTSTAGE1_FLAGS_TO_PASS) \
15105 clean
15106 @endif libelf-bootstrap
15109 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
15110 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
15111 maybe-all-stage4-libelf:
15112 maybe-clean-stage4-libelf:
15113 @if libelf-bootstrap
15114 maybe-all-stage4-libelf: all-stage4-libelf
15115 all-stage4: all-stage4-libelf
15116 TARGET-stage4-libelf = $(TARGET-libelf)
15117 all-stage4-libelf: configure-stage4-libelf
15118 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15119 @r=`${PWD_COMMAND}`; export r; \
15120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15121 TFLAGS="$(STAGE4_TFLAGS)"; \
15122 $(HOST_EXPORTS) \
15123 $(POSTSTAGE1_HOST_EXPORTS) \
15124 cd $(HOST_SUBDIR)/libelf && \
15125 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15126 CFLAGS="$(STAGE4_CFLAGS)" \
15127 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15128 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15129 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15130 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15131 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15132 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15133 TFLAGS="$(STAGE4_TFLAGS)" \
15134 $(TARGET-stage4-libelf)
15136 maybe-clean-stage4-libelf: clean-stage4-libelf
15137 clean-stage4: clean-stage4-libelf
15138 clean-stage4-libelf:
15139 @if [ $(current_stage) = stage4 ]; then \
15140 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15141 else \
15142 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
15143 $(MAKE) stage4-start; \
15144 fi; \
15145 cd $(HOST_SUBDIR)/libelf && \
15146 $(MAKE) $(EXTRA_HOST_FLAGS) \
15147 $(POSTSTAGE1_FLAGS_TO_PASS) \
15148 clean
15149 @endif libelf-bootstrap
15152 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
15153 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
15154 maybe-all-stageprofile-libelf:
15155 maybe-clean-stageprofile-libelf:
15156 @if libelf-bootstrap
15157 maybe-all-stageprofile-libelf: all-stageprofile-libelf
15158 all-stageprofile: all-stageprofile-libelf
15159 TARGET-stageprofile-libelf = $(TARGET-libelf)
15160 all-stageprofile-libelf: configure-stageprofile-libelf
15161 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15162 @r=`${PWD_COMMAND}`; export r; \
15163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15164 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15165 $(HOST_EXPORTS) \
15166 $(POSTSTAGE1_HOST_EXPORTS) \
15167 cd $(HOST_SUBDIR)/libelf && \
15168 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15169 CFLAGS="$(STAGEprofile_CFLAGS)" \
15170 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15171 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15172 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15173 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15174 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15175 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15176 TFLAGS="$(STAGEprofile_TFLAGS)" \
15177 $(TARGET-stageprofile-libelf)
15179 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
15180 clean-stageprofile: clean-stageprofile-libelf
15181 clean-stageprofile-libelf:
15182 @if [ $(current_stage) = stageprofile ]; then \
15183 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15184 else \
15185 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
15186 $(MAKE) stageprofile-start; \
15187 fi; \
15188 cd $(HOST_SUBDIR)/libelf && \
15189 $(MAKE) $(EXTRA_HOST_FLAGS) \
15190 $(POSTSTAGE1_FLAGS_TO_PASS) \
15191 clean
15192 @endif libelf-bootstrap
15195 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
15196 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
15197 maybe-all-stagefeedback-libelf:
15198 maybe-clean-stagefeedback-libelf:
15199 @if libelf-bootstrap
15200 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
15201 all-stagefeedback: all-stagefeedback-libelf
15202 TARGET-stagefeedback-libelf = $(TARGET-libelf)
15203 all-stagefeedback-libelf: configure-stagefeedback-libelf
15204 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15205 @r=`${PWD_COMMAND}`; export r; \
15206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15207 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15208 $(HOST_EXPORTS) \
15209 $(POSTSTAGE1_HOST_EXPORTS) \
15210 cd $(HOST_SUBDIR)/libelf && \
15211 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15212 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15213 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15214 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15215 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15216 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15217 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15218 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15219 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15220 $(TARGET-stagefeedback-libelf)
15222 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
15223 clean-stagefeedback: clean-stagefeedback-libelf
15224 clean-stagefeedback-libelf:
15225 @if [ $(current_stage) = stagefeedback ]; then \
15226 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15227 else \
15228 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
15229 $(MAKE) stagefeedback-start; \
15230 fi; \
15231 cd $(HOST_SUBDIR)/libelf && \
15232 $(MAKE) $(EXTRA_HOST_FLAGS) \
15233 $(POSTSTAGE1_FLAGS_TO_PASS) \
15234 clean
15235 @endif libelf-bootstrap
15241 .PHONY: check-libelf maybe-check-libelf
15242 maybe-check-libelf:
15243 @if libelf
15244 maybe-check-libelf: check-libelf
15246 check-libelf:
15247 @: $(MAKE); $(unstage)
15248 @r=`${PWD_COMMAND}`; export r; \
15249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15250 $(HOST_EXPORTS) \
15251 (cd $(HOST_SUBDIR)/libelf && \
15252 $(MAKE) $(FLAGS_TO_PASS) check)
15254 @endif libelf
15256 .PHONY: install-libelf maybe-install-libelf
15257 maybe-install-libelf:
15258 @if libelf
15259 maybe-install-libelf: install-libelf
15261 install-libelf:
15263 @endif libelf
15265 .PHONY: install-strip-libelf maybe-install-strip-libelf
15266 maybe-install-strip-libelf:
15267 @if libelf
15268 maybe-install-strip-libelf: install-strip-libelf
15270 install-strip-libelf:
15272 @endif libelf
15274 # Other targets (info, dvi, pdf, etc.)
15276 .PHONY: maybe-info-libelf info-libelf
15277 maybe-info-libelf:
15278 @if libelf
15279 maybe-info-libelf: info-libelf
15281 info-libelf: \
15282 configure-libelf
15283 @[ -f ./libelf/Makefile ] || exit 0; \
15284 r=`${PWD_COMMAND}`; export r; \
15285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15286 $(HOST_EXPORTS) \
15287 for flag in $(EXTRA_HOST_FLAGS) ; do \
15288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15289 done; \
15290 echo "Doing info in libelf" ; \
15291 (cd $(HOST_SUBDIR)/libelf && \
15292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15294 "RANLIB=$${RANLIB}" \
15295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15296 info) \
15297 || exit 1
15299 @endif libelf
15301 .PHONY: maybe-dvi-libelf dvi-libelf
15302 maybe-dvi-libelf:
15303 @if libelf
15304 maybe-dvi-libelf: dvi-libelf
15306 dvi-libelf: \
15307 configure-libelf
15308 @[ -f ./libelf/Makefile ] || exit 0; \
15309 r=`${PWD_COMMAND}`; export r; \
15310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15311 $(HOST_EXPORTS) \
15312 for flag in $(EXTRA_HOST_FLAGS) ; do \
15313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15314 done; \
15315 echo "Doing dvi in libelf" ; \
15316 (cd $(HOST_SUBDIR)/libelf && \
15317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15319 "RANLIB=$${RANLIB}" \
15320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15321 dvi) \
15322 || exit 1
15324 @endif libelf
15326 .PHONY: maybe-pdf-libelf pdf-libelf
15327 maybe-pdf-libelf:
15328 @if libelf
15329 maybe-pdf-libelf: pdf-libelf
15331 pdf-libelf: \
15332 configure-libelf
15333 @[ -f ./libelf/Makefile ] || exit 0; \
15334 r=`${PWD_COMMAND}`; export r; \
15335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15336 $(HOST_EXPORTS) \
15337 for flag in $(EXTRA_HOST_FLAGS) ; do \
15338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15339 done; \
15340 echo "Doing pdf in libelf" ; \
15341 (cd $(HOST_SUBDIR)/libelf && \
15342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15344 "RANLIB=$${RANLIB}" \
15345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15346 pdf) \
15347 || exit 1
15349 @endif libelf
15351 .PHONY: maybe-html-libelf html-libelf
15352 maybe-html-libelf:
15353 @if libelf
15354 maybe-html-libelf: html-libelf
15356 html-libelf: \
15357 configure-libelf
15358 @[ -f ./libelf/Makefile ] || exit 0; \
15359 r=`${PWD_COMMAND}`; export r; \
15360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15361 $(HOST_EXPORTS) \
15362 for flag in $(EXTRA_HOST_FLAGS) ; do \
15363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15364 done; \
15365 echo "Doing html in libelf" ; \
15366 (cd $(HOST_SUBDIR)/libelf && \
15367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15369 "RANLIB=$${RANLIB}" \
15370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15371 html) \
15372 || exit 1
15374 @endif libelf
15376 .PHONY: maybe-TAGS-libelf TAGS-libelf
15377 maybe-TAGS-libelf:
15378 @if libelf
15379 maybe-TAGS-libelf: TAGS-libelf
15381 TAGS-libelf: \
15382 configure-libelf
15383 @[ -f ./libelf/Makefile ] || exit 0; \
15384 r=`${PWD_COMMAND}`; export r; \
15385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15386 $(HOST_EXPORTS) \
15387 for flag in $(EXTRA_HOST_FLAGS) ; do \
15388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15389 done; \
15390 echo "Doing TAGS in libelf" ; \
15391 (cd $(HOST_SUBDIR)/libelf && \
15392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15394 "RANLIB=$${RANLIB}" \
15395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15396 TAGS) \
15397 || exit 1
15399 @endif libelf
15401 .PHONY: maybe-install-info-libelf install-info-libelf
15402 maybe-install-info-libelf:
15403 @if libelf
15404 maybe-install-info-libelf: install-info-libelf
15406 install-info-libelf: \
15407 configure-libelf \
15408 info-libelf
15409 @[ -f ./libelf/Makefile ] || exit 0; \
15410 r=`${PWD_COMMAND}`; export r; \
15411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15412 $(HOST_EXPORTS) \
15413 for flag in $(EXTRA_HOST_FLAGS) ; do \
15414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15415 done; \
15416 echo "Doing install-info in libelf" ; \
15417 (cd $(HOST_SUBDIR)/libelf && \
15418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15420 "RANLIB=$${RANLIB}" \
15421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15422 install-info) \
15423 || exit 1
15425 @endif libelf
15427 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
15428 maybe-install-pdf-libelf:
15429 @if libelf
15430 maybe-install-pdf-libelf: install-pdf-libelf
15432 install-pdf-libelf: \
15433 configure-libelf \
15434 pdf-libelf
15435 @[ -f ./libelf/Makefile ] || exit 0; \
15436 r=`${PWD_COMMAND}`; export r; \
15437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15438 $(HOST_EXPORTS) \
15439 for flag in $(EXTRA_HOST_FLAGS) ; do \
15440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15441 done; \
15442 echo "Doing install-pdf in libelf" ; \
15443 (cd $(HOST_SUBDIR)/libelf && \
15444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15446 "RANLIB=$${RANLIB}" \
15447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15448 install-pdf) \
15449 || exit 1
15451 @endif libelf
15453 .PHONY: maybe-install-html-libelf install-html-libelf
15454 maybe-install-html-libelf:
15455 @if libelf
15456 maybe-install-html-libelf: install-html-libelf
15458 install-html-libelf: \
15459 configure-libelf \
15460 html-libelf
15461 @[ -f ./libelf/Makefile ] || exit 0; \
15462 r=`${PWD_COMMAND}`; export r; \
15463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15464 $(HOST_EXPORTS) \
15465 for flag in $(EXTRA_HOST_FLAGS) ; do \
15466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15467 done; \
15468 echo "Doing install-html in libelf" ; \
15469 (cd $(HOST_SUBDIR)/libelf && \
15470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15472 "RANLIB=$${RANLIB}" \
15473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15474 install-html) \
15475 || exit 1
15477 @endif libelf
15479 .PHONY: maybe-installcheck-libelf installcheck-libelf
15480 maybe-installcheck-libelf:
15481 @if libelf
15482 maybe-installcheck-libelf: installcheck-libelf
15484 installcheck-libelf: \
15485 configure-libelf
15486 @[ -f ./libelf/Makefile ] || exit 0; \
15487 r=`${PWD_COMMAND}`; export r; \
15488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15489 $(HOST_EXPORTS) \
15490 for flag in $(EXTRA_HOST_FLAGS) ; do \
15491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15492 done; \
15493 echo "Doing installcheck in libelf" ; \
15494 (cd $(HOST_SUBDIR)/libelf && \
15495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15497 "RANLIB=$${RANLIB}" \
15498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15499 installcheck) \
15500 || exit 1
15502 @endif libelf
15504 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
15505 maybe-mostlyclean-libelf:
15506 @if libelf
15507 maybe-mostlyclean-libelf: mostlyclean-libelf
15509 mostlyclean-libelf:
15510 @[ -f ./libelf/Makefile ] || exit 0; \
15511 r=`${PWD_COMMAND}`; export r; \
15512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15513 $(HOST_EXPORTS) \
15514 for flag in $(EXTRA_HOST_FLAGS) ; do \
15515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15516 done; \
15517 echo "Doing mostlyclean in libelf" ; \
15518 (cd $(HOST_SUBDIR)/libelf && \
15519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15521 "RANLIB=$${RANLIB}" \
15522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15523 mostlyclean) \
15524 || exit 1
15526 @endif libelf
15528 .PHONY: maybe-clean-libelf clean-libelf
15529 maybe-clean-libelf:
15530 @if libelf
15531 maybe-clean-libelf: clean-libelf
15533 clean-libelf:
15534 @[ -f ./libelf/Makefile ] || exit 0; \
15535 r=`${PWD_COMMAND}`; export r; \
15536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15537 $(HOST_EXPORTS) \
15538 for flag in $(EXTRA_HOST_FLAGS) ; do \
15539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15540 done; \
15541 echo "Doing clean in libelf" ; \
15542 (cd $(HOST_SUBDIR)/libelf && \
15543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15545 "RANLIB=$${RANLIB}" \
15546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15547 clean) \
15548 || exit 1
15550 @endif libelf
15552 .PHONY: maybe-distclean-libelf distclean-libelf
15553 maybe-distclean-libelf:
15554 @if libelf
15555 maybe-distclean-libelf: distclean-libelf
15557 distclean-libelf:
15558 @[ -f ./libelf/Makefile ] || exit 0; \
15559 r=`${PWD_COMMAND}`; export r; \
15560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15561 $(HOST_EXPORTS) \
15562 for flag in $(EXTRA_HOST_FLAGS) ; do \
15563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15564 done; \
15565 echo "Doing distclean in libelf" ; \
15566 (cd $(HOST_SUBDIR)/libelf && \
15567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15569 "RANLIB=$${RANLIB}" \
15570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15571 distclean) \
15572 || exit 1
15574 @endif libelf
15576 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
15577 maybe-maintainer-clean-libelf:
15578 @if libelf
15579 maybe-maintainer-clean-libelf: maintainer-clean-libelf
15581 maintainer-clean-libelf:
15582 @[ -f ./libelf/Makefile ] || exit 0; \
15583 r=`${PWD_COMMAND}`; export r; \
15584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15585 $(HOST_EXPORTS) \
15586 for flag in $(EXTRA_HOST_FLAGS) ; do \
15587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15588 done; \
15589 echo "Doing maintainer-clean in libelf" ; \
15590 (cd $(HOST_SUBDIR)/libelf && \
15591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15593 "RANLIB=$${RANLIB}" \
15594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15595 maintainer-clean) \
15596 || exit 1
15598 @endif libelf
15602 .PHONY: configure-gold maybe-configure-gold
15603 maybe-configure-gold:
15604 @if gcc-bootstrap
15605 configure-gold: stage_current
15606 @endif gcc-bootstrap
15607 @if gold
15608 maybe-configure-gold: configure-gold
15609 configure-gold:
15610 @r=`${PWD_COMMAND}`; export r; \
15611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15612 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15613 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15614 $(HOST_EXPORTS) \
15615 echo Configuring in $(HOST_SUBDIR)/gold; \
15616 cd "$(HOST_SUBDIR)/gold" || exit 1; \
15617 case $(srcdir) in \
15618 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15619 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15620 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15621 esac; \
15622 srcdiroption="--srcdir=$${topdir}/gold"; \
15623 libsrcdir="$$s/gold"; \
15624 $(SHELL) $${libsrcdir}/configure \
15625 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15626 --target=${target_alias} $${srcdiroption} \
15627 || exit 1
15628 @endif gold
15632 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
15633 maybe-configure-stage1-gold:
15634 @if gold-bootstrap
15635 maybe-configure-stage1-gold: configure-stage1-gold
15636 configure-stage1-gold:
15637 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15638 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15639 @r=`${PWD_COMMAND}`; export r; \
15640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15641 TFLAGS="$(STAGE1_TFLAGS)"; \
15642 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15643 $(HOST_EXPORTS) \
15644 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15645 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15646 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15647 echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \
15648 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15649 cd $(HOST_SUBDIR)/gold || exit 1; \
15650 case $(srcdir) in \
15651 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15652 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15653 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15654 esac; \
15655 srcdiroption="--srcdir=$${topdir}/gold"; \
15656 libsrcdir="$$s/gold"; \
15657 $(SHELL) $${libsrcdir}/configure \
15658 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15659 --target=${target_alias} $${srcdiroption} \
15660 $(STAGE1_CONFIGURE_FLAGS)
15661 @endif gold-bootstrap
15663 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
15664 maybe-configure-stage2-gold:
15665 @if gold-bootstrap
15666 maybe-configure-stage2-gold: configure-stage2-gold
15667 configure-stage2-gold:
15668 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15669 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15670 @r=`${PWD_COMMAND}`; export r; \
15671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15672 TFLAGS="$(STAGE2_TFLAGS)"; \
15673 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15674 $(HOST_EXPORTS) \
15675 $(POSTSTAGE1_HOST_EXPORTS) \
15676 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15677 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15678 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15679 echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \
15680 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15681 cd $(HOST_SUBDIR)/gold || exit 1; \
15682 case $(srcdir) in \
15683 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15684 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15685 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15686 esac; \
15687 srcdiroption="--srcdir=$${topdir}/gold"; \
15688 libsrcdir="$$s/gold"; \
15689 $(SHELL) $${libsrcdir}/configure \
15690 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15691 --target=${target_alias} $${srcdiroption} \
15692 --with-build-libsubdir=$(HOST_SUBDIR) \
15693 $(STAGE2_CONFIGURE_FLAGS)
15694 @endif gold-bootstrap
15696 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
15697 maybe-configure-stage3-gold:
15698 @if gold-bootstrap
15699 maybe-configure-stage3-gold: configure-stage3-gold
15700 configure-stage3-gold:
15701 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15702 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15703 @r=`${PWD_COMMAND}`; export r; \
15704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15705 TFLAGS="$(STAGE3_TFLAGS)"; \
15706 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15707 $(HOST_EXPORTS) \
15708 $(POSTSTAGE1_HOST_EXPORTS) \
15709 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15710 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15711 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15712 echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \
15713 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15714 cd $(HOST_SUBDIR)/gold || exit 1; \
15715 case $(srcdir) in \
15716 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15717 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15718 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15719 esac; \
15720 srcdiroption="--srcdir=$${topdir}/gold"; \
15721 libsrcdir="$$s/gold"; \
15722 $(SHELL) $${libsrcdir}/configure \
15723 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15724 --target=${target_alias} $${srcdiroption} \
15725 --with-build-libsubdir=$(HOST_SUBDIR) \
15726 $(STAGE3_CONFIGURE_FLAGS)
15727 @endif gold-bootstrap
15729 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
15730 maybe-configure-stage4-gold:
15731 @if gold-bootstrap
15732 maybe-configure-stage4-gold: configure-stage4-gold
15733 configure-stage4-gold:
15734 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15735 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15736 @r=`${PWD_COMMAND}`; export r; \
15737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15738 TFLAGS="$(STAGE4_TFLAGS)"; \
15739 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15740 $(HOST_EXPORTS) \
15741 $(POSTSTAGE1_HOST_EXPORTS) \
15742 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15743 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15744 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15745 echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \
15746 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15747 cd $(HOST_SUBDIR)/gold || exit 1; \
15748 case $(srcdir) in \
15749 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15750 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15751 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15752 esac; \
15753 srcdiroption="--srcdir=$${topdir}/gold"; \
15754 libsrcdir="$$s/gold"; \
15755 $(SHELL) $${libsrcdir}/configure \
15756 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15757 --target=${target_alias} $${srcdiroption} \
15758 --with-build-libsubdir=$(HOST_SUBDIR) \
15759 $(STAGE4_CONFIGURE_FLAGS)
15760 @endif gold-bootstrap
15762 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
15763 maybe-configure-stageprofile-gold:
15764 @if gold-bootstrap
15765 maybe-configure-stageprofile-gold: configure-stageprofile-gold
15766 configure-stageprofile-gold:
15767 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15768 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15769 @r=`${PWD_COMMAND}`; export r; \
15770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15771 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15772 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15773 $(HOST_EXPORTS) \
15774 $(POSTSTAGE1_HOST_EXPORTS) \
15775 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15776 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15777 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15778 echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \
15779 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15780 cd $(HOST_SUBDIR)/gold || exit 1; \
15781 case $(srcdir) in \
15782 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15783 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15784 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15785 esac; \
15786 srcdiroption="--srcdir=$${topdir}/gold"; \
15787 libsrcdir="$$s/gold"; \
15788 $(SHELL) $${libsrcdir}/configure \
15789 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15790 --target=${target_alias} $${srcdiroption} \
15791 --with-build-libsubdir=$(HOST_SUBDIR) \
15792 $(STAGEprofile_CONFIGURE_FLAGS)
15793 @endif gold-bootstrap
15795 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
15796 maybe-configure-stagefeedback-gold:
15797 @if gold-bootstrap
15798 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
15799 configure-stagefeedback-gold:
15800 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15801 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15802 @r=`${PWD_COMMAND}`; export r; \
15803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15804 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15805 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15806 $(HOST_EXPORTS) \
15807 $(POSTSTAGE1_HOST_EXPORTS) \
15808 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15809 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15810 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15811 echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \
15812 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15813 cd $(HOST_SUBDIR)/gold || exit 1; \
15814 case $(srcdir) in \
15815 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15816 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15817 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15818 esac; \
15819 srcdiroption="--srcdir=$${topdir}/gold"; \
15820 libsrcdir="$$s/gold"; \
15821 $(SHELL) $${libsrcdir}/configure \
15822 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15823 --target=${target_alias} $${srcdiroption} \
15824 --with-build-libsubdir=$(HOST_SUBDIR) \
15825 $(STAGEfeedback_CONFIGURE_FLAGS)
15826 @endif gold-bootstrap
15832 .PHONY: all-gold maybe-all-gold
15833 maybe-all-gold:
15834 @if gcc-bootstrap
15835 all-gold: stage_current
15836 @endif gcc-bootstrap
15837 @if gold
15838 TARGET-gold=all
15839 maybe-all-gold: all-gold
15840 all-gold: configure-gold
15841 @r=`${PWD_COMMAND}`; export r; \
15842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15843 $(HOST_EXPORTS) \
15844 (cd $(HOST_SUBDIR)/gold && \
15845 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
15846 $(TARGET-gold))
15847 @endif gold
15851 .PHONY: all-stage1-gold maybe-all-stage1-gold
15852 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
15853 maybe-all-stage1-gold:
15854 maybe-clean-stage1-gold:
15855 @if gold-bootstrap
15856 maybe-all-stage1-gold: all-stage1-gold
15857 all-stage1: all-stage1-gold
15858 TARGET-stage1-gold = $(TARGET-gold)
15859 all-stage1-gold: configure-stage1-gold
15860 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15861 @r=`${PWD_COMMAND}`; export r; \
15862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15863 TFLAGS="$(STAGE1_TFLAGS)"; \
15864 $(HOST_EXPORTS) \
15865 cd $(HOST_SUBDIR)/gold && \
15866 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15867 CFLAGS="$(STAGE1_CFLAGS)" \
15868 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15869 LIBCFLAGS="$(LIBCFLAGS)" \
15870 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15871 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15872 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15873 $(EXTRA_HOST_FLAGS) \
15874 TFLAGS="$(STAGE1_TFLAGS)" \
15875 $(TARGET-stage1-gold)
15877 maybe-clean-stage1-gold: clean-stage1-gold
15878 clean-stage1: clean-stage1-gold
15879 clean-stage1-gold:
15880 @if [ $(current_stage) = stage1 ]; then \
15881 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15882 else \
15883 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
15884 $(MAKE) stage1-start; \
15885 fi; \
15886 cd $(HOST_SUBDIR)/gold && \
15887 $(MAKE) $(EXTRA_HOST_FLAGS) \
15888 clean
15889 @endif gold-bootstrap
15892 .PHONY: all-stage2-gold maybe-all-stage2-gold
15893 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
15894 maybe-all-stage2-gold:
15895 maybe-clean-stage2-gold:
15896 @if gold-bootstrap
15897 maybe-all-stage2-gold: all-stage2-gold
15898 all-stage2: all-stage2-gold
15899 TARGET-stage2-gold = $(TARGET-gold)
15900 all-stage2-gold: configure-stage2-gold
15901 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15902 @r=`${PWD_COMMAND}`; export r; \
15903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15904 TFLAGS="$(STAGE2_TFLAGS)"; \
15905 $(HOST_EXPORTS) \
15906 $(POSTSTAGE1_HOST_EXPORTS) \
15907 cd $(HOST_SUBDIR)/gold && \
15908 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15909 CFLAGS="$(STAGE2_CFLAGS)" \
15910 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15911 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15912 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15913 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15914 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15915 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15916 TFLAGS="$(STAGE2_TFLAGS)" \
15917 $(TARGET-stage2-gold)
15919 maybe-clean-stage2-gold: clean-stage2-gold
15920 clean-stage2: clean-stage2-gold
15921 clean-stage2-gold:
15922 @if [ $(current_stage) = stage2 ]; then \
15923 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15924 else \
15925 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
15926 $(MAKE) stage2-start; \
15927 fi; \
15928 cd $(HOST_SUBDIR)/gold && \
15929 $(MAKE) $(EXTRA_HOST_FLAGS) \
15930 $(POSTSTAGE1_FLAGS_TO_PASS) \
15931 clean
15932 @endif gold-bootstrap
15935 .PHONY: all-stage3-gold maybe-all-stage3-gold
15936 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
15937 maybe-all-stage3-gold:
15938 maybe-clean-stage3-gold:
15939 @if gold-bootstrap
15940 maybe-all-stage3-gold: all-stage3-gold
15941 all-stage3: all-stage3-gold
15942 TARGET-stage3-gold = $(TARGET-gold)
15943 all-stage3-gold: configure-stage3-gold
15944 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15945 @r=`${PWD_COMMAND}`; export r; \
15946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15947 TFLAGS="$(STAGE3_TFLAGS)"; \
15948 $(HOST_EXPORTS) \
15949 $(POSTSTAGE1_HOST_EXPORTS) \
15950 cd $(HOST_SUBDIR)/gold && \
15951 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15952 CFLAGS="$(STAGE3_CFLAGS)" \
15953 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15954 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15955 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15956 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15957 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15958 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15959 TFLAGS="$(STAGE3_TFLAGS)" \
15960 $(TARGET-stage3-gold)
15962 maybe-clean-stage3-gold: clean-stage3-gold
15963 clean-stage3: clean-stage3-gold
15964 clean-stage3-gold:
15965 @if [ $(current_stage) = stage3 ]; then \
15966 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15967 else \
15968 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
15969 $(MAKE) stage3-start; \
15970 fi; \
15971 cd $(HOST_SUBDIR)/gold && \
15972 $(MAKE) $(EXTRA_HOST_FLAGS) \
15973 $(POSTSTAGE1_FLAGS_TO_PASS) \
15974 clean
15975 @endif gold-bootstrap
15978 .PHONY: all-stage4-gold maybe-all-stage4-gold
15979 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
15980 maybe-all-stage4-gold:
15981 maybe-clean-stage4-gold:
15982 @if gold-bootstrap
15983 maybe-all-stage4-gold: all-stage4-gold
15984 all-stage4: all-stage4-gold
15985 TARGET-stage4-gold = $(TARGET-gold)
15986 all-stage4-gold: configure-stage4-gold
15987 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15988 @r=`${PWD_COMMAND}`; export r; \
15989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15990 TFLAGS="$(STAGE4_TFLAGS)"; \
15991 $(HOST_EXPORTS) \
15992 $(POSTSTAGE1_HOST_EXPORTS) \
15993 cd $(HOST_SUBDIR)/gold && \
15994 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15995 CFLAGS="$(STAGE4_CFLAGS)" \
15996 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15997 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15998 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15999 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16000 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16001 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16002 TFLAGS="$(STAGE4_TFLAGS)" \
16003 $(TARGET-stage4-gold)
16005 maybe-clean-stage4-gold: clean-stage4-gold
16006 clean-stage4: clean-stage4-gold
16007 clean-stage4-gold:
16008 @if [ $(current_stage) = stage4 ]; then \
16009 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16010 else \
16011 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
16012 $(MAKE) stage4-start; \
16013 fi; \
16014 cd $(HOST_SUBDIR)/gold && \
16015 $(MAKE) $(EXTRA_HOST_FLAGS) \
16016 $(POSTSTAGE1_FLAGS_TO_PASS) \
16017 clean
16018 @endif gold-bootstrap
16021 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
16022 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
16023 maybe-all-stageprofile-gold:
16024 maybe-clean-stageprofile-gold:
16025 @if gold-bootstrap
16026 maybe-all-stageprofile-gold: all-stageprofile-gold
16027 all-stageprofile: all-stageprofile-gold
16028 TARGET-stageprofile-gold = $(TARGET-gold)
16029 all-stageprofile-gold: configure-stageprofile-gold
16030 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16031 @r=`${PWD_COMMAND}`; export r; \
16032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16033 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16034 $(HOST_EXPORTS) \
16035 $(POSTSTAGE1_HOST_EXPORTS) \
16036 cd $(HOST_SUBDIR)/gold && \
16037 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16038 CFLAGS="$(STAGEprofile_CFLAGS)" \
16039 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16040 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16041 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16042 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16043 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16044 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16045 TFLAGS="$(STAGEprofile_TFLAGS)" \
16046 $(TARGET-stageprofile-gold)
16048 maybe-clean-stageprofile-gold: clean-stageprofile-gold
16049 clean-stageprofile: clean-stageprofile-gold
16050 clean-stageprofile-gold:
16051 @if [ $(current_stage) = stageprofile ]; then \
16052 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16053 else \
16054 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
16055 $(MAKE) stageprofile-start; \
16056 fi; \
16057 cd $(HOST_SUBDIR)/gold && \
16058 $(MAKE) $(EXTRA_HOST_FLAGS) \
16059 $(POSTSTAGE1_FLAGS_TO_PASS) \
16060 clean
16061 @endif gold-bootstrap
16064 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
16065 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
16066 maybe-all-stagefeedback-gold:
16067 maybe-clean-stagefeedback-gold:
16068 @if gold-bootstrap
16069 maybe-all-stagefeedback-gold: all-stagefeedback-gold
16070 all-stagefeedback: all-stagefeedback-gold
16071 TARGET-stagefeedback-gold = $(TARGET-gold)
16072 all-stagefeedback-gold: configure-stagefeedback-gold
16073 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16074 @r=`${PWD_COMMAND}`; export r; \
16075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16076 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16077 $(HOST_EXPORTS) \
16078 $(POSTSTAGE1_HOST_EXPORTS) \
16079 cd $(HOST_SUBDIR)/gold && \
16080 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16081 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16082 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16083 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16084 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16085 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16086 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16087 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16088 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16089 $(TARGET-stagefeedback-gold)
16091 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
16092 clean-stagefeedback: clean-stagefeedback-gold
16093 clean-stagefeedback-gold:
16094 @if [ $(current_stage) = stagefeedback ]; then \
16095 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16096 else \
16097 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
16098 $(MAKE) stagefeedback-start; \
16099 fi; \
16100 cd $(HOST_SUBDIR)/gold && \
16101 $(MAKE) $(EXTRA_HOST_FLAGS) \
16102 $(POSTSTAGE1_FLAGS_TO_PASS) \
16103 clean
16104 @endif gold-bootstrap
16110 .PHONY: check-gold maybe-check-gold
16111 maybe-check-gold:
16112 @if gold
16113 maybe-check-gold: check-gold
16115 check-gold:
16116 @: $(MAKE); $(unstage)
16117 @r=`${PWD_COMMAND}`; export r; \
16118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16119 $(HOST_EXPORTS) \
16120 (cd $(HOST_SUBDIR)/gold && \
16121 $(MAKE) $(FLAGS_TO_PASS) check)
16123 @endif gold
16125 .PHONY: install-gold maybe-install-gold
16126 maybe-install-gold:
16127 @if gold
16128 maybe-install-gold: install-gold
16130 install-gold: installdirs
16131 @: $(MAKE); $(unstage)
16132 @r=`${PWD_COMMAND}`; export r; \
16133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16134 $(HOST_EXPORTS) \
16135 (cd $(HOST_SUBDIR)/gold && \
16136 $(MAKE) $(FLAGS_TO_PASS) install)
16138 @endif gold
16140 .PHONY: install-strip-gold maybe-install-strip-gold
16141 maybe-install-strip-gold:
16142 @if gold
16143 maybe-install-strip-gold: install-strip-gold
16145 install-strip-gold: installdirs
16146 @: $(MAKE); $(unstage)
16147 @r=`${PWD_COMMAND}`; export r; \
16148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16149 $(HOST_EXPORTS) \
16150 (cd $(HOST_SUBDIR)/gold && \
16151 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16153 @endif gold
16155 # Other targets (info, dvi, pdf, etc.)
16157 .PHONY: maybe-info-gold info-gold
16158 maybe-info-gold:
16159 @if gold
16160 maybe-info-gold: info-gold
16162 info-gold: \
16163 configure-gold
16164 @[ -f ./gold/Makefile ] || exit 0; \
16165 r=`${PWD_COMMAND}`; export r; \
16166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16167 $(HOST_EXPORTS) \
16168 for flag in $(EXTRA_HOST_FLAGS) ; do \
16169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16170 done; \
16171 echo "Doing info in gold" ; \
16172 (cd $(HOST_SUBDIR)/gold && \
16173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16175 "RANLIB=$${RANLIB}" \
16176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16177 info) \
16178 || exit 1
16180 @endif gold
16182 .PHONY: maybe-dvi-gold dvi-gold
16183 maybe-dvi-gold:
16184 @if gold
16185 maybe-dvi-gold: dvi-gold
16187 dvi-gold: \
16188 configure-gold
16189 @[ -f ./gold/Makefile ] || exit 0; \
16190 r=`${PWD_COMMAND}`; export r; \
16191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16192 $(HOST_EXPORTS) \
16193 for flag in $(EXTRA_HOST_FLAGS) ; do \
16194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16195 done; \
16196 echo "Doing dvi in gold" ; \
16197 (cd $(HOST_SUBDIR)/gold && \
16198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16200 "RANLIB=$${RANLIB}" \
16201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16202 dvi) \
16203 || exit 1
16205 @endif gold
16207 .PHONY: maybe-pdf-gold pdf-gold
16208 maybe-pdf-gold:
16209 @if gold
16210 maybe-pdf-gold: pdf-gold
16212 pdf-gold: \
16213 configure-gold
16214 @[ -f ./gold/Makefile ] || exit 0; \
16215 r=`${PWD_COMMAND}`; export r; \
16216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16217 $(HOST_EXPORTS) \
16218 for flag in $(EXTRA_HOST_FLAGS) ; do \
16219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16220 done; \
16221 echo "Doing pdf in gold" ; \
16222 (cd $(HOST_SUBDIR)/gold && \
16223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16225 "RANLIB=$${RANLIB}" \
16226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16227 pdf) \
16228 || exit 1
16230 @endif gold
16232 .PHONY: maybe-html-gold html-gold
16233 maybe-html-gold:
16234 @if gold
16235 maybe-html-gold: html-gold
16237 html-gold: \
16238 configure-gold
16239 @[ -f ./gold/Makefile ] || exit 0; \
16240 r=`${PWD_COMMAND}`; export r; \
16241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16242 $(HOST_EXPORTS) \
16243 for flag in $(EXTRA_HOST_FLAGS) ; do \
16244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16245 done; \
16246 echo "Doing html in gold" ; \
16247 (cd $(HOST_SUBDIR)/gold && \
16248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16250 "RANLIB=$${RANLIB}" \
16251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16252 html) \
16253 || exit 1
16255 @endif gold
16257 .PHONY: maybe-TAGS-gold TAGS-gold
16258 maybe-TAGS-gold:
16259 @if gold
16260 maybe-TAGS-gold: TAGS-gold
16262 TAGS-gold: \
16263 configure-gold
16264 @[ -f ./gold/Makefile ] || exit 0; \
16265 r=`${PWD_COMMAND}`; export r; \
16266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16267 $(HOST_EXPORTS) \
16268 for flag in $(EXTRA_HOST_FLAGS) ; do \
16269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16270 done; \
16271 echo "Doing TAGS in gold" ; \
16272 (cd $(HOST_SUBDIR)/gold && \
16273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16275 "RANLIB=$${RANLIB}" \
16276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16277 TAGS) \
16278 || exit 1
16280 @endif gold
16282 .PHONY: maybe-install-info-gold install-info-gold
16283 maybe-install-info-gold:
16284 @if gold
16285 maybe-install-info-gold: install-info-gold
16287 install-info-gold: \
16288 configure-gold \
16289 info-gold
16290 @[ -f ./gold/Makefile ] || exit 0; \
16291 r=`${PWD_COMMAND}`; export r; \
16292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16293 $(HOST_EXPORTS) \
16294 for flag in $(EXTRA_HOST_FLAGS) ; do \
16295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16296 done; \
16297 echo "Doing install-info in gold" ; \
16298 (cd $(HOST_SUBDIR)/gold && \
16299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16301 "RANLIB=$${RANLIB}" \
16302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16303 install-info) \
16304 || exit 1
16306 @endif gold
16308 .PHONY: maybe-install-pdf-gold install-pdf-gold
16309 maybe-install-pdf-gold:
16310 @if gold
16311 maybe-install-pdf-gold: install-pdf-gold
16313 install-pdf-gold: \
16314 configure-gold \
16315 pdf-gold
16316 @[ -f ./gold/Makefile ] || exit 0; \
16317 r=`${PWD_COMMAND}`; export r; \
16318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16319 $(HOST_EXPORTS) \
16320 for flag in $(EXTRA_HOST_FLAGS) ; do \
16321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16322 done; \
16323 echo "Doing install-pdf in gold" ; \
16324 (cd $(HOST_SUBDIR)/gold && \
16325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16327 "RANLIB=$${RANLIB}" \
16328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16329 install-pdf) \
16330 || exit 1
16332 @endif gold
16334 .PHONY: maybe-install-html-gold install-html-gold
16335 maybe-install-html-gold:
16336 @if gold
16337 maybe-install-html-gold: install-html-gold
16339 install-html-gold: \
16340 configure-gold \
16341 html-gold
16342 @[ -f ./gold/Makefile ] || exit 0; \
16343 r=`${PWD_COMMAND}`; export r; \
16344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16345 $(HOST_EXPORTS) \
16346 for flag in $(EXTRA_HOST_FLAGS) ; do \
16347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16348 done; \
16349 echo "Doing install-html in gold" ; \
16350 (cd $(HOST_SUBDIR)/gold && \
16351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16353 "RANLIB=$${RANLIB}" \
16354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16355 install-html) \
16356 || exit 1
16358 @endif gold
16360 .PHONY: maybe-installcheck-gold installcheck-gold
16361 maybe-installcheck-gold:
16362 @if gold
16363 maybe-installcheck-gold: installcheck-gold
16365 installcheck-gold: \
16366 configure-gold
16367 @[ -f ./gold/Makefile ] || exit 0; \
16368 r=`${PWD_COMMAND}`; export r; \
16369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16370 $(HOST_EXPORTS) \
16371 for flag in $(EXTRA_HOST_FLAGS) ; do \
16372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16373 done; \
16374 echo "Doing installcheck in gold" ; \
16375 (cd $(HOST_SUBDIR)/gold && \
16376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16378 "RANLIB=$${RANLIB}" \
16379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16380 installcheck) \
16381 || exit 1
16383 @endif gold
16385 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
16386 maybe-mostlyclean-gold:
16387 @if gold
16388 maybe-mostlyclean-gold: mostlyclean-gold
16390 mostlyclean-gold:
16391 @[ -f ./gold/Makefile ] || exit 0; \
16392 r=`${PWD_COMMAND}`; export r; \
16393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16394 $(HOST_EXPORTS) \
16395 for flag in $(EXTRA_HOST_FLAGS) ; do \
16396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16397 done; \
16398 echo "Doing mostlyclean in gold" ; \
16399 (cd $(HOST_SUBDIR)/gold && \
16400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16402 "RANLIB=$${RANLIB}" \
16403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16404 mostlyclean) \
16405 || exit 1
16407 @endif gold
16409 .PHONY: maybe-clean-gold clean-gold
16410 maybe-clean-gold:
16411 @if gold
16412 maybe-clean-gold: clean-gold
16414 clean-gold:
16415 @[ -f ./gold/Makefile ] || exit 0; \
16416 r=`${PWD_COMMAND}`; export r; \
16417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16418 $(HOST_EXPORTS) \
16419 for flag in $(EXTRA_HOST_FLAGS) ; do \
16420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16421 done; \
16422 echo "Doing clean in gold" ; \
16423 (cd $(HOST_SUBDIR)/gold && \
16424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16426 "RANLIB=$${RANLIB}" \
16427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16428 clean) \
16429 || exit 1
16431 @endif gold
16433 .PHONY: maybe-distclean-gold distclean-gold
16434 maybe-distclean-gold:
16435 @if gold
16436 maybe-distclean-gold: distclean-gold
16438 distclean-gold:
16439 @[ -f ./gold/Makefile ] || exit 0; \
16440 r=`${PWD_COMMAND}`; export r; \
16441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16442 $(HOST_EXPORTS) \
16443 for flag in $(EXTRA_HOST_FLAGS) ; do \
16444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16445 done; \
16446 echo "Doing distclean in gold" ; \
16447 (cd $(HOST_SUBDIR)/gold && \
16448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16450 "RANLIB=$${RANLIB}" \
16451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16452 distclean) \
16453 || exit 1
16455 @endif gold
16457 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
16458 maybe-maintainer-clean-gold:
16459 @if gold
16460 maybe-maintainer-clean-gold: maintainer-clean-gold
16462 maintainer-clean-gold:
16463 @[ -f ./gold/Makefile ] || exit 0; \
16464 r=`${PWD_COMMAND}`; export r; \
16465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16466 $(HOST_EXPORTS) \
16467 for flag in $(EXTRA_HOST_FLAGS) ; do \
16468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16469 done; \
16470 echo "Doing maintainer-clean in gold" ; \
16471 (cd $(HOST_SUBDIR)/gold && \
16472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16474 "RANLIB=$${RANLIB}" \
16475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16476 maintainer-clean) \
16477 || exit 1
16479 @endif gold
16483 .PHONY: configure-gprof maybe-configure-gprof
16484 maybe-configure-gprof:
16485 @if gcc-bootstrap
16486 configure-gprof: stage_current
16487 @endif gcc-bootstrap
16488 @if gprof
16489 maybe-configure-gprof: configure-gprof
16490 configure-gprof:
16491 @: $(MAKE); $(unstage)
16492 @r=`${PWD_COMMAND}`; export r; \
16493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16494 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
16495 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
16496 $(HOST_EXPORTS) \
16497 echo Configuring in $(HOST_SUBDIR)/gprof; \
16498 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
16499 case $(srcdir) in \
16500 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16501 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
16502 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16503 esac; \
16504 srcdiroption="--srcdir=$${topdir}/gprof"; \
16505 libsrcdir="$$s/gprof"; \
16506 $(SHELL) $${libsrcdir}/configure \
16507 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16508 --target=${target_alias} $${srcdiroption} \
16509 || exit 1
16510 @endif gprof
16516 .PHONY: all-gprof maybe-all-gprof
16517 maybe-all-gprof:
16518 @if gcc-bootstrap
16519 all-gprof: stage_current
16520 @endif gcc-bootstrap
16521 @if gprof
16522 TARGET-gprof=all
16523 maybe-all-gprof: all-gprof
16524 all-gprof: configure-gprof
16525 @: $(MAKE); $(unstage)
16526 @r=`${PWD_COMMAND}`; export r; \
16527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16528 $(HOST_EXPORTS) \
16529 (cd $(HOST_SUBDIR)/gprof && \
16530 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
16531 $(TARGET-gprof))
16532 @endif gprof
16537 .PHONY: check-gprof maybe-check-gprof
16538 maybe-check-gprof:
16539 @if gprof
16540 maybe-check-gprof: check-gprof
16542 check-gprof:
16543 @: $(MAKE); $(unstage)
16544 @r=`${PWD_COMMAND}`; export r; \
16545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16546 $(HOST_EXPORTS) \
16547 (cd $(HOST_SUBDIR)/gprof && \
16548 $(MAKE) $(FLAGS_TO_PASS) check)
16550 @endif gprof
16552 .PHONY: install-gprof maybe-install-gprof
16553 maybe-install-gprof:
16554 @if gprof
16555 maybe-install-gprof: install-gprof
16557 install-gprof: installdirs
16558 @: $(MAKE); $(unstage)
16559 @r=`${PWD_COMMAND}`; export r; \
16560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16561 $(HOST_EXPORTS) \
16562 (cd $(HOST_SUBDIR)/gprof && \
16563 $(MAKE) $(FLAGS_TO_PASS) install)
16565 @endif gprof
16567 .PHONY: install-strip-gprof maybe-install-strip-gprof
16568 maybe-install-strip-gprof:
16569 @if gprof
16570 maybe-install-strip-gprof: install-strip-gprof
16572 install-strip-gprof: installdirs
16573 @: $(MAKE); $(unstage)
16574 @r=`${PWD_COMMAND}`; export r; \
16575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16576 $(HOST_EXPORTS) \
16577 (cd $(HOST_SUBDIR)/gprof && \
16578 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16580 @endif gprof
16582 # Other targets (info, dvi, pdf, etc.)
16584 .PHONY: maybe-info-gprof info-gprof
16585 maybe-info-gprof:
16586 @if gprof
16587 maybe-info-gprof: info-gprof
16589 info-gprof: \
16590 configure-gprof
16591 @: $(MAKE); $(unstage)
16592 @[ -f ./gprof/Makefile ] || exit 0; \
16593 r=`${PWD_COMMAND}`; export r; \
16594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16595 $(HOST_EXPORTS) \
16596 for flag in $(EXTRA_HOST_FLAGS) ; do \
16597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16598 done; \
16599 echo "Doing info in gprof" ; \
16600 (cd $(HOST_SUBDIR)/gprof && \
16601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16603 "RANLIB=$${RANLIB}" \
16604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16605 info) \
16606 || exit 1
16608 @endif gprof
16610 .PHONY: maybe-dvi-gprof dvi-gprof
16611 maybe-dvi-gprof:
16612 @if gprof
16613 maybe-dvi-gprof: dvi-gprof
16615 dvi-gprof: \
16616 configure-gprof
16617 @: $(MAKE); $(unstage)
16618 @[ -f ./gprof/Makefile ] || exit 0; \
16619 r=`${PWD_COMMAND}`; export r; \
16620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16621 $(HOST_EXPORTS) \
16622 for flag in $(EXTRA_HOST_FLAGS) ; do \
16623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16624 done; \
16625 echo "Doing dvi in gprof" ; \
16626 (cd $(HOST_SUBDIR)/gprof && \
16627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16629 "RANLIB=$${RANLIB}" \
16630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16631 dvi) \
16632 || exit 1
16634 @endif gprof
16636 .PHONY: maybe-pdf-gprof pdf-gprof
16637 maybe-pdf-gprof:
16638 @if gprof
16639 maybe-pdf-gprof: pdf-gprof
16641 pdf-gprof: \
16642 configure-gprof
16643 @: $(MAKE); $(unstage)
16644 @[ -f ./gprof/Makefile ] || exit 0; \
16645 r=`${PWD_COMMAND}`; export r; \
16646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16647 $(HOST_EXPORTS) \
16648 for flag in $(EXTRA_HOST_FLAGS) ; do \
16649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16650 done; \
16651 echo "Doing pdf in gprof" ; \
16652 (cd $(HOST_SUBDIR)/gprof && \
16653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16655 "RANLIB=$${RANLIB}" \
16656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16657 pdf) \
16658 || exit 1
16660 @endif gprof
16662 .PHONY: maybe-html-gprof html-gprof
16663 maybe-html-gprof:
16664 @if gprof
16665 maybe-html-gprof: html-gprof
16667 html-gprof: \
16668 configure-gprof
16669 @: $(MAKE); $(unstage)
16670 @[ -f ./gprof/Makefile ] || exit 0; \
16671 r=`${PWD_COMMAND}`; export r; \
16672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16673 $(HOST_EXPORTS) \
16674 for flag in $(EXTRA_HOST_FLAGS) ; do \
16675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16676 done; \
16677 echo "Doing html in gprof" ; \
16678 (cd $(HOST_SUBDIR)/gprof && \
16679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16681 "RANLIB=$${RANLIB}" \
16682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16683 html) \
16684 || exit 1
16686 @endif gprof
16688 .PHONY: maybe-TAGS-gprof TAGS-gprof
16689 maybe-TAGS-gprof:
16690 @if gprof
16691 maybe-TAGS-gprof: TAGS-gprof
16693 TAGS-gprof: \
16694 configure-gprof
16695 @: $(MAKE); $(unstage)
16696 @[ -f ./gprof/Makefile ] || exit 0; \
16697 r=`${PWD_COMMAND}`; export r; \
16698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16699 $(HOST_EXPORTS) \
16700 for flag in $(EXTRA_HOST_FLAGS) ; do \
16701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16702 done; \
16703 echo "Doing TAGS in gprof" ; \
16704 (cd $(HOST_SUBDIR)/gprof && \
16705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16707 "RANLIB=$${RANLIB}" \
16708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16709 TAGS) \
16710 || exit 1
16712 @endif gprof
16714 .PHONY: maybe-install-info-gprof install-info-gprof
16715 maybe-install-info-gprof:
16716 @if gprof
16717 maybe-install-info-gprof: install-info-gprof
16719 install-info-gprof: \
16720 configure-gprof \
16721 info-gprof
16722 @: $(MAKE); $(unstage)
16723 @[ -f ./gprof/Makefile ] || exit 0; \
16724 r=`${PWD_COMMAND}`; export r; \
16725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16726 $(HOST_EXPORTS) \
16727 for flag in $(EXTRA_HOST_FLAGS) ; do \
16728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16729 done; \
16730 echo "Doing install-info in gprof" ; \
16731 (cd $(HOST_SUBDIR)/gprof && \
16732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16734 "RANLIB=$${RANLIB}" \
16735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16736 install-info) \
16737 || exit 1
16739 @endif gprof
16741 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
16742 maybe-install-pdf-gprof:
16743 @if gprof
16744 maybe-install-pdf-gprof: install-pdf-gprof
16746 install-pdf-gprof: \
16747 configure-gprof \
16748 pdf-gprof
16749 @: $(MAKE); $(unstage)
16750 @[ -f ./gprof/Makefile ] || exit 0; \
16751 r=`${PWD_COMMAND}`; export r; \
16752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16753 $(HOST_EXPORTS) \
16754 for flag in $(EXTRA_HOST_FLAGS) ; do \
16755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16756 done; \
16757 echo "Doing install-pdf in gprof" ; \
16758 (cd $(HOST_SUBDIR)/gprof && \
16759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16761 "RANLIB=$${RANLIB}" \
16762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16763 install-pdf) \
16764 || exit 1
16766 @endif gprof
16768 .PHONY: maybe-install-html-gprof install-html-gprof
16769 maybe-install-html-gprof:
16770 @if gprof
16771 maybe-install-html-gprof: install-html-gprof
16773 install-html-gprof: \
16774 configure-gprof \
16775 html-gprof
16776 @: $(MAKE); $(unstage)
16777 @[ -f ./gprof/Makefile ] || exit 0; \
16778 r=`${PWD_COMMAND}`; export r; \
16779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16780 $(HOST_EXPORTS) \
16781 for flag in $(EXTRA_HOST_FLAGS) ; do \
16782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16783 done; \
16784 echo "Doing install-html in gprof" ; \
16785 (cd $(HOST_SUBDIR)/gprof && \
16786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16788 "RANLIB=$${RANLIB}" \
16789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16790 install-html) \
16791 || exit 1
16793 @endif gprof
16795 .PHONY: maybe-installcheck-gprof installcheck-gprof
16796 maybe-installcheck-gprof:
16797 @if gprof
16798 maybe-installcheck-gprof: installcheck-gprof
16800 installcheck-gprof: \
16801 configure-gprof
16802 @: $(MAKE); $(unstage)
16803 @[ -f ./gprof/Makefile ] || exit 0; \
16804 r=`${PWD_COMMAND}`; export r; \
16805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16806 $(HOST_EXPORTS) \
16807 for flag in $(EXTRA_HOST_FLAGS) ; do \
16808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16809 done; \
16810 echo "Doing installcheck in gprof" ; \
16811 (cd $(HOST_SUBDIR)/gprof && \
16812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16814 "RANLIB=$${RANLIB}" \
16815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16816 installcheck) \
16817 || exit 1
16819 @endif gprof
16821 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
16822 maybe-mostlyclean-gprof:
16823 @if gprof
16824 maybe-mostlyclean-gprof: mostlyclean-gprof
16826 mostlyclean-gprof:
16827 @: $(MAKE); $(unstage)
16828 @[ -f ./gprof/Makefile ] || exit 0; \
16829 r=`${PWD_COMMAND}`; export r; \
16830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16831 $(HOST_EXPORTS) \
16832 for flag in $(EXTRA_HOST_FLAGS) ; do \
16833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16834 done; \
16835 echo "Doing mostlyclean in gprof" ; \
16836 (cd $(HOST_SUBDIR)/gprof && \
16837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16839 "RANLIB=$${RANLIB}" \
16840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16841 mostlyclean) \
16842 || exit 1
16844 @endif gprof
16846 .PHONY: maybe-clean-gprof clean-gprof
16847 maybe-clean-gprof:
16848 @if gprof
16849 maybe-clean-gprof: clean-gprof
16851 clean-gprof:
16852 @: $(MAKE); $(unstage)
16853 @[ -f ./gprof/Makefile ] || exit 0; \
16854 r=`${PWD_COMMAND}`; export r; \
16855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16856 $(HOST_EXPORTS) \
16857 for flag in $(EXTRA_HOST_FLAGS) ; do \
16858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16859 done; \
16860 echo "Doing clean in gprof" ; \
16861 (cd $(HOST_SUBDIR)/gprof && \
16862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16864 "RANLIB=$${RANLIB}" \
16865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16866 clean) \
16867 || exit 1
16869 @endif gprof
16871 .PHONY: maybe-distclean-gprof distclean-gprof
16872 maybe-distclean-gprof:
16873 @if gprof
16874 maybe-distclean-gprof: distclean-gprof
16876 distclean-gprof:
16877 @: $(MAKE); $(unstage)
16878 @[ -f ./gprof/Makefile ] || exit 0; \
16879 r=`${PWD_COMMAND}`; export r; \
16880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16881 $(HOST_EXPORTS) \
16882 for flag in $(EXTRA_HOST_FLAGS) ; do \
16883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16884 done; \
16885 echo "Doing distclean in gprof" ; \
16886 (cd $(HOST_SUBDIR)/gprof && \
16887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16889 "RANLIB=$${RANLIB}" \
16890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16891 distclean) \
16892 || exit 1
16894 @endif gprof
16896 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
16897 maybe-maintainer-clean-gprof:
16898 @if gprof
16899 maybe-maintainer-clean-gprof: maintainer-clean-gprof
16901 maintainer-clean-gprof:
16902 @: $(MAKE); $(unstage)
16903 @[ -f ./gprof/Makefile ] || exit 0; \
16904 r=`${PWD_COMMAND}`; export r; \
16905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16906 $(HOST_EXPORTS) \
16907 for flag in $(EXTRA_HOST_FLAGS) ; do \
16908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16909 done; \
16910 echo "Doing maintainer-clean in gprof" ; \
16911 (cd $(HOST_SUBDIR)/gprof && \
16912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16914 "RANLIB=$${RANLIB}" \
16915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16916 maintainer-clean) \
16917 || exit 1
16919 @endif gprof
16923 .PHONY: configure-intl maybe-configure-intl
16924 maybe-configure-intl:
16925 @if gcc-bootstrap
16926 configure-intl: stage_current
16927 @endif gcc-bootstrap
16928 @if intl
16929 maybe-configure-intl: configure-intl
16930 configure-intl:
16931 @r=`${PWD_COMMAND}`; export r; \
16932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16933 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16934 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16935 $(HOST_EXPORTS) \
16936 echo Configuring in $(HOST_SUBDIR)/intl; \
16937 cd "$(HOST_SUBDIR)/intl" || exit 1; \
16938 case $(srcdir) in \
16939 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16940 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16941 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16942 esac; \
16943 srcdiroption="--srcdir=$${topdir}/intl"; \
16944 libsrcdir="$$s/intl"; \
16945 $(SHELL) $${libsrcdir}/configure \
16946 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16947 --target=${target_alias} $${srcdiroption} \
16948 || exit 1
16949 @endif intl
16953 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
16954 maybe-configure-stage1-intl:
16955 @if intl-bootstrap
16956 maybe-configure-stage1-intl: configure-stage1-intl
16957 configure-stage1-intl:
16958 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16959 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16960 @r=`${PWD_COMMAND}`; export r; \
16961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16962 TFLAGS="$(STAGE1_TFLAGS)"; \
16963 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16964 $(HOST_EXPORTS) \
16965 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16966 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16967 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16968 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
16969 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16970 cd $(HOST_SUBDIR)/intl || exit 1; \
16971 case $(srcdir) in \
16972 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16973 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16974 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16975 esac; \
16976 srcdiroption="--srcdir=$${topdir}/intl"; \
16977 libsrcdir="$$s/intl"; \
16978 $(SHELL) $${libsrcdir}/configure \
16979 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16980 --target=${target_alias} $${srcdiroption} \
16981 $(STAGE1_CONFIGURE_FLAGS)
16982 @endif intl-bootstrap
16984 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
16985 maybe-configure-stage2-intl:
16986 @if intl-bootstrap
16987 maybe-configure-stage2-intl: configure-stage2-intl
16988 configure-stage2-intl:
16989 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16990 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16991 @r=`${PWD_COMMAND}`; export r; \
16992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16993 TFLAGS="$(STAGE2_TFLAGS)"; \
16994 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16995 $(HOST_EXPORTS) \
16996 $(POSTSTAGE1_HOST_EXPORTS) \
16997 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16998 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16999 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
17000 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
17001 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17002 cd $(HOST_SUBDIR)/intl || exit 1; \
17003 case $(srcdir) in \
17004 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17005 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17006 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17007 esac; \
17008 srcdiroption="--srcdir=$${topdir}/intl"; \
17009 libsrcdir="$$s/intl"; \
17010 $(SHELL) $${libsrcdir}/configure \
17011 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17012 --target=${target_alias} $${srcdiroption} \
17013 --with-build-libsubdir=$(HOST_SUBDIR) \
17014 $(STAGE2_CONFIGURE_FLAGS)
17015 @endif intl-bootstrap
17017 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
17018 maybe-configure-stage3-intl:
17019 @if intl-bootstrap
17020 maybe-configure-stage3-intl: configure-stage3-intl
17021 configure-stage3-intl:
17022 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17023 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17024 @r=`${PWD_COMMAND}`; export r; \
17025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17026 TFLAGS="$(STAGE3_TFLAGS)"; \
17027 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17028 $(HOST_EXPORTS) \
17029 $(POSTSTAGE1_HOST_EXPORTS) \
17030 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17031 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
17032 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17033 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
17034 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17035 cd $(HOST_SUBDIR)/intl || exit 1; \
17036 case $(srcdir) in \
17037 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17038 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17039 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17040 esac; \
17041 srcdiroption="--srcdir=$${topdir}/intl"; \
17042 libsrcdir="$$s/intl"; \
17043 $(SHELL) $${libsrcdir}/configure \
17044 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17045 --target=${target_alias} $${srcdiroption} \
17046 --with-build-libsubdir=$(HOST_SUBDIR) \
17047 $(STAGE3_CONFIGURE_FLAGS)
17048 @endif intl-bootstrap
17050 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
17051 maybe-configure-stage4-intl:
17052 @if intl-bootstrap
17053 maybe-configure-stage4-intl: configure-stage4-intl
17054 configure-stage4-intl:
17055 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17056 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17057 @r=`${PWD_COMMAND}`; export r; \
17058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17059 TFLAGS="$(STAGE4_TFLAGS)"; \
17060 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17061 $(HOST_EXPORTS) \
17062 $(POSTSTAGE1_HOST_EXPORTS) \
17063 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17064 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17065 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17066 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
17067 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17068 cd $(HOST_SUBDIR)/intl || exit 1; \
17069 case $(srcdir) in \
17070 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17071 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17072 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17073 esac; \
17074 srcdiroption="--srcdir=$${topdir}/intl"; \
17075 libsrcdir="$$s/intl"; \
17076 $(SHELL) $${libsrcdir}/configure \
17077 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17078 --target=${target_alias} $${srcdiroption} \
17079 --with-build-libsubdir=$(HOST_SUBDIR) \
17080 $(STAGE4_CONFIGURE_FLAGS)
17081 @endif intl-bootstrap
17083 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
17084 maybe-configure-stageprofile-intl:
17085 @if intl-bootstrap
17086 maybe-configure-stageprofile-intl: configure-stageprofile-intl
17087 configure-stageprofile-intl:
17088 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17089 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17090 @r=`${PWD_COMMAND}`; export r; \
17091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17092 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17093 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17094 $(HOST_EXPORTS) \
17095 $(POSTSTAGE1_HOST_EXPORTS) \
17096 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17097 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17098 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17099 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
17100 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17101 cd $(HOST_SUBDIR)/intl || exit 1; \
17102 case $(srcdir) in \
17103 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17104 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17105 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17106 esac; \
17107 srcdiroption="--srcdir=$${topdir}/intl"; \
17108 libsrcdir="$$s/intl"; \
17109 $(SHELL) $${libsrcdir}/configure \
17110 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17111 --target=${target_alias} $${srcdiroption} \
17112 --with-build-libsubdir=$(HOST_SUBDIR) \
17113 $(STAGEprofile_CONFIGURE_FLAGS)
17114 @endif intl-bootstrap
17116 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
17117 maybe-configure-stagefeedback-intl:
17118 @if intl-bootstrap
17119 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
17120 configure-stagefeedback-intl:
17121 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17122 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17123 @r=`${PWD_COMMAND}`; export r; \
17124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17125 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17126 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17127 $(HOST_EXPORTS) \
17128 $(POSTSTAGE1_HOST_EXPORTS) \
17129 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17130 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17131 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17132 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
17133 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17134 cd $(HOST_SUBDIR)/intl || exit 1; \
17135 case $(srcdir) in \
17136 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17137 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17138 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17139 esac; \
17140 srcdiroption="--srcdir=$${topdir}/intl"; \
17141 libsrcdir="$$s/intl"; \
17142 $(SHELL) $${libsrcdir}/configure \
17143 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17144 --target=${target_alias} $${srcdiroption} \
17145 --with-build-libsubdir=$(HOST_SUBDIR) \
17146 $(STAGEfeedback_CONFIGURE_FLAGS)
17147 @endif intl-bootstrap
17153 .PHONY: all-intl maybe-all-intl
17154 maybe-all-intl:
17155 @if gcc-bootstrap
17156 all-intl: stage_current
17157 @endif gcc-bootstrap
17158 @if intl
17159 TARGET-intl=all
17160 maybe-all-intl: all-intl
17161 all-intl: configure-intl
17162 @r=`${PWD_COMMAND}`; export r; \
17163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17164 $(HOST_EXPORTS) \
17165 (cd $(HOST_SUBDIR)/intl && \
17166 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
17167 $(TARGET-intl))
17168 @endif intl
17172 .PHONY: all-stage1-intl maybe-all-stage1-intl
17173 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
17174 maybe-all-stage1-intl:
17175 maybe-clean-stage1-intl:
17176 @if intl-bootstrap
17177 maybe-all-stage1-intl: all-stage1-intl
17178 all-stage1: all-stage1-intl
17179 TARGET-stage1-intl = $(TARGET-intl)
17180 all-stage1-intl: configure-stage1-intl
17181 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17182 @r=`${PWD_COMMAND}`; export r; \
17183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17184 TFLAGS="$(STAGE1_TFLAGS)"; \
17185 $(HOST_EXPORTS) \
17186 cd $(HOST_SUBDIR)/intl && \
17187 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17188 CFLAGS="$(STAGE1_CFLAGS)" \
17189 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17190 LIBCFLAGS="$(LIBCFLAGS)" \
17191 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17192 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17193 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17194 $(EXTRA_HOST_FLAGS) \
17195 TFLAGS="$(STAGE1_TFLAGS)" \
17196 $(TARGET-stage1-intl)
17198 maybe-clean-stage1-intl: clean-stage1-intl
17199 clean-stage1: clean-stage1-intl
17200 clean-stage1-intl:
17201 @if [ $(current_stage) = stage1 ]; then \
17202 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17203 else \
17204 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
17205 $(MAKE) stage1-start; \
17206 fi; \
17207 cd $(HOST_SUBDIR)/intl && \
17208 $(MAKE) $(EXTRA_HOST_FLAGS) \
17209 clean
17210 @endif intl-bootstrap
17213 .PHONY: all-stage2-intl maybe-all-stage2-intl
17214 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
17215 maybe-all-stage2-intl:
17216 maybe-clean-stage2-intl:
17217 @if intl-bootstrap
17218 maybe-all-stage2-intl: all-stage2-intl
17219 all-stage2: all-stage2-intl
17220 TARGET-stage2-intl = $(TARGET-intl)
17221 all-stage2-intl: configure-stage2-intl
17222 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17223 @r=`${PWD_COMMAND}`; export r; \
17224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17225 TFLAGS="$(STAGE2_TFLAGS)"; \
17226 $(HOST_EXPORTS) \
17227 $(POSTSTAGE1_HOST_EXPORTS) \
17228 cd $(HOST_SUBDIR)/intl && \
17229 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17230 CFLAGS="$(STAGE2_CFLAGS)" \
17231 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17232 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17233 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17234 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17235 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17236 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17237 TFLAGS="$(STAGE2_TFLAGS)" \
17238 $(TARGET-stage2-intl)
17240 maybe-clean-stage2-intl: clean-stage2-intl
17241 clean-stage2: clean-stage2-intl
17242 clean-stage2-intl:
17243 @if [ $(current_stage) = stage2 ]; then \
17244 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17245 else \
17246 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
17247 $(MAKE) stage2-start; \
17248 fi; \
17249 cd $(HOST_SUBDIR)/intl && \
17250 $(MAKE) $(EXTRA_HOST_FLAGS) \
17251 $(POSTSTAGE1_FLAGS_TO_PASS) \
17252 clean
17253 @endif intl-bootstrap
17256 .PHONY: all-stage3-intl maybe-all-stage3-intl
17257 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
17258 maybe-all-stage3-intl:
17259 maybe-clean-stage3-intl:
17260 @if intl-bootstrap
17261 maybe-all-stage3-intl: all-stage3-intl
17262 all-stage3: all-stage3-intl
17263 TARGET-stage3-intl = $(TARGET-intl)
17264 all-stage3-intl: configure-stage3-intl
17265 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17266 @r=`${PWD_COMMAND}`; export r; \
17267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17268 TFLAGS="$(STAGE3_TFLAGS)"; \
17269 $(HOST_EXPORTS) \
17270 $(POSTSTAGE1_HOST_EXPORTS) \
17271 cd $(HOST_SUBDIR)/intl && \
17272 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17273 CFLAGS="$(STAGE3_CFLAGS)" \
17274 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17275 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17276 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17277 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17278 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17279 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17280 TFLAGS="$(STAGE3_TFLAGS)" \
17281 $(TARGET-stage3-intl)
17283 maybe-clean-stage3-intl: clean-stage3-intl
17284 clean-stage3: clean-stage3-intl
17285 clean-stage3-intl:
17286 @if [ $(current_stage) = stage3 ]; then \
17287 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17288 else \
17289 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
17290 $(MAKE) stage3-start; \
17291 fi; \
17292 cd $(HOST_SUBDIR)/intl && \
17293 $(MAKE) $(EXTRA_HOST_FLAGS) \
17294 $(POSTSTAGE1_FLAGS_TO_PASS) \
17295 clean
17296 @endif intl-bootstrap
17299 .PHONY: all-stage4-intl maybe-all-stage4-intl
17300 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
17301 maybe-all-stage4-intl:
17302 maybe-clean-stage4-intl:
17303 @if intl-bootstrap
17304 maybe-all-stage4-intl: all-stage4-intl
17305 all-stage4: all-stage4-intl
17306 TARGET-stage4-intl = $(TARGET-intl)
17307 all-stage4-intl: configure-stage4-intl
17308 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17309 @r=`${PWD_COMMAND}`; export r; \
17310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17311 TFLAGS="$(STAGE4_TFLAGS)"; \
17312 $(HOST_EXPORTS) \
17313 $(POSTSTAGE1_HOST_EXPORTS) \
17314 cd $(HOST_SUBDIR)/intl && \
17315 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17316 CFLAGS="$(STAGE4_CFLAGS)" \
17317 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17318 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17319 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17320 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17321 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17322 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17323 TFLAGS="$(STAGE4_TFLAGS)" \
17324 $(TARGET-stage4-intl)
17326 maybe-clean-stage4-intl: clean-stage4-intl
17327 clean-stage4: clean-stage4-intl
17328 clean-stage4-intl:
17329 @if [ $(current_stage) = stage4 ]; then \
17330 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17331 else \
17332 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
17333 $(MAKE) stage4-start; \
17334 fi; \
17335 cd $(HOST_SUBDIR)/intl && \
17336 $(MAKE) $(EXTRA_HOST_FLAGS) \
17337 $(POSTSTAGE1_FLAGS_TO_PASS) \
17338 clean
17339 @endif intl-bootstrap
17342 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
17343 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
17344 maybe-all-stageprofile-intl:
17345 maybe-clean-stageprofile-intl:
17346 @if intl-bootstrap
17347 maybe-all-stageprofile-intl: all-stageprofile-intl
17348 all-stageprofile: all-stageprofile-intl
17349 TARGET-stageprofile-intl = $(TARGET-intl)
17350 all-stageprofile-intl: configure-stageprofile-intl
17351 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17352 @r=`${PWD_COMMAND}`; export r; \
17353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17354 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17355 $(HOST_EXPORTS) \
17356 $(POSTSTAGE1_HOST_EXPORTS) \
17357 cd $(HOST_SUBDIR)/intl && \
17358 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17359 CFLAGS="$(STAGEprofile_CFLAGS)" \
17360 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17361 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17362 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17363 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17364 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17365 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17366 TFLAGS="$(STAGEprofile_TFLAGS)" \
17367 $(TARGET-stageprofile-intl)
17369 maybe-clean-stageprofile-intl: clean-stageprofile-intl
17370 clean-stageprofile: clean-stageprofile-intl
17371 clean-stageprofile-intl:
17372 @if [ $(current_stage) = stageprofile ]; then \
17373 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17374 else \
17375 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
17376 $(MAKE) stageprofile-start; \
17377 fi; \
17378 cd $(HOST_SUBDIR)/intl && \
17379 $(MAKE) $(EXTRA_HOST_FLAGS) \
17380 $(POSTSTAGE1_FLAGS_TO_PASS) \
17381 clean
17382 @endif intl-bootstrap
17385 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
17386 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
17387 maybe-all-stagefeedback-intl:
17388 maybe-clean-stagefeedback-intl:
17389 @if intl-bootstrap
17390 maybe-all-stagefeedback-intl: all-stagefeedback-intl
17391 all-stagefeedback: all-stagefeedback-intl
17392 TARGET-stagefeedback-intl = $(TARGET-intl)
17393 all-stagefeedback-intl: configure-stagefeedback-intl
17394 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17395 @r=`${PWD_COMMAND}`; export r; \
17396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17397 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17398 $(HOST_EXPORTS) \
17399 $(POSTSTAGE1_HOST_EXPORTS) \
17400 cd $(HOST_SUBDIR)/intl && \
17401 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17402 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17403 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17404 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17405 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17406 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17407 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17408 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17409 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17410 $(TARGET-stagefeedback-intl)
17412 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
17413 clean-stagefeedback: clean-stagefeedback-intl
17414 clean-stagefeedback-intl:
17415 @if [ $(current_stage) = stagefeedback ]; then \
17416 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17417 else \
17418 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
17419 $(MAKE) stagefeedback-start; \
17420 fi; \
17421 cd $(HOST_SUBDIR)/intl && \
17422 $(MAKE) $(EXTRA_HOST_FLAGS) \
17423 $(POSTSTAGE1_FLAGS_TO_PASS) \
17424 clean
17425 @endif intl-bootstrap
17431 .PHONY: check-intl maybe-check-intl
17432 maybe-check-intl:
17433 @if intl
17434 maybe-check-intl: check-intl
17436 check-intl:
17437 @: $(MAKE); $(unstage)
17438 @r=`${PWD_COMMAND}`; export r; \
17439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17440 $(HOST_EXPORTS) \
17441 (cd $(HOST_SUBDIR)/intl && \
17442 $(MAKE) $(FLAGS_TO_PASS) check)
17444 @endif intl
17446 .PHONY: install-intl maybe-install-intl
17447 maybe-install-intl:
17448 @if intl
17449 maybe-install-intl: install-intl
17451 install-intl: installdirs
17452 @: $(MAKE); $(unstage)
17453 @r=`${PWD_COMMAND}`; export r; \
17454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17455 $(HOST_EXPORTS) \
17456 (cd $(HOST_SUBDIR)/intl && \
17457 $(MAKE) $(FLAGS_TO_PASS) install)
17459 @endif intl
17461 .PHONY: install-strip-intl maybe-install-strip-intl
17462 maybe-install-strip-intl:
17463 @if intl
17464 maybe-install-strip-intl: install-strip-intl
17466 install-strip-intl: installdirs
17467 @: $(MAKE); $(unstage)
17468 @r=`${PWD_COMMAND}`; export r; \
17469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17470 $(HOST_EXPORTS) \
17471 (cd $(HOST_SUBDIR)/intl && \
17472 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17474 @endif intl
17476 # Other targets (info, dvi, pdf, etc.)
17478 .PHONY: maybe-info-intl info-intl
17479 maybe-info-intl:
17480 @if intl
17481 maybe-info-intl: info-intl
17483 info-intl: \
17484 configure-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 info 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 info) \
17499 || exit 1
17501 @endif intl
17503 .PHONY: maybe-dvi-intl dvi-intl
17504 maybe-dvi-intl:
17505 @if intl
17506 maybe-dvi-intl: dvi-intl
17508 dvi-intl: \
17509 configure-intl
17510 @[ -f ./intl/Makefile ] || exit 0; \
17511 r=`${PWD_COMMAND}`; export r; \
17512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17513 $(HOST_EXPORTS) \
17514 for flag in $(EXTRA_HOST_FLAGS) ; do \
17515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17516 done; \
17517 echo "Doing dvi in intl" ; \
17518 (cd $(HOST_SUBDIR)/intl && \
17519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17521 "RANLIB=$${RANLIB}" \
17522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17523 dvi) \
17524 || exit 1
17526 @endif intl
17528 .PHONY: maybe-pdf-intl pdf-intl
17529 maybe-pdf-intl:
17530 @if intl
17531 maybe-pdf-intl: pdf-intl
17533 pdf-intl: \
17534 configure-intl
17535 @[ -f ./intl/Makefile ] || exit 0; \
17536 r=`${PWD_COMMAND}`; export r; \
17537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17538 $(HOST_EXPORTS) \
17539 for flag in $(EXTRA_HOST_FLAGS) ; do \
17540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17541 done; \
17542 echo "Doing pdf in intl" ; \
17543 (cd $(HOST_SUBDIR)/intl && \
17544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17546 "RANLIB=$${RANLIB}" \
17547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17548 pdf) \
17549 || exit 1
17551 @endif intl
17553 .PHONY: maybe-html-intl html-intl
17554 maybe-html-intl:
17555 @if intl
17556 maybe-html-intl: html-intl
17558 html-intl: \
17559 configure-intl
17560 @[ -f ./intl/Makefile ] || exit 0; \
17561 r=`${PWD_COMMAND}`; export r; \
17562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17563 $(HOST_EXPORTS) \
17564 for flag in $(EXTRA_HOST_FLAGS) ; do \
17565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17566 done; \
17567 echo "Doing html in intl" ; \
17568 (cd $(HOST_SUBDIR)/intl && \
17569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17571 "RANLIB=$${RANLIB}" \
17572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17573 html) \
17574 || exit 1
17576 @endif intl
17578 .PHONY: maybe-TAGS-intl TAGS-intl
17579 maybe-TAGS-intl:
17580 @if intl
17581 maybe-TAGS-intl: TAGS-intl
17583 TAGS-intl: \
17584 configure-intl
17585 @[ -f ./intl/Makefile ] || exit 0; \
17586 r=`${PWD_COMMAND}`; export r; \
17587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17588 $(HOST_EXPORTS) \
17589 for flag in $(EXTRA_HOST_FLAGS) ; do \
17590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17591 done; \
17592 echo "Doing TAGS in intl" ; \
17593 (cd $(HOST_SUBDIR)/intl && \
17594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17596 "RANLIB=$${RANLIB}" \
17597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17598 TAGS) \
17599 || exit 1
17601 @endif intl
17603 .PHONY: maybe-install-info-intl install-info-intl
17604 maybe-install-info-intl:
17605 @if intl
17606 maybe-install-info-intl: install-info-intl
17608 install-info-intl: \
17609 configure-intl \
17610 info-intl
17611 @[ -f ./intl/Makefile ] || exit 0; \
17612 r=`${PWD_COMMAND}`; export r; \
17613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17614 $(HOST_EXPORTS) \
17615 for flag in $(EXTRA_HOST_FLAGS) ; do \
17616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17617 done; \
17618 echo "Doing install-info in intl" ; \
17619 (cd $(HOST_SUBDIR)/intl && \
17620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17622 "RANLIB=$${RANLIB}" \
17623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17624 install-info) \
17625 || exit 1
17627 @endif intl
17629 .PHONY: maybe-install-pdf-intl install-pdf-intl
17630 maybe-install-pdf-intl:
17631 @if intl
17632 maybe-install-pdf-intl: install-pdf-intl
17634 install-pdf-intl: \
17635 configure-intl \
17636 pdf-intl
17637 @[ -f ./intl/Makefile ] || exit 0; \
17638 r=`${PWD_COMMAND}`; export r; \
17639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17640 $(HOST_EXPORTS) \
17641 for flag in $(EXTRA_HOST_FLAGS) ; do \
17642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17643 done; \
17644 echo "Doing install-pdf in intl" ; \
17645 (cd $(HOST_SUBDIR)/intl && \
17646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17648 "RANLIB=$${RANLIB}" \
17649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17650 install-pdf) \
17651 || exit 1
17653 @endif intl
17655 .PHONY: maybe-install-html-intl install-html-intl
17656 maybe-install-html-intl:
17657 @if intl
17658 maybe-install-html-intl: install-html-intl
17660 install-html-intl: \
17661 configure-intl \
17662 html-intl
17663 @[ -f ./intl/Makefile ] || exit 0; \
17664 r=`${PWD_COMMAND}`; export r; \
17665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17666 $(HOST_EXPORTS) \
17667 for flag in $(EXTRA_HOST_FLAGS) ; do \
17668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17669 done; \
17670 echo "Doing install-html in intl" ; \
17671 (cd $(HOST_SUBDIR)/intl && \
17672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17674 "RANLIB=$${RANLIB}" \
17675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17676 install-html) \
17677 || exit 1
17679 @endif intl
17681 .PHONY: maybe-installcheck-intl installcheck-intl
17682 maybe-installcheck-intl:
17683 @if intl
17684 maybe-installcheck-intl: installcheck-intl
17686 installcheck-intl: \
17687 configure-intl
17688 @[ -f ./intl/Makefile ] || exit 0; \
17689 r=`${PWD_COMMAND}`; export r; \
17690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17691 $(HOST_EXPORTS) \
17692 for flag in $(EXTRA_HOST_FLAGS) ; do \
17693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17694 done; \
17695 echo "Doing installcheck in intl" ; \
17696 (cd $(HOST_SUBDIR)/intl && \
17697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17699 "RANLIB=$${RANLIB}" \
17700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17701 installcheck) \
17702 || exit 1
17704 @endif intl
17706 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
17707 maybe-mostlyclean-intl:
17708 @if intl
17709 maybe-mostlyclean-intl: mostlyclean-intl
17711 mostlyclean-intl:
17712 @[ -f ./intl/Makefile ] || exit 0; \
17713 r=`${PWD_COMMAND}`; export r; \
17714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17715 $(HOST_EXPORTS) \
17716 for flag in $(EXTRA_HOST_FLAGS) ; do \
17717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17718 done; \
17719 echo "Doing mostlyclean in intl" ; \
17720 (cd $(HOST_SUBDIR)/intl && \
17721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17723 "RANLIB=$${RANLIB}" \
17724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17725 mostlyclean) \
17726 || exit 1
17728 @endif intl
17730 .PHONY: maybe-clean-intl clean-intl
17731 maybe-clean-intl:
17732 @if intl
17733 maybe-clean-intl: clean-intl
17735 clean-intl:
17736 @[ -f ./intl/Makefile ] || exit 0; \
17737 r=`${PWD_COMMAND}`; export r; \
17738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17739 $(HOST_EXPORTS) \
17740 for flag in $(EXTRA_HOST_FLAGS) ; do \
17741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17742 done; \
17743 echo "Doing clean in intl" ; \
17744 (cd $(HOST_SUBDIR)/intl && \
17745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17747 "RANLIB=$${RANLIB}" \
17748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17749 clean) \
17750 || exit 1
17752 @endif intl
17754 .PHONY: maybe-distclean-intl distclean-intl
17755 maybe-distclean-intl:
17756 @if intl
17757 maybe-distclean-intl: distclean-intl
17759 distclean-intl:
17760 @[ -f ./intl/Makefile ] || exit 0; \
17761 r=`${PWD_COMMAND}`; export r; \
17762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17763 $(HOST_EXPORTS) \
17764 for flag in $(EXTRA_HOST_FLAGS) ; do \
17765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17766 done; \
17767 echo "Doing distclean in intl" ; \
17768 (cd $(HOST_SUBDIR)/intl && \
17769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17771 "RANLIB=$${RANLIB}" \
17772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17773 distclean) \
17774 || exit 1
17776 @endif intl
17778 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
17779 maybe-maintainer-clean-intl:
17780 @if intl
17781 maybe-maintainer-clean-intl: maintainer-clean-intl
17783 maintainer-clean-intl:
17784 @[ -f ./intl/Makefile ] || exit 0; \
17785 r=`${PWD_COMMAND}`; export r; \
17786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17787 $(HOST_EXPORTS) \
17788 for flag in $(EXTRA_HOST_FLAGS) ; do \
17789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17790 done; \
17791 echo "Doing maintainer-clean in intl" ; \
17792 (cd $(HOST_SUBDIR)/intl && \
17793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17795 "RANLIB=$${RANLIB}" \
17796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17797 maintainer-clean) \
17798 || exit 1
17800 @endif intl
17804 .PHONY: configure-tcl maybe-configure-tcl
17805 maybe-configure-tcl:
17806 @if gcc-bootstrap
17807 configure-tcl: stage_current
17808 @endif gcc-bootstrap
17809 @if tcl
17810 maybe-configure-tcl: configure-tcl
17811 configure-tcl:
17812 @: $(MAKE); $(unstage)
17813 @r=`${PWD_COMMAND}`; export r; \
17814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17815 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
17816 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
17817 $(HOST_EXPORTS) \
17818 echo Configuring in $(HOST_SUBDIR)/tcl; \
17819 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
17820 case $(srcdir) in \
17821 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17822 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
17823 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17824 esac; \
17825 srcdiroption="--srcdir=$${topdir}/tcl"; \
17826 libsrcdir="$$s/tcl"; \
17827 $(SHELL) $${libsrcdir}/configure \
17828 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17829 --target=${target_alias} $${srcdiroption} \
17830 || exit 1
17831 @endif tcl
17837 .PHONY: all-tcl maybe-all-tcl
17838 maybe-all-tcl:
17839 @if gcc-bootstrap
17840 all-tcl: stage_current
17841 @endif gcc-bootstrap
17842 @if tcl
17843 TARGET-tcl=all
17844 maybe-all-tcl: all-tcl
17845 all-tcl: configure-tcl
17846 @: $(MAKE); $(unstage)
17847 @r=`${PWD_COMMAND}`; export r; \
17848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17849 $(HOST_EXPORTS) \
17850 (cd $(HOST_SUBDIR)/tcl && \
17851 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
17852 $(TARGET-tcl))
17853 @endif tcl
17858 .PHONY: check-tcl maybe-check-tcl
17859 maybe-check-tcl:
17860 @if tcl
17861 maybe-check-tcl: check-tcl
17863 check-tcl:
17864 @: $(MAKE); $(unstage)
17865 @r=`${PWD_COMMAND}`; export r; \
17866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17867 $(HOST_EXPORTS) \
17868 (cd $(HOST_SUBDIR)/tcl && \
17869 $(MAKE) $(FLAGS_TO_PASS) check)
17871 @endif tcl
17873 .PHONY: install-tcl maybe-install-tcl
17874 maybe-install-tcl:
17875 @if tcl
17876 maybe-install-tcl: install-tcl
17878 install-tcl: installdirs
17879 @: $(MAKE); $(unstage)
17880 @r=`${PWD_COMMAND}`; export r; \
17881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17882 $(HOST_EXPORTS) \
17883 (cd $(HOST_SUBDIR)/tcl && \
17884 $(MAKE) $(FLAGS_TO_PASS) install)
17886 @endif tcl
17888 .PHONY: install-strip-tcl maybe-install-strip-tcl
17889 maybe-install-strip-tcl:
17890 @if tcl
17891 maybe-install-strip-tcl: install-strip-tcl
17893 install-strip-tcl: installdirs
17894 @: $(MAKE); $(unstage)
17895 @r=`${PWD_COMMAND}`; export r; \
17896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17897 $(HOST_EXPORTS) \
17898 (cd $(HOST_SUBDIR)/tcl && \
17899 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17901 @endif tcl
17903 # Other targets (info, dvi, pdf, etc.)
17905 .PHONY: maybe-info-tcl info-tcl
17906 maybe-info-tcl:
17907 @if tcl
17908 maybe-info-tcl: info-tcl
17910 info-tcl: \
17911 configure-tcl
17912 @: $(MAKE); $(unstage)
17913 @[ -f ./tcl/Makefile ] || exit 0; \
17914 r=`${PWD_COMMAND}`; export r; \
17915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17916 $(HOST_EXPORTS) \
17917 for flag in $(EXTRA_HOST_FLAGS) ; do \
17918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17919 done; \
17920 echo "Doing info in tcl" ; \
17921 (cd $(HOST_SUBDIR)/tcl && \
17922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17924 "RANLIB=$${RANLIB}" \
17925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17926 info) \
17927 || exit 1
17929 @endif tcl
17931 .PHONY: maybe-dvi-tcl dvi-tcl
17932 maybe-dvi-tcl:
17933 @if tcl
17934 maybe-dvi-tcl: dvi-tcl
17936 dvi-tcl: \
17937 configure-tcl
17938 @: $(MAKE); $(unstage)
17939 @[ -f ./tcl/Makefile ] || exit 0; \
17940 r=`${PWD_COMMAND}`; export r; \
17941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17942 $(HOST_EXPORTS) \
17943 for flag in $(EXTRA_HOST_FLAGS) ; do \
17944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17945 done; \
17946 echo "Doing dvi in tcl" ; \
17947 (cd $(HOST_SUBDIR)/tcl && \
17948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17950 "RANLIB=$${RANLIB}" \
17951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17952 dvi) \
17953 || exit 1
17955 @endif tcl
17957 .PHONY: maybe-pdf-tcl pdf-tcl
17958 maybe-pdf-tcl:
17959 @if tcl
17960 maybe-pdf-tcl: pdf-tcl
17962 pdf-tcl: \
17963 configure-tcl
17964 @: $(MAKE); $(unstage)
17965 @[ -f ./tcl/Makefile ] || exit 0; \
17966 r=`${PWD_COMMAND}`; export r; \
17967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17968 $(HOST_EXPORTS) \
17969 for flag in $(EXTRA_HOST_FLAGS) ; do \
17970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17971 done; \
17972 echo "Doing pdf in tcl" ; \
17973 (cd $(HOST_SUBDIR)/tcl && \
17974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17976 "RANLIB=$${RANLIB}" \
17977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17978 pdf) \
17979 || exit 1
17981 @endif tcl
17983 .PHONY: maybe-html-tcl html-tcl
17984 maybe-html-tcl:
17985 @if tcl
17986 maybe-html-tcl: html-tcl
17988 html-tcl: \
17989 configure-tcl
17990 @: $(MAKE); $(unstage)
17991 @[ -f ./tcl/Makefile ] || exit 0; \
17992 r=`${PWD_COMMAND}`; export r; \
17993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17994 $(HOST_EXPORTS) \
17995 for flag in $(EXTRA_HOST_FLAGS) ; do \
17996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17997 done; \
17998 echo "Doing html in tcl" ; \
17999 (cd $(HOST_SUBDIR)/tcl && \
18000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18002 "RANLIB=$${RANLIB}" \
18003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18004 html) \
18005 || exit 1
18007 @endif tcl
18009 .PHONY: maybe-TAGS-tcl TAGS-tcl
18010 maybe-TAGS-tcl:
18011 @if tcl
18012 maybe-TAGS-tcl: TAGS-tcl
18014 TAGS-tcl: \
18015 configure-tcl
18016 @: $(MAKE); $(unstage)
18017 @[ -f ./tcl/Makefile ] || exit 0; \
18018 r=`${PWD_COMMAND}`; export r; \
18019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18020 $(HOST_EXPORTS) \
18021 for flag in $(EXTRA_HOST_FLAGS) ; do \
18022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18023 done; \
18024 echo "Doing TAGS in tcl" ; \
18025 (cd $(HOST_SUBDIR)/tcl && \
18026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18028 "RANLIB=$${RANLIB}" \
18029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18030 TAGS) \
18031 || exit 1
18033 @endif tcl
18035 .PHONY: maybe-install-info-tcl install-info-tcl
18036 maybe-install-info-tcl:
18037 @if tcl
18038 maybe-install-info-tcl: install-info-tcl
18040 install-info-tcl: \
18041 configure-tcl \
18042 info-tcl
18043 @: $(MAKE); $(unstage)
18044 @[ -f ./tcl/Makefile ] || exit 0; \
18045 r=`${PWD_COMMAND}`; export r; \
18046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18047 $(HOST_EXPORTS) \
18048 for flag in $(EXTRA_HOST_FLAGS) ; do \
18049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18050 done; \
18051 echo "Doing install-info in tcl" ; \
18052 (cd $(HOST_SUBDIR)/tcl && \
18053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18055 "RANLIB=$${RANLIB}" \
18056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18057 install-info) \
18058 || exit 1
18060 @endif tcl
18062 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
18063 maybe-install-pdf-tcl:
18064 @if tcl
18065 maybe-install-pdf-tcl: install-pdf-tcl
18067 install-pdf-tcl: \
18068 configure-tcl \
18069 pdf-tcl
18070 @: $(MAKE); $(unstage)
18071 @[ -f ./tcl/Makefile ] || exit 0; \
18072 r=`${PWD_COMMAND}`; export r; \
18073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18074 $(HOST_EXPORTS) \
18075 for flag in $(EXTRA_HOST_FLAGS) ; do \
18076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18077 done; \
18078 echo "Doing install-pdf in tcl" ; \
18079 (cd $(HOST_SUBDIR)/tcl && \
18080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18082 "RANLIB=$${RANLIB}" \
18083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18084 install-pdf) \
18085 || exit 1
18087 @endif tcl
18089 .PHONY: maybe-install-html-tcl install-html-tcl
18090 maybe-install-html-tcl:
18091 @if tcl
18092 maybe-install-html-tcl: install-html-tcl
18094 install-html-tcl: \
18095 configure-tcl \
18096 html-tcl
18097 @: $(MAKE); $(unstage)
18098 @[ -f ./tcl/Makefile ] || exit 0; \
18099 r=`${PWD_COMMAND}`; export r; \
18100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18101 $(HOST_EXPORTS) \
18102 for flag in $(EXTRA_HOST_FLAGS) ; do \
18103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18104 done; \
18105 echo "Doing install-html in tcl" ; \
18106 (cd $(HOST_SUBDIR)/tcl && \
18107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18109 "RANLIB=$${RANLIB}" \
18110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18111 install-html) \
18112 || exit 1
18114 @endif tcl
18116 .PHONY: maybe-installcheck-tcl installcheck-tcl
18117 maybe-installcheck-tcl:
18118 @if tcl
18119 maybe-installcheck-tcl: installcheck-tcl
18121 installcheck-tcl: \
18122 configure-tcl
18123 @: $(MAKE); $(unstage)
18124 @[ -f ./tcl/Makefile ] || exit 0; \
18125 r=`${PWD_COMMAND}`; export r; \
18126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18127 $(HOST_EXPORTS) \
18128 for flag in $(EXTRA_HOST_FLAGS) ; do \
18129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18130 done; \
18131 echo "Doing installcheck in tcl" ; \
18132 (cd $(HOST_SUBDIR)/tcl && \
18133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18135 "RANLIB=$${RANLIB}" \
18136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18137 installcheck) \
18138 || exit 1
18140 @endif tcl
18142 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
18143 maybe-mostlyclean-tcl:
18144 @if tcl
18145 maybe-mostlyclean-tcl: mostlyclean-tcl
18147 # tcl doesn't support mostlyclean.
18148 mostlyclean-tcl:
18150 @endif tcl
18152 .PHONY: maybe-clean-tcl clean-tcl
18153 maybe-clean-tcl:
18154 @if tcl
18155 maybe-clean-tcl: clean-tcl
18157 clean-tcl:
18158 @: $(MAKE); $(unstage)
18159 @[ -f ./tcl/Makefile ] || exit 0; \
18160 r=`${PWD_COMMAND}`; export r; \
18161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18162 $(HOST_EXPORTS) \
18163 for flag in $(EXTRA_HOST_FLAGS) ; do \
18164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18165 done; \
18166 echo "Doing clean in tcl" ; \
18167 (cd $(HOST_SUBDIR)/tcl && \
18168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18170 "RANLIB=$${RANLIB}" \
18171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18172 clean) \
18173 || exit 1
18175 @endif tcl
18177 .PHONY: maybe-distclean-tcl distclean-tcl
18178 maybe-distclean-tcl:
18179 @if tcl
18180 maybe-distclean-tcl: distclean-tcl
18182 distclean-tcl:
18183 @: $(MAKE); $(unstage)
18184 @[ -f ./tcl/Makefile ] || exit 0; \
18185 r=`${PWD_COMMAND}`; export r; \
18186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18187 $(HOST_EXPORTS) \
18188 for flag in $(EXTRA_HOST_FLAGS) ; do \
18189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18190 done; \
18191 echo "Doing distclean in tcl" ; \
18192 (cd $(HOST_SUBDIR)/tcl && \
18193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18195 "RANLIB=$${RANLIB}" \
18196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18197 distclean) \
18198 || exit 1
18200 @endif tcl
18202 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
18203 maybe-maintainer-clean-tcl:
18204 @if tcl
18205 maybe-maintainer-clean-tcl: maintainer-clean-tcl
18207 maintainer-clean-tcl:
18208 @: $(MAKE); $(unstage)
18209 @[ -f ./tcl/Makefile ] || exit 0; \
18210 r=`${PWD_COMMAND}`; export r; \
18211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18212 $(HOST_EXPORTS) \
18213 for flag in $(EXTRA_HOST_FLAGS) ; do \
18214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18215 done; \
18216 echo "Doing maintainer-clean in tcl" ; \
18217 (cd $(HOST_SUBDIR)/tcl && \
18218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18220 "RANLIB=$${RANLIB}" \
18221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18222 maintainer-clean) \
18223 || exit 1
18225 @endif tcl
18229 .PHONY: configure-itcl maybe-configure-itcl
18230 maybe-configure-itcl:
18231 @if gcc-bootstrap
18232 configure-itcl: stage_current
18233 @endif gcc-bootstrap
18234 @if itcl
18235 maybe-configure-itcl: configure-itcl
18236 configure-itcl:
18237 @: $(MAKE); $(unstage)
18238 @r=`${PWD_COMMAND}`; export r; \
18239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18240 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
18241 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
18242 $(HOST_EXPORTS) \
18243 echo Configuring in $(HOST_SUBDIR)/itcl; \
18244 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
18245 case $(srcdir) in \
18246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18247 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
18248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18249 esac; \
18250 srcdiroption="--srcdir=$${topdir}/itcl"; \
18251 libsrcdir="$$s/itcl"; \
18252 $(SHELL) $${libsrcdir}/configure \
18253 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18254 --target=${target_alias} $${srcdiroption} \
18255 || exit 1
18256 @endif itcl
18262 .PHONY: all-itcl maybe-all-itcl
18263 maybe-all-itcl:
18264 @if gcc-bootstrap
18265 all-itcl: stage_current
18266 @endif gcc-bootstrap
18267 @if itcl
18268 TARGET-itcl=all
18269 maybe-all-itcl: all-itcl
18270 all-itcl: configure-itcl
18271 @: $(MAKE); $(unstage)
18272 @r=`${PWD_COMMAND}`; export r; \
18273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18274 $(HOST_EXPORTS) \
18275 (cd $(HOST_SUBDIR)/itcl && \
18276 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
18277 $(TARGET-itcl))
18278 @endif itcl
18283 .PHONY: check-itcl maybe-check-itcl
18284 maybe-check-itcl:
18285 @if itcl
18286 maybe-check-itcl: check-itcl
18288 check-itcl:
18289 @: $(MAKE); $(unstage)
18290 @r=`${PWD_COMMAND}`; export r; \
18291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18292 $(HOST_EXPORTS) \
18293 (cd $(HOST_SUBDIR)/itcl && \
18294 $(MAKE) $(FLAGS_TO_PASS) check)
18296 @endif itcl
18298 .PHONY: install-itcl maybe-install-itcl
18299 maybe-install-itcl:
18300 @if itcl
18301 maybe-install-itcl: install-itcl
18303 install-itcl: installdirs
18304 @: $(MAKE); $(unstage)
18305 @r=`${PWD_COMMAND}`; export r; \
18306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18307 $(HOST_EXPORTS) \
18308 (cd $(HOST_SUBDIR)/itcl && \
18309 $(MAKE) $(FLAGS_TO_PASS) install)
18311 @endif itcl
18313 .PHONY: install-strip-itcl maybe-install-strip-itcl
18314 maybe-install-strip-itcl:
18315 @if itcl
18316 maybe-install-strip-itcl: install-strip-itcl
18318 install-strip-itcl: installdirs
18319 @: $(MAKE); $(unstage)
18320 @r=`${PWD_COMMAND}`; export r; \
18321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18322 $(HOST_EXPORTS) \
18323 (cd $(HOST_SUBDIR)/itcl && \
18324 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18326 @endif itcl
18328 # Other targets (info, dvi, pdf, etc.)
18330 .PHONY: maybe-info-itcl info-itcl
18331 maybe-info-itcl:
18332 @if itcl
18333 maybe-info-itcl: info-itcl
18335 info-itcl: \
18336 configure-itcl
18337 @: $(MAKE); $(unstage)
18338 @[ -f ./itcl/Makefile ] || exit 0; \
18339 r=`${PWD_COMMAND}`; export r; \
18340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18341 $(HOST_EXPORTS) \
18342 for flag in $(EXTRA_HOST_FLAGS) ; do \
18343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18344 done; \
18345 echo "Doing info in itcl" ; \
18346 (cd $(HOST_SUBDIR)/itcl && \
18347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18349 "RANLIB=$${RANLIB}" \
18350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18351 info) \
18352 || exit 1
18354 @endif itcl
18356 .PHONY: maybe-dvi-itcl dvi-itcl
18357 maybe-dvi-itcl:
18358 @if itcl
18359 maybe-dvi-itcl: dvi-itcl
18361 dvi-itcl: \
18362 configure-itcl
18363 @: $(MAKE); $(unstage)
18364 @[ -f ./itcl/Makefile ] || exit 0; \
18365 r=`${PWD_COMMAND}`; export r; \
18366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18367 $(HOST_EXPORTS) \
18368 for flag in $(EXTRA_HOST_FLAGS) ; do \
18369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18370 done; \
18371 echo "Doing dvi in itcl" ; \
18372 (cd $(HOST_SUBDIR)/itcl && \
18373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18375 "RANLIB=$${RANLIB}" \
18376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18377 dvi) \
18378 || exit 1
18380 @endif itcl
18382 .PHONY: maybe-pdf-itcl pdf-itcl
18383 maybe-pdf-itcl:
18384 @if itcl
18385 maybe-pdf-itcl: pdf-itcl
18387 pdf-itcl: \
18388 configure-itcl
18389 @: $(MAKE); $(unstage)
18390 @[ -f ./itcl/Makefile ] || exit 0; \
18391 r=`${PWD_COMMAND}`; export r; \
18392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18393 $(HOST_EXPORTS) \
18394 for flag in $(EXTRA_HOST_FLAGS) ; do \
18395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18396 done; \
18397 echo "Doing pdf in itcl" ; \
18398 (cd $(HOST_SUBDIR)/itcl && \
18399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18401 "RANLIB=$${RANLIB}" \
18402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18403 pdf) \
18404 || exit 1
18406 @endif itcl
18408 .PHONY: maybe-html-itcl html-itcl
18409 maybe-html-itcl:
18410 @if itcl
18411 maybe-html-itcl: html-itcl
18413 html-itcl: \
18414 configure-itcl
18415 @: $(MAKE); $(unstage)
18416 @[ -f ./itcl/Makefile ] || exit 0; \
18417 r=`${PWD_COMMAND}`; export r; \
18418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18419 $(HOST_EXPORTS) \
18420 for flag in $(EXTRA_HOST_FLAGS) ; do \
18421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18422 done; \
18423 echo "Doing html in itcl" ; \
18424 (cd $(HOST_SUBDIR)/itcl && \
18425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18427 "RANLIB=$${RANLIB}" \
18428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18429 html) \
18430 || exit 1
18432 @endif itcl
18434 .PHONY: maybe-TAGS-itcl TAGS-itcl
18435 maybe-TAGS-itcl:
18436 @if itcl
18437 maybe-TAGS-itcl: TAGS-itcl
18439 TAGS-itcl: \
18440 configure-itcl
18441 @: $(MAKE); $(unstage)
18442 @[ -f ./itcl/Makefile ] || exit 0; \
18443 r=`${PWD_COMMAND}`; export r; \
18444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18445 $(HOST_EXPORTS) \
18446 for flag in $(EXTRA_HOST_FLAGS) ; do \
18447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18448 done; \
18449 echo "Doing TAGS in itcl" ; \
18450 (cd $(HOST_SUBDIR)/itcl && \
18451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18453 "RANLIB=$${RANLIB}" \
18454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18455 TAGS) \
18456 || exit 1
18458 @endif itcl
18460 .PHONY: maybe-install-info-itcl install-info-itcl
18461 maybe-install-info-itcl:
18462 @if itcl
18463 maybe-install-info-itcl: install-info-itcl
18465 install-info-itcl: \
18466 configure-itcl \
18467 info-itcl
18468 @: $(MAKE); $(unstage)
18469 @[ -f ./itcl/Makefile ] || exit 0; \
18470 r=`${PWD_COMMAND}`; export r; \
18471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18472 $(HOST_EXPORTS) \
18473 for flag in $(EXTRA_HOST_FLAGS) ; do \
18474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18475 done; \
18476 echo "Doing install-info in itcl" ; \
18477 (cd $(HOST_SUBDIR)/itcl && \
18478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18480 "RANLIB=$${RANLIB}" \
18481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18482 install-info) \
18483 || exit 1
18485 @endif itcl
18487 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
18488 maybe-install-pdf-itcl:
18489 @if itcl
18490 maybe-install-pdf-itcl: install-pdf-itcl
18492 install-pdf-itcl: \
18493 configure-itcl \
18494 pdf-itcl
18495 @: $(MAKE); $(unstage)
18496 @[ -f ./itcl/Makefile ] || exit 0; \
18497 r=`${PWD_COMMAND}`; export r; \
18498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18499 $(HOST_EXPORTS) \
18500 for flag in $(EXTRA_HOST_FLAGS) ; do \
18501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18502 done; \
18503 echo "Doing install-pdf in itcl" ; \
18504 (cd $(HOST_SUBDIR)/itcl && \
18505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18507 "RANLIB=$${RANLIB}" \
18508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18509 install-pdf) \
18510 || exit 1
18512 @endif itcl
18514 .PHONY: maybe-install-html-itcl install-html-itcl
18515 maybe-install-html-itcl:
18516 @if itcl
18517 maybe-install-html-itcl: install-html-itcl
18519 install-html-itcl: \
18520 configure-itcl \
18521 html-itcl
18522 @: $(MAKE); $(unstage)
18523 @[ -f ./itcl/Makefile ] || exit 0; \
18524 r=`${PWD_COMMAND}`; export r; \
18525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18526 $(HOST_EXPORTS) \
18527 for flag in $(EXTRA_HOST_FLAGS) ; do \
18528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18529 done; \
18530 echo "Doing install-html in itcl" ; \
18531 (cd $(HOST_SUBDIR)/itcl && \
18532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18534 "RANLIB=$${RANLIB}" \
18535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18536 install-html) \
18537 || exit 1
18539 @endif itcl
18541 .PHONY: maybe-installcheck-itcl installcheck-itcl
18542 maybe-installcheck-itcl:
18543 @if itcl
18544 maybe-installcheck-itcl: installcheck-itcl
18546 installcheck-itcl: \
18547 configure-itcl
18548 @: $(MAKE); $(unstage)
18549 @[ -f ./itcl/Makefile ] || exit 0; \
18550 r=`${PWD_COMMAND}`; export r; \
18551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18552 $(HOST_EXPORTS) \
18553 for flag in $(EXTRA_HOST_FLAGS) ; do \
18554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18555 done; \
18556 echo "Doing installcheck in itcl" ; \
18557 (cd $(HOST_SUBDIR)/itcl && \
18558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18560 "RANLIB=$${RANLIB}" \
18561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18562 installcheck) \
18563 || exit 1
18565 @endif itcl
18567 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
18568 maybe-mostlyclean-itcl:
18569 @if itcl
18570 maybe-mostlyclean-itcl: mostlyclean-itcl
18572 mostlyclean-itcl:
18573 @: $(MAKE); $(unstage)
18574 @[ -f ./itcl/Makefile ] || exit 0; \
18575 r=`${PWD_COMMAND}`; export r; \
18576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18577 $(HOST_EXPORTS) \
18578 for flag in $(EXTRA_HOST_FLAGS) ; do \
18579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18580 done; \
18581 echo "Doing mostlyclean in itcl" ; \
18582 (cd $(HOST_SUBDIR)/itcl && \
18583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18585 "RANLIB=$${RANLIB}" \
18586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18587 mostlyclean) \
18588 || exit 1
18590 @endif itcl
18592 .PHONY: maybe-clean-itcl clean-itcl
18593 maybe-clean-itcl:
18594 @if itcl
18595 maybe-clean-itcl: clean-itcl
18597 clean-itcl:
18598 @: $(MAKE); $(unstage)
18599 @[ -f ./itcl/Makefile ] || exit 0; \
18600 r=`${PWD_COMMAND}`; export r; \
18601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18602 $(HOST_EXPORTS) \
18603 for flag in $(EXTRA_HOST_FLAGS) ; do \
18604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18605 done; \
18606 echo "Doing clean in itcl" ; \
18607 (cd $(HOST_SUBDIR)/itcl && \
18608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18610 "RANLIB=$${RANLIB}" \
18611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18612 clean) \
18613 || exit 1
18615 @endif itcl
18617 .PHONY: maybe-distclean-itcl distclean-itcl
18618 maybe-distclean-itcl:
18619 @if itcl
18620 maybe-distclean-itcl: distclean-itcl
18622 distclean-itcl:
18623 @: $(MAKE); $(unstage)
18624 @[ -f ./itcl/Makefile ] || exit 0; \
18625 r=`${PWD_COMMAND}`; export r; \
18626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18627 $(HOST_EXPORTS) \
18628 for flag in $(EXTRA_HOST_FLAGS) ; do \
18629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18630 done; \
18631 echo "Doing distclean in itcl" ; \
18632 (cd $(HOST_SUBDIR)/itcl && \
18633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18635 "RANLIB=$${RANLIB}" \
18636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18637 distclean) \
18638 || exit 1
18640 @endif itcl
18642 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
18643 maybe-maintainer-clean-itcl:
18644 @if itcl
18645 maybe-maintainer-clean-itcl: maintainer-clean-itcl
18647 maintainer-clean-itcl:
18648 @: $(MAKE); $(unstage)
18649 @[ -f ./itcl/Makefile ] || exit 0; \
18650 r=`${PWD_COMMAND}`; export r; \
18651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18652 $(HOST_EXPORTS) \
18653 for flag in $(EXTRA_HOST_FLAGS) ; do \
18654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18655 done; \
18656 echo "Doing maintainer-clean in itcl" ; \
18657 (cd $(HOST_SUBDIR)/itcl && \
18658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18660 "RANLIB=$${RANLIB}" \
18661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18662 maintainer-clean) \
18663 || exit 1
18665 @endif itcl
18669 .PHONY: configure-ld maybe-configure-ld
18670 maybe-configure-ld:
18671 @if gcc-bootstrap
18672 configure-ld: stage_current
18673 @endif gcc-bootstrap
18674 @if ld
18675 maybe-configure-ld: configure-ld
18676 configure-ld:
18677 @r=`${PWD_COMMAND}`; export r; \
18678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18679 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18680 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18681 $(HOST_EXPORTS) \
18682 echo Configuring in $(HOST_SUBDIR)/ld; \
18683 cd "$(HOST_SUBDIR)/ld" || exit 1; \
18684 case $(srcdir) in \
18685 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18686 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18687 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18688 esac; \
18689 srcdiroption="--srcdir=$${topdir}/ld"; \
18690 libsrcdir="$$s/ld"; \
18691 $(SHELL) $${libsrcdir}/configure \
18692 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18693 --target=${target_alias} $${srcdiroption} \
18694 || exit 1
18695 @endif ld
18699 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
18700 maybe-configure-stage1-ld:
18701 @if ld-bootstrap
18702 maybe-configure-stage1-ld: configure-stage1-ld
18703 configure-stage1-ld:
18704 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18705 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18706 @r=`${PWD_COMMAND}`; export r; \
18707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18708 TFLAGS="$(STAGE1_TFLAGS)"; \
18709 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18710 $(HOST_EXPORTS) \
18711 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18712 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18713 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18714 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
18715 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18716 cd $(HOST_SUBDIR)/ld || exit 1; \
18717 case $(srcdir) in \
18718 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18719 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18720 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18721 esac; \
18722 srcdiroption="--srcdir=$${topdir}/ld"; \
18723 libsrcdir="$$s/ld"; \
18724 $(SHELL) $${libsrcdir}/configure \
18725 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18726 --target=${target_alias} $${srcdiroption} \
18727 $(STAGE1_CONFIGURE_FLAGS)
18728 @endif ld-bootstrap
18730 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
18731 maybe-configure-stage2-ld:
18732 @if ld-bootstrap
18733 maybe-configure-stage2-ld: configure-stage2-ld
18734 configure-stage2-ld:
18735 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18736 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18737 @r=`${PWD_COMMAND}`; export r; \
18738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18739 TFLAGS="$(STAGE2_TFLAGS)"; \
18740 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18741 $(HOST_EXPORTS) \
18742 $(POSTSTAGE1_HOST_EXPORTS) \
18743 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18744 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18745 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18746 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
18747 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18748 cd $(HOST_SUBDIR)/ld || exit 1; \
18749 case $(srcdir) in \
18750 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18751 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18752 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18753 esac; \
18754 srcdiroption="--srcdir=$${topdir}/ld"; \
18755 libsrcdir="$$s/ld"; \
18756 $(SHELL) $${libsrcdir}/configure \
18757 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18758 --target=${target_alias} $${srcdiroption} \
18759 --with-build-libsubdir=$(HOST_SUBDIR) \
18760 $(STAGE2_CONFIGURE_FLAGS)
18761 @endif ld-bootstrap
18763 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
18764 maybe-configure-stage3-ld:
18765 @if ld-bootstrap
18766 maybe-configure-stage3-ld: configure-stage3-ld
18767 configure-stage3-ld:
18768 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18769 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18770 @r=`${PWD_COMMAND}`; export r; \
18771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18772 TFLAGS="$(STAGE3_TFLAGS)"; \
18773 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18774 $(HOST_EXPORTS) \
18775 $(POSTSTAGE1_HOST_EXPORTS) \
18776 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18777 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18778 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18779 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
18780 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18781 cd $(HOST_SUBDIR)/ld || exit 1; \
18782 case $(srcdir) in \
18783 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18784 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18785 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18786 esac; \
18787 srcdiroption="--srcdir=$${topdir}/ld"; \
18788 libsrcdir="$$s/ld"; \
18789 $(SHELL) $${libsrcdir}/configure \
18790 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18791 --target=${target_alias} $${srcdiroption} \
18792 --with-build-libsubdir=$(HOST_SUBDIR) \
18793 $(STAGE3_CONFIGURE_FLAGS)
18794 @endif ld-bootstrap
18796 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
18797 maybe-configure-stage4-ld:
18798 @if ld-bootstrap
18799 maybe-configure-stage4-ld: configure-stage4-ld
18800 configure-stage4-ld:
18801 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18802 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18803 @r=`${PWD_COMMAND}`; export r; \
18804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18805 TFLAGS="$(STAGE4_TFLAGS)"; \
18806 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18807 $(HOST_EXPORTS) \
18808 $(POSTSTAGE1_HOST_EXPORTS) \
18809 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18810 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18811 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18812 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
18813 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18814 cd $(HOST_SUBDIR)/ld || exit 1; \
18815 case $(srcdir) in \
18816 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18817 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18818 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18819 esac; \
18820 srcdiroption="--srcdir=$${topdir}/ld"; \
18821 libsrcdir="$$s/ld"; \
18822 $(SHELL) $${libsrcdir}/configure \
18823 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18824 --target=${target_alias} $${srcdiroption} \
18825 --with-build-libsubdir=$(HOST_SUBDIR) \
18826 $(STAGE4_CONFIGURE_FLAGS)
18827 @endif ld-bootstrap
18829 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
18830 maybe-configure-stageprofile-ld:
18831 @if ld-bootstrap
18832 maybe-configure-stageprofile-ld: configure-stageprofile-ld
18833 configure-stageprofile-ld:
18834 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18835 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18836 @r=`${PWD_COMMAND}`; export r; \
18837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18838 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18839 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18840 $(HOST_EXPORTS) \
18841 $(POSTSTAGE1_HOST_EXPORTS) \
18842 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18843 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18844 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18845 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
18846 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18847 cd $(HOST_SUBDIR)/ld || exit 1; \
18848 case $(srcdir) in \
18849 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18850 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18851 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18852 esac; \
18853 srcdiroption="--srcdir=$${topdir}/ld"; \
18854 libsrcdir="$$s/ld"; \
18855 $(SHELL) $${libsrcdir}/configure \
18856 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18857 --target=${target_alias} $${srcdiroption} \
18858 --with-build-libsubdir=$(HOST_SUBDIR) \
18859 $(STAGEprofile_CONFIGURE_FLAGS)
18860 @endif ld-bootstrap
18862 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
18863 maybe-configure-stagefeedback-ld:
18864 @if ld-bootstrap
18865 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
18866 configure-stagefeedback-ld:
18867 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18868 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18869 @r=`${PWD_COMMAND}`; export r; \
18870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18871 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18872 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18873 $(HOST_EXPORTS) \
18874 $(POSTSTAGE1_HOST_EXPORTS) \
18875 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18876 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18877 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18878 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
18879 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18880 cd $(HOST_SUBDIR)/ld || exit 1; \
18881 case $(srcdir) in \
18882 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18883 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18884 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18885 esac; \
18886 srcdiroption="--srcdir=$${topdir}/ld"; \
18887 libsrcdir="$$s/ld"; \
18888 $(SHELL) $${libsrcdir}/configure \
18889 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18890 --target=${target_alias} $${srcdiroption} \
18891 --with-build-libsubdir=$(HOST_SUBDIR) \
18892 $(STAGEfeedback_CONFIGURE_FLAGS)
18893 @endif ld-bootstrap
18899 .PHONY: all-ld maybe-all-ld
18900 maybe-all-ld:
18901 @if gcc-bootstrap
18902 all-ld: stage_current
18903 @endif gcc-bootstrap
18904 @if ld
18905 TARGET-ld=all
18906 maybe-all-ld: all-ld
18907 all-ld: configure-ld
18908 @r=`${PWD_COMMAND}`; export r; \
18909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18910 $(HOST_EXPORTS) \
18911 (cd $(HOST_SUBDIR)/ld && \
18912 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
18913 $(TARGET-ld))
18914 @endif ld
18918 .PHONY: all-stage1-ld maybe-all-stage1-ld
18919 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
18920 maybe-all-stage1-ld:
18921 maybe-clean-stage1-ld:
18922 @if ld-bootstrap
18923 maybe-all-stage1-ld: all-stage1-ld
18924 all-stage1: all-stage1-ld
18925 TARGET-stage1-ld = $(TARGET-ld)
18926 all-stage1-ld: configure-stage1-ld
18927 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18928 @r=`${PWD_COMMAND}`; export r; \
18929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18930 TFLAGS="$(STAGE1_TFLAGS)"; \
18931 $(HOST_EXPORTS) \
18932 cd $(HOST_SUBDIR)/ld && \
18933 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18934 CFLAGS="$(STAGE1_CFLAGS)" \
18935 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18936 LIBCFLAGS="$(LIBCFLAGS)" \
18937 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18938 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18939 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18940 $(EXTRA_HOST_FLAGS) \
18941 TFLAGS="$(STAGE1_TFLAGS)" \
18942 $(TARGET-stage1-ld)
18944 maybe-clean-stage1-ld: clean-stage1-ld
18945 clean-stage1: clean-stage1-ld
18946 clean-stage1-ld:
18947 @if [ $(current_stage) = stage1 ]; then \
18948 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18949 else \
18950 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
18951 $(MAKE) stage1-start; \
18952 fi; \
18953 cd $(HOST_SUBDIR)/ld && \
18954 $(MAKE) $(EXTRA_HOST_FLAGS) \
18955 clean
18956 @endif ld-bootstrap
18959 .PHONY: all-stage2-ld maybe-all-stage2-ld
18960 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
18961 maybe-all-stage2-ld:
18962 maybe-clean-stage2-ld:
18963 @if ld-bootstrap
18964 maybe-all-stage2-ld: all-stage2-ld
18965 all-stage2: all-stage2-ld
18966 TARGET-stage2-ld = $(TARGET-ld)
18967 all-stage2-ld: configure-stage2-ld
18968 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18969 @r=`${PWD_COMMAND}`; export r; \
18970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18971 TFLAGS="$(STAGE2_TFLAGS)"; \
18972 $(HOST_EXPORTS) \
18973 $(POSTSTAGE1_HOST_EXPORTS) \
18974 cd $(HOST_SUBDIR)/ld && \
18975 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18976 CFLAGS="$(STAGE2_CFLAGS)" \
18977 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18978 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18979 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18980 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18981 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18982 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18983 TFLAGS="$(STAGE2_TFLAGS)" \
18984 $(TARGET-stage2-ld)
18986 maybe-clean-stage2-ld: clean-stage2-ld
18987 clean-stage2: clean-stage2-ld
18988 clean-stage2-ld:
18989 @if [ $(current_stage) = stage2 ]; then \
18990 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18991 else \
18992 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
18993 $(MAKE) stage2-start; \
18994 fi; \
18995 cd $(HOST_SUBDIR)/ld && \
18996 $(MAKE) $(EXTRA_HOST_FLAGS) \
18997 $(POSTSTAGE1_FLAGS_TO_PASS) \
18998 clean
18999 @endif ld-bootstrap
19002 .PHONY: all-stage3-ld maybe-all-stage3-ld
19003 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
19004 maybe-all-stage3-ld:
19005 maybe-clean-stage3-ld:
19006 @if ld-bootstrap
19007 maybe-all-stage3-ld: all-stage3-ld
19008 all-stage3: all-stage3-ld
19009 TARGET-stage3-ld = $(TARGET-ld)
19010 all-stage3-ld: configure-stage3-ld
19011 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19012 @r=`${PWD_COMMAND}`; export r; \
19013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19014 TFLAGS="$(STAGE3_TFLAGS)"; \
19015 $(HOST_EXPORTS) \
19016 $(POSTSTAGE1_HOST_EXPORTS) \
19017 cd $(HOST_SUBDIR)/ld && \
19018 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19019 CFLAGS="$(STAGE3_CFLAGS)" \
19020 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19021 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19022 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19023 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19024 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19025 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19026 TFLAGS="$(STAGE3_TFLAGS)" \
19027 $(TARGET-stage3-ld)
19029 maybe-clean-stage3-ld: clean-stage3-ld
19030 clean-stage3: clean-stage3-ld
19031 clean-stage3-ld:
19032 @if [ $(current_stage) = stage3 ]; then \
19033 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19034 else \
19035 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
19036 $(MAKE) stage3-start; \
19037 fi; \
19038 cd $(HOST_SUBDIR)/ld && \
19039 $(MAKE) $(EXTRA_HOST_FLAGS) \
19040 $(POSTSTAGE1_FLAGS_TO_PASS) \
19041 clean
19042 @endif ld-bootstrap
19045 .PHONY: all-stage4-ld maybe-all-stage4-ld
19046 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
19047 maybe-all-stage4-ld:
19048 maybe-clean-stage4-ld:
19049 @if ld-bootstrap
19050 maybe-all-stage4-ld: all-stage4-ld
19051 all-stage4: all-stage4-ld
19052 TARGET-stage4-ld = $(TARGET-ld)
19053 all-stage4-ld: configure-stage4-ld
19054 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19055 @r=`${PWD_COMMAND}`; export r; \
19056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19057 TFLAGS="$(STAGE4_TFLAGS)"; \
19058 $(HOST_EXPORTS) \
19059 $(POSTSTAGE1_HOST_EXPORTS) \
19060 cd $(HOST_SUBDIR)/ld && \
19061 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19062 CFLAGS="$(STAGE4_CFLAGS)" \
19063 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19064 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19065 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19066 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19067 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19068 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19069 TFLAGS="$(STAGE4_TFLAGS)" \
19070 $(TARGET-stage4-ld)
19072 maybe-clean-stage4-ld: clean-stage4-ld
19073 clean-stage4: clean-stage4-ld
19074 clean-stage4-ld:
19075 @if [ $(current_stage) = stage4 ]; then \
19076 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19077 else \
19078 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
19079 $(MAKE) stage4-start; \
19080 fi; \
19081 cd $(HOST_SUBDIR)/ld && \
19082 $(MAKE) $(EXTRA_HOST_FLAGS) \
19083 $(POSTSTAGE1_FLAGS_TO_PASS) \
19084 clean
19085 @endif ld-bootstrap
19088 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
19089 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
19090 maybe-all-stageprofile-ld:
19091 maybe-clean-stageprofile-ld:
19092 @if ld-bootstrap
19093 maybe-all-stageprofile-ld: all-stageprofile-ld
19094 all-stageprofile: all-stageprofile-ld
19095 TARGET-stageprofile-ld = $(TARGET-ld)
19096 all-stageprofile-ld: configure-stageprofile-ld
19097 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19098 @r=`${PWD_COMMAND}`; export r; \
19099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19100 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19101 $(HOST_EXPORTS) \
19102 $(POSTSTAGE1_HOST_EXPORTS) \
19103 cd $(HOST_SUBDIR)/ld && \
19104 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19105 CFLAGS="$(STAGEprofile_CFLAGS)" \
19106 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19107 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19108 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19109 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19110 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19111 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19112 TFLAGS="$(STAGEprofile_TFLAGS)" \
19113 $(TARGET-stageprofile-ld)
19115 maybe-clean-stageprofile-ld: clean-stageprofile-ld
19116 clean-stageprofile: clean-stageprofile-ld
19117 clean-stageprofile-ld:
19118 @if [ $(current_stage) = stageprofile ]; then \
19119 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19120 else \
19121 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
19122 $(MAKE) stageprofile-start; \
19123 fi; \
19124 cd $(HOST_SUBDIR)/ld && \
19125 $(MAKE) $(EXTRA_HOST_FLAGS) \
19126 $(POSTSTAGE1_FLAGS_TO_PASS) \
19127 clean
19128 @endif ld-bootstrap
19131 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
19132 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
19133 maybe-all-stagefeedback-ld:
19134 maybe-clean-stagefeedback-ld:
19135 @if ld-bootstrap
19136 maybe-all-stagefeedback-ld: all-stagefeedback-ld
19137 all-stagefeedback: all-stagefeedback-ld
19138 TARGET-stagefeedback-ld = $(TARGET-ld)
19139 all-stagefeedback-ld: configure-stagefeedback-ld
19140 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19141 @r=`${PWD_COMMAND}`; export r; \
19142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19143 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19144 $(HOST_EXPORTS) \
19145 $(POSTSTAGE1_HOST_EXPORTS) \
19146 cd $(HOST_SUBDIR)/ld && \
19147 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19148 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19149 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19150 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19151 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19152 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19153 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19154 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19155 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19156 $(TARGET-stagefeedback-ld)
19158 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
19159 clean-stagefeedback: clean-stagefeedback-ld
19160 clean-stagefeedback-ld:
19161 @if [ $(current_stage) = stagefeedback ]; then \
19162 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19163 else \
19164 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
19165 $(MAKE) stagefeedback-start; \
19166 fi; \
19167 cd $(HOST_SUBDIR)/ld && \
19168 $(MAKE) $(EXTRA_HOST_FLAGS) \
19169 $(POSTSTAGE1_FLAGS_TO_PASS) \
19170 clean
19171 @endif ld-bootstrap
19177 .PHONY: check-ld maybe-check-ld
19178 maybe-check-ld:
19179 @if ld
19180 maybe-check-ld: check-ld
19182 check-ld:
19183 @: $(MAKE); $(unstage)
19184 @r=`${PWD_COMMAND}`; export r; \
19185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19186 $(HOST_EXPORTS) \
19187 (cd $(HOST_SUBDIR)/ld && \
19188 $(MAKE) $(FLAGS_TO_PASS) check)
19190 @endif ld
19192 .PHONY: install-ld maybe-install-ld
19193 maybe-install-ld:
19194 @if ld
19195 maybe-install-ld: install-ld
19197 install-ld: installdirs
19198 @: $(MAKE); $(unstage)
19199 @r=`${PWD_COMMAND}`; export r; \
19200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19201 $(HOST_EXPORTS) \
19202 (cd $(HOST_SUBDIR)/ld && \
19203 $(MAKE) $(FLAGS_TO_PASS) install)
19205 @endif ld
19207 .PHONY: install-strip-ld maybe-install-strip-ld
19208 maybe-install-strip-ld:
19209 @if ld
19210 maybe-install-strip-ld: install-strip-ld
19212 install-strip-ld: installdirs
19213 @: $(MAKE); $(unstage)
19214 @r=`${PWD_COMMAND}`; export r; \
19215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19216 $(HOST_EXPORTS) \
19217 (cd $(HOST_SUBDIR)/ld && \
19218 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19220 @endif ld
19222 # Other targets (info, dvi, pdf, etc.)
19224 .PHONY: maybe-info-ld info-ld
19225 maybe-info-ld:
19226 @if ld
19227 maybe-info-ld: info-ld
19229 info-ld: \
19230 configure-ld
19231 @[ -f ./ld/Makefile ] || exit 0; \
19232 r=`${PWD_COMMAND}`; export r; \
19233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19234 $(HOST_EXPORTS) \
19235 for flag in $(EXTRA_HOST_FLAGS) ; do \
19236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19237 done; \
19238 echo "Doing info in ld" ; \
19239 (cd $(HOST_SUBDIR)/ld && \
19240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19242 "RANLIB=$${RANLIB}" \
19243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19244 info) \
19245 || exit 1
19247 @endif ld
19249 .PHONY: maybe-dvi-ld dvi-ld
19250 maybe-dvi-ld:
19251 @if ld
19252 maybe-dvi-ld: dvi-ld
19254 dvi-ld: \
19255 configure-ld
19256 @[ -f ./ld/Makefile ] || exit 0; \
19257 r=`${PWD_COMMAND}`; export r; \
19258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19259 $(HOST_EXPORTS) \
19260 for flag in $(EXTRA_HOST_FLAGS) ; do \
19261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19262 done; \
19263 echo "Doing dvi in ld" ; \
19264 (cd $(HOST_SUBDIR)/ld && \
19265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19267 "RANLIB=$${RANLIB}" \
19268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19269 dvi) \
19270 || exit 1
19272 @endif ld
19274 .PHONY: maybe-pdf-ld pdf-ld
19275 maybe-pdf-ld:
19276 @if ld
19277 maybe-pdf-ld: pdf-ld
19279 pdf-ld: \
19280 configure-ld
19281 @[ -f ./ld/Makefile ] || exit 0; \
19282 r=`${PWD_COMMAND}`; export r; \
19283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19284 $(HOST_EXPORTS) \
19285 for flag in $(EXTRA_HOST_FLAGS) ; do \
19286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19287 done; \
19288 echo "Doing pdf in ld" ; \
19289 (cd $(HOST_SUBDIR)/ld && \
19290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19292 "RANLIB=$${RANLIB}" \
19293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19294 pdf) \
19295 || exit 1
19297 @endif ld
19299 .PHONY: maybe-html-ld html-ld
19300 maybe-html-ld:
19301 @if ld
19302 maybe-html-ld: html-ld
19304 html-ld: \
19305 configure-ld
19306 @[ -f ./ld/Makefile ] || exit 0; \
19307 r=`${PWD_COMMAND}`; export r; \
19308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19309 $(HOST_EXPORTS) \
19310 for flag in $(EXTRA_HOST_FLAGS) ; do \
19311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19312 done; \
19313 echo "Doing html in ld" ; \
19314 (cd $(HOST_SUBDIR)/ld && \
19315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19317 "RANLIB=$${RANLIB}" \
19318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19319 html) \
19320 || exit 1
19322 @endif ld
19324 .PHONY: maybe-TAGS-ld TAGS-ld
19325 maybe-TAGS-ld:
19326 @if ld
19327 maybe-TAGS-ld: TAGS-ld
19329 TAGS-ld: \
19330 configure-ld
19331 @[ -f ./ld/Makefile ] || exit 0; \
19332 r=`${PWD_COMMAND}`; export r; \
19333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19334 $(HOST_EXPORTS) \
19335 for flag in $(EXTRA_HOST_FLAGS) ; do \
19336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19337 done; \
19338 echo "Doing TAGS in ld" ; \
19339 (cd $(HOST_SUBDIR)/ld && \
19340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19342 "RANLIB=$${RANLIB}" \
19343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19344 TAGS) \
19345 || exit 1
19347 @endif ld
19349 .PHONY: maybe-install-info-ld install-info-ld
19350 maybe-install-info-ld:
19351 @if ld
19352 maybe-install-info-ld: install-info-ld
19354 install-info-ld: \
19355 configure-ld \
19356 info-ld
19357 @[ -f ./ld/Makefile ] || exit 0; \
19358 r=`${PWD_COMMAND}`; export r; \
19359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19360 $(HOST_EXPORTS) \
19361 for flag in $(EXTRA_HOST_FLAGS) ; do \
19362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19363 done; \
19364 echo "Doing install-info in ld" ; \
19365 (cd $(HOST_SUBDIR)/ld && \
19366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19368 "RANLIB=$${RANLIB}" \
19369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19370 install-info) \
19371 || exit 1
19373 @endif ld
19375 .PHONY: maybe-install-pdf-ld install-pdf-ld
19376 maybe-install-pdf-ld:
19377 @if ld
19378 maybe-install-pdf-ld: install-pdf-ld
19380 install-pdf-ld: \
19381 configure-ld \
19382 pdf-ld
19383 @[ -f ./ld/Makefile ] || exit 0; \
19384 r=`${PWD_COMMAND}`; export r; \
19385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19386 $(HOST_EXPORTS) \
19387 for flag in $(EXTRA_HOST_FLAGS) ; do \
19388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19389 done; \
19390 echo "Doing install-pdf in ld" ; \
19391 (cd $(HOST_SUBDIR)/ld && \
19392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19394 "RANLIB=$${RANLIB}" \
19395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19396 install-pdf) \
19397 || exit 1
19399 @endif ld
19401 .PHONY: maybe-install-html-ld install-html-ld
19402 maybe-install-html-ld:
19403 @if ld
19404 maybe-install-html-ld: install-html-ld
19406 install-html-ld: \
19407 configure-ld \
19408 html-ld
19409 @[ -f ./ld/Makefile ] || exit 0; \
19410 r=`${PWD_COMMAND}`; export r; \
19411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19412 $(HOST_EXPORTS) \
19413 for flag in $(EXTRA_HOST_FLAGS) ; do \
19414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19415 done; \
19416 echo "Doing install-html in ld" ; \
19417 (cd $(HOST_SUBDIR)/ld && \
19418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19420 "RANLIB=$${RANLIB}" \
19421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19422 install-html) \
19423 || exit 1
19425 @endif ld
19427 .PHONY: maybe-installcheck-ld installcheck-ld
19428 maybe-installcheck-ld:
19429 @if ld
19430 maybe-installcheck-ld: installcheck-ld
19432 installcheck-ld: \
19433 configure-ld
19434 @[ -f ./ld/Makefile ] || exit 0; \
19435 r=`${PWD_COMMAND}`; export r; \
19436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19437 $(HOST_EXPORTS) \
19438 for flag in $(EXTRA_HOST_FLAGS) ; do \
19439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19440 done; \
19441 echo "Doing installcheck in ld" ; \
19442 (cd $(HOST_SUBDIR)/ld && \
19443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19445 "RANLIB=$${RANLIB}" \
19446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19447 installcheck) \
19448 || exit 1
19450 @endif ld
19452 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
19453 maybe-mostlyclean-ld:
19454 @if ld
19455 maybe-mostlyclean-ld: mostlyclean-ld
19457 mostlyclean-ld:
19458 @[ -f ./ld/Makefile ] || exit 0; \
19459 r=`${PWD_COMMAND}`; export r; \
19460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19461 $(HOST_EXPORTS) \
19462 for flag in $(EXTRA_HOST_FLAGS) ; do \
19463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19464 done; \
19465 echo "Doing mostlyclean in ld" ; \
19466 (cd $(HOST_SUBDIR)/ld && \
19467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19469 "RANLIB=$${RANLIB}" \
19470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19471 mostlyclean) \
19472 || exit 1
19474 @endif ld
19476 .PHONY: maybe-clean-ld clean-ld
19477 maybe-clean-ld:
19478 @if ld
19479 maybe-clean-ld: clean-ld
19481 clean-ld:
19482 @[ -f ./ld/Makefile ] || exit 0; \
19483 r=`${PWD_COMMAND}`; export r; \
19484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19485 $(HOST_EXPORTS) \
19486 for flag in $(EXTRA_HOST_FLAGS) ; do \
19487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19488 done; \
19489 echo "Doing clean in ld" ; \
19490 (cd $(HOST_SUBDIR)/ld && \
19491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19493 "RANLIB=$${RANLIB}" \
19494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19495 clean) \
19496 || exit 1
19498 @endif ld
19500 .PHONY: maybe-distclean-ld distclean-ld
19501 maybe-distclean-ld:
19502 @if ld
19503 maybe-distclean-ld: distclean-ld
19505 distclean-ld:
19506 @[ -f ./ld/Makefile ] || exit 0; \
19507 r=`${PWD_COMMAND}`; export r; \
19508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19509 $(HOST_EXPORTS) \
19510 for flag in $(EXTRA_HOST_FLAGS) ; do \
19511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19512 done; \
19513 echo "Doing distclean in ld" ; \
19514 (cd $(HOST_SUBDIR)/ld && \
19515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19517 "RANLIB=$${RANLIB}" \
19518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19519 distclean) \
19520 || exit 1
19522 @endif ld
19524 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
19525 maybe-maintainer-clean-ld:
19526 @if ld
19527 maybe-maintainer-clean-ld: maintainer-clean-ld
19529 maintainer-clean-ld:
19530 @[ -f ./ld/Makefile ] || exit 0; \
19531 r=`${PWD_COMMAND}`; export r; \
19532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19533 $(HOST_EXPORTS) \
19534 for flag in $(EXTRA_HOST_FLAGS) ; do \
19535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19536 done; \
19537 echo "Doing maintainer-clean in ld" ; \
19538 (cd $(HOST_SUBDIR)/ld && \
19539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19541 "RANLIB=$${RANLIB}" \
19542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19543 maintainer-clean) \
19544 || exit 1
19546 @endif ld
19550 .PHONY: configure-libcpp maybe-configure-libcpp
19551 maybe-configure-libcpp:
19552 @if gcc-bootstrap
19553 configure-libcpp: stage_current
19554 @endif gcc-bootstrap
19555 @if libcpp
19556 maybe-configure-libcpp: configure-libcpp
19557 configure-libcpp:
19558 @r=`${PWD_COMMAND}`; export r; \
19559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19560 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19561 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19562 $(HOST_EXPORTS) \
19563 echo Configuring in $(HOST_SUBDIR)/libcpp; \
19564 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
19565 case $(srcdir) in \
19566 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19567 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19568 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19569 esac; \
19570 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19571 libsrcdir="$$s/libcpp"; \
19572 $(SHELL) $${libsrcdir}/configure \
19573 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19574 --target=${target_alias} $${srcdiroption} \
19575 || exit 1
19576 @endif libcpp
19580 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
19581 maybe-configure-stage1-libcpp:
19582 @if libcpp-bootstrap
19583 maybe-configure-stage1-libcpp: configure-stage1-libcpp
19584 configure-stage1-libcpp:
19585 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19586 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19587 @r=`${PWD_COMMAND}`; export r; \
19588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19589 TFLAGS="$(STAGE1_TFLAGS)"; \
19590 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19591 $(HOST_EXPORTS) \
19592 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19593 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19594 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19595 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
19596 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19597 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19598 case $(srcdir) in \
19599 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19600 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19601 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19602 esac; \
19603 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19604 libsrcdir="$$s/libcpp"; \
19605 $(SHELL) $${libsrcdir}/configure \
19606 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19607 --target=${target_alias} $${srcdiroption} \
19608 $(STAGE1_CONFIGURE_FLAGS)
19609 @endif libcpp-bootstrap
19611 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
19612 maybe-configure-stage2-libcpp:
19613 @if libcpp-bootstrap
19614 maybe-configure-stage2-libcpp: configure-stage2-libcpp
19615 configure-stage2-libcpp:
19616 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19617 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19618 @r=`${PWD_COMMAND}`; export r; \
19619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19620 TFLAGS="$(STAGE2_TFLAGS)"; \
19621 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19622 $(HOST_EXPORTS) \
19623 $(POSTSTAGE1_HOST_EXPORTS) \
19624 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19625 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19626 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19627 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
19628 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19629 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19630 case $(srcdir) in \
19631 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19632 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19633 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19634 esac; \
19635 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19636 libsrcdir="$$s/libcpp"; \
19637 $(SHELL) $${libsrcdir}/configure \
19638 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19639 --target=${target_alias} $${srcdiroption} \
19640 --with-build-libsubdir=$(HOST_SUBDIR) \
19641 $(STAGE2_CONFIGURE_FLAGS)
19642 @endif libcpp-bootstrap
19644 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
19645 maybe-configure-stage3-libcpp:
19646 @if libcpp-bootstrap
19647 maybe-configure-stage3-libcpp: configure-stage3-libcpp
19648 configure-stage3-libcpp:
19649 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19650 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19651 @r=`${PWD_COMMAND}`; export r; \
19652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19653 TFLAGS="$(STAGE3_TFLAGS)"; \
19654 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19655 $(HOST_EXPORTS) \
19656 $(POSTSTAGE1_HOST_EXPORTS) \
19657 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19658 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19659 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19660 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
19661 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19662 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19663 case $(srcdir) in \
19664 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19665 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19666 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19667 esac; \
19668 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19669 libsrcdir="$$s/libcpp"; \
19670 $(SHELL) $${libsrcdir}/configure \
19671 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19672 --target=${target_alias} $${srcdiroption} \
19673 --with-build-libsubdir=$(HOST_SUBDIR) \
19674 $(STAGE3_CONFIGURE_FLAGS)
19675 @endif libcpp-bootstrap
19677 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
19678 maybe-configure-stage4-libcpp:
19679 @if libcpp-bootstrap
19680 maybe-configure-stage4-libcpp: configure-stage4-libcpp
19681 configure-stage4-libcpp:
19682 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19683 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19684 @r=`${PWD_COMMAND}`; export r; \
19685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19686 TFLAGS="$(STAGE4_TFLAGS)"; \
19687 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19688 $(HOST_EXPORTS) \
19689 $(POSTSTAGE1_HOST_EXPORTS) \
19690 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19691 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19692 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19693 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
19694 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19695 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19696 case $(srcdir) in \
19697 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19698 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19699 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19700 esac; \
19701 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19702 libsrcdir="$$s/libcpp"; \
19703 $(SHELL) $${libsrcdir}/configure \
19704 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19705 --target=${target_alias} $${srcdiroption} \
19706 --with-build-libsubdir=$(HOST_SUBDIR) \
19707 $(STAGE4_CONFIGURE_FLAGS)
19708 @endif libcpp-bootstrap
19710 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
19711 maybe-configure-stageprofile-libcpp:
19712 @if libcpp-bootstrap
19713 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
19714 configure-stageprofile-libcpp:
19715 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19716 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19717 @r=`${PWD_COMMAND}`; export r; \
19718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19719 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19720 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19721 $(HOST_EXPORTS) \
19722 $(POSTSTAGE1_HOST_EXPORTS) \
19723 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19724 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19725 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19726 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
19727 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19728 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19729 case $(srcdir) in \
19730 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19731 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19732 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19733 esac; \
19734 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19735 libsrcdir="$$s/libcpp"; \
19736 $(SHELL) $${libsrcdir}/configure \
19737 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19738 --target=${target_alias} $${srcdiroption} \
19739 --with-build-libsubdir=$(HOST_SUBDIR) \
19740 $(STAGEprofile_CONFIGURE_FLAGS)
19741 @endif libcpp-bootstrap
19743 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
19744 maybe-configure-stagefeedback-libcpp:
19745 @if libcpp-bootstrap
19746 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
19747 configure-stagefeedback-libcpp:
19748 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19749 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19750 @r=`${PWD_COMMAND}`; export r; \
19751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19752 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19753 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19754 $(HOST_EXPORTS) \
19755 $(POSTSTAGE1_HOST_EXPORTS) \
19756 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19757 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19758 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19759 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
19760 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19761 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19762 case $(srcdir) in \
19763 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19764 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19765 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19766 esac; \
19767 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19768 libsrcdir="$$s/libcpp"; \
19769 $(SHELL) $${libsrcdir}/configure \
19770 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19771 --target=${target_alias} $${srcdiroption} \
19772 --with-build-libsubdir=$(HOST_SUBDIR) \
19773 $(STAGEfeedback_CONFIGURE_FLAGS)
19774 @endif libcpp-bootstrap
19780 .PHONY: all-libcpp maybe-all-libcpp
19781 maybe-all-libcpp:
19782 @if gcc-bootstrap
19783 all-libcpp: stage_current
19784 @endif gcc-bootstrap
19785 @if libcpp
19786 TARGET-libcpp=all
19787 maybe-all-libcpp: all-libcpp
19788 all-libcpp: configure-libcpp
19789 @r=`${PWD_COMMAND}`; export r; \
19790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19791 $(HOST_EXPORTS) \
19792 (cd $(HOST_SUBDIR)/libcpp && \
19793 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
19794 $(TARGET-libcpp))
19795 @endif libcpp
19799 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
19800 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
19801 maybe-all-stage1-libcpp:
19802 maybe-clean-stage1-libcpp:
19803 @if libcpp-bootstrap
19804 maybe-all-stage1-libcpp: all-stage1-libcpp
19805 all-stage1: all-stage1-libcpp
19806 TARGET-stage1-libcpp = $(TARGET-libcpp)
19807 all-stage1-libcpp: configure-stage1-libcpp
19808 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19809 @r=`${PWD_COMMAND}`; export r; \
19810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19811 TFLAGS="$(STAGE1_TFLAGS)"; \
19812 $(HOST_EXPORTS) \
19813 cd $(HOST_SUBDIR)/libcpp && \
19814 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19815 CFLAGS="$(STAGE1_CFLAGS)" \
19816 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19817 LIBCFLAGS="$(LIBCFLAGS)" \
19818 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19819 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19820 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19821 $(EXTRA_HOST_FLAGS) \
19822 TFLAGS="$(STAGE1_TFLAGS)" \
19823 $(TARGET-stage1-libcpp)
19825 maybe-clean-stage1-libcpp: clean-stage1-libcpp
19826 clean-stage1: clean-stage1-libcpp
19827 clean-stage1-libcpp:
19828 @if [ $(current_stage) = stage1 ]; then \
19829 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19830 else \
19831 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
19832 $(MAKE) stage1-start; \
19833 fi; \
19834 cd $(HOST_SUBDIR)/libcpp && \
19835 $(MAKE) $(EXTRA_HOST_FLAGS) \
19836 clean
19837 @endif libcpp-bootstrap
19840 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
19841 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
19842 maybe-all-stage2-libcpp:
19843 maybe-clean-stage2-libcpp:
19844 @if libcpp-bootstrap
19845 maybe-all-stage2-libcpp: all-stage2-libcpp
19846 all-stage2: all-stage2-libcpp
19847 TARGET-stage2-libcpp = $(TARGET-libcpp)
19848 all-stage2-libcpp: configure-stage2-libcpp
19849 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19850 @r=`${PWD_COMMAND}`; export r; \
19851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19852 TFLAGS="$(STAGE2_TFLAGS)"; \
19853 $(HOST_EXPORTS) \
19854 $(POSTSTAGE1_HOST_EXPORTS) \
19855 cd $(HOST_SUBDIR)/libcpp && \
19856 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19857 CFLAGS="$(STAGE2_CFLAGS)" \
19858 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19859 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19860 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19861 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19862 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19863 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19864 TFLAGS="$(STAGE2_TFLAGS)" \
19865 $(TARGET-stage2-libcpp)
19867 maybe-clean-stage2-libcpp: clean-stage2-libcpp
19868 clean-stage2: clean-stage2-libcpp
19869 clean-stage2-libcpp:
19870 @if [ $(current_stage) = stage2 ]; then \
19871 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19872 else \
19873 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
19874 $(MAKE) stage2-start; \
19875 fi; \
19876 cd $(HOST_SUBDIR)/libcpp && \
19877 $(MAKE) $(EXTRA_HOST_FLAGS) \
19878 $(POSTSTAGE1_FLAGS_TO_PASS) \
19879 clean
19880 @endif libcpp-bootstrap
19883 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
19884 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
19885 maybe-all-stage3-libcpp:
19886 maybe-clean-stage3-libcpp:
19887 @if libcpp-bootstrap
19888 maybe-all-stage3-libcpp: all-stage3-libcpp
19889 all-stage3: all-stage3-libcpp
19890 TARGET-stage3-libcpp = $(TARGET-libcpp)
19891 all-stage3-libcpp: configure-stage3-libcpp
19892 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19893 @r=`${PWD_COMMAND}`; export r; \
19894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19895 TFLAGS="$(STAGE3_TFLAGS)"; \
19896 $(HOST_EXPORTS) \
19897 $(POSTSTAGE1_HOST_EXPORTS) \
19898 cd $(HOST_SUBDIR)/libcpp && \
19899 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19900 CFLAGS="$(STAGE3_CFLAGS)" \
19901 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19902 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19903 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19904 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19905 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19906 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19907 TFLAGS="$(STAGE3_TFLAGS)" \
19908 $(TARGET-stage3-libcpp)
19910 maybe-clean-stage3-libcpp: clean-stage3-libcpp
19911 clean-stage3: clean-stage3-libcpp
19912 clean-stage3-libcpp:
19913 @if [ $(current_stage) = stage3 ]; then \
19914 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19915 else \
19916 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
19917 $(MAKE) stage3-start; \
19918 fi; \
19919 cd $(HOST_SUBDIR)/libcpp && \
19920 $(MAKE) $(EXTRA_HOST_FLAGS) \
19921 $(POSTSTAGE1_FLAGS_TO_PASS) \
19922 clean
19923 @endif libcpp-bootstrap
19926 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
19927 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
19928 maybe-all-stage4-libcpp:
19929 maybe-clean-stage4-libcpp:
19930 @if libcpp-bootstrap
19931 maybe-all-stage4-libcpp: all-stage4-libcpp
19932 all-stage4: all-stage4-libcpp
19933 TARGET-stage4-libcpp = $(TARGET-libcpp)
19934 all-stage4-libcpp: configure-stage4-libcpp
19935 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19936 @r=`${PWD_COMMAND}`; export r; \
19937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19938 TFLAGS="$(STAGE4_TFLAGS)"; \
19939 $(HOST_EXPORTS) \
19940 $(POSTSTAGE1_HOST_EXPORTS) \
19941 cd $(HOST_SUBDIR)/libcpp && \
19942 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19943 CFLAGS="$(STAGE4_CFLAGS)" \
19944 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19945 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19946 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19947 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19948 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19949 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19950 TFLAGS="$(STAGE4_TFLAGS)" \
19951 $(TARGET-stage4-libcpp)
19953 maybe-clean-stage4-libcpp: clean-stage4-libcpp
19954 clean-stage4: clean-stage4-libcpp
19955 clean-stage4-libcpp:
19956 @if [ $(current_stage) = stage4 ]; then \
19957 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19958 else \
19959 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
19960 $(MAKE) stage4-start; \
19961 fi; \
19962 cd $(HOST_SUBDIR)/libcpp && \
19963 $(MAKE) $(EXTRA_HOST_FLAGS) \
19964 $(POSTSTAGE1_FLAGS_TO_PASS) \
19965 clean
19966 @endif libcpp-bootstrap
19969 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
19970 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
19971 maybe-all-stageprofile-libcpp:
19972 maybe-clean-stageprofile-libcpp:
19973 @if libcpp-bootstrap
19974 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
19975 all-stageprofile: all-stageprofile-libcpp
19976 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
19977 all-stageprofile-libcpp: configure-stageprofile-libcpp
19978 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19979 @r=`${PWD_COMMAND}`; export r; \
19980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19981 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19982 $(HOST_EXPORTS) \
19983 $(POSTSTAGE1_HOST_EXPORTS) \
19984 cd $(HOST_SUBDIR)/libcpp && \
19985 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19986 CFLAGS="$(STAGEprofile_CFLAGS)" \
19987 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19988 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19989 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19990 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19991 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19992 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19993 TFLAGS="$(STAGEprofile_TFLAGS)" \
19994 $(TARGET-stageprofile-libcpp)
19996 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
19997 clean-stageprofile: clean-stageprofile-libcpp
19998 clean-stageprofile-libcpp:
19999 @if [ $(current_stage) = stageprofile ]; then \
20000 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20001 else \
20002 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
20003 $(MAKE) stageprofile-start; \
20004 fi; \
20005 cd $(HOST_SUBDIR)/libcpp && \
20006 $(MAKE) $(EXTRA_HOST_FLAGS) \
20007 $(POSTSTAGE1_FLAGS_TO_PASS) \
20008 clean
20009 @endif libcpp-bootstrap
20012 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
20013 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
20014 maybe-all-stagefeedback-libcpp:
20015 maybe-clean-stagefeedback-libcpp:
20016 @if libcpp-bootstrap
20017 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
20018 all-stagefeedback: all-stagefeedback-libcpp
20019 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
20020 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
20021 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20022 @r=`${PWD_COMMAND}`; export r; \
20023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20024 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20025 $(HOST_EXPORTS) \
20026 $(POSTSTAGE1_HOST_EXPORTS) \
20027 cd $(HOST_SUBDIR)/libcpp && \
20028 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20029 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20030 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20031 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20032 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20033 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20034 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20035 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20036 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20037 $(TARGET-stagefeedback-libcpp)
20039 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
20040 clean-stagefeedback: clean-stagefeedback-libcpp
20041 clean-stagefeedback-libcpp:
20042 @if [ $(current_stage) = stagefeedback ]; then \
20043 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20044 else \
20045 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
20046 $(MAKE) stagefeedback-start; \
20047 fi; \
20048 cd $(HOST_SUBDIR)/libcpp && \
20049 $(MAKE) $(EXTRA_HOST_FLAGS) \
20050 $(POSTSTAGE1_FLAGS_TO_PASS) \
20051 clean
20052 @endif libcpp-bootstrap
20058 .PHONY: check-libcpp maybe-check-libcpp
20059 maybe-check-libcpp:
20060 @if libcpp
20061 maybe-check-libcpp: check-libcpp
20063 check-libcpp:
20064 @: $(MAKE); $(unstage)
20065 @r=`${PWD_COMMAND}`; export r; \
20066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20067 $(HOST_EXPORTS) \
20068 (cd $(HOST_SUBDIR)/libcpp && \
20069 $(MAKE) $(FLAGS_TO_PASS) check)
20071 @endif libcpp
20073 .PHONY: install-libcpp maybe-install-libcpp
20074 maybe-install-libcpp:
20075 @if libcpp
20076 maybe-install-libcpp: install-libcpp
20078 install-libcpp: installdirs
20079 @: $(MAKE); $(unstage)
20080 @r=`${PWD_COMMAND}`; export r; \
20081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20082 $(HOST_EXPORTS) \
20083 (cd $(HOST_SUBDIR)/libcpp && \
20084 $(MAKE) $(FLAGS_TO_PASS) install)
20086 @endif libcpp
20088 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
20089 maybe-install-strip-libcpp:
20090 @if libcpp
20091 maybe-install-strip-libcpp: install-strip-libcpp
20093 install-strip-libcpp: installdirs
20094 @: $(MAKE); $(unstage)
20095 @r=`${PWD_COMMAND}`; export r; \
20096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20097 $(HOST_EXPORTS) \
20098 (cd $(HOST_SUBDIR)/libcpp && \
20099 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20101 @endif libcpp
20103 # Other targets (info, dvi, pdf, etc.)
20105 .PHONY: maybe-info-libcpp info-libcpp
20106 maybe-info-libcpp:
20107 @if libcpp
20108 maybe-info-libcpp: info-libcpp
20110 info-libcpp: \
20111 configure-libcpp
20112 @[ -f ./libcpp/Makefile ] || exit 0; \
20113 r=`${PWD_COMMAND}`; export r; \
20114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20115 $(HOST_EXPORTS) \
20116 for flag in $(EXTRA_HOST_FLAGS) ; do \
20117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20118 done; \
20119 echo "Doing info in libcpp" ; \
20120 (cd $(HOST_SUBDIR)/libcpp && \
20121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20123 "RANLIB=$${RANLIB}" \
20124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20125 info) \
20126 || exit 1
20128 @endif libcpp
20130 .PHONY: maybe-dvi-libcpp dvi-libcpp
20131 maybe-dvi-libcpp:
20132 @if libcpp
20133 maybe-dvi-libcpp: dvi-libcpp
20135 dvi-libcpp: \
20136 configure-libcpp
20137 @[ -f ./libcpp/Makefile ] || exit 0; \
20138 r=`${PWD_COMMAND}`; export r; \
20139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20140 $(HOST_EXPORTS) \
20141 for flag in $(EXTRA_HOST_FLAGS) ; do \
20142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20143 done; \
20144 echo "Doing dvi in libcpp" ; \
20145 (cd $(HOST_SUBDIR)/libcpp && \
20146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20148 "RANLIB=$${RANLIB}" \
20149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20150 dvi) \
20151 || exit 1
20153 @endif libcpp
20155 .PHONY: maybe-pdf-libcpp pdf-libcpp
20156 maybe-pdf-libcpp:
20157 @if libcpp
20158 maybe-pdf-libcpp: pdf-libcpp
20160 pdf-libcpp: \
20161 configure-libcpp
20162 @[ -f ./libcpp/Makefile ] || exit 0; \
20163 r=`${PWD_COMMAND}`; export r; \
20164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20165 $(HOST_EXPORTS) \
20166 for flag in $(EXTRA_HOST_FLAGS) ; do \
20167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20168 done; \
20169 echo "Doing pdf in libcpp" ; \
20170 (cd $(HOST_SUBDIR)/libcpp && \
20171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20173 "RANLIB=$${RANLIB}" \
20174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20175 pdf) \
20176 || exit 1
20178 @endif libcpp
20180 .PHONY: maybe-html-libcpp html-libcpp
20181 maybe-html-libcpp:
20182 @if libcpp
20183 maybe-html-libcpp: html-libcpp
20185 html-libcpp: \
20186 configure-libcpp
20187 @[ -f ./libcpp/Makefile ] || exit 0; \
20188 r=`${PWD_COMMAND}`; export r; \
20189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20190 $(HOST_EXPORTS) \
20191 for flag in $(EXTRA_HOST_FLAGS) ; do \
20192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20193 done; \
20194 echo "Doing html in libcpp" ; \
20195 (cd $(HOST_SUBDIR)/libcpp && \
20196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20198 "RANLIB=$${RANLIB}" \
20199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20200 html) \
20201 || exit 1
20203 @endif libcpp
20205 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
20206 maybe-TAGS-libcpp:
20207 @if libcpp
20208 maybe-TAGS-libcpp: TAGS-libcpp
20210 TAGS-libcpp: \
20211 configure-libcpp
20212 @[ -f ./libcpp/Makefile ] || exit 0; \
20213 r=`${PWD_COMMAND}`; export r; \
20214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20215 $(HOST_EXPORTS) \
20216 for flag in $(EXTRA_HOST_FLAGS) ; do \
20217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20218 done; \
20219 echo "Doing TAGS in libcpp" ; \
20220 (cd $(HOST_SUBDIR)/libcpp && \
20221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20223 "RANLIB=$${RANLIB}" \
20224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20225 TAGS) \
20226 || exit 1
20228 @endif libcpp
20230 .PHONY: maybe-install-info-libcpp install-info-libcpp
20231 maybe-install-info-libcpp:
20232 @if libcpp
20233 maybe-install-info-libcpp: install-info-libcpp
20235 install-info-libcpp: \
20236 configure-libcpp \
20237 info-libcpp
20238 @[ -f ./libcpp/Makefile ] || exit 0; \
20239 r=`${PWD_COMMAND}`; export r; \
20240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20241 $(HOST_EXPORTS) \
20242 for flag in $(EXTRA_HOST_FLAGS) ; do \
20243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20244 done; \
20245 echo "Doing install-info in libcpp" ; \
20246 (cd $(HOST_SUBDIR)/libcpp && \
20247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20249 "RANLIB=$${RANLIB}" \
20250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20251 install-info) \
20252 || exit 1
20254 @endif libcpp
20256 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
20257 maybe-install-pdf-libcpp:
20258 @if libcpp
20259 maybe-install-pdf-libcpp: install-pdf-libcpp
20261 install-pdf-libcpp: \
20262 configure-libcpp \
20263 pdf-libcpp
20264 @[ -f ./libcpp/Makefile ] || exit 0; \
20265 r=`${PWD_COMMAND}`; export r; \
20266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20267 $(HOST_EXPORTS) \
20268 for flag in $(EXTRA_HOST_FLAGS) ; do \
20269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20270 done; \
20271 echo "Doing install-pdf in libcpp" ; \
20272 (cd $(HOST_SUBDIR)/libcpp && \
20273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20275 "RANLIB=$${RANLIB}" \
20276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20277 install-pdf) \
20278 || exit 1
20280 @endif libcpp
20282 .PHONY: maybe-install-html-libcpp install-html-libcpp
20283 maybe-install-html-libcpp:
20284 @if libcpp
20285 maybe-install-html-libcpp: install-html-libcpp
20287 install-html-libcpp: \
20288 configure-libcpp \
20289 html-libcpp
20290 @[ -f ./libcpp/Makefile ] || exit 0; \
20291 r=`${PWD_COMMAND}`; export r; \
20292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20293 $(HOST_EXPORTS) \
20294 for flag in $(EXTRA_HOST_FLAGS) ; do \
20295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20296 done; \
20297 echo "Doing install-html in libcpp" ; \
20298 (cd $(HOST_SUBDIR)/libcpp && \
20299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20301 "RANLIB=$${RANLIB}" \
20302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20303 install-html) \
20304 || exit 1
20306 @endif libcpp
20308 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
20309 maybe-installcheck-libcpp:
20310 @if libcpp
20311 maybe-installcheck-libcpp: installcheck-libcpp
20313 installcheck-libcpp: \
20314 configure-libcpp
20315 @[ -f ./libcpp/Makefile ] || exit 0; \
20316 r=`${PWD_COMMAND}`; export r; \
20317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20318 $(HOST_EXPORTS) \
20319 for flag in $(EXTRA_HOST_FLAGS) ; do \
20320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20321 done; \
20322 echo "Doing installcheck in libcpp" ; \
20323 (cd $(HOST_SUBDIR)/libcpp && \
20324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20326 "RANLIB=$${RANLIB}" \
20327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20328 installcheck) \
20329 || exit 1
20331 @endif libcpp
20333 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
20334 maybe-mostlyclean-libcpp:
20335 @if libcpp
20336 maybe-mostlyclean-libcpp: mostlyclean-libcpp
20338 mostlyclean-libcpp:
20339 @[ -f ./libcpp/Makefile ] || exit 0; \
20340 r=`${PWD_COMMAND}`; export r; \
20341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20342 $(HOST_EXPORTS) \
20343 for flag in $(EXTRA_HOST_FLAGS) ; do \
20344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20345 done; \
20346 echo "Doing mostlyclean in libcpp" ; \
20347 (cd $(HOST_SUBDIR)/libcpp && \
20348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20350 "RANLIB=$${RANLIB}" \
20351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20352 mostlyclean) \
20353 || exit 1
20355 @endif libcpp
20357 .PHONY: maybe-clean-libcpp clean-libcpp
20358 maybe-clean-libcpp:
20359 @if libcpp
20360 maybe-clean-libcpp: clean-libcpp
20362 clean-libcpp:
20363 @[ -f ./libcpp/Makefile ] || exit 0; \
20364 r=`${PWD_COMMAND}`; export r; \
20365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20366 $(HOST_EXPORTS) \
20367 for flag in $(EXTRA_HOST_FLAGS) ; do \
20368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20369 done; \
20370 echo "Doing clean in libcpp" ; \
20371 (cd $(HOST_SUBDIR)/libcpp && \
20372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20374 "RANLIB=$${RANLIB}" \
20375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20376 clean) \
20377 || exit 1
20379 @endif libcpp
20381 .PHONY: maybe-distclean-libcpp distclean-libcpp
20382 maybe-distclean-libcpp:
20383 @if libcpp
20384 maybe-distclean-libcpp: distclean-libcpp
20386 distclean-libcpp:
20387 @[ -f ./libcpp/Makefile ] || exit 0; \
20388 r=`${PWD_COMMAND}`; export r; \
20389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20390 $(HOST_EXPORTS) \
20391 for flag in $(EXTRA_HOST_FLAGS) ; do \
20392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20393 done; \
20394 echo "Doing distclean in libcpp" ; \
20395 (cd $(HOST_SUBDIR)/libcpp && \
20396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20398 "RANLIB=$${RANLIB}" \
20399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20400 distclean) \
20401 || exit 1
20403 @endif libcpp
20405 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
20406 maybe-maintainer-clean-libcpp:
20407 @if libcpp
20408 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
20410 maintainer-clean-libcpp:
20411 @[ -f ./libcpp/Makefile ] || exit 0; \
20412 r=`${PWD_COMMAND}`; export r; \
20413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20414 $(HOST_EXPORTS) \
20415 for flag in $(EXTRA_HOST_FLAGS) ; do \
20416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20417 done; \
20418 echo "Doing maintainer-clean in libcpp" ; \
20419 (cd $(HOST_SUBDIR)/libcpp && \
20420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20422 "RANLIB=$${RANLIB}" \
20423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20424 maintainer-clean) \
20425 || exit 1
20427 @endif libcpp
20431 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
20432 maybe-configure-libdecnumber:
20433 @if gcc-bootstrap
20434 configure-libdecnumber: stage_current
20435 @endif gcc-bootstrap
20436 @if libdecnumber
20437 maybe-configure-libdecnumber: configure-libdecnumber
20438 configure-libdecnumber:
20439 @r=`${PWD_COMMAND}`; export r; \
20440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20441 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20442 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20443 $(HOST_EXPORTS) \
20444 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
20445 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
20446 case $(srcdir) in \
20447 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20448 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20449 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20450 esac; \
20451 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20452 libsrcdir="$$s/libdecnumber"; \
20453 $(SHELL) $${libsrcdir}/configure \
20454 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20455 --target=${target_alias} $${srcdiroption} \
20456 || exit 1
20457 @endif libdecnumber
20461 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
20462 maybe-configure-stage1-libdecnumber:
20463 @if libdecnumber-bootstrap
20464 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
20465 configure-stage1-libdecnumber:
20466 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20467 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20468 @r=`${PWD_COMMAND}`; export r; \
20469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20470 TFLAGS="$(STAGE1_TFLAGS)"; \
20471 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20472 $(HOST_EXPORTS) \
20473 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20474 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20475 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20476 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
20477 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20478 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20479 case $(srcdir) in \
20480 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20481 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20482 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20483 esac; \
20484 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20485 libsrcdir="$$s/libdecnumber"; \
20486 $(SHELL) $${libsrcdir}/configure \
20487 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20488 --target=${target_alias} $${srcdiroption} \
20489 $(STAGE1_CONFIGURE_FLAGS)
20490 @endif libdecnumber-bootstrap
20492 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
20493 maybe-configure-stage2-libdecnumber:
20494 @if libdecnumber-bootstrap
20495 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
20496 configure-stage2-libdecnumber:
20497 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20498 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20499 @r=`${PWD_COMMAND}`; export r; \
20500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20501 TFLAGS="$(STAGE2_TFLAGS)"; \
20502 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20503 $(HOST_EXPORTS) \
20504 $(POSTSTAGE1_HOST_EXPORTS) \
20505 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20506 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20507 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20508 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
20509 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20510 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20511 case $(srcdir) in \
20512 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20513 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20514 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20515 esac; \
20516 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20517 libsrcdir="$$s/libdecnumber"; \
20518 $(SHELL) $${libsrcdir}/configure \
20519 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20520 --target=${target_alias} $${srcdiroption} \
20521 --with-build-libsubdir=$(HOST_SUBDIR) \
20522 $(STAGE2_CONFIGURE_FLAGS)
20523 @endif libdecnumber-bootstrap
20525 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
20526 maybe-configure-stage3-libdecnumber:
20527 @if libdecnumber-bootstrap
20528 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
20529 configure-stage3-libdecnumber:
20530 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20531 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20532 @r=`${PWD_COMMAND}`; export r; \
20533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20534 TFLAGS="$(STAGE3_TFLAGS)"; \
20535 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20536 $(HOST_EXPORTS) \
20537 $(POSTSTAGE1_HOST_EXPORTS) \
20538 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20539 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20540 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20541 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
20542 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20543 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20544 case $(srcdir) in \
20545 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20546 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20547 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20548 esac; \
20549 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20550 libsrcdir="$$s/libdecnumber"; \
20551 $(SHELL) $${libsrcdir}/configure \
20552 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20553 --target=${target_alias} $${srcdiroption} \
20554 --with-build-libsubdir=$(HOST_SUBDIR) \
20555 $(STAGE3_CONFIGURE_FLAGS)
20556 @endif libdecnumber-bootstrap
20558 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
20559 maybe-configure-stage4-libdecnumber:
20560 @if libdecnumber-bootstrap
20561 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
20562 configure-stage4-libdecnumber:
20563 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20564 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20565 @r=`${PWD_COMMAND}`; export r; \
20566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20567 TFLAGS="$(STAGE4_TFLAGS)"; \
20568 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20569 $(HOST_EXPORTS) \
20570 $(POSTSTAGE1_HOST_EXPORTS) \
20571 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20572 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20573 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20574 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
20575 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20576 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20577 case $(srcdir) in \
20578 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20579 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20580 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20581 esac; \
20582 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20583 libsrcdir="$$s/libdecnumber"; \
20584 $(SHELL) $${libsrcdir}/configure \
20585 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20586 --target=${target_alias} $${srcdiroption} \
20587 --with-build-libsubdir=$(HOST_SUBDIR) \
20588 $(STAGE4_CONFIGURE_FLAGS)
20589 @endif libdecnumber-bootstrap
20591 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
20592 maybe-configure-stageprofile-libdecnumber:
20593 @if libdecnumber-bootstrap
20594 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
20595 configure-stageprofile-libdecnumber:
20596 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20597 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20598 @r=`${PWD_COMMAND}`; export r; \
20599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20600 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20601 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20602 $(HOST_EXPORTS) \
20603 $(POSTSTAGE1_HOST_EXPORTS) \
20604 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20605 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20606 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20607 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
20608 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20609 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20610 case $(srcdir) in \
20611 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20612 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20613 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20614 esac; \
20615 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20616 libsrcdir="$$s/libdecnumber"; \
20617 $(SHELL) $${libsrcdir}/configure \
20618 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20619 --target=${target_alias} $${srcdiroption} \
20620 --with-build-libsubdir=$(HOST_SUBDIR) \
20621 $(STAGEprofile_CONFIGURE_FLAGS)
20622 @endif libdecnumber-bootstrap
20624 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
20625 maybe-configure-stagefeedback-libdecnumber:
20626 @if libdecnumber-bootstrap
20627 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
20628 configure-stagefeedback-libdecnumber:
20629 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20630 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20631 @r=`${PWD_COMMAND}`; export r; \
20632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20633 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20634 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20635 $(HOST_EXPORTS) \
20636 $(POSTSTAGE1_HOST_EXPORTS) \
20637 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20638 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20639 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20640 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
20641 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20642 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20643 case $(srcdir) in \
20644 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20645 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20646 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20647 esac; \
20648 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20649 libsrcdir="$$s/libdecnumber"; \
20650 $(SHELL) $${libsrcdir}/configure \
20651 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20652 --target=${target_alias} $${srcdiroption} \
20653 --with-build-libsubdir=$(HOST_SUBDIR) \
20654 $(STAGEfeedback_CONFIGURE_FLAGS)
20655 @endif libdecnumber-bootstrap
20661 .PHONY: all-libdecnumber maybe-all-libdecnumber
20662 maybe-all-libdecnumber:
20663 @if gcc-bootstrap
20664 all-libdecnumber: stage_current
20665 @endif gcc-bootstrap
20666 @if libdecnumber
20667 TARGET-libdecnumber=all
20668 maybe-all-libdecnumber: all-libdecnumber
20669 all-libdecnumber: configure-libdecnumber
20670 @r=`${PWD_COMMAND}`; export r; \
20671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20672 $(HOST_EXPORTS) \
20673 (cd $(HOST_SUBDIR)/libdecnumber && \
20674 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
20675 $(TARGET-libdecnumber))
20676 @endif libdecnumber
20680 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
20681 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
20682 maybe-all-stage1-libdecnumber:
20683 maybe-clean-stage1-libdecnumber:
20684 @if libdecnumber-bootstrap
20685 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
20686 all-stage1: all-stage1-libdecnumber
20687 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
20688 all-stage1-libdecnumber: configure-stage1-libdecnumber
20689 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20690 @r=`${PWD_COMMAND}`; export r; \
20691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20692 TFLAGS="$(STAGE1_TFLAGS)"; \
20693 $(HOST_EXPORTS) \
20694 cd $(HOST_SUBDIR)/libdecnumber && \
20695 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20696 CFLAGS="$(STAGE1_CFLAGS)" \
20697 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20698 LIBCFLAGS="$(LIBCFLAGS)" \
20699 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20700 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20701 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20702 $(EXTRA_HOST_FLAGS) \
20703 TFLAGS="$(STAGE1_TFLAGS)" \
20704 $(TARGET-stage1-libdecnumber)
20706 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
20707 clean-stage1: clean-stage1-libdecnumber
20708 clean-stage1-libdecnumber:
20709 @if [ $(current_stage) = stage1 ]; then \
20710 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20711 else \
20712 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
20713 $(MAKE) stage1-start; \
20714 fi; \
20715 cd $(HOST_SUBDIR)/libdecnumber && \
20716 $(MAKE) $(EXTRA_HOST_FLAGS) \
20717 clean
20718 @endif libdecnumber-bootstrap
20721 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
20722 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
20723 maybe-all-stage2-libdecnumber:
20724 maybe-clean-stage2-libdecnumber:
20725 @if libdecnumber-bootstrap
20726 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
20727 all-stage2: all-stage2-libdecnumber
20728 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
20729 all-stage2-libdecnumber: configure-stage2-libdecnumber
20730 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20731 @r=`${PWD_COMMAND}`; export r; \
20732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20733 TFLAGS="$(STAGE2_TFLAGS)"; \
20734 $(HOST_EXPORTS) \
20735 $(POSTSTAGE1_HOST_EXPORTS) \
20736 cd $(HOST_SUBDIR)/libdecnumber && \
20737 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20738 CFLAGS="$(STAGE2_CFLAGS)" \
20739 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20740 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20741 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20742 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20743 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20744 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20745 TFLAGS="$(STAGE2_TFLAGS)" \
20746 $(TARGET-stage2-libdecnumber)
20748 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
20749 clean-stage2: clean-stage2-libdecnumber
20750 clean-stage2-libdecnumber:
20751 @if [ $(current_stage) = stage2 ]; then \
20752 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20753 else \
20754 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
20755 $(MAKE) stage2-start; \
20756 fi; \
20757 cd $(HOST_SUBDIR)/libdecnumber && \
20758 $(MAKE) $(EXTRA_HOST_FLAGS) \
20759 $(POSTSTAGE1_FLAGS_TO_PASS) \
20760 clean
20761 @endif libdecnumber-bootstrap
20764 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
20765 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
20766 maybe-all-stage3-libdecnumber:
20767 maybe-clean-stage3-libdecnumber:
20768 @if libdecnumber-bootstrap
20769 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
20770 all-stage3: all-stage3-libdecnumber
20771 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
20772 all-stage3-libdecnumber: configure-stage3-libdecnumber
20773 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20774 @r=`${PWD_COMMAND}`; export r; \
20775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20776 TFLAGS="$(STAGE3_TFLAGS)"; \
20777 $(HOST_EXPORTS) \
20778 $(POSTSTAGE1_HOST_EXPORTS) \
20779 cd $(HOST_SUBDIR)/libdecnumber && \
20780 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20781 CFLAGS="$(STAGE3_CFLAGS)" \
20782 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20783 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20784 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20785 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20786 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20787 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20788 TFLAGS="$(STAGE3_TFLAGS)" \
20789 $(TARGET-stage3-libdecnumber)
20791 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
20792 clean-stage3: clean-stage3-libdecnumber
20793 clean-stage3-libdecnumber:
20794 @if [ $(current_stage) = stage3 ]; then \
20795 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20796 else \
20797 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
20798 $(MAKE) stage3-start; \
20799 fi; \
20800 cd $(HOST_SUBDIR)/libdecnumber && \
20801 $(MAKE) $(EXTRA_HOST_FLAGS) \
20802 $(POSTSTAGE1_FLAGS_TO_PASS) \
20803 clean
20804 @endif libdecnumber-bootstrap
20807 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
20808 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
20809 maybe-all-stage4-libdecnumber:
20810 maybe-clean-stage4-libdecnumber:
20811 @if libdecnumber-bootstrap
20812 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
20813 all-stage4: all-stage4-libdecnumber
20814 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
20815 all-stage4-libdecnumber: configure-stage4-libdecnumber
20816 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20817 @r=`${PWD_COMMAND}`; export r; \
20818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20819 TFLAGS="$(STAGE4_TFLAGS)"; \
20820 $(HOST_EXPORTS) \
20821 $(POSTSTAGE1_HOST_EXPORTS) \
20822 cd $(HOST_SUBDIR)/libdecnumber && \
20823 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20824 CFLAGS="$(STAGE4_CFLAGS)" \
20825 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20826 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20827 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20828 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20829 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20830 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20831 TFLAGS="$(STAGE4_TFLAGS)" \
20832 $(TARGET-stage4-libdecnumber)
20834 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
20835 clean-stage4: clean-stage4-libdecnumber
20836 clean-stage4-libdecnumber:
20837 @if [ $(current_stage) = stage4 ]; then \
20838 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20839 else \
20840 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
20841 $(MAKE) stage4-start; \
20842 fi; \
20843 cd $(HOST_SUBDIR)/libdecnumber && \
20844 $(MAKE) $(EXTRA_HOST_FLAGS) \
20845 $(POSTSTAGE1_FLAGS_TO_PASS) \
20846 clean
20847 @endif libdecnumber-bootstrap
20850 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
20851 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
20852 maybe-all-stageprofile-libdecnumber:
20853 maybe-clean-stageprofile-libdecnumber:
20854 @if libdecnumber-bootstrap
20855 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
20856 all-stageprofile: all-stageprofile-libdecnumber
20857 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
20858 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
20859 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20860 @r=`${PWD_COMMAND}`; export r; \
20861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20862 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20863 $(HOST_EXPORTS) \
20864 $(POSTSTAGE1_HOST_EXPORTS) \
20865 cd $(HOST_SUBDIR)/libdecnumber && \
20866 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20867 CFLAGS="$(STAGEprofile_CFLAGS)" \
20868 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20869 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20870 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20871 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20872 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20873 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20874 TFLAGS="$(STAGEprofile_TFLAGS)" \
20875 $(TARGET-stageprofile-libdecnumber)
20877 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
20878 clean-stageprofile: clean-stageprofile-libdecnumber
20879 clean-stageprofile-libdecnumber:
20880 @if [ $(current_stage) = stageprofile ]; then \
20881 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20882 else \
20883 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
20884 $(MAKE) stageprofile-start; \
20885 fi; \
20886 cd $(HOST_SUBDIR)/libdecnumber && \
20887 $(MAKE) $(EXTRA_HOST_FLAGS) \
20888 $(POSTSTAGE1_FLAGS_TO_PASS) \
20889 clean
20890 @endif libdecnumber-bootstrap
20893 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
20894 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
20895 maybe-all-stagefeedback-libdecnumber:
20896 maybe-clean-stagefeedback-libdecnumber:
20897 @if libdecnumber-bootstrap
20898 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
20899 all-stagefeedback: all-stagefeedback-libdecnumber
20900 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
20901 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
20902 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20903 @r=`${PWD_COMMAND}`; export r; \
20904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20905 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20906 $(HOST_EXPORTS) \
20907 $(POSTSTAGE1_HOST_EXPORTS) \
20908 cd $(HOST_SUBDIR)/libdecnumber && \
20909 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20910 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20911 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20912 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20913 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20914 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20915 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20916 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20917 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20918 $(TARGET-stagefeedback-libdecnumber)
20920 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
20921 clean-stagefeedback: clean-stagefeedback-libdecnumber
20922 clean-stagefeedback-libdecnumber:
20923 @if [ $(current_stage) = stagefeedback ]; then \
20924 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20925 else \
20926 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
20927 $(MAKE) stagefeedback-start; \
20928 fi; \
20929 cd $(HOST_SUBDIR)/libdecnumber && \
20930 $(MAKE) $(EXTRA_HOST_FLAGS) \
20931 $(POSTSTAGE1_FLAGS_TO_PASS) \
20932 clean
20933 @endif libdecnumber-bootstrap
20939 .PHONY: check-libdecnumber maybe-check-libdecnumber
20940 maybe-check-libdecnumber:
20941 @if libdecnumber
20942 maybe-check-libdecnumber: check-libdecnumber
20944 check-libdecnumber:
20945 @: $(MAKE); $(unstage)
20946 @r=`${PWD_COMMAND}`; export r; \
20947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20948 $(HOST_EXPORTS) \
20949 (cd $(HOST_SUBDIR)/libdecnumber && \
20950 $(MAKE) $(FLAGS_TO_PASS) check)
20952 @endif libdecnumber
20954 .PHONY: install-libdecnumber maybe-install-libdecnumber
20955 maybe-install-libdecnumber:
20956 @if libdecnumber
20957 maybe-install-libdecnumber: install-libdecnumber
20959 install-libdecnumber: installdirs
20960 @: $(MAKE); $(unstage)
20961 @r=`${PWD_COMMAND}`; export r; \
20962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20963 $(HOST_EXPORTS) \
20964 (cd $(HOST_SUBDIR)/libdecnumber && \
20965 $(MAKE) $(FLAGS_TO_PASS) install)
20967 @endif libdecnumber
20969 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
20970 maybe-install-strip-libdecnumber:
20971 @if libdecnumber
20972 maybe-install-strip-libdecnumber: install-strip-libdecnumber
20974 install-strip-libdecnumber: installdirs
20975 @: $(MAKE); $(unstage)
20976 @r=`${PWD_COMMAND}`; export r; \
20977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20978 $(HOST_EXPORTS) \
20979 (cd $(HOST_SUBDIR)/libdecnumber && \
20980 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20982 @endif libdecnumber
20984 # Other targets (info, dvi, pdf, etc.)
20986 .PHONY: maybe-info-libdecnumber info-libdecnumber
20987 maybe-info-libdecnumber:
20988 @if libdecnumber
20989 maybe-info-libdecnumber: info-libdecnumber
20991 info-libdecnumber: \
20992 configure-libdecnumber
20993 @[ -f ./libdecnumber/Makefile ] || exit 0; \
20994 r=`${PWD_COMMAND}`; export r; \
20995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20996 $(HOST_EXPORTS) \
20997 for flag in $(EXTRA_HOST_FLAGS) ; do \
20998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20999 done; \
21000 echo "Doing info in libdecnumber" ; \
21001 (cd $(HOST_SUBDIR)/libdecnumber && \
21002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21004 "RANLIB=$${RANLIB}" \
21005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21006 info) \
21007 || exit 1
21009 @endif libdecnumber
21011 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
21012 maybe-dvi-libdecnumber:
21013 @if libdecnumber
21014 maybe-dvi-libdecnumber: dvi-libdecnumber
21016 dvi-libdecnumber: \
21017 configure-libdecnumber
21018 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21019 r=`${PWD_COMMAND}`; export r; \
21020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21021 $(HOST_EXPORTS) \
21022 for flag in $(EXTRA_HOST_FLAGS) ; do \
21023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21024 done; \
21025 echo "Doing dvi in libdecnumber" ; \
21026 (cd $(HOST_SUBDIR)/libdecnumber && \
21027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21029 "RANLIB=$${RANLIB}" \
21030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21031 dvi) \
21032 || exit 1
21034 @endif libdecnumber
21036 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
21037 maybe-pdf-libdecnumber:
21038 @if libdecnumber
21039 maybe-pdf-libdecnumber: pdf-libdecnumber
21041 pdf-libdecnumber: \
21042 configure-libdecnumber
21043 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21044 r=`${PWD_COMMAND}`; export r; \
21045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21046 $(HOST_EXPORTS) \
21047 for flag in $(EXTRA_HOST_FLAGS) ; do \
21048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21049 done; \
21050 echo "Doing pdf in libdecnumber" ; \
21051 (cd $(HOST_SUBDIR)/libdecnumber && \
21052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21054 "RANLIB=$${RANLIB}" \
21055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21056 pdf) \
21057 || exit 1
21059 @endif libdecnumber
21061 .PHONY: maybe-html-libdecnumber html-libdecnumber
21062 maybe-html-libdecnumber:
21063 @if libdecnumber
21064 maybe-html-libdecnumber: html-libdecnumber
21066 html-libdecnumber: \
21067 configure-libdecnumber
21068 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21069 r=`${PWD_COMMAND}`; export r; \
21070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21071 $(HOST_EXPORTS) \
21072 for flag in $(EXTRA_HOST_FLAGS) ; do \
21073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21074 done; \
21075 echo "Doing html in libdecnumber" ; \
21076 (cd $(HOST_SUBDIR)/libdecnumber && \
21077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21079 "RANLIB=$${RANLIB}" \
21080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21081 html) \
21082 || exit 1
21084 @endif libdecnumber
21086 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
21087 maybe-TAGS-libdecnumber:
21088 @if libdecnumber
21089 maybe-TAGS-libdecnumber: TAGS-libdecnumber
21091 TAGS-libdecnumber: \
21092 configure-libdecnumber
21093 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21094 r=`${PWD_COMMAND}`; export r; \
21095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21096 $(HOST_EXPORTS) \
21097 for flag in $(EXTRA_HOST_FLAGS) ; do \
21098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21099 done; \
21100 echo "Doing TAGS in libdecnumber" ; \
21101 (cd $(HOST_SUBDIR)/libdecnumber && \
21102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21104 "RANLIB=$${RANLIB}" \
21105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21106 TAGS) \
21107 || exit 1
21109 @endif libdecnumber
21111 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
21112 maybe-install-info-libdecnumber:
21113 @if libdecnumber
21114 maybe-install-info-libdecnumber: install-info-libdecnumber
21116 install-info-libdecnumber: \
21117 configure-libdecnumber \
21118 info-libdecnumber
21119 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21120 r=`${PWD_COMMAND}`; export r; \
21121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21122 $(HOST_EXPORTS) \
21123 for flag in $(EXTRA_HOST_FLAGS) ; do \
21124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21125 done; \
21126 echo "Doing install-info in libdecnumber" ; \
21127 (cd $(HOST_SUBDIR)/libdecnumber && \
21128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21130 "RANLIB=$${RANLIB}" \
21131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21132 install-info) \
21133 || exit 1
21135 @endif libdecnumber
21137 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
21138 maybe-install-pdf-libdecnumber:
21139 @if libdecnumber
21140 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
21142 install-pdf-libdecnumber: \
21143 configure-libdecnumber \
21144 pdf-libdecnumber
21145 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21146 r=`${PWD_COMMAND}`; export r; \
21147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21148 $(HOST_EXPORTS) \
21149 for flag in $(EXTRA_HOST_FLAGS) ; do \
21150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21151 done; \
21152 echo "Doing install-pdf in libdecnumber" ; \
21153 (cd $(HOST_SUBDIR)/libdecnumber && \
21154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21156 "RANLIB=$${RANLIB}" \
21157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21158 install-pdf) \
21159 || exit 1
21161 @endif libdecnumber
21163 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
21164 maybe-install-html-libdecnumber:
21165 @if libdecnumber
21166 maybe-install-html-libdecnumber: install-html-libdecnumber
21168 install-html-libdecnumber: \
21169 configure-libdecnumber \
21170 html-libdecnumber
21171 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21172 r=`${PWD_COMMAND}`; export r; \
21173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21174 $(HOST_EXPORTS) \
21175 for flag in $(EXTRA_HOST_FLAGS) ; do \
21176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21177 done; \
21178 echo "Doing install-html in libdecnumber" ; \
21179 (cd $(HOST_SUBDIR)/libdecnumber && \
21180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21182 "RANLIB=$${RANLIB}" \
21183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21184 install-html) \
21185 || exit 1
21187 @endif libdecnumber
21189 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
21190 maybe-installcheck-libdecnumber:
21191 @if libdecnumber
21192 maybe-installcheck-libdecnumber: installcheck-libdecnumber
21194 installcheck-libdecnumber: \
21195 configure-libdecnumber
21196 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21197 r=`${PWD_COMMAND}`; export r; \
21198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21199 $(HOST_EXPORTS) \
21200 for flag in $(EXTRA_HOST_FLAGS) ; do \
21201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21202 done; \
21203 echo "Doing installcheck in libdecnumber" ; \
21204 (cd $(HOST_SUBDIR)/libdecnumber && \
21205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21207 "RANLIB=$${RANLIB}" \
21208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21209 installcheck) \
21210 || exit 1
21212 @endif libdecnumber
21214 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
21215 maybe-mostlyclean-libdecnumber:
21216 @if libdecnumber
21217 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
21219 mostlyclean-libdecnumber:
21220 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21221 r=`${PWD_COMMAND}`; export r; \
21222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21223 $(HOST_EXPORTS) \
21224 for flag in $(EXTRA_HOST_FLAGS) ; do \
21225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21226 done; \
21227 echo "Doing mostlyclean in libdecnumber" ; \
21228 (cd $(HOST_SUBDIR)/libdecnumber && \
21229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21231 "RANLIB=$${RANLIB}" \
21232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21233 mostlyclean) \
21234 || exit 1
21236 @endif libdecnumber
21238 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
21239 maybe-clean-libdecnumber:
21240 @if libdecnumber
21241 maybe-clean-libdecnumber: clean-libdecnumber
21243 clean-libdecnumber:
21244 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21245 r=`${PWD_COMMAND}`; export r; \
21246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21247 $(HOST_EXPORTS) \
21248 for flag in $(EXTRA_HOST_FLAGS) ; do \
21249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21250 done; \
21251 echo "Doing clean in libdecnumber" ; \
21252 (cd $(HOST_SUBDIR)/libdecnumber && \
21253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21255 "RANLIB=$${RANLIB}" \
21256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21257 clean) \
21258 || exit 1
21260 @endif libdecnumber
21262 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
21263 maybe-distclean-libdecnumber:
21264 @if libdecnumber
21265 maybe-distclean-libdecnumber: distclean-libdecnumber
21267 distclean-libdecnumber:
21268 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21269 r=`${PWD_COMMAND}`; export r; \
21270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21271 $(HOST_EXPORTS) \
21272 for flag in $(EXTRA_HOST_FLAGS) ; do \
21273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21274 done; \
21275 echo "Doing distclean in libdecnumber" ; \
21276 (cd $(HOST_SUBDIR)/libdecnumber && \
21277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21279 "RANLIB=$${RANLIB}" \
21280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21281 distclean) \
21282 || exit 1
21284 @endif libdecnumber
21286 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
21287 maybe-maintainer-clean-libdecnumber:
21288 @if libdecnumber
21289 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
21291 maintainer-clean-libdecnumber:
21292 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21293 r=`${PWD_COMMAND}`; export r; \
21294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21295 $(HOST_EXPORTS) \
21296 for flag in $(EXTRA_HOST_FLAGS) ; do \
21297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21298 done; \
21299 echo "Doing maintainer-clean in libdecnumber" ; \
21300 (cd $(HOST_SUBDIR)/libdecnumber && \
21301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21303 "RANLIB=$${RANLIB}" \
21304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21305 maintainer-clean) \
21306 || exit 1
21308 @endif libdecnumber
21312 .PHONY: configure-libgui maybe-configure-libgui
21313 maybe-configure-libgui:
21314 @if gcc-bootstrap
21315 configure-libgui: stage_current
21316 @endif gcc-bootstrap
21317 @if libgui
21318 maybe-configure-libgui: configure-libgui
21319 configure-libgui:
21320 @: $(MAKE); $(unstage)
21321 @r=`${PWD_COMMAND}`; export r; \
21322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21323 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
21324 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
21325 $(HOST_EXPORTS) \
21326 echo Configuring in $(HOST_SUBDIR)/libgui; \
21327 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
21328 case $(srcdir) in \
21329 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21330 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
21331 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21332 esac; \
21333 srcdiroption="--srcdir=$${topdir}/libgui"; \
21334 libsrcdir="$$s/libgui"; \
21335 $(SHELL) $${libsrcdir}/configure \
21336 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21337 --target=${target_alias} $${srcdiroption} \
21338 || exit 1
21339 @endif libgui
21345 .PHONY: all-libgui maybe-all-libgui
21346 maybe-all-libgui:
21347 @if gcc-bootstrap
21348 all-libgui: stage_current
21349 @endif gcc-bootstrap
21350 @if libgui
21351 TARGET-libgui=all
21352 maybe-all-libgui: all-libgui
21353 all-libgui: configure-libgui
21354 @: $(MAKE); $(unstage)
21355 @r=`${PWD_COMMAND}`; export r; \
21356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21357 $(HOST_EXPORTS) \
21358 (cd $(HOST_SUBDIR)/libgui && \
21359 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
21360 $(TARGET-libgui))
21361 @endif libgui
21366 .PHONY: check-libgui maybe-check-libgui
21367 maybe-check-libgui:
21368 @if libgui
21369 maybe-check-libgui: check-libgui
21371 check-libgui:
21372 @: $(MAKE); $(unstage)
21373 @r=`${PWD_COMMAND}`; export r; \
21374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21375 $(HOST_EXPORTS) \
21376 (cd $(HOST_SUBDIR)/libgui && \
21377 $(MAKE) $(FLAGS_TO_PASS) check)
21379 @endif libgui
21381 .PHONY: install-libgui maybe-install-libgui
21382 maybe-install-libgui:
21383 @if libgui
21384 maybe-install-libgui: install-libgui
21386 install-libgui: installdirs
21387 @: $(MAKE); $(unstage)
21388 @r=`${PWD_COMMAND}`; export r; \
21389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21390 $(HOST_EXPORTS) \
21391 (cd $(HOST_SUBDIR)/libgui && \
21392 $(MAKE) $(FLAGS_TO_PASS) install)
21394 @endif libgui
21396 .PHONY: install-strip-libgui maybe-install-strip-libgui
21397 maybe-install-strip-libgui:
21398 @if libgui
21399 maybe-install-strip-libgui: install-strip-libgui
21401 install-strip-libgui: installdirs
21402 @: $(MAKE); $(unstage)
21403 @r=`${PWD_COMMAND}`; export r; \
21404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21405 $(HOST_EXPORTS) \
21406 (cd $(HOST_SUBDIR)/libgui && \
21407 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21409 @endif libgui
21411 # Other targets (info, dvi, pdf, etc.)
21413 .PHONY: maybe-info-libgui info-libgui
21414 maybe-info-libgui:
21415 @if libgui
21416 maybe-info-libgui: info-libgui
21418 info-libgui: \
21419 configure-libgui
21420 @: $(MAKE); $(unstage)
21421 @[ -f ./libgui/Makefile ] || exit 0; \
21422 r=`${PWD_COMMAND}`; export r; \
21423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21424 $(HOST_EXPORTS) \
21425 for flag in $(EXTRA_HOST_FLAGS) ; do \
21426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21427 done; \
21428 echo "Doing info in libgui" ; \
21429 (cd $(HOST_SUBDIR)/libgui && \
21430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21432 "RANLIB=$${RANLIB}" \
21433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21434 info) \
21435 || exit 1
21437 @endif libgui
21439 .PHONY: maybe-dvi-libgui dvi-libgui
21440 maybe-dvi-libgui:
21441 @if libgui
21442 maybe-dvi-libgui: dvi-libgui
21444 dvi-libgui: \
21445 configure-libgui
21446 @: $(MAKE); $(unstage)
21447 @[ -f ./libgui/Makefile ] || exit 0; \
21448 r=`${PWD_COMMAND}`; export r; \
21449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21450 $(HOST_EXPORTS) \
21451 for flag in $(EXTRA_HOST_FLAGS) ; do \
21452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21453 done; \
21454 echo "Doing dvi in libgui" ; \
21455 (cd $(HOST_SUBDIR)/libgui && \
21456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21458 "RANLIB=$${RANLIB}" \
21459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21460 dvi) \
21461 || exit 1
21463 @endif libgui
21465 .PHONY: maybe-pdf-libgui pdf-libgui
21466 maybe-pdf-libgui:
21467 @if libgui
21468 maybe-pdf-libgui: pdf-libgui
21470 pdf-libgui: \
21471 configure-libgui
21472 @: $(MAKE); $(unstage)
21473 @[ -f ./libgui/Makefile ] || exit 0; \
21474 r=`${PWD_COMMAND}`; export r; \
21475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21476 $(HOST_EXPORTS) \
21477 for flag in $(EXTRA_HOST_FLAGS) ; do \
21478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21479 done; \
21480 echo "Doing pdf in libgui" ; \
21481 (cd $(HOST_SUBDIR)/libgui && \
21482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21484 "RANLIB=$${RANLIB}" \
21485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21486 pdf) \
21487 || exit 1
21489 @endif libgui
21491 .PHONY: maybe-html-libgui html-libgui
21492 maybe-html-libgui:
21493 @if libgui
21494 maybe-html-libgui: html-libgui
21496 html-libgui: \
21497 configure-libgui
21498 @: $(MAKE); $(unstage)
21499 @[ -f ./libgui/Makefile ] || exit 0; \
21500 r=`${PWD_COMMAND}`; export r; \
21501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21502 $(HOST_EXPORTS) \
21503 for flag in $(EXTRA_HOST_FLAGS) ; do \
21504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21505 done; \
21506 echo "Doing html in libgui" ; \
21507 (cd $(HOST_SUBDIR)/libgui && \
21508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21510 "RANLIB=$${RANLIB}" \
21511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21512 html) \
21513 || exit 1
21515 @endif libgui
21517 .PHONY: maybe-TAGS-libgui TAGS-libgui
21518 maybe-TAGS-libgui:
21519 @if libgui
21520 maybe-TAGS-libgui: TAGS-libgui
21522 TAGS-libgui: \
21523 configure-libgui
21524 @: $(MAKE); $(unstage)
21525 @[ -f ./libgui/Makefile ] || exit 0; \
21526 r=`${PWD_COMMAND}`; export r; \
21527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21528 $(HOST_EXPORTS) \
21529 for flag in $(EXTRA_HOST_FLAGS) ; do \
21530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21531 done; \
21532 echo "Doing TAGS in libgui" ; \
21533 (cd $(HOST_SUBDIR)/libgui && \
21534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21536 "RANLIB=$${RANLIB}" \
21537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21538 TAGS) \
21539 || exit 1
21541 @endif libgui
21543 .PHONY: maybe-install-info-libgui install-info-libgui
21544 maybe-install-info-libgui:
21545 @if libgui
21546 maybe-install-info-libgui: install-info-libgui
21548 install-info-libgui: \
21549 configure-libgui \
21550 info-libgui
21551 @: $(MAKE); $(unstage)
21552 @[ -f ./libgui/Makefile ] || exit 0; \
21553 r=`${PWD_COMMAND}`; export r; \
21554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21555 $(HOST_EXPORTS) \
21556 for flag in $(EXTRA_HOST_FLAGS) ; do \
21557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21558 done; \
21559 echo "Doing install-info in libgui" ; \
21560 (cd $(HOST_SUBDIR)/libgui && \
21561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21563 "RANLIB=$${RANLIB}" \
21564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21565 install-info) \
21566 || exit 1
21568 @endif libgui
21570 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
21571 maybe-install-pdf-libgui:
21572 @if libgui
21573 maybe-install-pdf-libgui: install-pdf-libgui
21575 install-pdf-libgui: \
21576 configure-libgui \
21577 pdf-libgui
21578 @: $(MAKE); $(unstage)
21579 @[ -f ./libgui/Makefile ] || exit 0; \
21580 r=`${PWD_COMMAND}`; export r; \
21581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21582 $(HOST_EXPORTS) \
21583 for flag in $(EXTRA_HOST_FLAGS) ; do \
21584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21585 done; \
21586 echo "Doing install-pdf in libgui" ; \
21587 (cd $(HOST_SUBDIR)/libgui && \
21588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21590 "RANLIB=$${RANLIB}" \
21591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21592 install-pdf) \
21593 || exit 1
21595 @endif libgui
21597 .PHONY: maybe-install-html-libgui install-html-libgui
21598 maybe-install-html-libgui:
21599 @if libgui
21600 maybe-install-html-libgui: install-html-libgui
21602 install-html-libgui: \
21603 configure-libgui \
21604 html-libgui
21605 @: $(MAKE); $(unstage)
21606 @[ -f ./libgui/Makefile ] || exit 0; \
21607 r=`${PWD_COMMAND}`; export r; \
21608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21609 $(HOST_EXPORTS) \
21610 for flag in $(EXTRA_HOST_FLAGS) ; do \
21611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21612 done; \
21613 echo "Doing install-html in libgui" ; \
21614 (cd $(HOST_SUBDIR)/libgui && \
21615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21617 "RANLIB=$${RANLIB}" \
21618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21619 install-html) \
21620 || exit 1
21622 @endif libgui
21624 .PHONY: maybe-installcheck-libgui installcheck-libgui
21625 maybe-installcheck-libgui:
21626 @if libgui
21627 maybe-installcheck-libgui: installcheck-libgui
21629 installcheck-libgui: \
21630 configure-libgui
21631 @: $(MAKE); $(unstage)
21632 @[ -f ./libgui/Makefile ] || exit 0; \
21633 r=`${PWD_COMMAND}`; export r; \
21634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21635 $(HOST_EXPORTS) \
21636 for flag in $(EXTRA_HOST_FLAGS) ; do \
21637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21638 done; \
21639 echo "Doing installcheck in libgui" ; \
21640 (cd $(HOST_SUBDIR)/libgui && \
21641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21643 "RANLIB=$${RANLIB}" \
21644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21645 installcheck) \
21646 || exit 1
21648 @endif libgui
21650 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
21651 maybe-mostlyclean-libgui:
21652 @if libgui
21653 maybe-mostlyclean-libgui: mostlyclean-libgui
21655 mostlyclean-libgui:
21656 @: $(MAKE); $(unstage)
21657 @[ -f ./libgui/Makefile ] || exit 0; \
21658 r=`${PWD_COMMAND}`; export r; \
21659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21660 $(HOST_EXPORTS) \
21661 for flag in $(EXTRA_HOST_FLAGS) ; do \
21662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21663 done; \
21664 echo "Doing mostlyclean in libgui" ; \
21665 (cd $(HOST_SUBDIR)/libgui && \
21666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21668 "RANLIB=$${RANLIB}" \
21669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21670 mostlyclean) \
21671 || exit 1
21673 @endif libgui
21675 .PHONY: maybe-clean-libgui clean-libgui
21676 maybe-clean-libgui:
21677 @if libgui
21678 maybe-clean-libgui: clean-libgui
21680 clean-libgui:
21681 @: $(MAKE); $(unstage)
21682 @[ -f ./libgui/Makefile ] || exit 0; \
21683 r=`${PWD_COMMAND}`; export r; \
21684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21685 $(HOST_EXPORTS) \
21686 for flag in $(EXTRA_HOST_FLAGS) ; do \
21687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21688 done; \
21689 echo "Doing clean in libgui" ; \
21690 (cd $(HOST_SUBDIR)/libgui && \
21691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21693 "RANLIB=$${RANLIB}" \
21694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21695 clean) \
21696 || exit 1
21698 @endif libgui
21700 .PHONY: maybe-distclean-libgui distclean-libgui
21701 maybe-distclean-libgui:
21702 @if libgui
21703 maybe-distclean-libgui: distclean-libgui
21705 distclean-libgui:
21706 @: $(MAKE); $(unstage)
21707 @[ -f ./libgui/Makefile ] || exit 0; \
21708 r=`${PWD_COMMAND}`; export r; \
21709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21710 $(HOST_EXPORTS) \
21711 for flag in $(EXTRA_HOST_FLAGS) ; do \
21712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21713 done; \
21714 echo "Doing distclean in libgui" ; \
21715 (cd $(HOST_SUBDIR)/libgui && \
21716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21718 "RANLIB=$${RANLIB}" \
21719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21720 distclean) \
21721 || exit 1
21723 @endif libgui
21725 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
21726 maybe-maintainer-clean-libgui:
21727 @if libgui
21728 maybe-maintainer-clean-libgui: maintainer-clean-libgui
21730 maintainer-clean-libgui:
21731 @: $(MAKE); $(unstage)
21732 @[ -f ./libgui/Makefile ] || exit 0; \
21733 r=`${PWD_COMMAND}`; export r; \
21734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21735 $(HOST_EXPORTS) \
21736 for flag in $(EXTRA_HOST_FLAGS) ; do \
21737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21738 done; \
21739 echo "Doing maintainer-clean in libgui" ; \
21740 (cd $(HOST_SUBDIR)/libgui && \
21741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21743 "RANLIB=$${RANLIB}" \
21744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21745 maintainer-clean) \
21746 || exit 1
21748 @endif libgui
21752 .PHONY: configure-libiberty maybe-configure-libiberty
21753 maybe-configure-libiberty:
21754 @if gcc-bootstrap
21755 configure-libiberty: stage_current
21756 @endif gcc-bootstrap
21757 @if libiberty
21758 maybe-configure-libiberty: configure-libiberty
21759 configure-libiberty:
21760 @r=`${PWD_COMMAND}`; export r; \
21761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21762 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21763 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21764 $(HOST_EXPORTS) \
21765 echo Configuring in $(HOST_SUBDIR)/libiberty; \
21766 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
21767 case $(srcdir) in \
21768 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21769 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21770 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21771 esac; \
21772 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21773 libsrcdir="$$s/libiberty"; \
21774 $(SHELL) $${libsrcdir}/configure \
21775 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21776 --target=${target_alias} $${srcdiroption} @extra_host_libiberty_configure_flags@ \
21777 || exit 1
21778 @endif libiberty
21782 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
21783 maybe-configure-stage1-libiberty:
21784 @if libiberty-bootstrap
21785 maybe-configure-stage1-libiberty: configure-stage1-libiberty
21786 configure-stage1-libiberty:
21787 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21788 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21789 @r=`${PWD_COMMAND}`; export r; \
21790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21791 TFLAGS="$(STAGE1_TFLAGS)"; \
21792 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21793 $(HOST_EXPORTS) \
21794 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21795 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21796 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21797 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
21798 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21799 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21800 case $(srcdir) in \
21801 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21802 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21803 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21804 esac; \
21805 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21806 libsrcdir="$$s/libiberty"; \
21807 $(SHELL) $${libsrcdir}/configure \
21808 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21809 --target=${target_alias} $${srcdiroption} \
21810 $(STAGE1_CONFIGURE_FLAGS) \
21811 @extra_host_libiberty_configure_flags@
21812 @endif libiberty-bootstrap
21814 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
21815 maybe-configure-stage2-libiberty:
21816 @if libiberty-bootstrap
21817 maybe-configure-stage2-libiberty: configure-stage2-libiberty
21818 configure-stage2-libiberty:
21819 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21820 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21821 @r=`${PWD_COMMAND}`; export r; \
21822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21823 TFLAGS="$(STAGE2_TFLAGS)"; \
21824 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21825 $(HOST_EXPORTS) \
21826 $(POSTSTAGE1_HOST_EXPORTS) \
21827 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21828 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21829 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21830 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
21831 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21832 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21833 case $(srcdir) in \
21834 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21835 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21836 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21837 esac; \
21838 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21839 libsrcdir="$$s/libiberty"; \
21840 $(SHELL) $${libsrcdir}/configure \
21841 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21842 --target=${target_alias} $${srcdiroption} \
21843 --with-build-libsubdir=$(HOST_SUBDIR) \
21844 $(STAGE2_CONFIGURE_FLAGS) \
21845 @extra_host_libiberty_configure_flags@
21846 @endif libiberty-bootstrap
21848 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
21849 maybe-configure-stage3-libiberty:
21850 @if libiberty-bootstrap
21851 maybe-configure-stage3-libiberty: configure-stage3-libiberty
21852 configure-stage3-libiberty:
21853 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21854 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21855 @r=`${PWD_COMMAND}`; export r; \
21856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21857 TFLAGS="$(STAGE3_TFLAGS)"; \
21858 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21859 $(HOST_EXPORTS) \
21860 $(POSTSTAGE1_HOST_EXPORTS) \
21861 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21862 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21863 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21864 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
21865 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21866 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21867 case $(srcdir) in \
21868 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21869 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21870 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21871 esac; \
21872 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21873 libsrcdir="$$s/libiberty"; \
21874 $(SHELL) $${libsrcdir}/configure \
21875 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21876 --target=${target_alias} $${srcdiroption} \
21877 --with-build-libsubdir=$(HOST_SUBDIR) \
21878 $(STAGE3_CONFIGURE_FLAGS) \
21879 @extra_host_libiberty_configure_flags@
21880 @endif libiberty-bootstrap
21882 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
21883 maybe-configure-stage4-libiberty:
21884 @if libiberty-bootstrap
21885 maybe-configure-stage4-libiberty: configure-stage4-libiberty
21886 configure-stage4-libiberty:
21887 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21888 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21889 @r=`${PWD_COMMAND}`; export r; \
21890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21891 TFLAGS="$(STAGE4_TFLAGS)"; \
21892 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21893 $(HOST_EXPORTS) \
21894 $(POSTSTAGE1_HOST_EXPORTS) \
21895 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21896 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21897 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21898 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
21899 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21900 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21901 case $(srcdir) in \
21902 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21903 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21904 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21905 esac; \
21906 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21907 libsrcdir="$$s/libiberty"; \
21908 $(SHELL) $${libsrcdir}/configure \
21909 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21910 --target=${target_alias} $${srcdiroption} \
21911 --with-build-libsubdir=$(HOST_SUBDIR) \
21912 $(STAGE4_CONFIGURE_FLAGS) \
21913 @extra_host_libiberty_configure_flags@
21914 @endif libiberty-bootstrap
21916 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
21917 maybe-configure-stageprofile-libiberty:
21918 @if libiberty-bootstrap
21919 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
21920 configure-stageprofile-libiberty:
21921 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21922 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21923 @r=`${PWD_COMMAND}`; export r; \
21924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21925 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21926 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21927 $(HOST_EXPORTS) \
21928 $(POSTSTAGE1_HOST_EXPORTS) \
21929 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21930 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21931 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21932 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
21933 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21934 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21935 case $(srcdir) in \
21936 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21937 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21938 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21939 esac; \
21940 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21941 libsrcdir="$$s/libiberty"; \
21942 $(SHELL) $${libsrcdir}/configure \
21943 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21944 --target=${target_alias} $${srcdiroption} \
21945 --with-build-libsubdir=$(HOST_SUBDIR) \
21946 $(STAGEprofile_CONFIGURE_FLAGS) \
21947 @extra_host_libiberty_configure_flags@
21948 @endif libiberty-bootstrap
21950 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
21951 maybe-configure-stagefeedback-libiberty:
21952 @if libiberty-bootstrap
21953 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
21954 configure-stagefeedback-libiberty:
21955 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21956 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21957 @r=`${PWD_COMMAND}`; export r; \
21958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21959 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21960 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21961 $(HOST_EXPORTS) \
21962 $(POSTSTAGE1_HOST_EXPORTS) \
21963 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21964 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21965 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21966 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
21967 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21968 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21969 case $(srcdir) in \
21970 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21971 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21972 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21973 esac; \
21974 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21975 libsrcdir="$$s/libiberty"; \
21976 $(SHELL) $${libsrcdir}/configure \
21977 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21978 --target=${target_alias} $${srcdiroption} \
21979 --with-build-libsubdir=$(HOST_SUBDIR) \
21980 $(STAGEfeedback_CONFIGURE_FLAGS) \
21981 @extra_host_libiberty_configure_flags@
21982 @endif libiberty-bootstrap
21988 .PHONY: all-libiberty maybe-all-libiberty
21989 maybe-all-libiberty:
21990 @if gcc-bootstrap
21991 all-libiberty: stage_current
21992 @endif gcc-bootstrap
21993 @if libiberty
21994 TARGET-libiberty=all
21995 maybe-all-libiberty: all-libiberty
21996 all-libiberty: configure-libiberty
21997 @r=`${PWD_COMMAND}`; export r; \
21998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21999 $(HOST_EXPORTS) \
22000 (cd $(HOST_SUBDIR)/libiberty && \
22001 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
22002 $(TARGET-libiberty))
22003 @endif libiberty
22007 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
22008 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
22009 maybe-all-stage1-libiberty:
22010 maybe-clean-stage1-libiberty:
22011 @if libiberty-bootstrap
22012 maybe-all-stage1-libiberty: all-stage1-libiberty
22013 all-stage1: all-stage1-libiberty
22014 TARGET-stage1-libiberty = $(TARGET-libiberty)
22015 all-stage1-libiberty: configure-stage1-libiberty
22016 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22017 @r=`${PWD_COMMAND}`; export r; \
22018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22019 TFLAGS="$(STAGE1_TFLAGS)"; \
22020 $(HOST_EXPORTS) \
22021 cd $(HOST_SUBDIR)/libiberty && \
22022 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22023 CFLAGS="$(STAGE1_CFLAGS)" \
22024 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22025 LIBCFLAGS="$(LIBCFLAGS)" \
22026 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22027 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22028 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22029 $(EXTRA_HOST_FLAGS) \
22030 TFLAGS="$(STAGE1_TFLAGS)" \
22031 $(TARGET-stage1-libiberty)
22033 maybe-clean-stage1-libiberty: clean-stage1-libiberty
22034 clean-stage1: clean-stage1-libiberty
22035 clean-stage1-libiberty:
22036 @if [ $(current_stage) = stage1 ]; then \
22037 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22038 else \
22039 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
22040 $(MAKE) stage1-start; \
22041 fi; \
22042 cd $(HOST_SUBDIR)/libiberty && \
22043 $(MAKE) $(EXTRA_HOST_FLAGS) \
22044 clean
22045 @endif libiberty-bootstrap
22048 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
22049 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
22050 maybe-all-stage2-libiberty:
22051 maybe-clean-stage2-libiberty:
22052 @if libiberty-bootstrap
22053 maybe-all-stage2-libiberty: all-stage2-libiberty
22054 all-stage2: all-stage2-libiberty
22055 TARGET-stage2-libiberty = $(TARGET-libiberty)
22056 all-stage2-libiberty: configure-stage2-libiberty
22057 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22058 @r=`${PWD_COMMAND}`; export r; \
22059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22060 TFLAGS="$(STAGE2_TFLAGS)"; \
22061 $(HOST_EXPORTS) \
22062 $(POSTSTAGE1_HOST_EXPORTS) \
22063 cd $(HOST_SUBDIR)/libiberty && \
22064 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22065 CFLAGS="$(STAGE2_CFLAGS)" \
22066 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22067 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22068 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22069 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22070 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22071 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22072 TFLAGS="$(STAGE2_TFLAGS)" \
22073 $(TARGET-stage2-libiberty)
22075 maybe-clean-stage2-libiberty: clean-stage2-libiberty
22076 clean-stage2: clean-stage2-libiberty
22077 clean-stage2-libiberty:
22078 @if [ $(current_stage) = stage2 ]; then \
22079 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22080 else \
22081 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
22082 $(MAKE) stage2-start; \
22083 fi; \
22084 cd $(HOST_SUBDIR)/libiberty && \
22085 $(MAKE) $(EXTRA_HOST_FLAGS) \
22086 $(POSTSTAGE1_FLAGS_TO_PASS) \
22087 clean
22088 @endif libiberty-bootstrap
22091 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
22092 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
22093 maybe-all-stage3-libiberty:
22094 maybe-clean-stage3-libiberty:
22095 @if libiberty-bootstrap
22096 maybe-all-stage3-libiberty: all-stage3-libiberty
22097 all-stage3: all-stage3-libiberty
22098 TARGET-stage3-libiberty = $(TARGET-libiberty)
22099 all-stage3-libiberty: configure-stage3-libiberty
22100 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22101 @r=`${PWD_COMMAND}`; export r; \
22102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22103 TFLAGS="$(STAGE3_TFLAGS)"; \
22104 $(HOST_EXPORTS) \
22105 $(POSTSTAGE1_HOST_EXPORTS) \
22106 cd $(HOST_SUBDIR)/libiberty && \
22107 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22108 CFLAGS="$(STAGE3_CFLAGS)" \
22109 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22110 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22111 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22112 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22113 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22114 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22115 TFLAGS="$(STAGE3_TFLAGS)" \
22116 $(TARGET-stage3-libiberty)
22118 maybe-clean-stage3-libiberty: clean-stage3-libiberty
22119 clean-stage3: clean-stage3-libiberty
22120 clean-stage3-libiberty:
22121 @if [ $(current_stage) = stage3 ]; then \
22122 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22123 else \
22124 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
22125 $(MAKE) stage3-start; \
22126 fi; \
22127 cd $(HOST_SUBDIR)/libiberty && \
22128 $(MAKE) $(EXTRA_HOST_FLAGS) \
22129 $(POSTSTAGE1_FLAGS_TO_PASS) \
22130 clean
22131 @endif libiberty-bootstrap
22134 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
22135 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
22136 maybe-all-stage4-libiberty:
22137 maybe-clean-stage4-libiberty:
22138 @if libiberty-bootstrap
22139 maybe-all-stage4-libiberty: all-stage4-libiberty
22140 all-stage4: all-stage4-libiberty
22141 TARGET-stage4-libiberty = $(TARGET-libiberty)
22142 all-stage4-libiberty: configure-stage4-libiberty
22143 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22144 @r=`${PWD_COMMAND}`; export r; \
22145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22146 TFLAGS="$(STAGE4_TFLAGS)"; \
22147 $(HOST_EXPORTS) \
22148 $(POSTSTAGE1_HOST_EXPORTS) \
22149 cd $(HOST_SUBDIR)/libiberty && \
22150 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22151 CFLAGS="$(STAGE4_CFLAGS)" \
22152 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22153 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22154 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22155 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22156 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22157 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22158 TFLAGS="$(STAGE4_TFLAGS)" \
22159 $(TARGET-stage4-libiberty)
22161 maybe-clean-stage4-libiberty: clean-stage4-libiberty
22162 clean-stage4: clean-stage4-libiberty
22163 clean-stage4-libiberty:
22164 @if [ $(current_stage) = stage4 ]; then \
22165 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22166 else \
22167 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
22168 $(MAKE) stage4-start; \
22169 fi; \
22170 cd $(HOST_SUBDIR)/libiberty && \
22171 $(MAKE) $(EXTRA_HOST_FLAGS) \
22172 $(POSTSTAGE1_FLAGS_TO_PASS) \
22173 clean
22174 @endif libiberty-bootstrap
22177 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
22178 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
22179 maybe-all-stageprofile-libiberty:
22180 maybe-clean-stageprofile-libiberty:
22181 @if libiberty-bootstrap
22182 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
22183 all-stageprofile: all-stageprofile-libiberty
22184 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
22185 all-stageprofile-libiberty: configure-stageprofile-libiberty
22186 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22187 @r=`${PWD_COMMAND}`; export r; \
22188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22189 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22190 $(HOST_EXPORTS) \
22191 $(POSTSTAGE1_HOST_EXPORTS) \
22192 cd $(HOST_SUBDIR)/libiberty && \
22193 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22194 CFLAGS="$(STAGEprofile_CFLAGS)" \
22195 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22196 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22197 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22198 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22199 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22200 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22201 TFLAGS="$(STAGEprofile_TFLAGS)" \
22202 $(TARGET-stageprofile-libiberty)
22204 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
22205 clean-stageprofile: clean-stageprofile-libiberty
22206 clean-stageprofile-libiberty:
22207 @if [ $(current_stage) = stageprofile ]; then \
22208 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22209 else \
22210 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
22211 $(MAKE) stageprofile-start; \
22212 fi; \
22213 cd $(HOST_SUBDIR)/libiberty && \
22214 $(MAKE) $(EXTRA_HOST_FLAGS) \
22215 $(POSTSTAGE1_FLAGS_TO_PASS) \
22216 clean
22217 @endif libiberty-bootstrap
22220 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
22221 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
22222 maybe-all-stagefeedback-libiberty:
22223 maybe-clean-stagefeedback-libiberty:
22224 @if libiberty-bootstrap
22225 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
22226 all-stagefeedback: all-stagefeedback-libiberty
22227 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
22228 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
22229 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22230 @r=`${PWD_COMMAND}`; export r; \
22231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22232 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22233 $(HOST_EXPORTS) \
22234 $(POSTSTAGE1_HOST_EXPORTS) \
22235 cd $(HOST_SUBDIR)/libiberty && \
22236 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22237 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22238 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22239 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22240 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22241 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22242 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22243 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22244 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22245 $(TARGET-stagefeedback-libiberty)
22247 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
22248 clean-stagefeedback: clean-stagefeedback-libiberty
22249 clean-stagefeedback-libiberty:
22250 @if [ $(current_stage) = stagefeedback ]; then \
22251 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22252 else \
22253 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
22254 $(MAKE) stagefeedback-start; \
22255 fi; \
22256 cd $(HOST_SUBDIR)/libiberty && \
22257 $(MAKE) $(EXTRA_HOST_FLAGS) \
22258 $(POSTSTAGE1_FLAGS_TO_PASS) \
22259 clean
22260 @endif libiberty-bootstrap
22266 .PHONY: check-libiberty maybe-check-libiberty
22267 maybe-check-libiberty:
22268 @if libiberty
22269 maybe-check-libiberty: check-libiberty
22271 check-libiberty:
22272 @: $(MAKE); $(unstage)
22273 @r=`${PWD_COMMAND}`; export r; \
22274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22275 $(HOST_EXPORTS) \
22276 (cd $(HOST_SUBDIR)/libiberty && \
22277 $(MAKE) $(FLAGS_TO_PASS) check)
22279 @endif libiberty
22281 .PHONY: install-libiberty maybe-install-libiberty
22282 maybe-install-libiberty:
22283 @if libiberty
22284 maybe-install-libiberty: install-libiberty
22286 install-libiberty: installdirs
22287 @: $(MAKE); $(unstage)
22288 @r=`${PWD_COMMAND}`; export r; \
22289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22290 $(HOST_EXPORTS) \
22291 (cd $(HOST_SUBDIR)/libiberty && \
22292 $(MAKE) $(FLAGS_TO_PASS) install)
22294 @endif libiberty
22296 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
22297 maybe-install-strip-libiberty:
22298 @if libiberty
22299 maybe-install-strip-libiberty: install-strip-libiberty
22301 install-strip-libiberty: installdirs
22302 @: $(MAKE); $(unstage)
22303 @r=`${PWD_COMMAND}`; export r; \
22304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22305 $(HOST_EXPORTS) \
22306 (cd $(HOST_SUBDIR)/libiberty && \
22307 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22309 @endif libiberty
22311 # Other targets (info, dvi, pdf, etc.)
22313 .PHONY: maybe-info-libiberty info-libiberty
22314 maybe-info-libiberty:
22315 @if libiberty
22316 maybe-info-libiberty: info-libiberty
22318 info-libiberty: \
22319 configure-libiberty
22320 @[ -f ./libiberty/Makefile ] || exit 0; \
22321 r=`${PWD_COMMAND}`; export r; \
22322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22323 $(HOST_EXPORTS) \
22324 for flag in $(EXTRA_HOST_FLAGS) ; do \
22325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22326 done; \
22327 echo "Doing info in libiberty" ; \
22328 (cd $(HOST_SUBDIR)/libiberty && \
22329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22331 "RANLIB=$${RANLIB}" \
22332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22333 info) \
22334 || exit 1
22336 @endif libiberty
22338 .PHONY: maybe-dvi-libiberty dvi-libiberty
22339 maybe-dvi-libiberty:
22340 @if libiberty
22341 maybe-dvi-libiberty: dvi-libiberty
22343 dvi-libiberty: \
22344 configure-libiberty
22345 @[ -f ./libiberty/Makefile ] || exit 0; \
22346 r=`${PWD_COMMAND}`; export r; \
22347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22348 $(HOST_EXPORTS) \
22349 for flag in $(EXTRA_HOST_FLAGS) ; do \
22350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22351 done; \
22352 echo "Doing dvi in libiberty" ; \
22353 (cd $(HOST_SUBDIR)/libiberty && \
22354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22356 "RANLIB=$${RANLIB}" \
22357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22358 dvi) \
22359 || exit 1
22361 @endif libiberty
22363 .PHONY: maybe-pdf-libiberty pdf-libiberty
22364 maybe-pdf-libiberty:
22365 @if libiberty
22366 maybe-pdf-libiberty: pdf-libiberty
22368 pdf-libiberty: \
22369 configure-libiberty
22370 @[ -f ./libiberty/Makefile ] || exit 0; \
22371 r=`${PWD_COMMAND}`; export r; \
22372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22373 $(HOST_EXPORTS) \
22374 for flag in $(EXTRA_HOST_FLAGS) ; do \
22375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22376 done; \
22377 echo "Doing pdf in libiberty" ; \
22378 (cd $(HOST_SUBDIR)/libiberty && \
22379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22381 "RANLIB=$${RANLIB}" \
22382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22383 pdf) \
22384 || exit 1
22386 @endif libiberty
22388 .PHONY: maybe-html-libiberty html-libiberty
22389 maybe-html-libiberty:
22390 @if libiberty
22391 maybe-html-libiberty: html-libiberty
22393 html-libiberty: \
22394 configure-libiberty
22395 @[ -f ./libiberty/Makefile ] || exit 0; \
22396 r=`${PWD_COMMAND}`; export r; \
22397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22398 $(HOST_EXPORTS) \
22399 for flag in $(EXTRA_HOST_FLAGS) ; do \
22400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22401 done; \
22402 echo "Doing html in libiberty" ; \
22403 (cd $(HOST_SUBDIR)/libiberty && \
22404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22406 "RANLIB=$${RANLIB}" \
22407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22408 html) \
22409 || exit 1
22411 @endif libiberty
22413 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
22414 maybe-TAGS-libiberty:
22415 @if libiberty
22416 maybe-TAGS-libiberty: TAGS-libiberty
22418 TAGS-libiberty: \
22419 configure-libiberty
22420 @[ -f ./libiberty/Makefile ] || exit 0; \
22421 r=`${PWD_COMMAND}`; export r; \
22422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22423 $(HOST_EXPORTS) \
22424 for flag in $(EXTRA_HOST_FLAGS) ; do \
22425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22426 done; \
22427 echo "Doing TAGS in libiberty" ; \
22428 (cd $(HOST_SUBDIR)/libiberty && \
22429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22431 "RANLIB=$${RANLIB}" \
22432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22433 TAGS) \
22434 || exit 1
22436 @endif libiberty
22438 .PHONY: maybe-install-info-libiberty install-info-libiberty
22439 maybe-install-info-libiberty:
22440 @if libiberty
22441 maybe-install-info-libiberty: install-info-libiberty
22443 install-info-libiberty: \
22444 configure-libiberty \
22445 info-libiberty
22446 @[ -f ./libiberty/Makefile ] || exit 0; \
22447 r=`${PWD_COMMAND}`; export r; \
22448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22449 $(HOST_EXPORTS) \
22450 for flag in $(EXTRA_HOST_FLAGS) ; do \
22451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22452 done; \
22453 echo "Doing install-info in libiberty" ; \
22454 (cd $(HOST_SUBDIR)/libiberty && \
22455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22457 "RANLIB=$${RANLIB}" \
22458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22459 install-info) \
22460 || exit 1
22462 @endif libiberty
22464 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
22465 maybe-install-pdf-libiberty:
22466 @if libiberty
22467 maybe-install-pdf-libiberty: install-pdf-libiberty
22469 install-pdf-libiberty: \
22470 configure-libiberty \
22471 pdf-libiberty
22472 @[ -f ./libiberty/Makefile ] || exit 0; \
22473 r=`${PWD_COMMAND}`; export r; \
22474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22475 $(HOST_EXPORTS) \
22476 for flag in $(EXTRA_HOST_FLAGS) ; do \
22477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22478 done; \
22479 echo "Doing install-pdf in libiberty" ; \
22480 (cd $(HOST_SUBDIR)/libiberty && \
22481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22483 "RANLIB=$${RANLIB}" \
22484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22485 install-pdf) \
22486 || exit 1
22488 @endif libiberty
22490 .PHONY: maybe-install-html-libiberty install-html-libiberty
22491 maybe-install-html-libiberty:
22492 @if libiberty
22493 maybe-install-html-libiberty: install-html-libiberty
22495 install-html-libiberty: \
22496 configure-libiberty \
22497 html-libiberty
22498 @[ -f ./libiberty/Makefile ] || exit 0; \
22499 r=`${PWD_COMMAND}`; export r; \
22500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22501 $(HOST_EXPORTS) \
22502 for flag in $(EXTRA_HOST_FLAGS) ; do \
22503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22504 done; \
22505 echo "Doing install-html in libiberty" ; \
22506 (cd $(HOST_SUBDIR)/libiberty && \
22507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22509 "RANLIB=$${RANLIB}" \
22510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22511 install-html) \
22512 || exit 1
22514 @endif libiberty
22516 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
22517 maybe-installcheck-libiberty:
22518 @if libiberty
22519 maybe-installcheck-libiberty: installcheck-libiberty
22521 installcheck-libiberty: \
22522 configure-libiberty
22523 @[ -f ./libiberty/Makefile ] || exit 0; \
22524 r=`${PWD_COMMAND}`; export r; \
22525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22526 $(HOST_EXPORTS) \
22527 for flag in $(EXTRA_HOST_FLAGS) ; do \
22528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22529 done; \
22530 echo "Doing installcheck in libiberty" ; \
22531 (cd $(HOST_SUBDIR)/libiberty && \
22532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22534 "RANLIB=$${RANLIB}" \
22535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22536 installcheck) \
22537 || exit 1
22539 @endif libiberty
22541 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
22542 maybe-mostlyclean-libiberty:
22543 @if libiberty
22544 maybe-mostlyclean-libiberty: mostlyclean-libiberty
22546 mostlyclean-libiberty:
22547 @[ -f ./libiberty/Makefile ] || exit 0; \
22548 r=`${PWD_COMMAND}`; export r; \
22549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22550 $(HOST_EXPORTS) \
22551 for flag in $(EXTRA_HOST_FLAGS) ; do \
22552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22553 done; \
22554 echo "Doing mostlyclean in libiberty" ; \
22555 (cd $(HOST_SUBDIR)/libiberty && \
22556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22558 "RANLIB=$${RANLIB}" \
22559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22560 mostlyclean) \
22561 || exit 1
22563 @endif libiberty
22565 .PHONY: maybe-clean-libiberty clean-libiberty
22566 maybe-clean-libiberty:
22567 @if libiberty
22568 maybe-clean-libiberty: clean-libiberty
22570 clean-libiberty:
22571 @[ -f ./libiberty/Makefile ] || exit 0; \
22572 r=`${PWD_COMMAND}`; export r; \
22573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22574 $(HOST_EXPORTS) \
22575 for flag in $(EXTRA_HOST_FLAGS) ; do \
22576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22577 done; \
22578 echo "Doing clean in libiberty" ; \
22579 (cd $(HOST_SUBDIR)/libiberty && \
22580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22582 "RANLIB=$${RANLIB}" \
22583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22584 clean) \
22585 || exit 1
22587 @endif libiberty
22589 .PHONY: maybe-distclean-libiberty distclean-libiberty
22590 maybe-distclean-libiberty:
22591 @if libiberty
22592 maybe-distclean-libiberty: distclean-libiberty
22594 distclean-libiberty:
22595 @[ -f ./libiberty/Makefile ] || exit 0; \
22596 r=`${PWD_COMMAND}`; export r; \
22597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22598 $(HOST_EXPORTS) \
22599 for flag in $(EXTRA_HOST_FLAGS) ; do \
22600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22601 done; \
22602 echo "Doing distclean in libiberty" ; \
22603 (cd $(HOST_SUBDIR)/libiberty && \
22604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22606 "RANLIB=$${RANLIB}" \
22607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22608 distclean) \
22609 || exit 1
22611 @endif libiberty
22613 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
22614 maybe-maintainer-clean-libiberty:
22615 @if libiberty
22616 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
22618 maintainer-clean-libiberty:
22619 @[ -f ./libiberty/Makefile ] || exit 0; \
22620 r=`${PWD_COMMAND}`; export r; \
22621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22622 $(HOST_EXPORTS) \
22623 for flag in $(EXTRA_HOST_FLAGS) ; do \
22624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22625 done; \
22626 echo "Doing maintainer-clean in libiberty" ; \
22627 (cd $(HOST_SUBDIR)/libiberty && \
22628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22630 "RANLIB=$${RANLIB}" \
22631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22632 maintainer-clean) \
22633 || exit 1
22635 @endif libiberty
22639 .PHONY: configure-libiconv maybe-configure-libiconv
22640 maybe-configure-libiconv:
22641 @if gcc-bootstrap
22642 configure-libiconv: stage_current
22643 @endif gcc-bootstrap
22644 @if libiconv
22645 maybe-configure-libiconv: configure-libiconv
22646 configure-libiconv:
22647 @: $(MAKE); $(unstage)
22648 @r=`${PWD_COMMAND}`; export r; \
22649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22650 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
22651 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \
22652 $(HOST_EXPORTS) \
22653 echo Configuring in $(HOST_SUBDIR)/libiconv; \
22654 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
22655 case $(srcdir) in \
22656 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22657 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
22658 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22659 esac; \
22660 srcdiroption="--srcdir=$${topdir}/libiconv"; \
22661 libsrcdir="$$s/libiconv"; \
22662 $(SHELL) $${libsrcdir}/configure \
22663 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22664 --target=${target_alias} $${srcdiroption} --disable-shared \
22665 || exit 1
22666 @endif libiconv
22672 .PHONY: all-libiconv maybe-all-libiconv
22673 maybe-all-libiconv:
22674 @if gcc-bootstrap
22675 all-libiconv: stage_current
22676 @endif gcc-bootstrap
22677 @if libiconv
22678 TARGET-libiconv=all
22679 maybe-all-libiconv: all-libiconv
22680 all-libiconv: configure-libiconv
22681 @: $(MAKE); $(unstage)
22682 @r=`${PWD_COMMAND}`; export r; \
22683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22684 $(HOST_EXPORTS) \
22685 (cd $(HOST_SUBDIR)/libiconv && \
22686 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
22687 $(TARGET-libiconv))
22688 @endif libiconv
22693 .PHONY: check-libiconv maybe-check-libiconv
22694 maybe-check-libiconv:
22695 @if libiconv
22696 maybe-check-libiconv: check-libiconv
22698 check-libiconv:
22699 @: $(MAKE); $(unstage)
22700 @r=`${PWD_COMMAND}`; export r; \
22701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22702 $(HOST_EXPORTS) \
22703 (cd $(HOST_SUBDIR)/libiconv && \
22704 $(MAKE) $(FLAGS_TO_PASS) check)
22706 @endif libiconv
22708 .PHONY: install-libiconv maybe-install-libiconv
22709 maybe-install-libiconv:
22710 @if libiconv
22711 maybe-install-libiconv: install-libiconv
22713 install-libiconv:
22715 @endif libiconv
22717 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
22718 maybe-install-strip-libiconv:
22719 @if libiconv
22720 maybe-install-strip-libiconv: install-strip-libiconv
22722 install-strip-libiconv:
22724 @endif libiconv
22726 # Other targets (info, dvi, pdf, etc.)
22728 .PHONY: maybe-info-libiconv info-libiconv
22729 maybe-info-libiconv:
22730 @if libiconv
22731 maybe-info-libiconv: info-libiconv
22733 info-libiconv: \
22734 configure-libiconv
22735 @: $(MAKE); $(unstage)
22736 @[ -f ./libiconv/Makefile ] || exit 0; \
22737 r=`${PWD_COMMAND}`; export r; \
22738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22739 $(HOST_EXPORTS) \
22740 for flag in $(EXTRA_HOST_FLAGS) ; do \
22741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22742 done; \
22743 echo "Doing info in libiconv" ; \
22744 (cd $(HOST_SUBDIR)/libiconv && \
22745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22747 "RANLIB=$${RANLIB}" \
22748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22749 info) \
22750 || exit 1
22752 @endif libiconv
22754 .PHONY: maybe-dvi-libiconv dvi-libiconv
22755 maybe-dvi-libiconv:
22756 @if libiconv
22757 maybe-dvi-libiconv: dvi-libiconv
22759 dvi-libiconv: \
22760 configure-libiconv
22761 @: $(MAKE); $(unstage)
22762 @[ -f ./libiconv/Makefile ] || exit 0; \
22763 r=`${PWD_COMMAND}`; export r; \
22764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22765 $(HOST_EXPORTS) \
22766 for flag in $(EXTRA_HOST_FLAGS) ; do \
22767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22768 done; \
22769 echo "Doing dvi in libiconv" ; \
22770 (cd $(HOST_SUBDIR)/libiconv && \
22771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22773 "RANLIB=$${RANLIB}" \
22774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22775 dvi) \
22776 || exit 1
22778 @endif libiconv
22780 .PHONY: maybe-pdf-libiconv pdf-libiconv
22781 maybe-pdf-libiconv:
22782 @if libiconv
22783 maybe-pdf-libiconv: pdf-libiconv
22785 pdf-libiconv: \
22786 configure-libiconv
22787 @: $(MAKE); $(unstage)
22788 @[ -f ./libiconv/Makefile ] || exit 0; \
22789 r=`${PWD_COMMAND}`; export r; \
22790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22791 $(HOST_EXPORTS) \
22792 for flag in $(EXTRA_HOST_FLAGS) ; do \
22793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22794 done; \
22795 echo "Doing pdf in libiconv" ; \
22796 (cd $(HOST_SUBDIR)/libiconv && \
22797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22799 "RANLIB=$${RANLIB}" \
22800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22801 pdf) \
22802 || exit 1
22804 @endif libiconv
22806 .PHONY: maybe-html-libiconv html-libiconv
22807 maybe-html-libiconv:
22808 @if libiconv
22809 maybe-html-libiconv: html-libiconv
22811 html-libiconv: \
22812 configure-libiconv
22813 @: $(MAKE); $(unstage)
22814 @[ -f ./libiconv/Makefile ] || exit 0; \
22815 r=`${PWD_COMMAND}`; export r; \
22816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22817 $(HOST_EXPORTS) \
22818 for flag in $(EXTRA_HOST_FLAGS) ; do \
22819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22820 done; \
22821 echo "Doing html in libiconv" ; \
22822 (cd $(HOST_SUBDIR)/libiconv && \
22823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22825 "RANLIB=$${RANLIB}" \
22826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22827 html) \
22828 || exit 1
22830 @endif libiconv
22832 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
22833 maybe-TAGS-libiconv:
22834 @if libiconv
22835 maybe-TAGS-libiconv: TAGS-libiconv
22837 TAGS-libiconv: \
22838 configure-libiconv
22839 @: $(MAKE); $(unstage)
22840 @[ -f ./libiconv/Makefile ] || exit 0; \
22841 r=`${PWD_COMMAND}`; export r; \
22842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22843 $(HOST_EXPORTS) \
22844 for flag in $(EXTRA_HOST_FLAGS) ; do \
22845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22846 done; \
22847 echo "Doing TAGS in libiconv" ; \
22848 (cd $(HOST_SUBDIR)/libiconv && \
22849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22851 "RANLIB=$${RANLIB}" \
22852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22853 TAGS) \
22854 || exit 1
22856 @endif libiconv
22858 .PHONY: maybe-install-info-libiconv install-info-libiconv
22859 maybe-install-info-libiconv:
22860 @if libiconv
22861 maybe-install-info-libiconv: install-info-libiconv
22863 # libiconv doesn't support install-info.
22864 install-info-libiconv:
22866 @endif libiconv
22868 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
22869 maybe-install-pdf-libiconv:
22870 @if libiconv
22871 maybe-install-pdf-libiconv: install-pdf-libiconv
22873 # libiconv doesn't support install-pdf.
22874 install-pdf-libiconv:
22876 @endif libiconv
22878 .PHONY: maybe-install-html-libiconv install-html-libiconv
22879 maybe-install-html-libiconv:
22880 @if libiconv
22881 maybe-install-html-libiconv: install-html-libiconv
22883 # libiconv doesn't support install-html.
22884 install-html-libiconv:
22886 @endif libiconv
22888 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
22889 maybe-installcheck-libiconv:
22890 @if libiconv
22891 maybe-installcheck-libiconv: installcheck-libiconv
22893 installcheck-libiconv: \
22894 configure-libiconv
22895 @: $(MAKE); $(unstage)
22896 @[ -f ./libiconv/Makefile ] || exit 0; \
22897 r=`${PWD_COMMAND}`; export r; \
22898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22899 $(HOST_EXPORTS) \
22900 for flag in $(EXTRA_HOST_FLAGS) ; do \
22901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22902 done; \
22903 echo "Doing installcheck in libiconv" ; \
22904 (cd $(HOST_SUBDIR)/libiconv && \
22905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22907 "RANLIB=$${RANLIB}" \
22908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22909 installcheck) \
22910 || exit 1
22912 @endif libiconv
22914 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
22915 maybe-mostlyclean-libiconv:
22916 @if libiconv
22917 maybe-mostlyclean-libiconv: mostlyclean-libiconv
22919 mostlyclean-libiconv:
22920 @: $(MAKE); $(unstage)
22921 @[ -f ./libiconv/Makefile ] || exit 0; \
22922 r=`${PWD_COMMAND}`; export r; \
22923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22924 $(HOST_EXPORTS) \
22925 for flag in $(EXTRA_HOST_FLAGS) ; do \
22926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22927 done; \
22928 echo "Doing mostlyclean in libiconv" ; \
22929 (cd $(HOST_SUBDIR)/libiconv && \
22930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22932 "RANLIB=$${RANLIB}" \
22933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22934 mostlyclean) \
22935 || exit 1
22937 @endif libiconv
22939 .PHONY: maybe-clean-libiconv clean-libiconv
22940 maybe-clean-libiconv:
22941 @if libiconv
22942 maybe-clean-libiconv: clean-libiconv
22944 clean-libiconv:
22945 @: $(MAKE); $(unstage)
22946 @[ -f ./libiconv/Makefile ] || exit 0; \
22947 r=`${PWD_COMMAND}`; export r; \
22948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22949 $(HOST_EXPORTS) \
22950 for flag in $(EXTRA_HOST_FLAGS) ; do \
22951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22952 done; \
22953 echo "Doing clean in libiconv" ; \
22954 (cd $(HOST_SUBDIR)/libiconv && \
22955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22957 "RANLIB=$${RANLIB}" \
22958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22959 clean) \
22960 || exit 1
22962 @endif libiconv
22964 .PHONY: maybe-distclean-libiconv distclean-libiconv
22965 maybe-distclean-libiconv:
22966 @if libiconv
22967 maybe-distclean-libiconv: distclean-libiconv
22969 distclean-libiconv:
22970 @: $(MAKE); $(unstage)
22971 @[ -f ./libiconv/Makefile ] || exit 0; \
22972 r=`${PWD_COMMAND}`; export r; \
22973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22974 $(HOST_EXPORTS) \
22975 for flag in $(EXTRA_HOST_FLAGS) ; do \
22976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22977 done; \
22978 echo "Doing distclean in libiconv" ; \
22979 (cd $(HOST_SUBDIR)/libiconv && \
22980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22982 "RANLIB=$${RANLIB}" \
22983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22984 distclean) \
22985 || exit 1
22987 @endif libiconv
22989 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
22990 maybe-maintainer-clean-libiconv:
22991 @if libiconv
22992 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
22994 maintainer-clean-libiconv:
22995 @: $(MAKE); $(unstage)
22996 @[ -f ./libiconv/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 maintainer-clean in libiconv" ; \
23004 (cd $(HOST_SUBDIR)/libiconv && \
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 maintainer-clean) \
23010 || exit 1
23012 @endif libiconv
23016 .PHONY: configure-m4 maybe-configure-m4
23017 maybe-configure-m4:
23018 @if gcc-bootstrap
23019 configure-m4: stage_current
23020 @endif gcc-bootstrap
23021 @if m4
23022 maybe-configure-m4: configure-m4
23023 configure-m4:
23024 @: $(MAKE); $(unstage)
23025 @r=`${PWD_COMMAND}`; export r; \
23026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23027 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
23028 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
23029 $(HOST_EXPORTS) \
23030 echo Configuring in $(HOST_SUBDIR)/m4; \
23031 cd "$(HOST_SUBDIR)/m4" || exit 1; \
23032 case $(srcdir) in \
23033 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23034 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
23035 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23036 esac; \
23037 srcdiroption="--srcdir=$${topdir}/m4"; \
23038 libsrcdir="$$s/m4"; \
23039 $(SHELL) $${libsrcdir}/configure \
23040 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23041 --target=${target_alias} $${srcdiroption} \
23042 || exit 1
23043 @endif m4
23049 .PHONY: all-m4 maybe-all-m4
23050 maybe-all-m4:
23051 @if gcc-bootstrap
23052 all-m4: stage_current
23053 @endif gcc-bootstrap
23054 @if m4
23055 TARGET-m4=all
23056 maybe-all-m4: all-m4
23057 all-m4: configure-m4
23058 @: $(MAKE); $(unstage)
23059 @r=`${PWD_COMMAND}`; export r; \
23060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23061 $(HOST_EXPORTS) \
23062 (cd $(HOST_SUBDIR)/m4 && \
23063 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23064 $(TARGET-m4))
23065 @endif m4
23070 .PHONY: check-m4 maybe-check-m4
23071 maybe-check-m4:
23072 @if m4
23073 maybe-check-m4: check-m4
23075 check-m4:
23076 @: $(MAKE); $(unstage)
23077 @r=`${PWD_COMMAND}`; export r; \
23078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23079 $(HOST_EXPORTS) \
23080 (cd $(HOST_SUBDIR)/m4 && \
23081 $(MAKE) $(FLAGS_TO_PASS) check)
23083 @endif m4
23085 .PHONY: install-m4 maybe-install-m4
23086 maybe-install-m4:
23087 @if m4
23088 maybe-install-m4: install-m4
23090 install-m4: installdirs
23091 @: $(MAKE); $(unstage)
23092 @r=`${PWD_COMMAND}`; export r; \
23093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23094 $(HOST_EXPORTS) \
23095 (cd $(HOST_SUBDIR)/m4 && \
23096 $(MAKE) $(FLAGS_TO_PASS) install)
23098 @endif m4
23100 .PHONY: install-strip-m4 maybe-install-strip-m4
23101 maybe-install-strip-m4:
23102 @if m4
23103 maybe-install-strip-m4: install-strip-m4
23105 install-strip-m4: installdirs
23106 @: $(MAKE); $(unstage)
23107 @r=`${PWD_COMMAND}`; export r; \
23108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23109 $(HOST_EXPORTS) \
23110 (cd $(HOST_SUBDIR)/m4 && \
23111 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23113 @endif m4
23115 # Other targets (info, dvi, pdf, etc.)
23117 .PHONY: maybe-info-m4 info-m4
23118 maybe-info-m4:
23119 @if m4
23120 maybe-info-m4: info-m4
23122 info-m4: \
23123 configure-m4
23124 @: $(MAKE); $(unstage)
23125 @[ -f ./m4/Makefile ] || exit 0; \
23126 r=`${PWD_COMMAND}`; export r; \
23127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23128 $(HOST_EXPORTS) \
23129 for flag in $(EXTRA_HOST_FLAGS) ; do \
23130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23131 done; \
23132 echo "Doing info in m4" ; \
23133 (cd $(HOST_SUBDIR)/m4 && \
23134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23136 "RANLIB=$${RANLIB}" \
23137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23138 info) \
23139 || exit 1
23141 @endif m4
23143 .PHONY: maybe-dvi-m4 dvi-m4
23144 maybe-dvi-m4:
23145 @if m4
23146 maybe-dvi-m4: dvi-m4
23148 dvi-m4: \
23149 configure-m4
23150 @: $(MAKE); $(unstage)
23151 @[ -f ./m4/Makefile ] || exit 0; \
23152 r=`${PWD_COMMAND}`; export r; \
23153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23154 $(HOST_EXPORTS) \
23155 for flag in $(EXTRA_HOST_FLAGS) ; do \
23156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23157 done; \
23158 echo "Doing dvi in m4" ; \
23159 (cd $(HOST_SUBDIR)/m4 && \
23160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23162 "RANLIB=$${RANLIB}" \
23163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23164 dvi) \
23165 || exit 1
23167 @endif m4
23169 .PHONY: maybe-pdf-m4 pdf-m4
23170 maybe-pdf-m4:
23171 @if m4
23172 maybe-pdf-m4: pdf-m4
23174 pdf-m4: \
23175 configure-m4
23176 @: $(MAKE); $(unstage)
23177 @[ -f ./m4/Makefile ] || exit 0; \
23178 r=`${PWD_COMMAND}`; export r; \
23179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23180 $(HOST_EXPORTS) \
23181 for flag in $(EXTRA_HOST_FLAGS) ; do \
23182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23183 done; \
23184 echo "Doing pdf in m4" ; \
23185 (cd $(HOST_SUBDIR)/m4 && \
23186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23188 "RANLIB=$${RANLIB}" \
23189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23190 pdf) \
23191 || exit 1
23193 @endif m4
23195 .PHONY: maybe-html-m4 html-m4
23196 maybe-html-m4:
23197 @if m4
23198 maybe-html-m4: html-m4
23200 html-m4: \
23201 configure-m4
23202 @: $(MAKE); $(unstage)
23203 @[ -f ./m4/Makefile ] || exit 0; \
23204 r=`${PWD_COMMAND}`; export r; \
23205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23206 $(HOST_EXPORTS) \
23207 for flag in $(EXTRA_HOST_FLAGS) ; do \
23208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23209 done; \
23210 echo "Doing html in m4" ; \
23211 (cd $(HOST_SUBDIR)/m4 && \
23212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23214 "RANLIB=$${RANLIB}" \
23215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23216 html) \
23217 || exit 1
23219 @endif m4
23221 .PHONY: maybe-TAGS-m4 TAGS-m4
23222 maybe-TAGS-m4:
23223 @if m4
23224 maybe-TAGS-m4: TAGS-m4
23226 TAGS-m4: \
23227 configure-m4
23228 @: $(MAKE); $(unstage)
23229 @[ -f ./m4/Makefile ] || exit 0; \
23230 r=`${PWD_COMMAND}`; export r; \
23231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23232 $(HOST_EXPORTS) \
23233 for flag in $(EXTRA_HOST_FLAGS) ; do \
23234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23235 done; \
23236 echo "Doing TAGS in m4" ; \
23237 (cd $(HOST_SUBDIR)/m4 && \
23238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23240 "RANLIB=$${RANLIB}" \
23241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23242 TAGS) \
23243 || exit 1
23245 @endif m4
23247 .PHONY: maybe-install-info-m4 install-info-m4
23248 maybe-install-info-m4:
23249 @if m4
23250 maybe-install-info-m4: install-info-m4
23252 install-info-m4: \
23253 configure-m4 \
23254 info-m4
23255 @: $(MAKE); $(unstage)
23256 @[ -f ./m4/Makefile ] || exit 0; \
23257 r=`${PWD_COMMAND}`; export r; \
23258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23259 $(HOST_EXPORTS) \
23260 for flag in $(EXTRA_HOST_FLAGS) ; do \
23261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23262 done; \
23263 echo "Doing install-info in m4" ; \
23264 (cd $(HOST_SUBDIR)/m4 && \
23265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23267 "RANLIB=$${RANLIB}" \
23268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23269 install-info) \
23270 || exit 1
23272 @endif m4
23274 .PHONY: maybe-install-pdf-m4 install-pdf-m4
23275 maybe-install-pdf-m4:
23276 @if m4
23277 maybe-install-pdf-m4: install-pdf-m4
23279 install-pdf-m4: \
23280 configure-m4 \
23281 pdf-m4
23282 @: $(MAKE); $(unstage)
23283 @[ -f ./m4/Makefile ] || exit 0; \
23284 r=`${PWD_COMMAND}`; export r; \
23285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23286 $(HOST_EXPORTS) \
23287 for flag in $(EXTRA_HOST_FLAGS) ; do \
23288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23289 done; \
23290 echo "Doing install-pdf in m4" ; \
23291 (cd $(HOST_SUBDIR)/m4 && \
23292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23294 "RANLIB=$${RANLIB}" \
23295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23296 install-pdf) \
23297 || exit 1
23299 @endif m4
23301 .PHONY: maybe-install-html-m4 install-html-m4
23302 maybe-install-html-m4:
23303 @if m4
23304 maybe-install-html-m4: install-html-m4
23306 install-html-m4: \
23307 configure-m4 \
23308 html-m4
23309 @: $(MAKE); $(unstage)
23310 @[ -f ./m4/Makefile ] || exit 0; \
23311 r=`${PWD_COMMAND}`; export r; \
23312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23313 $(HOST_EXPORTS) \
23314 for flag in $(EXTRA_HOST_FLAGS) ; do \
23315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23316 done; \
23317 echo "Doing install-html in m4" ; \
23318 (cd $(HOST_SUBDIR)/m4 && \
23319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23321 "RANLIB=$${RANLIB}" \
23322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23323 install-html) \
23324 || exit 1
23326 @endif m4
23328 .PHONY: maybe-installcheck-m4 installcheck-m4
23329 maybe-installcheck-m4:
23330 @if m4
23331 maybe-installcheck-m4: installcheck-m4
23333 installcheck-m4: \
23334 configure-m4
23335 @: $(MAKE); $(unstage)
23336 @[ -f ./m4/Makefile ] || exit 0; \
23337 r=`${PWD_COMMAND}`; export r; \
23338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23339 $(HOST_EXPORTS) \
23340 for flag in $(EXTRA_HOST_FLAGS) ; do \
23341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23342 done; \
23343 echo "Doing installcheck in m4" ; \
23344 (cd $(HOST_SUBDIR)/m4 && \
23345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23347 "RANLIB=$${RANLIB}" \
23348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23349 installcheck) \
23350 || exit 1
23352 @endif m4
23354 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
23355 maybe-mostlyclean-m4:
23356 @if m4
23357 maybe-mostlyclean-m4: mostlyclean-m4
23359 mostlyclean-m4:
23360 @: $(MAKE); $(unstage)
23361 @[ -f ./m4/Makefile ] || exit 0; \
23362 r=`${PWD_COMMAND}`; export r; \
23363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23364 $(HOST_EXPORTS) \
23365 for flag in $(EXTRA_HOST_FLAGS) ; do \
23366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23367 done; \
23368 echo "Doing mostlyclean in m4" ; \
23369 (cd $(HOST_SUBDIR)/m4 && \
23370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23372 "RANLIB=$${RANLIB}" \
23373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23374 mostlyclean) \
23375 || exit 1
23377 @endif m4
23379 .PHONY: maybe-clean-m4 clean-m4
23380 maybe-clean-m4:
23381 @if m4
23382 maybe-clean-m4: clean-m4
23384 clean-m4:
23385 @: $(MAKE); $(unstage)
23386 @[ -f ./m4/Makefile ] || exit 0; \
23387 r=`${PWD_COMMAND}`; export r; \
23388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23389 $(HOST_EXPORTS) \
23390 for flag in $(EXTRA_HOST_FLAGS) ; do \
23391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23392 done; \
23393 echo "Doing clean in m4" ; \
23394 (cd $(HOST_SUBDIR)/m4 && \
23395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23397 "RANLIB=$${RANLIB}" \
23398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23399 clean) \
23400 || exit 1
23402 @endif m4
23404 .PHONY: maybe-distclean-m4 distclean-m4
23405 maybe-distclean-m4:
23406 @if m4
23407 maybe-distclean-m4: distclean-m4
23409 distclean-m4:
23410 @: $(MAKE); $(unstage)
23411 @[ -f ./m4/Makefile ] || exit 0; \
23412 r=`${PWD_COMMAND}`; export r; \
23413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23414 $(HOST_EXPORTS) \
23415 for flag in $(EXTRA_HOST_FLAGS) ; do \
23416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23417 done; \
23418 echo "Doing distclean in m4" ; \
23419 (cd $(HOST_SUBDIR)/m4 && \
23420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23422 "RANLIB=$${RANLIB}" \
23423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23424 distclean) \
23425 || exit 1
23427 @endif m4
23429 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
23430 maybe-maintainer-clean-m4:
23431 @if m4
23432 maybe-maintainer-clean-m4: maintainer-clean-m4
23434 maintainer-clean-m4:
23435 @: $(MAKE); $(unstage)
23436 @[ -f ./m4/Makefile ] || exit 0; \
23437 r=`${PWD_COMMAND}`; export r; \
23438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23439 $(HOST_EXPORTS) \
23440 for flag in $(EXTRA_HOST_FLAGS) ; do \
23441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23442 done; \
23443 echo "Doing maintainer-clean in m4" ; \
23444 (cd $(HOST_SUBDIR)/m4 && \
23445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23447 "RANLIB=$${RANLIB}" \
23448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23449 maintainer-clean) \
23450 || exit 1
23452 @endif m4
23456 .PHONY: configure-readline maybe-configure-readline
23457 maybe-configure-readline:
23458 @if gcc-bootstrap
23459 configure-readline: stage_current
23460 @endif gcc-bootstrap
23461 @if readline
23462 maybe-configure-readline: configure-readline
23463 configure-readline:
23464 @: $(MAKE); $(unstage)
23465 @r=`${PWD_COMMAND}`; export r; \
23466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23467 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
23468 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
23469 $(HOST_EXPORTS) \
23470 echo Configuring in $(HOST_SUBDIR)/readline; \
23471 cd "$(HOST_SUBDIR)/readline" || exit 1; \
23472 case $(srcdir) in \
23473 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23474 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
23475 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23476 esac; \
23477 srcdiroption="--srcdir=$${topdir}/readline"; \
23478 libsrcdir="$$s/readline"; \
23479 $(SHELL) $${libsrcdir}/configure \
23480 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23481 --target=${target_alias} $${srcdiroption} \
23482 || exit 1
23483 @endif readline
23489 .PHONY: all-readline maybe-all-readline
23490 maybe-all-readline:
23491 @if gcc-bootstrap
23492 all-readline: stage_current
23493 @endif gcc-bootstrap
23494 @if readline
23495 TARGET-readline=all
23496 maybe-all-readline: all-readline
23497 all-readline: configure-readline
23498 @: $(MAKE); $(unstage)
23499 @r=`${PWD_COMMAND}`; export r; \
23500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23501 $(HOST_EXPORTS) \
23502 (cd $(HOST_SUBDIR)/readline && \
23503 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23504 $(TARGET-readline))
23505 @endif readline
23510 .PHONY: check-readline maybe-check-readline
23511 maybe-check-readline:
23512 @if readline
23513 maybe-check-readline: check-readline
23515 check-readline:
23516 @: $(MAKE); $(unstage)
23517 @r=`${PWD_COMMAND}`; export r; \
23518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23519 $(HOST_EXPORTS) \
23520 (cd $(HOST_SUBDIR)/readline && \
23521 $(MAKE) $(FLAGS_TO_PASS) check)
23523 @endif readline
23525 .PHONY: install-readline maybe-install-readline
23526 maybe-install-readline:
23527 @if readline
23528 maybe-install-readline: install-readline
23530 install-readline: installdirs
23531 @: $(MAKE); $(unstage)
23532 @r=`${PWD_COMMAND}`; export r; \
23533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23534 $(HOST_EXPORTS) \
23535 (cd $(HOST_SUBDIR)/readline && \
23536 $(MAKE) $(FLAGS_TO_PASS) install)
23538 @endif readline
23540 .PHONY: install-strip-readline maybe-install-strip-readline
23541 maybe-install-strip-readline:
23542 @if readline
23543 maybe-install-strip-readline: install-strip-readline
23545 install-strip-readline: installdirs
23546 @: $(MAKE); $(unstage)
23547 @r=`${PWD_COMMAND}`; export r; \
23548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23549 $(HOST_EXPORTS) \
23550 (cd $(HOST_SUBDIR)/readline && \
23551 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23553 @endif readline
23555 # Other targets (info, dvi, pdf, etc.)
23557 .PHONY: maybe-info-readline info-readline
23558 maybe-info-readline:
23559 @if readline
23560 maybe-info-readline: info-readline
23562 info-readline: \
23563 configure-readline
23564 @: $(MAKE); $(unstage)
23565 @[ -f ./readline/Makefile ] || exit 0; \
23566 r=`${PWD_COMMAND}`; export r; \
23567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23568 $(HOST_EXPORTS) \
23569 for flag in $(EXTRA_HOST_FLAGS) ; do \
23570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23571 done; \
23572 echo "Doing info in readline" ; \
23573 (cd $(HOST_SUBDIR)/readline && \
23574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23576 "RANLIB=$${RANLIB}" \
23577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23578 info) \
23579 || exit 1
23581 @endif readline
23583 .PHONY: maybe-dvi-readline dvi-readline
23584 maybe-dvi-readline:
23585 @if readline
23586 maybe-dvi-readline: dvi-readline
23588 dvi-readline: \
23589 configure-readline
23590 @: $(MAKE); $(unstage)
23591 @[ -f ./readline/Makefile ] || exit 0; \
23592 r=`${PWD_COMMAND}`; export r; \
23593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23594 $(HOST_EXPORTS) \
23595 for flag in $(EXTRA_HOST_FLAGS) ; do \
23596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23597 done; \
23598 echo "Doing dvi in readline" ; \
23599 (cd $(HOST_SUBDIR)/readline && \
23600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23602 "RANLIB=$${RANLIB}" \
23603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23604 dvi) \
23605 || exit 1
23607 @endif readline
23609 .PHONY: maybe-pdf-readline pdf-readline
23610 maybe-pdf-readline:
23611 @if readline
23612 maybe-pdf-readline: pdf-readline
23614 pdf-readline: \
23615 configure-readline
23616 @: $(MAKE); $(unstage)
23617 @[ -f ./readline/Makefile ] || exit 0; \
23618 r=`${PWD_COMMAND}`; export r; \
23619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23620 $(HOST_EXPORTS) \
23621 for flag in $(EXTRA_HOST_FLAGS) ; do \
23622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23623 done; \
23624 echo "Doing pdf in readline" ; \
23625 (cd $(HOST_SUBDIR)/readline && \
23626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23628 "RANLIB=$${RANLIB}" \
23629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23630 pdf) \
23631 || exit 1
23633 @endif readline
23635 .PHONY: maybe-html-readline html-readline
23636 maybe-html-readline:
23637 @if readline
23638 maybe-html-readline: html-readline
23640 html-readline: \
23641 configure-readline
23642 @: $(MAKE); $(unstage)
23643 @[ -f ./readline/Makefile ] || exit 0; \
23644 r=`${PWD_COMMAND}`; export r; \
23645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23646 $(HOST_EXPORTS) \
23647 for flag in $(EXTRA_HOST_FLAGS) ; do \
23648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23649 done; \
23650 echo "Doing html in readline" ; \
23651 (cd $(HOST_SUBDIR)/readline && \
23652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23654 "RANLIB=$${RANLIB}" \
23655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23656 html) \
23657 || exit 1
23659 @endif readline
23661 .PHONY: maybe-TAGS-readline TAGS-readline
23662 maybe-TAGS-readline:
23663 @if readline
23664 maybe-TAGS-readline: TAGS-readline
23666 TAGS-readline: \
23667 configure-readline
23668 @: $(MAKE); $(unstage)
23669 @[ -f ./readline/Makefile ] || exit 0; \
23670 r=`${PWD_COMMAND}`; export r; \
23671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23672 $(HOST_EXPORTS) \
23673 for flag in $(EXTRA_HOST_FLAGS) ; do \
23674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23675 done; \
23676 echo "Doing TAGS in readline" ; \
23677 (cd $(HOST_SUBDIR)/readline && \
23678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23680 "RANLIB=$${RANLIB}" \
23681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23682 TAGS) \
23683 || exit 1
23685 @endif readline
23687 .PHONY: maybe-install-info-readline install-info-readline
23688 maybe-install-info-readline:
23689 @if readline
23690 maybe-install-info-readline: install-info-readline
23692 install-info-readline: \
23693 configure-readline \
23694 info-readline
23695 @: $(MAKE); $(unstage)
23696 @[ -f ./readline/Makefile ] || exit 0; \
23697 r=`${PWD_COMMAND}`; export r; \
23698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23699 $(HOST_EXPORTS) \
23700 for flag in $(EXTRA_HOST_FLAGS) ; do \
23701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23702 done; \
23703 echo "Doing install-info in readline" ; \
23704 (cd $(HOST_SUBDIR)/readline && \
23705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23707 "RANLIB=$${RANLIB}" \
23708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23709 install-info) \
23710 || exit 1
23712 @endif readline
23714 .PHONY: maybe-install-pdf-readline install-pdf-readline
23715 maybe-install-pdf-readline:
23716 @if readline
23717 maybe-install-pdf-readline: install-pdf-readline
23719 install-pdf-readline: \
23720 configure-readline \
23721 pdf-readline
23722 @: $(MAKE); $(unstage)
23723 @[ -f ./readline/Makefile ] || exit 0; \
23724 r=`${PWD_COMMAND}`; export r; \
23725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23726 $(HOST_EXPORTS) \
23727 for flag in $(EXTRA_HOST_FLAGS) ; do \
23728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23729 done; \
23730 echo "Doing install-pdf in readline" ; \
23731 (cd $(HOST_SUBDIR)/readline && \
23732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23734 "RANLIB=$${RANLIB}" \
23735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23736 install-pdf) \
23737 || exit 1
23739 @endif readline
23741 .PHONY: maybe-install-html-readline install-html-readline
23742 maybe-install-html-readline:
23743 @if readline
23744 maybe-install-html-readline: install-html-readline
23746 install-html-readline: \
23747 configure-readline \
23748 html-readline
23749 @: $(MAKE); $(unstage)
23750 @[ -f ./readline/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) ; do \
23755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23756 done; \
23757 echo "Doing install-html in readline" ; \
23758 (cd $(HOST_SUBDIR)/readline && \
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 install-html) \
23764 || exit 1
23766 @endif readline
23768 .PHONY: maybe-installcheck-readline installcheck-readline
23769 maybe-installcheck-readline:
23770 @if readline
23771 maybe-installcheck-readline: installcheck-readline
23773 installcheck-readline: \
23774 configure-readline
23775 @: $(MAKE); $(unstage)
23776 @[ -f ./readline/Makefile ] || exit 0; \
23777 r=`${PWD_COMMAND}`; export r; \
23778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23779 $(HOST_EXPORTS) \
23780 for flag in $(EXTRA_HOST_FLAGS) ; do \
23781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23782 done; \
23783 echo "Doing installcheck in readline" ; \
23784 (cd $(HOST_SUBDIR)/readline && \
23785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23787 "RANLIB=$${RANLIB}" \
23788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23789 installcheck) \
23790 || exit 1
23792 @endif readline
23794 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
23795 maybe-mostlyclean-readline:
23796 @if readline
23797 maybe-mostlyclean-readline: mostlyclean-readline
23799 mostlyclean-readline:
23800 @: $(MAKE); $(unstage)
23801 @[ -f ./readline/Makefile ] || exit 0; \
23802 r=`${PWD_COMMAND}`; export r; \
23803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23804 $(HOST_EXPORTS) \
23805 for flag in $(EXTRA_HOST_FLAGS) ; do \
23806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23807 done; \
23808 echo "Doing mostlyclean in readline" ; \
23809 (cd $(HOST_SUBDIR)/readline && \
23810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23812 "RANLIB=$${RANLIB}" \
23813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23814 mostlyclean) \
23815 || exit 1
23817 @endif readline
23819 .PHONY: maybe-clean-readline clean-readline
23820 maybe-clean-readline:
23821 @if readline
23822 maybe-clean-readline: clean-readline
23824 clean-readline:
23825 @: $(MAKE); $(unstage)
23826 @[ -f ./readline/Makefile ] || exit 0; \
23827 r=`${PWD_COMMAND}`; export r; \
23828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23829 $(HOST_EXPORTS) \
23830 for flag in $(EXTRA_HOST_FLAGS) ; do \
23831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23832 done; \
23833 echo "Doing clean in readline" ; \
23834 (cd $(HOST_SUBDIR)/readline && \
23835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23837 "RANLIB=$${RANLIB}" \
23838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23839 clean) \
23840 || exit 1
23842 @endif readline
23844 .PHONY: maybe-distclean-readline distclean-readline
23845 maybe-distclean-readline:
23846 @if readline
23847 maybe-distclean-readline: distclean-readline
23849 distclean-readline:
23850 @: $(MAKE); $(unstage)
23851 @[ -f ./readline/Makefile ] || exit 0; \
23852 r=`${PWD_COMMAND}`; export r; \
23853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23854 $(HOST_EXPORTS) \
23855 for flag in $(EXTRA_HOST_FLAGS) ; do \
23856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23857 done; \
23858 echo "Doing distclean in readline" ; \
23859 (cd $(HOST_SUBDIR)/readline && \
23860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23862 "RANLIB=$${RANLIB}" \
23863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23864 distclean) \
23865 || exit 1
23867 @endif readline
23869 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
23870 maybe-maintainer-clean-readline:
23871 @if readline
23872 maybe-maintainer-clean-readline: maintainer-clean-readline
23874 maintainer-clean-readline:
23875 @: $(MAKE); $(unstage)
23876 @[ -f ./readline/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) ; do \
23881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23882 done; \
23883 echo "Doing maintainer-clean in readline" ; \
23884 (cd $(HOST_SUBDIR)/readline && \
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 maintainer-clean) \
23890 || exit 1
23892 @endif readline
23896 .PHONY: configure-sid maybe-configure-sid
23897 maybe-configure-sid:
23898 @if gcc-bootstrap
23899 configure-sid: stage_current
23900 @endif gcc-bootstrap
23901 @if sid
23902 maybe-configure-sid: configure-sid
23903 configure-sid:
23904 @: $(MAKE); $(unstage)
23905 @r=`${PWD_COMMAND}`; export r; \
23906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23907 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
23908 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
23909 $(HOST_EXPORTS) \
23910 echo Configuring in $(HOST_SUBDIR)/sid; \
23911 cd "$(HOST_SUBDIR)/sid" || exit 1; \
23912 case $(srcdir) in \
23913 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23914 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
23915 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23916 esac; \
23917 srcdiroption="--srcdir=$${topdir}/sid"; \
23918 libsrcdir="$$s/sid"; \
23919 $(SHELL) $${libsrcdir}/configure \
23920 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23921 --target=${target_alias} $${srcdiroption} \
23922 || exit 1
23923 @endif sid
23929 .PHONY: all-sid maybe-all-sid
23930 maybe-all-sid:
23931 @if gcc-bootstrap
23932 all-sid: stage_current
23933 @endif gcc-bootstrap
23934 @if sid
23935 TARGET-sid=all
23936 maybe-all-sid: all-sid
23937 all-sid: configure-sid
23938 @: $(MAKE); $(unstage)
23939 @r=`${PWD_COMMAND}`; export r; \
23940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23941 $(HOST_EXPORTS) \
23942 (cd $(HOST_SUBDIR)/sid && \
23943 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23944 $(TARGET-sid))
23945 @endif sid
23950 .PHONY: check-sid maybe-check-sid
23951 maybe-check-sid:
23952 @if sid
23953 maybe-check-sid: check-sid
23955 check-sid:
23956 @: $(MAKE); $(unstage)
23957 @r=`${PWD_COMMAND}`; export r; \
23958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23959 $(HOST_EXPORTS) \
23960 (cd $(HOST_SUBDIR)/sid && \
23961 $(MAKE) $(FLAGS_TO_PASS) check)
23963 @endif sid
23965 .PHONY: install-sid maybe-install-sid
23966 maybe-install-sid:
23967 @if sid
23968 maybe-install-sid: install-sid
23970 install-sid: installdirs
23971 @: $(MAKE); $(unstage)
23972 @r=`${PWD_COMMAND}`; export r; \
23973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23974 $(HOST_EXPORTS) \
23975 (cd $(HOST_SUBDIR)/sid && \
23976 $(MAKE) $(FLAGS_TO_PASS) install)
23978 @endif sid
23980 .PHONY: install-strip-sid maybe-install-strip-sid
23981 maybe-install-strip-sid:
23982 @if sid
23983 maybe-install-strip-sid: install-strip-sid
23985 install-strip-sid: installdirs
23986 @: $(MAKE); $(unstage)
23987 @r=`${PWD_COMMAND}`; export r; \
23988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23989 $(HOST_EXPORTS) \
23990 (cd $(HOST_SUBDIR)/sid && \
23991 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23993 @endif sid
23995 # Other targets (info, dvi, pdf, etc.)
23997 .PHONY: maybe-info-sid info-sid
23998 maybe-info-sid:
23999 @if sid
24000 maybe-info-sid: info-sid
24002 info-sid: \
24003 configure-sid
24004 @: $(MAKE); $(unstage)
24005 @[ -f ./sid/Makefile ] || exit 0; \
24006 r=`${PWD_COMMAND}`; export r; \
24007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24008 $(HOST_EXPORTS) \
24009 for flag in $(EXTRA_HOST_FLAGS) ; do \
24010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24011 done; \
24012 echo "Doing info in sid" ; \
24013 (cd $(HOST_SUBDIR)/sid && \
24014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24016 "RANLIB=$${RANLIB}" \
24017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24018 info) \
24019 || exit 1
24021 @endif sid
24023 .PHONY: maybe-dvi-sid dvi-sid
24024 maybe-dvi-sid:
24025 @if sid
24026 maybe-dvi-sid: dvi-sid
24028 dvi-sid: \
24029 configure-sid
24030 @: $(MAKE); $(unstage)
24031 @[ -f ./sid/Makefile ] || exit 0; \
24032 r=`${PWD_COMMAND}`; export r; \
24033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24034 $(HOST_EXPORTS) \
24035 for flag in $(EXTRA_HOST_FLAGS) ; do \
24036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24037 done; \
24038 echo "Doing dvi in sid" ; \
24039 (cd $(HOST_SUBDIR)/sid && \
24040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24042 "RANLIB=$${RANLIB}" \
24043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24044 dvi) \
24045 || exit 1
24047 @endif sid
24049 .PHONY: maybe-pdf-sid pdf-sid
24050 maybe-pdf-sid:
24051 @if sid
24052 maybe-pdf-sid: pdf-sid
24054 pdf-sid: \
24055 configure-sid
24056 @: $(MAKE); $(unstage)
24057 @[ -f ./sid/Makefile ] || exit 0; \
24058 r=`${PWD_COMMAND}`; export r; \
24059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24060 $(HOST_EXPORTS) \
24061 for flag in $(EXTRA_HOST_FLAGS) ; do \
24062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24063 done; \
24064 echo "Doing pdf in sid" ; \
24065 (cd $(HOST_SUBDIR)/sid && \
24066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24068 "RANLIB=$${RANLIB}" \
24069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24070 pdf) \
24071 || exit 1
24073 @endif sid
24075 .PHONY: maybe-html-sid html-sid
24076 maybe-html-sid:
24077 @if sid
24078 maybe-html-sid: html-sid
24080 html-sid: \
24081 configure-sid
24082 @: $(MAKE); $(unstage)
24083 @[ -f ./sid/Makefile ] || exit 0; \
24084 r=`${PWD_COMMAND}`; export r; \
24085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24086 $(HOST_EXPORTS) \
24087 for flag in $(EXTRA_HOST_FLAGS) ; do \
24088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24089 done; \
24090 echo "Doing html in sid" ; \
24091 (cd $(HOST_SUBDIR)/sid && \
24092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24094 "RANLIB=$${RANLIB}" \
24095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24096 html) \
24097 || exit 1
24099 @endif sid
24101 .PHONY: maybe-TAGS-sid TAGS-sid
24102 maybe-TAGS-sid:
24103 @if sid
24104 maybe-TAGS-sid: TAGS-sid
24106 TAGS-sid: \
24107 configure-sid
24108 @: $(MAKE); $(unstage)
24109 @[ -f ./sid/Makefile ] || exit 0; \
24110 r=`${PWD_COMMAND}`; export r; \
24111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24112 $(HOST_EXPORTS) \
24113 for flag in $(EXTRA_HOST_FLAGS) ; do \
24114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24115 done; \
24116 echo "Doing TAGS in sid" ; \
24117 (cd $(HOST_SUBDIR)/sid && \
24118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24120 "RANLIB=$${RANLIB}" \
24121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24122 TAGS) \
24123 || exit 1
24125 @endif sid
24127 .PHONY: maybe-install-info-sid install-info-sid
24128 maybe-install-info-sid:
24129 @if sid
24130 maybe-install-info-sid: install-info-sid
24132 install-info-sid: \
24133 configure-sid \
24134 info-sid
24135 @: $(MAKE); $(unstage)
24136 @[ -f ./sid/Makefile ] || exit 0; \
24137 r=`${PWD_COMMAND}`; export r; \
24138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24139 $(HOST_EXPORTS) \
24140 for flag in $(EXTRA_HOST_FLAGS) ; do \
24141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24142 done; \
24143 echo "Doing install-info in sid" ; \
24144 (cd $(HOST_SUBDIR)/sid && \
24145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24147 "RANLIB=$${RANLIB}" \
24148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24149 install-info) \
24150 || exit 1
24152 @endif sid
24154 .PHONY: maybe-install-pdf-sid install-pdf-sid
24155 maybe-install-pdf-sid:
24156 @if sid
24157 maybe-install-pdf-sid: install-pdf-sid
24159 install-pdf-sid: \
24160 configure-sid \
24161 pdf-sid
24162 @: $(MAKE); $(unstage)
24163 @[ -f ./sid/Makefile ] || exit 0; \
24164 r=`${PWD_COMMAND}`; export r; \
24165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24166 $(HOST_EXPORTS) \
24167 for flag in $(EXTRA_HOST_FLAGS) ; do \
24168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24169 done; \
24170 echo "Doing install-pdf in sid" ; \
24171 (cd $(HOST_SUBDIR)/sid && \
24172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24174 "RANLIB=$${RANLIB}" \
24175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24176 install-pdf) \
24177 || exit 1
24179 @endif sid
24181 .PHONY: maybe-install-html-sid install-html-sid
24182 maybe-install-html-sid:
24183 @if sid
24184 maybe-install-html-sid: install-html-sid
24186 install-html-sid: \
24187 configure-sid \
24188 html-sid
24189 @: $(MAKE); $(unstage)
24190 @[ -f ./sid/Makefile ] || exit 0; \
24191 r=`${PWD_COMMAND}`; export r; \
24192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24193 $(HOST_EXPORTS) \
24194 for flag in $(EXTRA_HOST_FLAGS) ; do \
24195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24196 done; \
24197 echo "Doing install-html in sid" ; \
24198 (cd $(HOST_SUBDIR)/sid && \
24199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24201 "RANLIB=$${RANLIB}" \
24202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24203 install-html) \
24204 || exit 1
24206 @endif sid
24208 .PHONY: maybe-installcheck-sid installcheck-sid
24209 maybe-installcheck-sid:
24210 @if sid
24211 maybe-installcheck-sid: installcheck-sid
24213 installcheck-sid: \
24214 configure-sid
24215 @: $(MAKE); $(unstage)
24216 @[ -f ./sid/Makefile ] || exit 0; \
24217 r=`${PWD_COMMAND}`; export r; \
24218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24219 $(HOST_EXPORTS) \
24220 for flag in $(EXTRA_HOST_FLAGS) ; do \
24221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24222 done; \
24223 echo "Doing installcheck in sid" ; \
24224 (cd $(HOST_SUBDIR)/sid && \
24225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24227 "RANLIB=$${RANLIB}" \
24228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24229 installcheck) \
24230 || exit 1
24232 @endif sid
24234 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
24235 maybe-mostlyclean-sid:
24236 @if sid
24237 maybe-mostlyclean-sid: mostlyclean-sid
24239 mostlyclean-sid:
24240 @: $(MAKE); $(unstage)
24241 @[ -f ./sid/Makefile ] || exit 0; \
24242 r=`${PWD_COMMAND}`; export r; \
24243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24244 $(HOST_EXPORTS) \
24245 for flag in $(EXTRA_HOST_FLAGS) ; do \
24246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24247 done; \
24248 echo "Doing mostlyclean in sid" ; \
24249 (cd $(HOST_SUBDIR)/sid && \
24250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24252 "RANLIB=$${RANLIB}" \
24253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24254 mostlyclean) \
24255 || exit 1
24257 @endif sid
24259 .PHONY: maybe-clean-sid clean-sid
24260 maybe-clean-sid:
24261 @if sid
24262 maybe-clean-sid: clean-sid
24264 clean-sid:
24265 @: $(MAKE); $(unstage)
24266 @[ -f ./sid/Makefile ] || exit 0; \
24267 r=`${PWD_COMMAND}`; export r; \
24268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24269 $(HOST_EXPORTS) \
24270 for flag in $(EXTRA_HOST_FLAGS) ; do \
24271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24272 done; \
24273 echo "Doing clean in sid" ; \
24274 (cd $(HOST_SUBDIR)/sid && \
24275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24277 "RANLIB=$${RANLIB}" \
24278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24279 clean) \
24280 || exit 1
24282 @endif sid
24284 .PHONY: maybe-distclean-sid distclean-sid
24285 maybe-distclean-sid:
24286 @if sid
24287 maybe-distclean-sid: distclean-sid
24289 distclean-sid:
24290 @: $(MAKE); $(unstage)
24291 @[ -f ./sid/Makefile ] || exit 0; \
24292 r=`${PWD_COMMAND}`; export r; \
24293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24294 $(HOST_EXPORTS) \
24295 for flag in $(EXTRA_HOST_FLAGS) ; do \
24296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24297 done; \
24298 echo "Doing distclean in sid" ; \
24299 (cd $(HOST_SUBDIR)/sid && \
24300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24302 "RANLIB=$${RANLIB}" \
24303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24304 distclean) \
24305 || exit 1
24307 @endif sid
24309 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
24310 maybe-maintainer-clean-sid:
24311 @if sid
24312 maybe-maintainer-clean-sid: maintainer-clean-sid
24314 maintainer-clean-sid:
24315 @: $(MAKE); $(unstage)
24316 @[ -f ./sid/Makefile ] || exit 0; \
24317 r=`${PWD_COMMAND}`; export r; \
24318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24319 $(HOST_EXPORTS) \
24320 for flag in $(EXTRA_HOST_FLAGS) ; do \
24321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24322 done; \
24323 echo "Doing maintainer-clean in sid" ; \
24324 (cd $(HOST_SUBDIR)/sid && \
24325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24327 "RANLIB=$${RANLIB}" \
24328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24329 maintainer-clean) \
24330 || exit 1
24332 @endif sid
24336 .PHONY: configure-sim maybe-configure-sim
24337 maybe-configure-sim:
24338 @if gcc-bootstrap
24339 configure-sim: stage_current
24340 @endif gcc-bootstrap
24341 @if sim
24342 maybe-configure-sim: configure-sim
24343 configure-sim:
24344 @: $(MAKE); $(unstage)
24345 @r=`${PWD_COMMAND}`; export r; \
24346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24347 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
24348 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
24349 $(HOST_EXPORTS) \
24350 echo Configuring in $(HOST_SUBDIR)/sim; \
24351 cd "$(HOST_SUBDIR)/sim" || exit 1; \
24352 case $(srcdir) in \
24353 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24354 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
24355 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24356 esac; \
24357 srcdiroption="--srcdir=$${topdir}/sim"; \
24358 libsrcdir="$$s/sim"; \
24359 $(SHELL) $${libsrcdir}/configure \
24360 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24361 --target=${target_alias} $${srcdiroption} \
24362 || exit 1
24363 @endif sim
24369 .PHONY: all-sim maybe-all-sim
24370 maybe-all-sim:
24371 @if gcc-bootstrap
24372 all-sim: stage_current
24373 @endif gcc-bootstrap
24374 @if sim
24375 TARGET-sim=all
24376 maybe-all-sim: all-sim
24377 all-sim: configure-sim
24378 @: $(MAKE); $(unstage)
24379 @r=`${PWD_COMMAND}`; export r; \
24380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24381 $(HOST_EXPORTS) \
24382 (cd $(HOST_SUBDIR)/sim && \
24383 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
24384 $(TARGET-sim))
24385 @endif sim
24390 .PHONY: check-sim maybe-check-sim
24391 maybe-check-sim:
24392 @if sim
24393 maybe-check-sim: check-sim
24395 check-sim:
24396 @: $(MAKE); $(unstage)
24397 @r=`${PWD_COMMAND}`; export r; \
24398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24399 $(HOST_EXPORTS) \
24400 (cd $(HOST_SUBDIR)/sim && \
24401 $(MAKE) $(FLAGS_TO_PASS) check)
24403 @endif sim
24405 .PHONY: install-sim maybe-install-sim
24406 maybe-install-sim:
24407 @if sim
24408 maybe-install-sim: install-sim
24410 install-sim: installdirs
24411 @: $(MAKE); $(unstage)
24412 @r=`${PWD_COMMAND}`; export r; \
24413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24414 $(HOST_EXPORTS) \
24415 (cd $(HOST_SUBDIR)/sim && \
24416 $(MAKE) $(FLAGS_TO_PASS) install)
24418 @endif sim
24420 .PHONY: install-strip-sim maybe-install-strip-sim
24421 maybe-install-strip-sim:
24422 @if sim
24423 maybe-install-strip-sim: install-strip-sim
24425 install-strip-sim: installdirs
24426 @: $(MAKE); $(unstage)
24427 @r=`${PWD_COMMAND}`; export r; \
24428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24429 $(HOST_EXPORTS) \
24430 (cd $(HOST_SUBDIR)/sim && \
24431 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24433 @endif sim
24435 # Other targets (info, dvi, pdf, etc.)
24437 .PHONY: maybe-info-sim info-sim
24438 maybe-info-sim:
24439 @if sim
24440 maybe-info-sim: info-sim
24442 info-sim: \
24443 configure-sim
24444 @: $(MAKE); $(unstage)
24445 @[ -f ./sim/Makefile ] || exit 0; \
24446 r=`${PWD_COMMAND}`; export r; \
24447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24448 $(HOST_EXPORTS) \
24449 for flag in $(EXTRA_HOST_FLAGS) ; do \
24450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24451 done; \
24452 echo "Doing info in sim" ; \
24453 (cd $(HOST_SUBDIR)/sim && \
24454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24456 "RANLIB=$${RANLIB}" \
24457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24458 info) \
24459 || exit 1
24461 @endif sim
24463 .PHONY: maybe-dvi-sim dvi-sim
24464 maybe-dvi-sim:
24465 @if sim
24466 maybe-dvi-sim: dvi-sim
24468 dvi-sim: \
24469 configure-sim
24470 @: $(MAKE); $(unstage)
24471 @[ -f ./sim/Makefile ] || exit 0; \
24472 r=`${PWD_COMMAND}`; export r; \
24473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24474 $(HOST_EXPORTS) \
24475 for flag in $(EXTRA_HOST_FLAGS) ; do \
24476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24477 done; \
24478 echo "Doing dvi in sim" ; \
24479 (cd $(HOST_SUBDIR)/sim && \
24480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24482 "RANLIB=$${RANLIB}" \
24483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24484 dvi) \
24485 || exit 1
24487 @endif sim
24489 .PHONY: maybe-pdf-sim pdf-sim
24490 maybe-pdf-sim:
24491 @if sim
24492 maybe-pdf-sim: pdf-sim
24494 pdf-sim: \
24495 configure-sim
24496 @: $(MAKE); $(unstage)
24497 @[ -f ./sim/Makefile ] || exit 0; \
24498 r=`${PWD_COMMAND}`; export r; \
24499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24500 $(HOST_EXPORTS) \
24501 for flag in $(EXTRA_HOST_FLAGS) ; do \
24502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24503 done; \
24504 echo "Doing pdf in sim" ; \
24505 (cd $(HOST_SUBDIR)/sim && \
24506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24508 "RANLIB=$${RANLIB}" \
24509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24510 pdf) \
24511 || exit 1
24513 @endif sim
24515 .PHONY: maybe-html-sim html-sim
24516 maybe-html-sim:
24517 @if sim
24518 maybe-html-sim: html-sim
24520 html-sim: \
24521 configure-sim
24522 @: $(MAKE); $(unstage)
24523 @[ -f ./sim/Makefile ] || exit 0; \
24524 r=`${PWD_COMMAND}`; export r; \
24525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24526 $(HOST_EXPORTS) \
24527 for flag in $(EXTRA_HOST_FLAGS) ; do \
24528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24529 done; \
24530 echo "Doing html in sim" ; \
24531 (cd $(HOST_SUBDIR)/sim && \
24532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24534 "RANLIB=$${RANLIB}" \
24535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24536 html) \
24537 || exit 1
24539 @endif sim
24541 .PHONY: maybe-TAGS-sim TAGS-sim
24542 maybe-TAGS-sim:
24543 @if sim
24544 maybe-TAGS-sim: TAGS-sim
24546 TAGS-sim: \
24547 configure-sim
24548 @: $(MAKE); $(unstage)
24549 @[ -f ./sim/Makefile ] || exit 0; \
24550 r=`${PWD_COMMAND}`; export r; \
24551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24552 $(HOST_EXPORTS) \
24553 for flag in $(EXTRA_HOST_FLAGS) ; do \
24554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24555 done; \
24556 echo "Doing TAGS in sim" ; \
24557 (cd $(HOST_SUBDIR)/sim && \
24558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24560 "RANLIB=$${RANLIB}" \
24561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24562 TAGS) \
24563 || exit 1
24565 @endif sim
24567 .PHONY: maybe-install-info-sim install-info-sim
24568 maybe-install-info-sim:
24569 @if sim
24570 maybe-install-info-sim: install-info-sim
24572 install-info-sim: \
24573 configure-sim \
24574 info-sim
24575 @: $(MAKE); $(unstage)
24576 @[ -f ./sim/Makefile ] || exit 0; \
24577 r=`${PWD_COMMAND}`; export r; \
24578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24579 $(HOST_EXPORTS) \
24580 for flag in $(EXTRA_HOST_FLAGS) ; do \
24581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24582 done; \
24583 echo "Doing install-info in sim" ; \
24584 (cd $(HOST_SUBDIR)/sim && \
24585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24587 "RANLIB=$${RANLIB}" \
24588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24589 install-info) \
24590 || exit 1
24592 @endif sim
24594 .PHONY: maybe-install-pdf-sim install-pdf-sim
24595 maybe-install-pdf-sim:
24596 @if sim
24597 maybe-install-pdf-sim: install-pdf-sim
24599 install-pdf-sim: \
24600 configure-sim \
24601 pdf-sim
24602 @: $(MAKE); $(unstage)
24603 @[ -f ./sim/Makefile ] || exit 0; \
24604 r=`${PWD_COMMAND}`; export r; \
24605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24606 $(HOST_EXPORTS) \
24607 for flag in $(EXTRA_HOST_FLAGS) ; do \
24608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24609 done; \
24610 echo "Doing install-pdf in sim" ; \
24611 (cd $(HOST_SUBDIR)/sim && \
24612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24614 "RANLIB=$${RANLIB}" \
24615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24616 install-pdf) \
24617 || exit 1
24619 @endif sim
24621 .PHONY: maybe-install-html-sim install-html-sim
24622 maybe-install-html-sim:
24623 @if sim
24624 maybe-install-html-sim: install-html-sim
24626 install-html-sim: \
24627 configure-sim \
24628 html-sim
24629 @: $(MAKE); $(unstage)
24630 @[ -f ./sim/Makefile ] || exit 0; \
24631 r=`${PWD_COMMAND}`; export r; \
24632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24633 $(HOST_EXPORTS) \
24634 for flag in $(EXTRA_HOST_FLAGS) ; do \
24635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24636 done; \
24637 echo "Doing install-html in sim" ; \
24638 (cd $(HOST_SUBDIR)/sim && \
24639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24641 "RANLIB=$${RANLIB}" \
24642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24643 install-html) \
24644 || exit 1
24646 @endif sim
24648 .PHONY: maybe-installcheck-sim installcheck-sim
24649 maybe-installcheck-sim:
24650 @if sim
24651 maybe-installcheck-sim: installcheck-sim
24653 installcheck-sim: \
24654 configure-sim
24655 @: $(MAKE); $(unstage)
24656 @[ -f ./sim/Makefile ] || exit 0; \
24657 r=`${PWD_COMMAND}`; export r; \
24658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24659 $(HOST_EXPORTS) \
24660 for flag in $(EXTRA_HOST_FLAGS) ; do \
24661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24662 done; \
24663 echo "Doing installcheck in sim" ; \
24664 (cd $(HOST_SUBDIR)/sim && \
24665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24667 "RANLIB=$${RANLIB}" \
24668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24669 installcheck) \
24670 || exit 1
24672 @endif sim
24674 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
24675 maybe-mostlyclean-sim:
24676 @if sim
24677 maybe-mostlyclean-sim: mostlyclean-sim
24679 mostlyclean-sim:
24680 @: $(MAKE); $(unstage)
24681 @[ -f ./sim/Makefile ] || exit 0; \
24682 r=`${PWD_COMMAND}`; export r; \
24683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24684 $(HOST_EXPORTS) \
24685 for flag in $(EXTRA_HOST_FLAGS) ; do \
24686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24687 done; \
24688 echo "Doing mostlyclean in sim" ; \
24689 (cd $(HOST_SUBDIR)/sim && \
24690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24692 "RANLIB=$${RANLIB}" \
24693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24694 mostlyclean) \
24695 || exit 1
24697 @endif sim
24699 .PHONY: maybe-clean-sim clean-sim
24700 maybe-clean-sim:
24701 @if sim
24702 maybe-clean-sim: clean-sim
24704 clean-sim:
24705 @: $(MAKE); $(unstage)
24706 @[ -f ./sim/Makefile ] || exit 0; \
24707 r=`${PWD_COMMAND}`; export r; \
24708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24709 $(HOST_EXPORTS) \
24710 for flag in $(EXTRA_HOST_FLAGS) ; do \
24711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24712 done; \
24713 echo "Doing clean in sim" ; \
24714 (cd $(HOST_SUBDIR)/sim && \
24715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24717 "RANLIB=$${RANLIB}" \
24718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24719 clean) \
24720 || exit 1
24722 @endif sim
24724 .PHONY: maybe-distclean-sim distclean-sim
24725 maybe-distclean-sim:
24726 @if sim
24727 maybe-distclean-sim: distclean-sim
24729 distclean-sim:
24730 @: $(MAKE); $(unstage)
24731 @[ -f ./sim/Makefile ] || exit 0; \
24732 r=`${PWD_COMMAND}`; export r; \
24733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24734 $(HOST_EXPORTS) \
24735 for flag in $(EXTRA_HOST_FLAGS) ; do \
24736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24737 done; \
24738 echo "Doing distclean in sim" ; \
24739 (cd $(HOST_SUBDIR)/sim && \
24740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24742 "RANLIB=$${RANLIB}" \
24743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24744 distclean) \
24745 || exit 1
24747 @endif sim
24749 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
24750 maybe-maintainer-clean-sim:
24751 @if sim
24752 maybe-maintainer-clean-sim: maintainer-clean-sim
24754 maintainer-clean-sim:
24755 @: $(MAKE); $(unstage)
24756 @[ -f ./sim/Makefile ] || exit 0; \
24757 r=`${PWD_COMMAND}`; export r; \
24758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24759 $(HOST_EXPORTS) \
24760 for flag in $(EXTRA_HOST_FLAGS) ; do \
24761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24762 done; \
24763 echo "Doing maintainer-clean in sim" ; \
24764 (cd $(HOST_SUBDIR)/sim && \
24765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24767 "RANLIB=$${RANLIB}" \
24768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24769 maintainer-clean) \
24770 || exit 1
24772 @endif sim
24776 .PHONY: configure-texinfo maybe-configure-texinfo
24777 maybe-configure-texinfo:
24778 @if gcc-bootstrap
24779 configure-texinfo: stage_current
24780 @endif gcc-bootstrap
24781 @if texinfo
24782 maybe-configure-texinfo: configure-texinfo
24783 configure-texinfo:
24784 @: $(MAKE); $(unstage)
24785 @r=`${PWD_COMMAND}`; export r; \
24786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24787 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
24788 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
24789 $(HOST_EXPORTS) \
24790 echo Configuring in $(HOST_SUBDIR)/texinfo; \
24791 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
24792 case $(srcdir) in \
24793 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24794 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
24795 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24796 esac; \
24797 srcdiroption="--srcdir=$${topdir}/texinfo"; \
24798 libsrcdir="$$s/texinfo"; \
24799 $(SHELL) $${libsrcdir}/configure \
24800 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24801 --target=${target_alias} $${srcdiroption} \
24802 || exit 1
24803 @endif texinfo
24809 .PHONY: all-texinfo maybe-all-texinfo
24810 maybe-all-texinfo:
24811 @if gcc-bootstrap
24812 all-texinfo: stage_current
24813 @endif gcc-bootstrap
24814 @if texinfo
24815 TARGET-texinfo=all
24816 maybe-all-texinfo: all-texinfo
24817 all-texinfo: configure-texinfo
24818 @: $(MAKE); $(unstage)
24819 @r=`${PWD_COMMAND}`; export r; \
24820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24821 $(HOST_EXPORTS) \
24822 (cd $(HOST_SUBDIR)/texinfo && \
24823 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
24824 $(TARGET-texinfo))
24825 @endif texinfo
24830 .PHONY: check-texinfo maybe-check-texinfo
24831 maybe-check-texinfo:
24832 @if texinfo
24833 maybe-check-texinfo: check-texinfo
24835 check-texinfo:
24836 @: $(MAKE); $(unstage)
24837 @r=`${PWD_COMMAND}`; export r; \
24838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24839 $(HOST_EXPORTS) \
24840 (cd $(HOST_SUBDIR)/texinfo && \
24841 $(MAKE) $(FLAGS_TO_PASS) check)
24843 @endif texinfo
24845 .PHONY: install-texinfo maybe-install-texinfo
24846 maybe-install-texinfo:
24847 @if texinfo
24848 maybe-install-texinfo: install-texinfo
24850 install-texinfo:
24852 @endif texinfo
24854 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
24855 maybe-install-strip-texinfo:
24856 @if texinfo
24857 maybe-install-strip-texinfo: install-strip-texinfo
24859 install-strip-texinfo:
24861 @endif texinfo
24863 # Other targets (info, dvi, pdf, etc.)
24865 .PHONY: maybe-info-texinfo info-texinfo
24866 maybe-info-texinfo:
24867 @if texinfo
24868 maybe-info-texinfo: info-texinfo
24870 info-texinfo: \
24871 configure-texinfo
24872 @: $(MAKE); $(unstage)
24873 @[ -f ./texinfo/Makefile ] || exit 0; \
24874 r=`${PWD_COMMAND}`; export r; \
24875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24876 $(HOST_EXPORTS) \
24877 for flag in $(EXTRA_HOST_FLAGS) ; do \
24878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24879 done; \
24880 echo "Doing info in texinfo" ; \
24881 (cd $(HOST_SUBDIR)/texinfo && \
24882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24884 "RANLIB=$${RANLIB}" \
24885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24886 info) \
24887 || exit 1
24889 @endif texinfo
24891 .PHONY: maybe-dvi-texinfo dvi-texinfo
24892 maybe-dvi-texinfo:
24893 @if texinfo
24894 maybe-dvi-texinfo: dvi-texinfo
24896 dvi-texinfo: \
24897 configure-texinfo
24898 @: $(MAKE); $(unstage)
24899 @[ -f ./texinfo/Makefile ] || exit 0; \
24900 r=`${PWD_COMMAND}`; export r; \
24901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24902 $(HOST_EXPORTS) \
24903 for flag in $(EXTRA_HOST_FLAGS) ; do \
24904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24905 done; \
24906 echo "Doing dvi in texinfo" ; \
24907 (cd $(HOST_SUBDIR)/texinfo && \
24908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24910 "RANLIB=$${RANLIB}" \
24911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24912 dvi) \
24913 || exit 1
24915 @endif texinfo
24917 .PHONY: maybe-pdf-texinfo pdf-texinfo
24918 maybe-pdf-texinfo:
24919 @if texinfo
24920 maybe-pdf-texinfo: pdf-texinfo
24922 pdf-texinfo: \
24923 configure-texinfo
24924 @: $(MAKE); $(unstage)
24925 @[ -f ./texinfo/Makefile ] || exit 0; \
24926 r=`${PWD_COMMAND}`; export r; \
24927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24928 $(HOST_EXPORTS) \
24929 for flag in $(EXTRA_HOST_FLAGS) ; do \
24930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24931 done; \
24932 echo "Doing pdf in texinfo" ; \
24933 (cd $(HOST_SUBDIR)/texinfo && \
24934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24936 "RANLIB=$${RANLIB}" \
24937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24938 pdf) \
24939 || exit 1
24941 @endif texinfo
24943 .PHONY: maybe-html-texinfo html-texinfo
24944 maybe-html-texinfo:
24945 @if texinfo
24946 maybe-html-texinfo: html-texinfo
24948 html-texinfo: \
24949 configure-texinfo
24950 @: $(MAKE); $(unstage)
24951 @[ -f ./texinfo/Makefile ] || exit 0; \
24952 r=`${PWD_COMMAND}`; export r; \
24953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24954 $(HOST_EXPORTS) \
24955 for flag in $(EXTRA_HOST_FLAGS) ; do \
24956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24957 done; \
24958 echo "Doing html in texinfo" ; \
24959 (cd $(HOST_SUBDIR)/texinfo && \
24960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24962 "RANLIB=$${RANLIB}" \
24963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24964 html) \
24965 || exit 1
24967 @endif texinfo
24969 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
24970 maybe-TAGS-texinfo:
24971 @if texinfo
24972 maybe-TAGS-texinfo: TAGS-texinfo
24974 TAGS-texinfo: \
24975 configure-texinfo
24976 @: $(MAKE); $(unstage)
24977 @[ -f ./texinfo/Makefile ] || exit 0; \
24978 r=`${PWD_COMMAND}`; export r; \
24979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24980 $(HOST_EXPORTS) \
24981 for flag in $(EXTRA_HOST_FLAGS) ; do \
24982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24983 done; \
24984 echo "Doing TAGS in texinfo" ; \
24985 (cd $(HOST_SUBDIR)/texinfo && \
24986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24988 "RANLIB=$${RANLIB}" \
24989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24990 TAGS) \
24991 || exit 1
24993 @endif texinfo
24995 .PHONY: maybe-install-info-texinfo install-info-texinfo
24996 maybe-install-info-texinfo:
24997 @if texinfo
24998 maybe-install-info-texinfo: install-info-texinfo
25000 install-info-texinfo: \
25001 configure-texinfo \
25002 info-texinfo
25003 @: $(MAKE); $(unstage)
25004 @[ -f ./texinfo/Makefile ] || exit 0; \
25005 r=`${PWD_COMMAND}`; export r; \
25006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25007 $(HOST_EXPORTS) \
25008 for flag in $(EXTRA_HOST_FLAGS) ; do \
25009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25010 done; \
25011 echo "Doing install-info in texinfo" ; \
25012 (cd $(HOST_SUBDIR)/texinfo && \
25013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25015 "RANLIB=$${RANLIB}" \
25016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25017 install-info) \
25018 || exit 1
25020 @endif texinfo
25022 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
25023 maybe-install-pdf-texinfo:
25024 @if texinfo
25025 maybe-install-pdf-texinfo: install-pdf-texinfo
25027 install-pdf-texinfo: \
25028 configure-texinfo \
25029 pdf-texinfo
25030 @: $(MAKE); $(unstage)
25031 @[ -f ./texinfo/Makefile ] || exit 0; \
25032 r=`${PWD_COMMAND}`; export r; \
25033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25034 $(HOST_EXPORTS) \
25035 for flag in $(EXTRA_HOST_FLAGS) ; do \
25036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25037 done; \
25038 echo "Doing install-pdf in texinfo" ; \
25039 (cd $(HOST_SUBDIR)/texinfo && \
25040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25042 "RANLIB=$${RANLIB}" \
25043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25044 install-pdf) \
25045 || exit 1
25047 @endif texinfo
25049 .PHONY: maybe-install-html-texinfo install-html-texinfo
25050 maybe-install-html-texinfo:
25051 @if texinfo
25052 maybe-install-html-texinfo: install-html-texinfo
25054 install-html-texinfo: \
25055 configure-texinfo \
25056 html-texinfo
25057 @: $(MAKE); $(unstage)
25058 @[ -f ./texinfo/Makefile ] || exit 0; \
25059 r=`${PWD_COMMAND}`; export r; \
25060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25061 $(HOST_EXPORTS) \
25062 for flag in $(EXTRA_HOST_FLAGS) ; do \
25063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25064 done; \
25065 echo "Doing install-html in texinfo" ; \
25066 (cd $(HOST_SUBDIR)/texinfo && \
25067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25069 "RANLIB=$${RANLIB}" \
25070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25071 install-html) \
25072 || exit 1
25074 @endif texinfo
25076 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
25077 maybe-installcheck-texinfo:
25078 @if texinfo
25079 maybe-installcheck-texinfo: installcheck-texinfo
25081 installcheck-texinfo: \
25082 configure-texinfo
25083 @: $(MAKE); $(unstage)
25084 @[ -f ./texinfo/Makefile ] || exit 0; \
25085 r=`${PWD_COMMAND}`; export r; \
25086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25087 $(HOST_EXPORTS) \
25088 for flag in $(EXTRA_HOST_FLAGS) ; do \
25089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25090 done; \
25091 echo "Doing installcheck in texinfo" ; \
25092 (cd $(HOST_SUBDIR)/texinfo && \
25093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25095 "RANLIB=$${RANLIB}" \
25096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25097 installcheck) \
25098 || exit 1
25100 @endif texinfo
25102 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
25103 maybe-mostlyclean-texinfo:
25104 @if texinfo
25105 maybe-mostlyclean-texinfo: mostlyclean-texinfo
25107 mostlyclean-texinfo:
25108 @: $(MAKE); $(unstage)
25109 @[ -f ./texinfo/Makefile ] || exit 0; \
25110 r=`${PWD_COMMAND}`; export r; \
25111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25112 $(HOST_EXPORTS) \
25113 for flag in $(EXTRA_HOST_FLAGS) ; do \
25114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25115 done; \
25116 echo "Doing mostlyclean in texinfo" ; \
25117 (cd $(HOST_SUBDIR)/texinfo && \
25118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25120 "RANLIB=$${RANLIB}" \
25121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25122 mostlyclean) \
25123 || exit 1
25125 @endif texinfo
25127 .PHONY: maybe-clean-texinfo clean-texinfo
25128 maybe-clean-texinfo:
25129 @if texinfo
25130 maybe-clean-texinfo: clean-texinfo
25132 clean-texinfo:
25133 @: $(MAKE); $(unstage)
25134 @[ -f ./texinfo/Makefile ] || exit 0; \
25135 r=`${PWD_COMMAND}`; export r; \
25136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25137 $(HOST_EXPORTS) \
25138 for flag in $(EXTRA_HOST_FLAGS) ; do \
25139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25140 done; \
25141 echo "Doing clean in texinfo" ; \
25142 (cd $(HOST_SUBDIR)/texinfo && \
25143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25145 "RANLIB=$${RANLIB}" \
25146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25147 clean) \
25148 || exit 1
25150 @endif texinfo
25152 .PHONY: maybe-distclean-texinfo distclean-texinfo
25153 maybe-distclean-texinfo:
25154 @if texinfo
25155 maybe-distclean-texinfo: distclean-texinfo
25157 distclean-texinfo:
25158 @: $(MAKE); $(unstage)
25159 @[ -f ./texinfo/Makefile ] || exit 0; \
25160 r=`${PWD_COMMAND}`; export r; \
25161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25162 $(HOST_EXPORTS) \
25163 for flag in $(EXTRA_HOST_FLAGS) ; do \
25164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25165 done; \
25166 echo "Doing distclean in texinfo" ; \
25167 (cd $(HOST_SUBDIR)/texinfo && \
25168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25170 "RANLIB=$${RANLIB}" \
25171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25172 distclean) \
25173 || exit 1
25175 @endif texinfo
25177 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
25178 maybe-maintainer-clean-texinfo:
25179 @if texinfo
25180 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
25182 maintainer-clean-texinfo:
25183 @: $(MAKE); $(unstage)
25184 @[ -f ./texinfo/Makefile ] || exit 0; \
25185 r=`${PWD_COMMAND}`; export r; \
25186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25187 $(HOST_EXPORTS) \
25188 for flag in $(EXTRA_HOST_FLAGS) ; do \
25189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25190 done; \
25191 echo "Doing maintainer-clean in texinfo" ; \
25192 (cd $(HOST_SUBDIR)/texinfo && \
25193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25195 "RANLIB=$${RANLIB}" \
25196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25197 maintainer-clean) \
25198 || exit 1
25200 @endif texinfo
25204 .PHONY: configure-zlib maybe-configure-zlib
25205 maybe-configure-zlib:
25206 @if gcc-bootstrap
25207 configure-zlib: stage_current
25208 @endif gcc-bootstrap
25209 @if zlib
25210 maybe-configure-zlib: configure-zlib
25211 configure-zlib:
25212 @r=`${PWD_COMMAND}`; export r; \
25213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25214 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25215 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25216 $(HOST_EXPORTS) \
25217 echo Configuring in $(HOST_SUBDIR)/zlib; \
25218 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
25219 case $(srcdir) in \
25220 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25221 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25222 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25223 esac; \
25224 srcdiroption="--srcdir=$${topdir}/zlib"; \
25225 libsrcdir="$$s/zlib"; \
25226 $(SHELL) $${libsrcdir}/configure \
25227 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25228 --target=${target_alias} $${srcdiroption} \
25229 || exit 1
25230 @endif zlib
25234 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
25235 maybe-configure-stage1-zlib:
25236 @if zlib-bootstrap
25237 maybe-configure-stage1-zlib: configure-stage1-zlib
25238 configure-stage1-zlib:
25239 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25240 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25241 @r=`${PWD_COMMAND}`; export r; \
25242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25243 TFLAGS="$(STAGE1_TFLAGS)"; \
25244 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25245 $(HOST_EXPORTS) \
25246 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
25247 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
25248 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
25249 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
25250 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25251 cd $(HOST_SUBDIR)/zlib || exit 1; \
25252 case $(srcdir) in \
25253 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25254 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25255 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25256 esac; \
25257 srcdiroption="--srcdir=$${topdir}/zlib"; \
25258 libsrcdir="$$s/zlib"; \
25259 $(SHELL) $${libsrcdir}/configure \
25260 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25261 --target=${target_alias} $${srcdiroption} \
25262 $(STAGE1_CONFIGURE_FLAGS)
25263 @endif zlib-bootstrap
25265 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
25266 maybe-configure-stage2-zlib:
25267 @if zlib-bootstrap
25268 maybe-configure-stage2-zlib: configure-stage2-zlib
25269 configure-stage2-zlib:
25270 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25271 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25272 @r=`${PWD_COMMAND}`; export r; \
25273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25274 TFLAGS="$(STAGE2_TFLAGS)"; \
25275 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25276 $(HOST_EXPORTS) \
25277 $(POSTSTAGE1_HOST_EXPORTS) \
25278 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
25279 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
25280 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
25281 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
25282 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25283 cd $(HOST_SUBDIR)/zlib || exit 1; \
25284 case $(srcdir) in \
25285 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25286 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25287 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25288 esac; \
25289 srcdiroption="--srcdir=$${topdir}/zlib"; \
25290 libsrcdir="$$s/zlib"; \
25291 $(SHELL) $${libsrcdir}/configure \
25292 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25293 --target=${target_alias} $${srcdiroption} \
25294 --with-build-libsubdir=$(HOST_SUBDIR) \
25295 $(STAGE2_CONFIGURE_FLAGS)
25296 @endif zlib-bootstrap
25298 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
25299 maybe-configure-stage3-zlib:
25300 @if zlib-bootstrap
25301 maybe-configure-stage3-zlib: configure-stage3-zlib
25302 configure-stage3-zlib:
25303 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25304 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25305 @r=`${PWD_COMMAND}`; export r; \
25306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25307 TFLAGS="$(STAGE3_TFLAGS)"; \
25308 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25309 $(HOST_EXPORTS) \
25310 $(POSTSTAGE1_HOST_EXPORTS) \
25311 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
25312 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
25313 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
25314 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
25315 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25316 cd $(HOST_SUBDIR)/zlib || exit 1; \
25317 case $(srcdir) in \
25318 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25319 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25320 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25321 esac; \
25322 srcdiroption="--srcdir=$${topdir}/zlib"; \
25323 libsrcdir="$$s/zlib"; \
25324 $(SHELL) $${libsrcdir}/configure \
25325 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25326 --target=${target_alias} $${srcdiroption} \
25327 --with-build-libsubdir=$(HOST_SUBDIR) \
25328 $(STAGE3_CONFIGURE_FLAGS)
25329 @endif zlib-bootstrap
25331 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
25332 maybe-configure-stage4-zlib:
25333 @if zlib-bootstrap
25334 maybe-configure-stage4-zlib: configure-stage4-zlib
25335 configure-stage4-zlib:
25336 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25337 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25338 @r=`${PWD_COMMAND}`; export r; \
25339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25340 TFLAGS="$(STAGE4_TFLAGS)"; \
25341 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25342 $(HOST_EXPORTS) \
25343 $(POSTSTAGE1_HOST_EXPORTS) \
25344 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
25345 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
25346 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
25347 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
25348 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25349 cd $(HOST_SUBDIR)/zlib || exit 1; \
25350 case $(srcdir) in \
25351 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25352 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25353 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25354 esac; \
25355 srcdiroption="--srcdir=$${topdir}/zlib"; \
25356 libsrcdir="$$s/zlib"; \
25357 $(SHELL) $${libsrcdir}/configure \
25358 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25359 --target=${target_alias} $${srcdiroption} \
25360 --with-build-libsubdir=$(HOST_SUBDIR) \
25361 $(STAGE4_CONFIGURE_FLAGS)
25362 @endif zlib-bootstrap
25364 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
25365 maybe-configure-stageprofile-zlib:
25366 @if zlib-bootstrap
25367 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
25368 configure-stageprofile-zlib:
25369 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25370 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25371 @r=`${PWD_COMMAND}`; export r; \
25372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25373 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25374 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25375 $(HOST_EXPORTS) \
25376 $(POSTSTAGE1_HOST_EXPORTS) \
25377 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
25378 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
25379 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
25380 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
25381 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25382 cd $(HOST_SUBDIR)/zlib || exit 1; \
25383 case $(srcdir) in \
25384 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25385 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25386 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25387 esac; \
25388 srcdiroption="--srcdir=$${topdir}/zlib"; \
25389 libsrcdir="$$s/zlib"; \
25390 $(SHELL) $${libsrcdir}/configure \
25391 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25392 --target=${target_alias} $${srcdiroption} \
25393 --with-build-libsubdir=$(HOST_SUBDIR) \
25394 $(STAGEprofile_CONFIGURE_FLAGS)
25395 @endif zlib-bootstrap
25397 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
25398 maybe-configure-stagefeedback-zlib:
25399 @if zlib-bootstrap
25400 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
25401 configure-stagefeedback-zlib:
25402 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25403 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25404 @r=`${PWD_COMMAND}`; export r; \
25405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25406 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25407 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25408 $(HOST_EXPORTS) \
25409 $(POSTSTAGE1_HOST_EXPORTS) \
25410 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
25411 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
25412 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
25413 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
25414 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25415 cd $(HOST_SUBDIR)/zlib || exit 1; \
25416 case $(srcdir) in \
25417 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25418 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25419 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25420 esac; \
25421 srcdiroption="--srcdir=$${topdir}/zlib"; \
25422 libsrcdir="$$s/zlib"; \
25423 $(SHELL) $${libsrcdir}/configure \
25424 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25425 --target=${target_alias} $${srcdiroption} \
25426 --with-build-libsubdir=$(HOST_SUBDIR) \
25427 $(STAGEfeedback_CONFIGURE_FLAGS)
25428 @endif zlib-bootstrap
25434 .PHONY: all-zlib maybe-all-zlib
25435 maybe-all-zlib:
25436 @if gcc-bootstrap
25437 all-zlib: stage_current
25438 @endif gcc-bootstrap
25439 @if zlib
25440 TARGET-zlib=all
25441 maybe-all-zlib: all-zlib
25442 all-zlib: configure-zlib
25443 @r=`${PWD_COMMAND}`; export r; \
25444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25445 $(HOST_EXPORTS) \
25446 (cd $(HOST_SUBDIR)/zlib && \
25447 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
25448 $(TARGET-zlib))
25449 @endif zlib
25453 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
25454 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
25455 maybe-all-stage1-zlib:
25456 maybe-clean-stage1-zlib:
25457 @if zlib-bootstrap
25458 maybe-all-stage1-zlib: all-stage1-zlib
25459 all-stage1: all-stage1-zlib
25460 TARGET-stage1-zlib = $(TARGET-zlib)
25461 all-stage1-zlib: configure-stage1-zlib
25462 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25463 @r=`${PWD_COMMAND}`; export r; \
25464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25465 TFLAGS="$(STAGE1_TFLAGS)"; \
25466 $(HOST_EXPORTS) \
25467 cd $(HOST_SUBDIR)/zlib && \
25468 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25469 CFLAGS="$(STAGE1_CFLAGS)" \
25470 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
25471 LIBCFLAGS="$(LIBCFLAGS)" \
25472 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25473 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25474 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25475 $(EXTRA_HOST_FLAGS) \
25476 TFLAGS="$(STAGE1_TFLAGS)" \
25477 $(TARGET-stage1-zlib)
25479 maybe-clean-stage1-zlib: clean-stage1-zlib
25480 clean-stage1: clean-stage1-zlib
25481 clean-stage1-zlib:
25482 @if [ $(current_stage) = stage1 ]; then \
25483 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25484 else \
25485 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
25486 $(MAKE) stage1-start; \
25487 fi; \
25488 cd $(HOST_SUBDIR)/zlib && \
25489 $(MAKE) $(EXTRA_HOST_FLAGS) \
25490 clean
25491 @endif zlib-bootstrap
25494 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
25495 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
25496 maybe-all-stage2-zlib:
25497 maybe-clean-stage2-zlib:
25498 @if zlib-bootstrap
25499 maybe-all-stage2-zlib: all-stage2-zlib
25500 all-stage2: all-stage2-zlib
25501 TARGET-stage2-zlib = $(TARGET-zlib)
25502 all-stage2-zlib: configure-stage2-zlib
25503 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25504 @r=`${PWD_COMMAND}`; export r; \
25505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25506 TFLAGS="$(STAGE2_TFLAGS)"; \
25507 $(HOST_EXPORTS) \
25508 $(POSTSTAGE1_HOST_EXPORTS) \
25509 cd $(HOST_SUBDIR)/zlib && \
25510 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25511 CFLAGS="$(STAGE2_CFLAGS)" \
25512 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
25513 LIBCFLAGS="$(STAGE2_CFLAGS)" \
25514 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25515 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25516 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25517 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25518 TFLAGS="$(STAGE2_TFLAGS)" \
25519 $(TARGET-stage2-zlib)
25521 maybe-clean-stage2-zlib: clean-stage2-zlib
25522 clean-stage2: clean-stage2-zlib
25523 clean-stage2-zlib:
25524 @if [ $(current_stage) = stage2 ]; then \
25525 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25526 else \
25527 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
25528 $(MAKE) stage2-start; \
25529 fi; \
25530 cd $(HOST_SUBDIR)/zlib && \
25531 $(MAKE) $(EXTRA_HOST_FLAGS) \
25532 $(POSTSTAGE1_FLAGS_TO_PASS) \
25533 clean
25534 @endif zlib-bootstrap
25537 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
25538 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
25539 maybe-all-stage3-zlib:
25540 maybe-clean-stage3-zlib:
25541 @if zlib-bootstrap
25542 maybe-all-stage3-zlib: all-stage3-zlib
25543 all-stage3: all-stage3-zlib
25544 TARGET-stage3-zlib = $(TARGET-zlib)
25545 all-stage3-zlib: configure-stage3-zlib
25546 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25547 @r=`${PWD_COMMAND}`; export r; \
25548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25549 TFLAGS="$(STAGE3_TFLAGS)"; \
25550 $(HOST_EXPORTS) \
25551 $(POSTSTAGE1_HOST_EXPORTS) \
25552 cd $(HOST_SUBDIR)/zlib && \
25553 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25554 CFLAGS="$(STAGE3_CFLAGS)" \
25555 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
25556 LIBCFLAGS="$(STAGE3_CFLAGS)" \
25557 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25558 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25559 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25560 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25561 TFLAGS="$(STAGE3_TFLAGS)" \
25562 $(TARGET-stage3-zlib)
25564 maybe-clean-stage3-zlib: clean-stage3-zlib
25565 clean-stage3: clean-stage3-zlib
25566 clean-stage3-zlib:
25567 @if [ $(current_stage) = stage3 ]; then \
25568 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25569 else \
25570 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
25571 $(MAKE) stage3-start; \
25572 fi; \
25573 cd $(HOST_SUBDIR)/zlib && \
25574 $(MAKE) $(EXTRA_HOST_FLAGS) \
25575 $(POSTSTAGE1_FLAGS_TO_PASS) \
25576 clean
25577 @endif zlib-bootstrap
25580 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
25581 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
25582 maybe-all-stage4-zlib:
25583 maybe-clean-stage4-zlib:
25584 @if zlib-bootstrap
25585 maybe-all-stage4-zlib: all-stage4-zlib
25586 all-stage4: all-stage4-zlib
25587 TARGET-stage4-zlib = $(TARGET-zlib)
25588 all-stage4-zlib: configure-stage4-zlib
25589 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25590 @r=`${PWD_COMMAND}`; export r; \
25591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25592 TFLAGS="$(STAGE4_TFLAGS)"; \
25593 $(HOST_EXPORTS) \
25594 $(POSTSTAGE1_HOST_EXPORTS) \
25595 cd $(HOST_SUBDIR)/zlib && \
25596 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25597 CFLAGS="$(STAGE4_CFLAGS)" \
25598 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
25599 LIBCFLAGS="$(STAGE4_CFLAGS)" \
25600 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25601 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25602 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25603 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25604 TFLAGS="$(STAGE4_TFLAGS)" \
25605 $(TARGET-stage4-zlib)
25607 maybe-clean-stage4-zlib: clean-stage4-zlib
25608 clean-stage4: clean-stage4-zlib
25609 clean-stage4-zlib:
25610 @if [ $(current_stage) = stage4 ]; then \
25611 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25612 else \
25613 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
25614 $(MAKE) stage4-start; \
25615 fi; \
25616 cd $(HOST_SUBDIR)/zlib && \
25617 $(MAKE) $(EXTRA_HOST_FLAGS) \
25618 $(POSTSTAGE1_FLAGS_TO_PASS) \
25619 clean
25620 @endif zlib-bootstrap
25623 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
25624 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
25625 maybe-all-stageprofile-zlib:
25626 maybe-clean-stageprofile-zlib:
25627 @if zlib-bootstrap
25628 maybe-all-stageprofile-zlib: all-stageprofile-zlib
25629 all-stageprofile: all-stageprofile-zlib
25630 TARGET-stageprofile-zlib = $(TARGET-zlib)
25631 all-stageprofile-zlib: configure-stageprofile-zlib
25632 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25633 @r=`${PWD_COMMAND}`; export r; \
25634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25635 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25636 $(HOST_EXPORTS) \
25637 $(POSTSTAGE1_HOST_EXPORTS) \
25638 cd $(HOST_SUBDIR)/zlib && \
25639 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25640 CFLAGS="$(STAGEprofile_CFLAGS)" \
25641 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
25642 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
25643 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25644 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25645 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25646 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25647 TFLAGS="$(STAGEprofile_TFLAGS)" \
25648 $(TARGET-stageprofile-zlib)
25650 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
25651 clean-stageprofile: clean-stageprofile-zlib
25652 clean-stageprofile-zlib:
25653 @if [ $(current_stage) = stageprofile ]; then \
25654 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25655 else \
25656 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
25657 $(MAKE) stageprofile-start; \
25658 fi; \
25659 cd $(HOST_SUBDIR)/zlib && \
25660 $(MAKE) $(EXTRA_HOST_FLAGS) \
25661 $(POSTSTAGE1_FLAGS_TO_PASS) \
25662 clean
25663 @endif zlib-bootstrap
25666 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
25667 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
25668 maybe-all-stagefeedback-zlib:
25669 maybe-clean-stagefeedback-zlib:
25670 @if zlib-bootstrap
25671 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
25672 all-stagefeedback: all-stagefeedback-zlib
25673 TARGET-stagefeedback-zlib = $(TARGET-zlib)
25674 all-stagefeedback-zlib: configure-stagefeedback-zlib
25675 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25676 @r=`${PWD_COMMAND}`; export r; \
25677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25678 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25679 $(HOST_EXPORTS) \
25680 $(POSTSTAGE1_HOST_EXPORTS) \
25681 cd $(HOST_SUBDIR)/zlib && \
25682 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25683 CFLAGS="$(STAGEfeedback_CFLAGS)" \
25684 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
25685 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
25686 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25687 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25688 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25689 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25690 TFLAGS="$(STAGEfeedback_TFLAGS)" \
25691 $(TARGET-stagefeedback-zlib)
25693 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
25694 clean-stagefeedback: clean-stagefeedback-zlib
25695 clean-stagefeedback-zlib:
25696 @if [ $(current_stage) = stagefeedback ]; then \
25697 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25698 else \
25699 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
25700 $(MAKE) stagefeedback-start; \
25701 fi; \
25702 cd $(HOST_SUBDIR)/zlib && \
25703 $(MAKE) $(EXTRA_HOST_FLAGS) \
25704 $(POSTSTAGE1_FLAGS_TO_PASS) \
25705 clean
25706 @endif zlib-bootstrap
25712 .PHONY: check-zlib maybe-check-zlib
25713 maybe-check-zlib:
25714 @if zlib
25715 maybe-check-zlib: check-zlib
25717 check-zlib:
25719 @endif zlib
25721 .PHONY: install-zlib maybe-install-zlib
25722 maybe-install-zlib:
25723 @if zlib
25724 maybe-install-zlib: install-zlib
25726 install-zlib:
25728 @endif zlib
25730 .PHONY: install-strip-zlib maybe-install-strip-zlib
25731 maybe-install-strip-zlib:
25732 @if zlib
25733 maybe-install-strip-zlib: install-strip-zlib
25735 install-strip-zlib:
25737 @endif zlib
25739 # Other targets (info, dvi, pdf, etc.)
25741 .PHONY: maybe-info-zlib info-zlib
25742 maybe-info-zlib:
25743 @if zlib
25744 maybe-info-zlib: info-zlib
25746 info-zlib: \
25747 configure-zlib
25748 @[ -f ./zlib/Makefile ] || exit 0; \
25749 r=`${PWD_COMMAND}`; export r; \
25750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25751 $(HOST_EXPORTS) \
25752 for flag in $(EXTRA_HOST_FLAGS) ; do \
25753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25754 done; \
25755 echo "Doing info in zlib" ; \
25756 (cd $(HOST_SUBDIR)/zlib && \
25757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25759 "RANLIB=$${RANLIB}" \
25760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25761 info) \
25762 || exit 1
25764 @endif zlib
25766 .PHONY: maybe-dvi-zlib dvi-zlib
25767 maybe-dvi-zlib:
25768 @if zlib
25769 maybe-dvi-zlib: dvi-zlib
25771 dvi-zlib: \
25772 configure-zlib
25773 @[ -f ./zlib/Makefile ] || exit 0; \
25774 r=`${PWD_COMMAND}`; export r; \
25775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25776 $(HOST_EXPORTS) \
25777 for flag in $(EXTRA_HOST_FLAGS) ; do \
25778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25779 done; \
25780 echo "Doing dvi in zlib" ; \
25781 (cd $(HOST_SUBDIR)/zlib && \
25782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25784 "RANLIB=$${RANLIB}" \
25785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25786 dvi) \
25787 || exit 1
25789 @endif zlib
25791 .PHONY: maybe-pdf-zlib pdf-zlib
25792 maybe-pdf-zlib:
25793 @if zlib
25794 maybe-pdf-zlib: pdf-zlib
25796 pdf-zlib: \
25797 configure-zlib
25798 @[ -f ./zlib/Makefile ] || exit 0; \
25799 r=`${PWD_COMMAND}`; export r; \
25800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25801 $(HOST_EXPORTS) \
25802 for flag in $(EXTRA_HOST_FLAGS) ; do \
25803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25804 done; \
25805 echo "Doing pdf in zlib" ; \
25806 (cd $(HOST_SUBDIR)/zlib && \
25807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25809 "RANLIB=$${RANLIB}" \
25810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25811 pdf) \
25812 || exit 1
25814 @endif zlib
25816 .PHONY: maybe-html-zlib html-zlib
25817 maybe-html-zlib:
25818 @if zlib
25819 maybe-html-zlib: html-zlib
25821 html-zlib: \
25822 configure-zlib
25823 @[ -f ./zlib/Makefile ] || exit 0; \
25824 r=`${PWD_COMMAND}`; export r; \
25825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25826 $(HOST_EXPORTS) \
25827 for flag in $(EXTRA_HOST_FLAGS) ; do \
25828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25829 done; \
25830 echo "Doing html in zlib" ; \
25831 (cd $(HOST_SUBDIR)/zlib && \
25832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25834 "RANLIB=$${RANLIB}" \
25835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25836 html) \
25837 || exit 1
25839 @endif zlib
25841 .PHONY: maybe-TAGS-zlib TAGS-zlib
25842 maybe-TAGS-zlib:
25843 @if zlib
25844 maybe-TAGS-zlib: TAGS-zlib
25846 TAGS-zlib: \
25847 configure-zlib
25848 @[ -f ./zlib/Makefile ] || exit 0; \
25849 r=`${PWD_COMMAND}`; export r; \
25850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25851 $(HOST_EXPORTS) \
25852 for flag in $(EXTRA_HOST_FLAGS) ; do \
25853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25854 done; \
25855 echo "Doing TAGS in zlib" ; \
25856 (cd $(HOST_SUBDIR)/zlib && \
25857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25859 "RANLIB=$${RANLIB}" \
25860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25861 TAGS) \
25862 || exit 1
25864 @endif zlib
25866 .PHONY: maybe-install-info-zlib install-info-zlib
25867 maybe-install-info-zlib:
25868 @if zlib
25869 maybe-install-info-zlib: install-info-zlib
25871 install-info-zlib: \
25872 configure-zlib \
25873 info-zlib
25874 @[ -f ./zlib/Makefile ] || exit 0; \
25875 r=`${PWD_COMMAND}`; export r; \
25876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25877 $(HOST_EXPORTS) \
25878 for flag in $(EXTRA_HOST_FLAGS) ; do \
25879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25880 done; \
25881 echo "Doing install-info in zlib" ; \
25882 (cd $(HOST_SUBDIR)/zlib && \
25883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25885 "RANLIB=$${RANLIB}" \
25886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25887 install-info) \
25888 || exit 1
25890 @endif zlib
25892 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
25893 maybe-install-pdf-zlib:
25894 @if zlib
25895 maybe-install-pdf-zlib: install-pdf-zlib
25897 install-pdf-zlib: \
25898 configure-zlib \
25899 pdf-zlib
25900 @[ -f ./zlib/Makefile ] || exit 0; \
25901 r=`${PWD_COMMAND}`; export r; \
25902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25903 $(HOST_EXPORTS) \
25904 for flag in $(EXTRA_HOST_FLAGS) ; do \
25905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25906 done; \
25907 echo "Doing install-pdf in zlib" ; \
25908 (cd $(HOST_SUBDIR)/zlib && \
25909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25911 "RANLIB=$${RANLIB}" \
25912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25913 install-pdf) \
25914 || exit 1
25916 @endif zlib
25918 .PHONY: maybe-install-html-zlib install-html-zlib
25919 maybe-install-html-zlib:
25920 @if zlib
25921 maybe-install-html-zlib: install-html-zlib
25923 install-html-zlib: \
25924 configure-zlib \
25925 html-zlib
25926 @[ -f ./zlib/Makefile ] || exit 0; \
25927 r=`${PWD_COMMAND}`; export r; \
25928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25929 $(HOST_EXPORTS) \
25930 for flag in $(EXTRA_HOST_FLAGS) ; do \
25931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25932 done; \
25933 echo "Doing install-html in zlib" ; \
25934 (cd $(HOST_SUBDIR)/zlib && \
25935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25937 "RANLIB=$${RANLIB}" \
25938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25939 install-html) \
25940 || exit 1
25942 @endif zlib
25944 .PHONY: maybe-installcheck-zlib installcheck-zlib
25945 maybe-installcheck-zlib:
25946 @if zlib
25947 maybe-installcheck-zlib: installcheck-zlib
25949 installcheck-zlib: \
25950 configure-zlib
25951 @[ -f ./zlib/Makefile ] || exit 0; \
25952 r=`${PWD_COMMAND}`; export r; \
25953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25954 $(HOST_EXPORTS) \
25955 for flag in $(EXTRA_HOST_FLAGS) ; do \
25956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25957 done; \
25958 echo "Doing installcheck in zlib" ; \
25959 (cd $(HOST_SUBDIR)/zlib && \
25960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25962 "RANLIB=$${RANLIB}" \
25963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25964 installcheck) \
25965 || exit 1
25967 @endif zlib
25969 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
25970 maybe-mostlyclean-zlib:
25971 @if zlib
25972 maybe-mostlyclean-zlib: mostlyclean-zlib
25974 mostlyclean-zlib:
25975 @[ -f ./zlib/Makefile ] || exit 0; \
25976 r=`${PWD_COMMAND}`; export r; \
25977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25978 $(HOST_EXPORTS) \
25979 for flag in $(EXTRA_HOST_FLAGS) ; do \
25980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25981 done; \
25982 echo "Doing mostlyclean in zlib" ; \
25983 (cd $(HOST_SUBDIR)/zlib && \
25984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25986 "RANLIB=$${RANLIB}" \
25987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25988 mostlyclean) \
25989 || exit 1
25991 @endif zlib
25993 .PHONY: maybe-clean-zlib clean-zlib
25994 maybe-clean-zlib:
25995 @if zlib
25996 maybe-clean-zlib: clean-zlib
25998 clean-zlib:
25999 @[ -f ./zlib/Makefile ] || exit 0; \
26000 r=`${PWD_COMMAND}`; export r; \
26001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26002 $(HOST_EXPORTS) \
26003 for flag in $(EXTRA_HOST_FLAGS) ; do \
26004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26005 done; \
26006 echo "Doing clean in zlib" ; \
26007 (cd $(HOST_SUBDIR)/zlib && \
26008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26010 "RANLIB=$${RANLIB}" \
26011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26012 clean) \
26013 || exit 1
26015 @endif zlib
26017 .PHONY: maybe-distclean-zlib distclean-zlib
26018 maybe-distclean-zlib:
26019 @if zlib
26020 maybe-distclean-zlib: distclean-zlib
26022 distclean-zlib:
26023 @[ -f ./zlib/Makefile ] || exit 0; \
26024 r=`${PWD_COMMAND}`; export r; \
26025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26026 $(HOST_EXPORTS) \
26027 for flag in $(EXTRA_HOST_FLAGS) ; do \
26028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26029 done; \
26030 echo "Doing distclean in zlib" ; \
26031 (cd $(HOST_SUBDIR)/zlib && \
26032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26034 "RANLIB=$${RANLIB}" \
26035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26036 distclean) \
26037 || exit 1
26039 @endif zlib
26041 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
26042 maybe-maintainer-clean-zlib:
26043 @if zlib
26044 maybe-maintainer-clean-zlib: maintainer-clean-zlib
26046 maintainer-clean-zlib:
26047 @[ -f ./zlib/Makefile ] || exit 0; \
26048 r=`${PWD_COMMAND}`; export r; \
26049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26050 $(HOST_EXPORTS) \
26051 for flag in $(EXTRA_HOST_FLAGS) ; do \
26052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26053 done; \
26054 echo "Doing maintainer-clean in zlib" ; \
26055 (cd $(HOST_SUBDIR)/zlib && \
26056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26058 "RANLIB=$${RANLIB}" \
26059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26060 maintainer-clean) \
26061 || exit 1
26063 @endif zlib
26067 .PHONY: configure-gdb maybe-configure-gdb
26068 maybe-configure-gdb:
26069 @if gcc-bootstrap
26070 configure-gdb: stage_current
26071 @endif gcc-bootstrap
26072 @if gdb
26073 maybe-configure-gdb: configure-gdb
26074 configure-gdb:
26075 @: $(MAKE); $(unstage)
26076 @r=`${PWD_COMMAND}`; export r; \
26077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26078 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
26079 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
26080 $(HOST_EXPORTS) \
26081 echo Configuring in $(HOST_SUBDIR)/gdb; \
26082 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
26083 case $(srcdir) in \
26084 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26085 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
26086 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26087 esac; \
26088 srcdiroption="--srcdir=$${topdir}/gdb"; \
26089 libsrcdir="$$s/gdb"; \
26090 $(SHELL) $${libsrcdir}/configure \
26091 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26092 --target=${target_alias} $${srcdiroption} \
26093 || exit 1
26094 @endif gdb
26100 .PHONY: all-gdb maybe-all-gdb
26101 maybe-all-gdb:
26102 @if gcc-bootstrap
26103 all-gdb: stage_current
26104 @endif gcc-bootstrap
26105 @if gdb
26106 TARGET-gdb=all
26107 maybe-all-gdb: all-gdb
26108 all-gdb: configure-gdb
26109 @: $(MAKE); $(unstage)
26110 @r=`${PWD_COMMAND}`; export r; \
26111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26112 $(HOST_EXPORTS) \
26113 (cd $(HOST_SUBDIR)/gdb && \
26114 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
26115 $(TARGET-gdb))
26116 @endif gdb
26121 .PHONY: check-gdb maybe-check-gdb
26122 maybe-check-gdb:
26123 @if gdb
26124 maybe-check-gdb: check-gdb
26126 check-gdb:
26127 @: $(MAKE); $(unstage)
26128 @r=`${PWD_COMMAND}`; export r; \
26129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26130 $(HOST_EXPORTS) \
26131 (cd $(HOST_SUBDIR)/gdb && \
26132 $(MAKE) $(FLAGS_TO_PASS) check)
26134 @endif gdb
26136 .PHONY: install-gdb maybe-install-gdb
26137 maybe-install-gdb:
26138 @if gdb
26139 maybe-install-gdb: install-gdb
26141 install-gdb: installdirs
26142 @: $(MAKE); $(unstage)
26143 @r=`${PWD_COMMAND}`; export r; \
26144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26145 $(HOST_EXPORTS) \
26146 (cd $(HOST_SUBDIR)/gdb && \
26147 $(MAKE) $(FLAGS_TO_PASS) install)
26149 @endif gdb
26151 .PHONY: install-strip-gdb maybe-install-strip-gdb
26152 maybe-install-strip-gdb:
26153 @if gdb
26154 maybe-install-strip-gdb: install-strip-gdb
26156 install-strip-gdb: installdirs
26157 @: $(MAKE); $(unstage)
26158 @r=`${PWD_COMMAND}`; export r; \
26159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26160 $(HOST_EXPORTS) \
26161 (cd $(HOST_SUBDIR)/gdb && \
26162 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26164 @endif gdb
26166 # Other targets (info, dvi, pdf, etc.)
26168 .PHONY: maybe-info-gdb info-gdb
26169 maybe-info-gdb:
26170 @if gdb
26171 maybe-info-gdb: info-gdb
26173 info-gdb: \
26174 configure-gdb
26175 @: $(MAKE); $(unstage)
26176 @[ -f ./gdb/Makefile ] || exit 0; \
26177 r=`${PWD_COMMAND}`; export r; \
26178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26179 $(HOST_EXPORTS) \
26180 for flag in $(EXTRA_HOST_FLAGS) ; do \
26181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26182 done; \
26183 echo "Doing info in gdb" ; \
26184 (cd $(HOST_SUBDIR)/gdb && \
26185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26187 "RANLIB=$${RANLIB}" \
26188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26189 info) \
26190 || exit 1
26192 @endif gdb
26194 .PHONY: maybe-dvi-gdb dvi-gdb
26195 maybe-dvi-gdb:
26196 @if gdb
26197 maybe-dvi-gdb: dvi-gdb
26199 dvi-gdb: \
26200 configure-gdb
26201 @: $(MAKE); $(unstage)
26202 @[ -f ./gdb/Makefile ] || exit 0; \
26203 r=`${PWD_COMMAND}`; export r; \
26204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26205 $(HOST_EXPORTS) \
26206 for flag in $(EXTRA_HOST_FLAGS) ; do \
26207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26208 done; \
26209 echo "Doing dvi in gdb" ; \
26210 (cd $(HOST_SUBDIR)/gdb && \
26211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26213 "RANLIB=$${RANLIB}" \
26214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26215 dvi) \
26216 || exit 1
26218 @endif gdb
26220 .PHONY: maybe-pdf-gdb pdf-gdb
26221 maybe-pdf-gdb:
26222 @if gdb
26223 maybe-pdf-gdb: pdf-gdb
26225 pdf-gdb: \
26226 configure-gdb
26227 @: $(MAKE); $(unstage)
26228 @[ -f ./gdb/Makefile ] || exit 0; \
26229 r=`${PWD_COMMAND}`; export r; \
26230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26231 $(HOST_EXPORTS) \
26232 for flag in $(EXTRA_HOST_FLAGS) ; do \
26233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26234 done; \
26235 echo "Doing pdf in gdb" ; \
26236 (cd $(HOST_SUBDIR)/gdb && \
26237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26239 "RANLIB=$${RANLIB}" \
26240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26241 pdf) \
26242 || exit 1
26244 @endif gdb
26246 .PHONY: maybe-html-gdb html-gdb
26247 maybe-html-gdb:
26248 @if gdb
26249 maybe-html-gdb: html-gdb
26251 html-gdb: \
26252 configure-gdb
26253 @: $(MAKE); $(unstage)
26254 @[ -f ./gdb/Makefile ] || exit 0; \
26255 r=`${PWD_COMMAND}`; export r; \
26256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26257 $(HOST_EXPORTS) \
26258 for flag in $(EXTRA_HOST_FLAGS) ; do \
26259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26260 done; \
26261 echo "Doing html in gdb" ; \
26262 (cd $(HOST_SUBDIR)/gdb && \
26263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26265 "RANLIB=$${RANLIB}" \
26266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26267 html) \
26268 || exit 1
26270 @endif gdb
26272 .PHONY: maybe-TAGS-gdb TAGS-gdb
26273 maybe-TAGS-gdb:
26274 @if gdb
26275 maybe-TAGS-gdb: TAGS-gdb
26277 TAGS-gdb: \
26278 configure-gdb
26279 @: $(MAKE); $(unstage)
26280 @[ -f ./gdb/Makefile ] || exit 0; \
26281 r=`${PWD_COMMAND}`; export r; \
26282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26283 $(HOST_EXPORTS) \
26284 for flag in $(EXTRA_HOST_FLAGS) ; do \
26285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26286 done; \
26287 echo "Doing TAGS in gdb" ; \
26288 (cd $(HOST_SUBDIR)/gdb && \
26289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26291 "RANLIB=$${RANLIB}" \
26292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26293 TAGS) \
26294 || exit 1
26296 @endif gdb
26298 .PHONY: maybe-install-info-gdb install-info-gdb
26299 maybe-install-info-gdb:
26300 @if gdb
26301 maybe-install-info-gdb: install-info-gdb
26303 install-info-gdb: \
26304 configure-gdb \
26305 info-gdb
26306 @: $(MAKE); $(unstage)
26307 @[ -f ./gdb/Makefile ] || exit 0; \
26308 r=`${PWD_COMMAND}`; export r; \
26309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26310 $(HOST_EXPORTS) \
26311 for flag in $(EXTRA_HOST_FLAGS) ; do \
26312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26313 done; \
26314 echo "Doing install-info in gdb" ; \
26315 (cd $(HOST_SUBDIR)/gdb && \
26316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26318 "RANLIB=$${RANLIB}" \
26319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26320 install-info) \
26321 || exit 1
26323 @endif gdb
26325 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
26326 maybe-install-pdf-gdb:
26327 @if gdb
26328 maybe-install-pdf-gdb: install-pdf-gdb
26330 install-pdf-gdb: \
26331 configure-gdb \
26332 pdf-gdb
26333 @: $(MAKE); $(unstage)
26334 @[ -f ./gdb/Makefile ] || exit 0; \
26335 r=`${PWD_COMMAND}`; export r; \
26336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26337 $(HOST_EXPORTS) \
26338 for flag in $(EXTRA_HOST_FLAGS) ; do \
26339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26340 done; \
26341 echo "Doing install-pdf in gdb" ; \
26342 (cd $(HOST_SUBDIR)/gdb && \
26343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26345 "RANLIB=$${RANLIB}" \
26346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26347 install-pdf) \
26348 || exit 1
26350 @endif gdb
26352 .PHONY: maybe-install-html-gdb install-html-gdb
26353 maybe-install-html-gdb:
26354 @if gdb
26355 maybe-install-html-gdb: install-html-gdb
26357 install-html-gdb: \
26358 configure-gdb \
26359 html-gdb
26360 @: $(MAKE); $(unstage)
26361 @[ -f ./gdb/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 install-html in gdb" ; \
26369 (cd $(HOST_SUBDIR)/gdb && \
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 install-html) \
26375 || exit 1
26377 @endif gdb
26379 .PHONY: maybe-installcheck-gdb installcheck-gdb
26380 maybe-installcheck-gdb:
26381 @if gdb
26382 maybe-installcheck-gdb: installcheck-gdb
26384 installcheck-gdb: \
26385 configure-gdb
26386 @: $(MAKE); $(unstage)
26387 @[ -f ./gdb/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 installcheck in gdb" ; \
26395 (cd $(HOST_SUBDIR)/gdb && \
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 installcheck) \
26401 || exit 1
26403 @endif gdb
26405 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
26406 maybe-mostlyclean-gdb:
26407 @if gdb
26408 maybe-mostlyclean-gdb: mostlyclean-gdb
26410 mostlyclean-gdb:
26411 @: $(MAKE); $(unstage)
26412 @[ -f ./gdb/Makefile ] || exit 0; \
26413 r=`${PWD_COMMAND}`; export r; \
26414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26415 $(HOST_EXPORTS) \
26416 for flag in $(EXTRA_HOST_FLAGS) ; do \
26417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26418 done; \
26419 echo "Doing mostlyclean in gdb" ; \
26420 (cd $(HOST_SUBDIR)/gdb && \
26421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26423 "RANLIB=$${RANLIB}" \
26424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26425 mostlyclean) \
26426 || exit 1
26428 @endif gdb
26430 .PHONY: maybe-clean-gdb clean-gdb
26431 maybe-clean-gdb:
26432 @if gdb
26433 maybe-clean-gdb: clean-gdb
26435 clean-gdb:
26436 @: $(MAKE); $(unstage)
26437 @[ -f ./gdb/Makefile ] || exit 0; \
26438 r=`${PWD_COMMAND}`; export r; \
26439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26440 $(HOST_EXPORTS) \
26441 for flag in $(EXTRA_HOST_FLAGS) ; do \
26442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26443 done; \
26444 echo "Doing clean in gdb" ; \
26445 (cd $(HOST_SUBDIR)/gdb && \
26446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26448 "RANLIB=$${RANLIB}" \
26449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26450 clean) \
26451 || exit 1
26453 @endif gdb
26455 .PHONY: maybe-distclean-gdb distclean-gdb
26456 maybe-distclean-gdb:
26457 @if gdb
26458 maybe-distclean-gdb: distclean-gdb
26460 distclean-gdb:
26461 @: $(MAKE); $(unstage)
26462 @[ -f ./gdb/Makefile ] || exit 0; \
26463 r=`${PWD_COMMAND}`; export r; \
26464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26465 $(HOST_EXPORTS) \
26466 for flag in $(EXTRA_HOST_FLAGS) ; do \
26467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26468 done; \
26469 echo "Doing distclean in gdb" ; \
26470 (cd $(HOST_SUBDIR)/gdb && \
26471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26473 "RANLIB=$${RANLIB}" \
26474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26475 distclean) \
26476 || exit 1
26478 @endif gdb
26480 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
26481 maybe-maintainer-clean-gdb:
26482 @if gdb
26483 maybe-maintainer-clean-gdb: maintainer-clean-gdb
26485 maintainer-clean-gdb:
26486 @: $(MAKE); $(unstage)
26487 @[ -f ./gdb/Makefile ] || exit 0; \
26488 r=`${PWD_COMMAND}`; export r; \
26489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26490 $(HOST_EXPORTS) \
26491 for flag in $(EXTRA_HOST_FLAGS) ; do \
26492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26493 done; \
26494 echo "Doing maintainer-clean in gdb" ; \
26495 (cd $(HOST_SUBDIR)/gdb && \
26496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26498 "RANLIB=$${RANLIB}" \
26499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26500 maintainer-clean) \
26501 || exit 1
26503 @endif gdb
26507 .PHONY: configure-expect maybe-configure-expect
26508 maybe-configure-expect:
26509 @if gcc-bootstrap
26510 configure-expect: stage_current
26511 @endif gcc-bootstrap
26512 @if expect
26513 maybe-configure-expect: configure-expect
26514 configure-expect:
26515 @: $(MAKE); $(unstage)
26516 @r=`${PWD_COMMAND}`; export r; \
26517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26518 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
26519 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
26520 $(HOST_EXPORTS) \
26521 echo Configuring in $(HOST_SUBDIR)/expect; \
26522 cd "$(HOST_SUBDIR)/expect" || exit 1; \
26523 case $(srcdir) in \
26524 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26525 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
26526 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26527 esac; \
26528 srcdiroption="--srcdir=$${topdir}/expect"; \
26529 libsrcdir="$$s/expect"; \
26530 $(SHELL) $${libsrcdir}/configure \
26531 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26532 --target=${target_alias} $${srcdiroption} \
26533 || exit 1
26534 @endif expect
26540 .PHONY: all-expect maybe-all-expect
26541 maybe-all-expect:
26542 @if gcc-bootstrap
26543 all-expect: stage_current
26544 @endif gcc-bootstrap
26545 @if expect
26546 TARGET-expect=all
26547 maybe-all-expect: all-expect
26548 all-expect: configure-expect
26549 @: $(MAKE); $(unstage)
26550 @r=`${PWD_COMMAND}`; export r; \
26551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26552 $(HOST_EXPORTS) \
26553 (cd $(HOST_SUBDIR)/expect && \
26554 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
26555 $(TARGET-expect))
26556 @endif expect
26561 .PHONY: check-expect maybe-check-expect
26562 maybe-check-expect:
26563 @if expect
26564 maybe-check-expect: check-expect
26566 check-expect:
26567 @: $(MAKE); $(unstage)
26568 @r=`${PWD_COMMAND}`; export r; \
26569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26570 $(HOST_EXPORTS) \
26571 (cd $(HOST_SUBDIR)/expect && \
26572 $(MAKE) $(FLAGS_TO_PASS) check)
26574 @endif expect
26576 .PHONY: install-expect maybe-install-expect
26577 maybe-install-expect:
26578 @if expect
26579 maybe-install-expect: install-expect
26581 install-expect: installdirs
26582 @: $(MAKE); $(unstage)
26583 @r=`${PWD_COMMAND}`; export r; \
26584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26585 $(HOST_EXPORTS) \
26586 (cd $(HOST_SUBDIR)/expect && \
26587 $(MAKE) $(FLAGS_TO_PASS) install)
26589 @endif expect
26591 .PHONY: install-strip-expect maybe-install-strip-expect
26592 maybe-install-strip-expect:
26593 @if expect
26594 maybe-install-strip-expect: install-strip-expect
26596 install-strip-expect: installdirs
26597 @: $(MAKE); $(unstage)
26598 @r=`${PWD_COMMAND}`; export r; \
26599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26600 $(HOST_EXPORTS) \
26601 (cd $(HOST_SUBDIR)/expect && \
26602 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26604 @endif expect
26606 # Other targets (info, dvi, pdf, etc.)
26608 .PHONY: maybe-info-expect info-expect
26609 maybe-info-expect:
26610 @if expect
26611 maybe-info-expect: info-expect
26613 info-expect: \
26614 configure-expect
26615 @: $(MAKE); $(unstage)
26616 @[ -f ./expect/Makefile ] || exit 0; \
26617 r=`${PWD_COMMAND}`; export r; \
26618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26619 $(HOST_EXPORTS) \
26620 for flag in $(EXTRA_HOST_FLAGS) ; do \
26621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26622 done; \
26623 echo "Doing info in expect" ; \
26624 (cd $(HOST_SUBDIR)/expect && \
26625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26627 "RANLIB=$${RANLIB}" \
26628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26629 info) \
26630 || exit 1
26632 @endif expect
26634 .PHONY: maybe-dvi-expect dvi-expect
26635 maybe-dvi-expect:
26636 @if expect
26637 maybe-dvi-expect: dvi-expect
26639 dvi-expect: \
26640 configure-expect
26641 @: $(MAKE); $(unstage)
26642 @[ -f ./expect/Makefile ] || exit 0; \
26643 r=`${PWD_COMMAND}`; export r; \
26644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26645 $(HOST_EXPORTS) \
26646 for flag in $(EXTRA_HOST_FLAGS) ; do \
26647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26648 done; \
26649 echo "Doing dvi in expect" ; \
26650 (cd $(HOST_SUBDIR)/expect && \
26651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26653 "RANLIB=$${RANLIB}" \
26654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26655 dvi) \
26656 || exit 1
26658 @endif expect
26660 .PHONY: maybe-pdf-expect pdf-expect
26661 maybe-pdf-expect:
26662 @if expect
26663 maybe-pdf-expect: pdf-expect
26665 pdf-expect: \
26666 configure-expect
26667 @: $(MAKE); $(unstage)
26668 @[ -f ./expect/Makefile ] || exit 0; \
26669 r=`${PWD_COMMAND}`; export r; \
26670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26671 $(HOST_EXPORTS) \
26672 for flag in $(EXTRA_HOST_FLAGS) ; do \
26673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26674 done; \
26675 echo "Doing pdf in expect" ; \
26676 (cd $(HOST_SUBDIR)/expect && \
26677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26679 "RANLIB=$${RANLIB}" \
26680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26681 pdf) \
26682 || exit 1
26684 @endif expect
26686 .PHONY: maybe-html-expect html-expect
26687 maybe-html-expect:
26688 @if expect
26689 maybe-html-expect: html-expect
26691 html-expect: \
26692 configure-expect
26693 @: $(MAKE); $(unstage)
26694 @[ -f ./expect/Makefile ] || exit 0; \
26695 r=`${PWD_COMMAND}`; export r; \
26696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26697 $(HOST_EXPORTS) \
26698 for flag in $(EXTRA_HOST_FLAGS) ; do \
26699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26700 done; \
26701 echo "Doing html in expect" ; \
26702 (cd $(HOST_SUBDIR)/expect && \
26703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26705 "RANLIB=$${RANLIB}" \
26706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26707 html) \
26708 || exit 1
26710 @endif expect
26712 .PHONY: maybe-TAGS-expect TAGS-expect
26713 maybe-TAGS-expect:
26714 @if expect
26715 maybe-TAGS-expect: TAGS-expect
26717 TAGS-expect: \
26718 configure-expect
26719 @: $(MAKE); $(unstage)
26720 @[ -f ./expect/Makefile ] || exit 0; \
26721 r=`${PWD_COMMAND}`; export r; \
26722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26723 $(HOST_EXPORTS) \
26724 for flag in $(EXTRA_HOST_FLAGS) ; do \
26725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26726 done; \
26727 echo "Doing TAGS in expect" ; \
26728 (cd $(HOST_SUBDIR)/expect && \
26729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26731 "RANLIB=$${RANLIB}" \
26732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26733 TAGS) \
26734 || exit 1
26736 @endif expect
26738 .PHONY: maybe-install-info-expect install-info-expect
26739 maybe-install-info-expect:
26740 @if expect
26741 maybe-install-info-expect: install-info-expect
26743 install-info-expect: \
26744 configure-expect \
26745 info-expect
26746 @: $(MAKE); $(unstage)
26747 @[ -f ./expect/Makefile ] || exit 0; \
26748 r=`${PWD_COMMAND}`; export r; \
26749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26750 $(HOST_EXPORTS) \
26751 for flag in $(EXTRA_HOST_FLAGS) ; do \
26752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26753 done; \
26754 echo "Doing install-info in expect" ; \
26755 (cd $(HOST_SUBDIR)/expect && \
26756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26758 "RANLIB=$${RANLIB}" \
26759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26760 install-info) \
26761 || exit 1
26763 @endif expect
26765 .PHONY: maybe-install-pdf-expect install-pdf-expect
26766 maybe-install-pdf-expect:
26767 @if expect
26768 maybe-install-pdf-expect: install-pdf-expect
26770 install-pdf-expect: \
26771 configure-expect \
26772 pdf-expect
26773 @: $(MAKE); $(unstage)
26774 @[ -f ./expect/Makefile ] || exit 0; \
26775 r=`${PWD_COMMAND}`; export r; \
26776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26777 $(HOST_EXPORTS) \
26778 for flag in $(EXTRA_HOST_FLAGS) ; do \
26779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26780 done; \
26781 echo "Doing install-pdf in expect" ; \
26782 (cd $(HOST_SUBDIR)/expect && \
26783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26785 "RANLIB=$${RANLIB}" \
26786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26787 install-pdf) \
26788 || exit 1
26790 @endif expect
26792 .PHONY: maybe-install-html-expect install-html-expect
26793 maybe-install-html-expect:
26794 @if expect
26795 maybe-install-html-expect: install-html-expect
26797 install-html-expect: \
26798 configure-expect \
26799 html-expect
26800 @: $(MAKE); $(unstage)
26801 @[ -f ./expect/Makefile ] || exit 0; \
26802 r=`${PWD_COMMAND}`; export r; \
26803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26804 $(HOST_EXPORTS) \
26805 for flag in $(EXTRA_HOST_FLAGS) ; do \
26806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26807 done; \
26808 echo "Doing install-html in expect" ; \
26809 (cd $(HOST_SUBDIR)/expect && \
26810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26812 "RANLIB=$${RANLIB}" \
26813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26814 install-html) \
26815 || exit 1
26817 @endif expect
26819 .PHONY: maybe-installcheck-expect installcheck-expect
26820 maybe-installcheck-expect:
26821 @if expect
26822 maybe-installcheck-expect: installcheck-expect
26824 installcheck-expect: \
26825 configure-expect
26826 @: $(MAKE); $(unstage)
26827 @[ -f ./expect/Makefile ] || exit 0; \
26828 r=`${PWD_COMMAND}`; export r; \
26829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26830 $(HOST_EXPORTS) \
26831 for flag in $(EXTRA_HOST_FLAGS) ; do \
26832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26833 done; \
26834 echo "Doing installcheck in expect" ; \
26835 (cd $(HOST_SUBDIR)/expect && \
26836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26838 "RANLIB=$${RANLIB}" \
26839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26840 installcheck) \
26841 || exit 1
26843 @endif expect
26845 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
26846 maybe-mostlyclean-expect:
26847 @if expect
26848 maybe-mostlyclean-expect: mostlyclean-expect
26850 mostlyclean-expect:
26851 @: $(MAKE); $(unstage)
26852 @[ -f ./expect/Makefile ] || exit 0; \
26853 r=`${PWD_COMMAND}`; export r; \
26854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26855 $(HOST_EXPORTS) \
26856 for flag in $(EXTRA_HOST_FLAGS) ; do \
26857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26858 done; \
26859 echo "Doing mostlyclean in expect" ; \
26860 (cd $(HOST_SUBDIR)/expect && \
26861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26863 "RANLIB=$${RANLIB}" \
26864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26865 mostlyclean) \
26866 || exit 1
26868 @endif expect
26870 .PHONY: maybe-clean-expect clean-expect
26871 maybe-clean-expect:
26872 @if expect
26873 maybe-clean-expect: clean-expect
26875 clean-expect:
26876 @: $(MAKE); $(unstage)
26877 @[ -f ./expect/Makefile ] || exit 0; \
26878 r=`${PWD_COMMAND}`; export r; \
26879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26880 $(HOST_EXPORTS) \
26881 for flag in $(EXTRA_HOST_FLAGS) ; do \
26882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26883 done; \
26884 echo "Doing clean in expect" ; \
26885 (cd $(HOST_SUBDIR)/expect && \
26886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26888 "RANLIB=$${RANLIB}" \
26889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26890 clean) \
26891 || exit 1
26893 @endif expect
26895 .PHONY: maybe-distclean-expect distclean-expect
26896 maybe-distclean-expect:
26897 @if expect
26898 maybe-distclean-expect: distclean-expect
26900 distclean-expect:
26901 @: $(MAKE); $(unstage)
26902 @[ -f ./expect/Makefile ] || exit 0; \
26903 r=`${PWD_COMMAND}`; export r; \
26904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26905 $(HOST_EXPORTS) \
26906 for flag in $(EXTRA_HOST_FLAGS) ; do \
26907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26908 done; \
26909 echo "Doing distclean in expect" ; \
26910 (cd $(HOST_SUBDIR)/expect && \
26911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26913 "RANLIB=$${RANLIB}" \
26914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26915 distclean) \
26916 || exit 1
26918 @endif expect
26920 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
26921 maybe-maintainer-clean-expect:
26922 @if expect
26923 maybe-maintainer-clean-expect: maintainer-clean-expect
26925 maintainer-clean-expect:
26926 @: $(MAKE); $(unstage)
26927 @[ -f ./expect/Makefile ] || exit 0; \
26928 r=`${PWD_COMMAND}`; export r; \
26929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26930 $(HOST_EXPORTS) \
26931 for flag in $(EXTRA_HOST_FLAGS) ; do \
26932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26933 done; \
26934 echo "Doing maintainer-clean in expect" ; \
26935 (cd $(HOST_SUBDIR)/expect && \
26936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26938 "RANLIB=$${RANLIB}" \
26939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26940 maintainer-clean) \
26941 || exit 1
26943 @endif expect
26947 .PHONY: configure-guile maybe-configure-guile
26948 maybe-configure-guile:
26949 @if gcc-bootstrap
26950 configure-guile: stage_current
26951 @endif gcc-bootstrap
26952 @if guile
26953 maybe-configure-guile: configure-guile
26954 configure-guile:
26955 @: $(MAKE); $(unstage)
26956 @r=`${PWD_COMMAND}`; export r; \
26957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26958 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
26959 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
26960 $(HOST_EXPORTS) \
26961 echo Configuring in $(HOST_SUBDIR)/guile; \
26962 cd "$(HOST_SUBDIR)/guile" || exit 1; \
26963 case $(srcdir) in \
26964 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26965 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
26966 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26967 esac; \
26968 srcdiroption="--srcdir=$${topdir}/guile"; \
26969 libsrcdir="$$s/guile"; \
26970 $(SHELL) $${libsrcdir}/configure \
26971 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26972 --target=${target_alias} $${srcdiroption} \
26973 || exit 1
26974 @endif guile
26980 .PHONY: all-guile maybe-all-guile
26981 maybe-all-guile:
26982 @if gcc-bootstrap
26983 all-guile: stage_current
26984 @endif gcc-bootstrap
26985 @if guile
26986 TARGET-guile=all
26987 maybe-all-guile: all-guile
26988 all-guile: configure-guile
26989 @: $(MAKE); $(unstage)
26990 @r=`${PWD_COMMAND}`; export r; \
26991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26992 $(HOST_EXPORTS) \
26993 (cd $(HOST_SUBDIR)/guile && \
26994 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
26995 $(TARGET-guile))
26996 @endif guile
27001 .PHONY: check-guile maybe-check-guile
27002 maybe-check-guile:
27003 @if guile
27004 maybe-check-guile: check-guile
27006 check-guile:
27007 @: $(MAKE); $(unstage)
27008 @r=`${PWD_COMMAND}`; export r; \
27009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27010 $(HOST_EXPORTS) \
27011 (cd $(HOST_SUBDIR)/guile && \
27012 $(MAKE) $(FLAGS_TO_PASS) check)
27014 @endif guile
27016 .PHONY: install-guile maybe-install-guile
27017 maybe-install-guile:
27018 @if guile
27019 maybe-install-guile: install-guile
27021 install-guile: installdirs
27022 @: $(MAKE); $(unstage)
27023 @r=`${PWD_COMMAND}`; export r; \
27024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27025 $(HOST_EXPORTS) \
27026 (cd $(HOST_SUBDIR)/guile && \
27027 $(MAKE) $(FLAGS_TO_PASS) install)
27029 @endif guile
27031 .PHONY: install-strip-guile maybe-install-strip-guile
27032 maybe-install-strip-guile:
27033 @if guile
27034 maybe-install-strip-guile: install-strip-guile
27036 install-strip-guile: installdirs
27037 @: $(MAKE); $(unstage)
27038 @r=`${PWD_COMMAND}`; export r; \
27039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27040 $(HOST_EXPORTS) \
27041 (cd $(HOST_SUBDIR)/guile && \
27042 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27044 @endif guile
27046 # Other targets (info, dvi, pdf, etc.)
27048 .PHONY: maybe-info-guile info-guile
27049 maybe-info-guile:
27050 @if guile
27051 maybe-info-guile: info-guile
27053 info-guile: \
27054 configure-guile
27055 @: $(MAKE); $(unstage)
27056 @[ -f ./guile/Makefile ] || exit 0; \
27057 r=`${PWD_COMMAND}`; export r; \
27058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27059 $(HOST_EXPORTS) \
27060 for flag in $(EXTRA_HOST_FLAGS) ; do \
27061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27062 done; \
27063 echo "Doing info in guile" ; \
27064 (cd $(HOST_SUBDIR)/guile && \
27065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27067 "RANLIB=$${RANLIB}" \
27068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27069 info) \
27070 || exit 1
27072 @endif guile
27074 .PHONY: maybe-dvi-guile dvi-guile
27075 maybe-dvi-guile:
27076 @if guile
27077 maybe-dvi-guile: dvi-guile
27079 dvi-guile: \
27080 configure-guile
27081 @: $(MAKE); $(unstage)
27082 @[ -f ./guile/Makefile ] || exit 0; \
27083 r=`${PWD_COMMAND}`; export r; \
27084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27085 $(HOST_EXPORTS) \
27086 for flag in $(EXTRA_HOST_FLAGS) ; do \
27087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27088 done; \
27089 echo "Doing dvi in guile" ; \
27090 (cd $(HOST_SUBDIR)/guile && \
27091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27093 "RANLIB=$${RANLIB}" \
27094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27095 dvi) \
27096 || exit 1
27098 @endif guile
27100 .PHONY: maybe-pdf-guile pdf-guile
27101 maybe-pdf-guile:
27102 @if guile
27103 maybe-pdf-guile: pdf-guile
27105 pdf-guile: \
27106 configure-guile
27107 @: $(MAKE); $(unstage)
27108 @[ -f ./guile/Makefile ] || exit 0; \
27109 r=`${PWD_COMMAND}`; export r; \
27110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27111 $(HOST_EXPORTS) \
27112 for flag in $(EXTRA_HOST_FLAGS) ; do \
27113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27114 done; \
27115 echo "Doing pdf in guile" ; \
27116 (cd $(HOST_SUBDIR)/guile && \
27117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27119 "RANLIB=$${RANLIB}" \
27120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27121 pdf) \
27122 || exit 1
27124 @endif guile
27126 .PHONY: maybe-html-guile html-guile
27127 maybe-html-guile:
27128 @if guile
27129 maybe-html-guile: html-guile
27131 html-guile: \
27132 configure-guile
27133 @: $(MAKE); $(unstage)
27134 @[ -f ./guile/Makefile ] || exit 0; \
27135 r=`${PWD_COMMAND}`; export r; \
27136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27137 $(HOST_EXPORTS) \
27138 for flag in $(EXTRA_HOST_FLAGS) ; do \
27139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27140 done; \
27141 echo "Doing html in guile" ; \
27142 (cd $(HOST_SUBDIR)/guile && \
27143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27145 "RANLIB=$${RANLIB}" \
27146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27147 html) \
27148 || exit 1
27150 @endif guile
27152 .PHONY: maybe-TAGS-guile TAGS-guile
27153 maybe-TAGS-guile:
27154 @if guile
27155 maybe-TAGS-guile: TAGS-guile
27157 TAGS-guile: \
27158 configure-guile
27159 @: $(MAKE); $(unstage)
27160 @[ -f ./guile/Makefile ] || exit 0; \
27161 r=`${PWD_COMMAND}`; export r; \
27162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27163 $(HOST_EXPORTS) \
27164 for flag in $(EXTRA_HOST_FLAGS) ; do \
27165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27166 done; \
27167 echo "Doing TAGS in guile" ; \
27168 (cd $(HOST_SUBDIR)/guile && \
27169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27171 "RANLIB=$${RANLIB}" \
27172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27173 TAGS) \
27174 || exit 1
27176 @endif guile
27178 .PHONY: maybe-install-info-guile install-info-guile
27179 maybe-install-info-guile:
27180 @if guile
27181 maybe-install-info-guile: install-info-guile
27183 install-info-guile: \
27184 configure-guile \
27185 info-guile
27186 @: $(MAKE); $(unstage)
27187 @[ -f ./guile/Makefile ] || exit 0; \
27188 r=`${PWD_COMMAND}`; export r; \
27189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27190 $(HOST_EXPORTS) \
27191 for flag in $(EXTRA_HOST_FLAGS) ; do \
27192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27193 done; \
27194 echo "Doing install-info in guile" ; \
27195 (cd $(HOST_SUBDIR)/guile && \
27196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27198 "RANLIB=$${RANLIB}" \
27199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27200 install-info) \
27201 || exit 1
27203 @endif guile
27205 .PHONY: maybe-install-pdf-guile install-pdf-guile
27206 maybe-install-pdf-guile:
27207 @if guile
27208 maybe-install-pdf-guile: install-pdf-guile
27210 install-pdf-guile: \
27211 configure-guile \
27212 pdf-guile
27213 @: $(MAKE); $(unstage)
27214 @[ -f ./guile/Makefile ] || exit 0; \
27215 r=`${PWD_COMMAND}`; export r; \
27216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27217 $(HOST_EXPORTS) \
27218 for flag in $(EXTRA_HOST_FLAGS) ; do \
27219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27220 done; \
27221 echo "Doing install-pdf in guile" ; \
27222 (cd $(HOST_SUBDIR)/guile && \
27223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27225 "RANLIB=$${RANLIB}" \
27226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27227 install-pdf) \
27228 || exit 1
27230 @endif guile
27232 .PHONY: maybe-install-html-guile install-html-guile
27233 maybe-install-html-guile:
27234 @if guile
27235 maybe-install-html-guile: install-html-guile
27237 install-html-guile: \
27238 configure-guile \
27239 html-guile
27240 @: $(MAKE); $(unstage)
27241 @[ -f ./guile/Makefile ] || exit 0; \
27242 r=`${PWD_COMMAND}`; export r; \
27243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27244 $(HOST_EXPORTS) \
27245 for flag in $(EXTRA_HOST_FLAGS) ; do \
27246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27247 done; \
27248 echo "Doing install-html in guile" ; \
27249 (cd $(HOST_SUBDIR)/guile && \
27250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27252 "RANLIB=$${RANLIB}" \
27253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27254 install-html) \
27255 || exit 1
27257 @endif guile
27259 .PHONY: maybe-installcheck-guile installcheck-guile
27260 maybe-installcheck-guile:
27261 @if guile
27262 maybe-installcheck-guile: installcheck-guile
27264 installcheck-guile: \
27265 configure-guile
27266 @: $(MAKE); $(unstage)
27267 @[ -f ./guile/Makefile ] || exit 0; \
27268 r=`${PWD_COMMAND}`; export r; \
27269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27270 $(HOST_EXPORTS) \
27271 for flag in $(EXTRA_HOST_FLAGS) ; do \
27272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27273 done; \
27274 echo "Doing installcheck in guile" ; \
27275 (cd $(HOST_SUBDIR)/guile && \
27276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27278 "RANLIB=$${RANLIB}" \
27279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27280 installcheck) \
27281 || exit 1
27283 @endif guile
27285 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
27286 maybe-mostlyclean-guile:
27287 @if guile
27288 maybe-mostlyclean-guile: mostlyclean-guile
27290 mostlyclean-guile:
27291 @: $(MAKE); $(unstage)
27292 @[ -f ./guile/Makefile ] || exit 0; \
27293 r=`${PWD_COMMAND}`; export r; \
27294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27295 $(HOST_EXPORTS) \
27296 for flag in $(EXTRA_HOST_FLAGS) ; do \
27297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27298 done; \
27299 echo "Doing mostlyclean in guile" ; \
27300 (cd $(HOST_SUBDIR)/guile && \
27301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27303 "RANLIB=$${RANLIB}" \
27304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27305 mostlyclean) \
27306 || exit 1
27308 @endif guile
27310 .PHONY: maybe-clean-guile clean-guile
27311 maybe-clean-guile:
27312 @if guile
27313 maybe-clean-guile: clean-guile
27315 clean-guile:
27316 @: $(MAKE); $(unstage)
27317 @[ -f ./guile/Makefile ] || exit 0; \
27318 r=`${PWD_COMMAND}`; export r; \
27319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27320 $(HOST_EXPORTS) \
27321 for flag in $(EXTRA_HOST_FLAGS) ; do \
27322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27323 done; \
27324 echo "Doing clean in guile" ; \
27325 (cd $(HOST_SUBDIR)/guile && \
27326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27328 "RANLIB=$${RANLIB}" \
27329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27330 clean) \
27331 || exit 1
27333 @endif guile
27335 .PHONY: maybe-distclean-guile distclean-guile
27336 maybe-distclean-guile:
27337 @if guile
27338 maybe-distclean-guile: distclean-guile
27340 distclean-guile:
27341 @: $(MAKE); $(unstage)
27342 @[ -f ./guile/Makefile ] || exit 0; \
27343 r=`${PWD_COMMAND}`; export r; \
27344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27345 $(HOST_EXPORTS) \
27346 for flag in $(EXTRA_HOST_FLAGS) ; do \
27347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27348 done; \
27349 echo "Doing distclean in guile" ; \
27350 (cd $(HOST_SUBDIR)/guile && \
27351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27353 "RANLIB=$${RANLIB}" \
27354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27355 distclean) \
27356 || exit 1
27358 @endif guile
27360 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
27361 maybe-maintainer-clean-guile:
27362 @if guile
27363 maybe-maintainer-clean-guile: maintainer-clean-guile
27365 maintainer-clean-guile:
27366 @: $(MAKE); $(unstage)
27367 @[ -f ./guile/Makefile ] || exit 0; \
27368 r=`${PWD_COMMAND}`; export r; \
27369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27370 $(HOST_EXPORTS) \
27371 for flag in $(EXTRA_HOST_FLAGS) ; do \
27372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27373 done; \
27374 echo "Doing maintainer-clean in guile" ; \
27375 (cd $(HOST_SUBDIR)/guile && \
27376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27378 "RANLIB=$${RANLIB}" \
27379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27380 maintainer-clean) \
27381 || exit 1
27383 @endif guile
27387 .PHONY: configure-tk maybe-configure-tk
27388 maybe-configure-tk:
27389 @if gcc-bootstrap
27390 configure-tk: stage_current
27391 @endif gcc-bootstrap
27392 @if tk
27393 maybe-configure-tk: configure-tk
27394 configure-tk:
27395 @: $(MAKE); $(unstage)
27396 @r=`${PWD_COMMAND}`; export r; \
27397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27398 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
27399 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
27400 $(HOST_EXPORTS) \
27401 echo Configuring in $(HOST_SUBDIR)/tk; \
27402 cd "$(HOST_SUBDIR)/tk" || exit 1; \
27403 case $(srcdir) in \
27404 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27405 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
27406 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27407 esac; \
27408 srcdiroption="--srcdir=$${topdir}/tk"; \
27409 libsrcdir="$$s/tk"; \
27410 $(SHELL) $${libsrcdir}/configure \
27411 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27412 --target=${target_alias} $${srcdiroption} \
27413 || exit 1
27414 @endif tk
27420 .PHONY: all-tk maybe-all-tk
27421 maybe-all-tk:
27422 @if gcc-bootstrap
27423 all-tk: stage_current
27424 @endif gcc-bootstrap
27425 @if tk
27426 TARGET-tk=all
27427 maybe-all-tk: all-tk
27428 all-tk: configure-tk
27429 @: $(MAKE); $(unstage)
27430 @r=`${PWD_COMMAND}`; export r; \
27431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27432 $(HOST_EXPORTS) \
27433 (cd $(HOST_SUBDIR)/tk && \
27434 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27435 $(TARGET-tk))
27436 @endif tk
27441 .PHONY: check-tk maybe-check-tk
27442 maybe-check-tk:
27443 @if tk
27444 maybe-check-tk: check-tk
27446 check-tk:
27447 @: $(MAKE); $(unstage)
27448 @r=`${PWD_COMMAND}`; export r; \
27449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27450 $(HOST_EXPORTS) \
27451 (cd $(HOST_SUBDIR)/tk && \
27452 $(MAKE) $(FLAGS_TO_PASS) check)
27454 @endif tk
27456 .PHONY: install-tk maybe-install-tk
27457 maybe-install-tk:
27458 @if tk
27459 maybe-install-tk: install-tk
27461 install-tk: installdirs
27462 @: $(MAKE); $(unstage)
27463 @r=`${PWD_COMMAND}`; export r; \
27464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27465 $(HOST_EXPORTS) \
27466 (cd $(HOST_SUBDIR)/tk && \
27467 $(MAKE) $(FLAGS_TO_PASS) install)
27469 @endif tk
27471 .PHONY: install-strip-tk maybe-install-strip-tk
27472 maybe-install-strip-tk:
27473 @if tk
27474 maybe-install-strip-tk: install-strip-tk
27476 install-strip-tk: installdirs
27477 @: $(MAKE); $(unstage)
27478 @r=`${PWD_COMMAND}`; export r; \
27479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27480 $(HOST_EXPORTS) \
27481 (cd $(HOST_SUBDIR)/tk && \
27482 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27484 @endif tk
27486 # Other targets (info, dvi, pdf, etc.)
27488 .PHONY: maybe-info-tk info-tk
27489 maybe-info-tk:
27490 @if tk
27491 maybe-info-tk: info-tk
27493 info-tk: \
27494 configure-tk
27495 @: $(MAKE); $(unstage)
27496 @[ -f ./tk/Makefile ] || exit 0; \
27497 r=`${PWD_COMMAND}`; export r; \
27498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27499 $(HOST_EXPORTS) \
27500 for flag in $(EXTRA_HOST_FLAGS) ; do \
27501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27502 done; \
27503 echo "Doing info in tk" ; \
27504 (cd $(HOST_SUBDIR)/tk && \
27505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27507 "RANLIB=$${RANLIB}" \
27508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27509 info) \
27510 || exit 1
27512 @endif tk
27514 .PHONY: maybe-dvi-tk dvi-tk
27515 maybe-dvi-tk:
27516 @if tk
27517 maybe-dvi-tk: dvi-tk
27519 dvi-tk: \
27520 configure-tk
27521 @: $(MAKE); $(unstage)
27522 @[ -f ./tk/Makefile ] || exit 0; \
27523 r=`${PWD_COMMAND}`; export r; \
27524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27525 $(HOST_EXPORTS) \
27526 for flag in $(EXTRA_HOST_FLAGS) ; do \
27527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27528 done; \
27529 echo "Doing dvi in tk" ; \
27530 (cd $(HOST_SUBDIR)/tk && \
27531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27533 "RANLIB=$${RANLIB}" \
27534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27535 dvi) \
27536 || exit 1
27538 @endif tk
27540 .PHONY: maybe-pdf-tk pdf-tk
27541 maybe-pdf-tk:
27542 @if tk
27543 maybe-pdf-tk: pdf-tk
27545 pdf-tk: \
27546 configure-tk
27547 @: $(MAKE); $(unstage)
27548 @[ -f ./tk/Makefile ] || exit 0; \
27549 r=`${PWD_COMMAND}`; export r; \
27550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27551 $(HOST_EXPORTS) \
27552 for flag in $(EXTRA_HOST_FLAGS) ; do \
27553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27554 done; \
27555 echo "Doing pdf in tk" ; \
27556 (cd $(HOST_SUBDIR)/tk && \
27557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27559 "RANLIB=$${RANLIB}" \
27560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27561 pdf) \
27562 || exit 1
27564 @endif tk
27566 .PHONY: maybe-html-tk html-tk
27567 maybe-html-tk:
27568 @if tk
27569 maybe-html-tk: html-tk
27571 html-tk: \
27572 configure-tk
27573 @: $(MAKE); $(unstage)
27574 @[ -f ./tk/Makefile ] || exit 0; \
27575 r=`${PWD_COMMAND}`; export r; \
27576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27577 $(HOST_EXPORTS) \
27578 for flag in $(EXTRA_HOST_FLAGS) ; do \
27579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27580 done; \
27581 echo "Doing html in tk" ; \
27582 (cd $(HOST_SUBDIR)/tk && \
27583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27585 "RANLIB=$${RANLIB}" \
27586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27587 html) \
27588 || exit 1
27590 @endif tk
27592 .PHONY: maybe-TAGS-tk TAGS-tk
27593 maybe-TAGS-tk:
27594 @if tk
27595 maybe-TAGS-tk: TAGS-tk
27597 TAGS-tk: \
27598 configure-tk
27599 @: $(MAKE); $(unstage)
27600 @[ -f ./tk/Makefile ] || exit 0; \
27601 r=`${PWD_COMMAND}`; export r; \
27602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27603 $(HOST_EXPORTS) \
27604 for flag in $(EXTRA_HOST_FLAGS) ; do \
27605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27606 done; \
27607 echo "Doing TAGS in tk" ; \
27608 (cd $(HOST_SUBDIR)/tk && \
27609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27611 "RANLIB=$${RANLIB}" \
27612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27613 TAGS) \
27614 || exit 1
27616 @endif tk
27618 .PHONY: maybe-install-info-tk install-info-tk
27619 maybe-install-info-tk:
27620 @if tk
27621 maybe-install-info-tk: install-info-tk
27623 install-info-tk: \
27624 configure-tk \
27625 info-tk
27626 @: $(MAKE); $(unstage)
27627 @[ -f ./tk/Makefile ] || exit 0; \
27628 r=`${PWD_COMMAND}`; export r; \
27629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27630 $(HOST_EXPORTS) \
27631 for flag in $(EXTRA_HOST_FLAGS) ; do \
27632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27633 done; \
27634 echo "Doing install-info in tk" ; \
27635 (cd $(HOST_SUBDIR)/tk && \
27636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27638 "RANLIB=$${RANLIB}" \
27639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27640 install-info) \
27641 || exit 1
27643 @endif tk
27645 .PHONY: maybe-install-pdf-tk install-pdf-tk
27646 maybe-install-pdf-tk:
27647 @if tk
27648 maybe-install-pdf-tk: install-pdf-tk
27650 install-pdf-tk: \
27651 configure-tk \
27652 pdf-tk
27653 @: $(MAKE); $(unstage)
27654 @[ -f ./tk/Makefile ] || exit 0; \
27655 r=`${PWD_COMMAND}`; export r; \
27656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27657 $(HOST_EXPORTS) \
27658 for flag in $(EXTRA_HOST_FLAGS) ; do \
27659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27660 done; \
27661 echo "Doing install-pdf in tk" ; \
27662 (cd $(HOST_SUBDIR)/tk && \
27663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27665 "RANLIB=$${RANLIB}" \
27666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27667 install-pdf) \
27668 || exit 1
27670 @endif tk
27672 .PHONY: maybe-install-html-tk install-html-tk
27673 maybe-install-html-tk:
27674 @if tk
27675 maybe-install-html-tk: install-html-tk
27677 install-html-tk: \
27678 configure-tk \
27679 html-tk
27680 @: $(MAKE); $(unstage)
27681 @[ -f ./tk/Makefile ] || exit 0; \
27682 r=`${PWD_COMMAND}`; export r; \
27683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27684 $(HOST_EXPORTS) \
27685 for flag in $(EXTRA_HOST_FLAGS) ; do \
27686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27687 done; \
27688 echo "Doing install-html in tk" ; \
27689 (cd $(HOST_SUBDIR)/tk && \
27690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27692 "RANLIB=$${RANLIB}" \
27693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27694 install-html) \
27695 || exit 1
27697 @endif tk
27699 .PHONY: maybe-installcheck-tk installcheck-tk
27700 maybe-installcheck-tk:
27701 @if tk
27702 maybe-installcheck-tk: installcheck-tk
27704 installcheck-tk: \
27705 configure-tk
27706 @: $(MAKE); $(unstage)
27707 @[ -f ./tk/Makefile ] || exit 0; \
27708 r=`${PWD_COMMAND}`; export r; \
27709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27710 $(HOST_EXPORTS) \
27711 for flag in $(EXTRA_HOST_FLAGS) ; do \
27712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27713 done; \
27714 echo "Doing installcheck in tk" ; \
27715 (cd $(HOST_SUBDIR)/tk && \
27716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27718 "RANLIB=$${RANLIB}" \
27719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27720 installcheck) \
27721 || exit 1
27723 @endif tk
27725 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
27726 maybe-mostlyclean-tk:
27727 @if tk
27728 maybe-mostlyclean-tk: mostlyclean-tk
27730 mostlyclean-tk:
27731 @: $(MAKE); $(unstage)
27732 @[ -f ./tk/Makefile ] || exit 0; \
27733 r=`${PWD_COMMAND}`; export r; \
27734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27735 $(HOST_EXPORTS) \
27736 for flag in $(EXTRA_HOST_FLAGS) ; do \
27737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27738 done; \
27739 echo "Doing mostlyclean in tk" ; \
27740 (cd $(HOST_SUBDIR)/tk && \
27741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27743 "RANLIB=$${RANLIB}" \
27744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27745 mostlyclean) \
27746 || exit 1
27748 @endif tk
27750 .PHONY: maybe-clean-tk clean-tk
27751 maybe-clean-tk:
27752 @if tk
27753 maybe-clean-tk: clean-tk
27755 clean-tk:
27756 @: $(MAKE); $(unstage)
27757 @[ -f ./tk/Makefile ] || exit 0; \
27758 r=`${PWD_COMMAND}`; export r; \
27759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27760 $(HOST_EXPORTS) \
27761 for flag in $(EXTRA_HOST_FLAGS) ; do \
27762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27763 done; \
27764 echo "Doing clean in tk" ; \
27765 (cd $(HOST_SUBDIR)/tk && \
27766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27768 "RANLIB=$${RANLIB}" \
27769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27770 clean) \
27771 || exit 1
27773 @endif tk
27775 .PHONY: maybe-distclean-tk distclean-tk
27776 maybe-distclean-tk:
27777 @if tk
27778 maybe-distclean-tk: distclean-tk
27780 distclean-tk:
27781 @: $(MAKE); $(unstage)
27782 @[ -f ./tk/Makefile ] || exit 0; \
27783 r=`${PWD_COMMAND}`; export r; \
27784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27785 $(HOST_EXPORTS) \
27786 for flag in $(EXTRA_HOST_FLAGS) ; do \
27787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27788 done; \
27789 echo "Doing distclean in tk" ; \
27790 (cd $(HOST_SUBDIR)/tk && \
27791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27793 "RANLIB=$${RANLIB}" \
27794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27795 distclean) \
27796 || exit 1
27798 @endif tk
27800 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
27801 maybe-maintainer-clean-tk:
27802 @if tk
27803 maybe-maintainer-clean-tk: maintainer-clean-tk
27805 maintainer-clean-tk:
27806 @: $(MAKE); $(unstage)
27807 @[ -f ./tk/Makefile ] || exit 0; \
27808 r=`${PWD_COMMAND}`; export r; \
27809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27810 $(HOST_EXPORTS) \
27811 for flag in $(EXTRA_HOST_FLAGS) ; do \
27812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27813 done; \
27814 echo "Doing maintainer-clean in tk" ; \
27815 (cd $(HOST_SUBDIR)/tk && \
27816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27818 "RANLIB=$${RANLIB}" \
27819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27820 maintainer-clean) \
27821 || exit 1
27823 @endif tk
27827 .PHONY: configure-libtermcap maybe-configure-libtermcap
27828 maybe-configure-libtermcap:
27829 @if gcc-bootstrap
27830 configure-libtermcap: stage_current
27831 @endif gcc-bootstrap
27832 @if libtermcap
27833 maybe-configure-libtermcap: configure-libtermcap
27834 configure-libtermcap:
27835 @: $(MAKE); $(unstage)
27836 @r=`${PWD_COMMAND}`; export r; \
27837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27838 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
27839 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
27840 $(HOST_EXPORTS) \
27841 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
27842 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
27843 case $(srcdir) in \
27844 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27845 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
27846 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27847 esac; \
27848 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
27849 libsrcdir="$$s/libtermcap"; \
27850 $(SHELL) $${libsrcdir}/configure \
27851 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27852 --target=${target_alias} $${srcdiroption} \
27853 || exit 1
27854 @endif libtermcap
27860 .PHONY: all-libtermcap maybe-all-libtermcap
27861 maybe-all-libtermcap:
27862 @if gcc-bootstrap
27863 all-libtermcap: stage_current
27864 @endif gcc-bootstrap
27865 @if libtermcap
27866 TARGET-libtermcap=all
27867 maybe-all-libtermcap: all-libtermcap
27868 all-libtermcap: configure-libtermcap
27869 @: $(MAKE); $(unstage)
27870 @r=`${PWD_COMMAND}`; export r; \
27871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27872 $(HOST_EXPORTS) \
27873 (cd $(HOST_SUBDIR)/libtermcap && \
27874 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27875 $(TARGET-libtermcap))
27876 @endif libtermcap
27881 .PHONY: check-libtermcap maybe-check-libtermcap
27882 maybe-check-libtermcap:
27883 @if libtermcap
27884 maybe-check-libtermcap: check-libtermcap
27886 check-libtermcap:
27888 @endif libtermcap
27890 .PHONY: install-libtermcap maybe-install-libtermcap
27891 maybe-install-libtermcap:
27892 @if libtermcap
27893 maybe-install-libtermcap: install-libtermcap
27895 install-libtermcap: installdirs
27896 @: $(MAKE); $(unstage)
27897 @r=`${PWD_COMMAND}`; export r; \
27898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27899 $(HOST_EXPORTS) \
27900 (cd $(HOST_SUBDIR)/libtermcap && \
27901 $(MAKE) $(FLAGS_TO_PASS) install)
27903 @endif libtermcap
27905 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
27906 maybe-install-strip-libtermcap:
27907 @if libtermcap
27908 maybe-install-strip-libtermcap: install-strip-libtermcap
27910 install-strip-libtermcap: installdirs
27911 @: $(MAKE); $(unstage)
27912 @r=`${PWD_COMMAND}`; export r; \
27913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27914 $(HOST_EXPORTS) \
27915 (cd $(HOST_SUBDIR)/libtermcap && \
27916 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27918 @endif libtermcap
27920 # Other targets (info, dvi, pdf, etc.)
27922 .PHONY: maybe-info-libtermcap info-libtermcap
27923 maybe-info-libtermcap:
27924 @if libtermcap
27925 maybe-info-libtermcap: info-libtermcap
27927 info-libtermcap: \
27928 configure-libtermcap
27929 @: $(MAKE); $(unstage)
27930 @[ -f ./libtermcap/Makefile ] || exit 0; \
27931 r=`${PWD_COMMAND}`; export r; \
27932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27933 $(HOST_EXPORTS) \
27934 for flag in $(EXTRA_HOST_FLAGS) ; do \
27935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27936 done; \
27937 echo "Doing info in libtermcap" ; \
27938 (cd $(HOST_SUBDIR)/libtermcap && \
27939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27941 "RANLIB=$${RANLIB}" \
27942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27943 info) \
27944 || exit 1
27946 @endif libtermcap
27948 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
27949 maybe-dvi-libtermcap:
27950 @if libtermcap
27951 maybe-dvi-libtermcap: dvi-libtermcap
27953 dvi-libtermcap: \
27954 configure-libtermcap
27955 @: $(MAKE); $(unstage)
27956 @[ -f ./libtermcap/Makefile ] || exit 0; \
27957 r=`${PWD_COMMAND}`; export r; \
27958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27959 $(HOST_EXPORTS) \
27960 for flag in $(EXTRA_HOST_FLAGS) ; do \
27961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27962 done; \
27963 echo "Doing dvi in libtermcap" ; \
27964 (cd $(HOST_SUBDIR)/libtermcap && \
27965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27967 "RANLIB=$${RANLIB}" \
27968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27969 dvi) \
27970 || exit 1
27972 @endif libtermcap
27974 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
27975 maybe-pdf-libtermcap:
27976 @if libtermcap
27977 maybe-pdf-libtermcap: pdf-libtermcap
27979 pdf-libtermcap: \
27980 configure-libtermcap
27981 @: $(MAKE); $(unstage)
27982 @[ -f ./libtermcap/Makefile ] || exit 0; \
27983 r=`${PWD_COMMAND}`; export r; \
27984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27985 $(HOST_EXPORTS) \
27986 for flag in $(EXTRA_HOST_FLAGS) ; do \
27987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27988 done; \
27989 echo "Doing pdf in libtermcap" ; \
27990 (cd $(HOST_SUBDIR)/libtermcap && \
27991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27993 "RANLIB=$${RANLIB}" \
27994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27995 pdf) \
27996 || exit 1
27998 @endif libtermcap
28000 .PHONY: maybe-html-libtermcap html-libtermcap
28001 maybe-html-libtermcap:
28002 @if libtermcap
28003 maybe-html-libtermcap: html-libtermcap
28005 html-libtermcap: \
28006 configure-libtermcap
28007 @: $(MAKE); $(unstage)
28008 @[ -f ./libtermcap/Makefile ] || exit 0; \
28009 r=`${PWD_COMMAND}`; export r; \
28010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28011 $(HOST_EXPORTS) \
28012 for flag in $(EXTRA_HOST_FLAGS) ; do \
28013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28014 done; \
28015 echo "Doing html in libtermcap" ; \
28016 (cd $(HOST_SUBDIR)/libtermcap && \
28017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28019 "RANLIB=$${RANLIB}" \
28020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28021 html) \
28022 || exit 1
28024 @endif libtermcap
28026 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
28027 maybe-TAGS-libtermcap:
28028 @if libtermcap
28029 maybe-TAGS-libtermcap: TAGS-libtermcap
28031 TAGS-libtermcap: \
28032 configure-libtermcap
28033 @: $(MAKE); $(unstage)
28034 @[ -f ./libtermcap/Makefile ] || exit 0; \
28035 r=`${PWD_COMMAND}`; export r; \
28036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28037 $(HOST_EXPORTS) \
28038 for flag in $(EXTRA_HOST_FLAGS) ; do \
28039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28040 done; \
28041 echo "Doing TAGS in libtermcap" ; \
28042 (cd $(HOST_SUBDIR)/libtermcap && \
28043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28045 "RANLIB=$${RANLIB}" \
28046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28047 TAGS) \
28048 || exit 1
28050 @endif libtermcap
28052 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
28053 maybe-install-info-libtermcap:
28054 @if libtermcap
28055 maybe-install-info-libtermcap: install-info-libtermcap
28057 install-info-libtermcap: \
28058 configure-libtermcap \
28059 info-libtermcap
28060 @: $(MAKE); $(unstage)
28061 @[ -f ./libtermcap/Makefile ] || exit 0; \
28062 r=`${PWD_COMMAND}`; export r; \
28063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28064 $(HOST_EXPORTS) \
28065 for flag in $(EXTRA_HOST_FLAGS) ; do \
28066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28067 done; \
28068 echo "Doing install-info in libtermcap" ; \
28069 (cd $(HOST_SUBDIR)/libtermcap && \
28070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28072 "RANLIB=$${RANLIB}" \
28073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28074 install-info) \
28075 || exit 1
28077 @endif libtermcap
28079 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
28080 maybe-install-pdf-libtermcap:
28081 @if libtermcap
28082 maybe-install-pdf-libtermcap: install-pdf-libtermcap
28084 install-pdf-libtermcap: \
28085 configure-libtermcap \
28086 pdf-libtermcap
28087 @: $(MAKE); $(unstage)
28088 @[ -f ./libtermcap/Makefile ] || exit 0; \
28089 r=`${PWD_COMMAND}`; export r; \
28090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28091 $(HOST_EXPORTS) \
28092 for flag in $(EXTRA_HOST_FLAGS) ; do \
28093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28094 done; \
28095 echo "Doing install-pdf in libtermcap" ; \
28096 (cd $(HOST_SUBDIR)/libtermcap && \
28097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28099 "RANLIB=$${RANLIB}" \
28100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28101 install-pdf) \
28102 || exit 1
28104 @endif libtermcap
28106 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
28107 maybe-install-html-libtermcap:
28108 @if libtermcap
28109 maybe-install-html-libtermcap: install-html-libtermcap
28111 install-html-libtermcap: \
28112 configure-libtermcap \
28113 html-libtermcap
28114 @: $(MAKE); $(unstage)
28115 @[ -f ./libtermcap/Makefile ] || exit 0; \
28116 r=`${PWD_COMMAND}`; export r; \
28117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28118 $(HOST_EXPORTS) \
28119 for flag in $(EXTRA_HOST_FLAGS) ; do \
28120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28121 done; \
28122 echo "Doing install-html in libtermcap" ; \
28123 (cd $(HOST_SUBDIR)/libtermcap && \
28124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28126 "RANLIB=$${RANLIB}" \
28127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28128 install-html) \
28129 || exit 1
28131 @endif libtermcap
28133 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
28134 maybe-installcheck-libtermcap:
28135 @if libtermcap
28136 maybe-installcheck-libtermcap: installcheck-libtermcap
28138 installcheck-libtermcap: \
28139 configure-libtermcap
28140 @: $(MAKE); $(unstage)
28141 @[ -f ./libtermcap/Makefile ] || exit 0; \
28142 r=`${PWD_COMMAND}`; export r; \
28143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28144 $(HOST_EXPORTS) \
28145 for flag in $(EXTRA_HOST_FLAGS) ; do \
28146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28147 done; \
28148 echo "Doing installcheck in libtermcap" ; \
28149 (cd $(HOST_SUBDIR)/libtermcap && \
28150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28152 "RANLIB=$${RANLIB}" \
28153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28154 installcheck) \
28155 || exit 1
28157 @endif libtermcap
28159 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
28160 maybe-mostlyclean-libtermcap:
28161 @if libtermcap
28162 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
28164 # libtermcap doesn't support mostlyclean.
28165 mostlyclean-libtermcap:
28167 @endif libtermcap
28169 .PHONY: maybe-clean-libtermcap clean-libtermcap
28170 maybe-clean-libtermcap:
28171 @if libtermcap
28172 maybe-clean-libtermcap: clean-libtermcap
28174 # libtermcap doesn't support clean.
28175 clean-libtermcap:
28177 @endif libtermcap
28179 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
28180 maybe-distclean-libtermcap:
28181 @if libtermcap
28182 maybe-distclean-libtermcap: distclean-libtermcap
28184 # libtermcap doesn't support distclean.
28185 distclean-libtermcap:
28187 @endif libtermcap
28189 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
28190 maybe-maintainer-clean-libtermcap:
28191 @if libtermcap
28192 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
28194 # libtermcap doesn't support maintainer-clean.
28195 maintainer-clean-libtermcap:
28197 @endif libtermcap
28201 .PHONY: configure-utils maybe-configure-utils
28202 maybe-configure-utils:
28203 @if gcc-bootstrap
28204 configure-utils: stage_current
28205 @endif gcc-bootstrap
28206 @if utils
28207 maybe-configure-utils: configure-utils
28208 configure-utils:
28209 @: $(MAKE); $(unstage)
28210 @r=`${PWD_COMMAND}`; export r; \
28211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28212 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
28213 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
28214 $(HOST_EXPORTS) \
28215 echo Configuring in $(HOST_SUBDIR)/utils; \
28216 cd "$(HOST_SUBDIR)/utils" || exit 1; \
28217 case $(srcdir) in \
28218 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28219 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
28220 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28221 esac; \
28222 srcdiroption="--srcdir=$${topdir}/utils"; \
28223 libsrcdir="$$s/utils"; \
28224 $(SHELL) $${libsrcdir}/configure \
28225 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28226 --target=${target_alias} $${srcdiroption} \
28227 || exit 1
28228 @endif utils
28234 .PHONY: all-utils maybe-all-utils
28235 maybe-all-utils:
28236 @if gcc-bootstrap
28237 all-utils: stage_current
28238 @endif gcc-bootstrap
28239 @if utils
28240 TARGET-utils=all
28241 maybe-all-utils: all-utils
28242 all-utils: configure-utils
28243 @: $(MAKE); $(unstage)
28244 @r=`${PWD_COMMAND}`; export r; \
28245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28246 $(HOST_EXPORTS) \
28247 (cd $(HOST_SUBDIR)/utils && \
28248 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
28249 $(TARGET-utils))
28250 @endif utils
28255 .PHONY: check-utils maybe-check-utils
28256 maybe-check-utils:
28257 @if utils
28258 maybe-check-utils: check-utils
28260 check-utils:
28262 @endif utils
28264 .PHONY: install-utils maybe-install-utils
28265 maybe-install-utils:
28266 @if utils
28267 maybe-install-utils: install-utils
28269 install-utils: installdirs
28270 @: $(MAKE); $(unstage)
28271 @r=`${PWD_COMMAND}`; export r; \
28272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28273 $(HOST_EXPORTS) \
28274 (cd $(HOST_SUBDIR)/utils && \
28275 $(MAKE) $(FLAGS_TO_PASS) install)
28277 @endif utils
28279 .PHONY: install-strip-utils maybe-install-strip-utils
28280 maybe-install-strip-utils:
28281 @if utils
28282 maybe-install-strip-utils: install-strip-utils
28284 install-strip-utils: installdirs
28285 @: $(MAKE); $(unstage)
28286 @r=`${PWD_COMMAND}`; export r; \
28287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28288 $(HOST_EXPORTS) \
28289 (cd $(HOST_SUBDIR)/utils && \
28290 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28292 @endif utils
28294 # Other targets (info, dvi, pdf, etc.)
28296 .PHONY: maybe-info-utils info-utils
28297 maybe-info-utils:
28298 @if utils
28299 maybe-info-utils: info-utils
28301 info-utils: \
28302 configure-utils
28303 @: $(MAKE); $(unstage)
28304 @[ -f ./utils/Makefile ] || exit 0; \
28305 r=`${PWD_COMMAND}`; export r; \
28306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28307 $(HOST_EXPORTS) \
28308 for flag in $(EXTRA_HOST_FLAGS) ; do \
28309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28310 done; \
28311 echo "Doing info in utils" ; \
28312 (cd $(HOST_SUBDIR)/utils && \
28313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28315 "RANLIB=$${RANLIB}" \
28316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28317 info) \
28318 || exit 1
28320 @endif utils
28322 .PHONY: maybe-dvi-utils dvi-utils
28323 maybe-dvi-utils:
28324 @if utils
28325 maybe-dvi-utils: dvi-utils
28327 dvi-utils: \
28328 configure-utils
28329 @: $(MAKE); $(unstage)
28330 @[ -f ./utils/Makefile ] || exit 0; \
28331 r=`${PWD_COMMAND}`; export r; \
28332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28333 $(HOST_EXPORTS) \
28334 for flag in $(EXTRA_HOST_FLAGS) ; do \
28335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28336 done; \
28337 echo "Doing dvi in utils" ; \
28338 (cd $(HOST_SUBDIR)/utils && \
28339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28341 "RANLIB=$${RANLIB}" \
28342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28343 dvi) \
28344 || exit 1
28346 @endif utils
28348 .PHONY: maybe-pdf-utils pdf-utils
28349 maybe-pdf-utils:
28350 @if utils
28351 maybe-pdf-utils: pdf-utils
28353 pdf-utils: \
28354 configure-utils
28355 @: $(MAKE); $(unstage)
28356 @[ -f ./utils/Makefile ] || exit 0; \
28357 r=`${PWD_COMMAND}`; export r; \
28358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28359 $(HOST_EXPORTS) \
28360 for flag in $(EXTRA_HOST_FLAGS) ; do \
28361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28362 done; \
28363 echo "Doing pdf in utils" ; \
28364 (cd $(HOST_SUBDIR)/utils && \
28365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28367 "RANLIB=$${RANLIB}" \
28368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28369 pdf) \
28370 || exit 1
28372 @endif utils
28374 .PHONY: maybe-html-utils html-utils
28375 maybe-html-utils:
28376 @if utils
28377 maybe-html-utils: html-utils
28379 html-utils: \
28380 configure-utils
28381 @: $(MAKE); $(unstage)
28382 @[ -f ./utils/Makefile ] || exit 0; \
28383 r=`${PWD_COMMAND}`; export r; \
28384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28385 $(HOST_EXPORTS) \
28386 for flag in $(EXTRA_HOST_FLAGS) ; do \
28387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28388 done; \
28389 echo "Doing html in utils" ; \
28390 (cd $(HOST_SUBDIR)/utils && \
28391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28393 "RANLIB=$${RANLIB}" \
28394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28395 html) \
28396 || exit 1
28398 @endif utils
28400 .PHONY: maybe-TAGS-utils TAGS-utils
28401 maybe-TAGS-utils:
28402 @if utils
28403 maybe-TAGS-utils: TAGS-utils
28405 TAGS-utils: \
28406 configure-utils
28407 @: $(MAKE); $(unstage)
28408 @[ -f ./utils/Makefile ] || exit 0; \
28409 r=`${PWD_COMMAND}`; export r; \
28410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28411 $(HOST_EXPORTS) \
28412 for flag in $(EXTRA_HOST_FLAGS) ; do \
28413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28414 done; \
28415 echo "Doing TAGS in utils" ; \
28416 (cd $(HOST_SUBDIR)/utils && \
28417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28419 "RANLIB=$${RANLIB}" \
28420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28421 TAGS) \
28422 || exit 1
28424 @endif utils
28426 .PHONY: maybe-install-info-utils install-info-utils
28427 maybe-install-info-utils:
28428 @if utils
28429 maybe-install-info-utils: install-info-utils
28431 install-info-utils: \
28432 configure-utils \
28433 info-utils
28434 @: $(MAKE); $(unstage)
28435 @[ -f ./utils/Makefile ] || exit 0; \
28436 r=`${PWD_COMMAND}`; export r; \
28437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28438 $(HOST_EXPORTS) \
28439 for flag in $(EXTRA_HOST_FLAGS) ; do \
28440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28441 done; \
28442 echo "Doing install-info in utils" ; \
28443 (cd $(HOST_SUBDIR)/utils && \
28444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28446 "RANLIB=$${RANLIB}" \
28447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28448 install-info) \
28449 || exit 1
28451 @endif utils
28453 .PHONY: maybe-install-pdf-utils install-pdf-utils
28454 maybe-install-pdf-utils:
28455 @if utils
28456 maybe-install-pdf-utils: install-pdf-utils
28458 install-pdf-utils: \
28459 configure-utils \
28460 pdf-utils
28461 @: $(MAKE); $(unstage)
28462 @[ -f ./utils/Makefile ] || exit 0; \
28463 r=`${PWD_COMMAND}`; export r; \
28464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28465 $(HOST_EXPORTS) \
28466 for flag in $(EXTRA_HOST_FLAGS) ; do \
28467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28468 done; \
28469 echo "Doing install-pdf in utils" ; \
28470 (cd $(HOST_SUBDIR)/utils && \
28471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28473 "RANLIB=$${RANLIB}" \
28474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28475 install-pdf) \
28476 || exit 1
28478 @endif utils
28480 .PHONY: maybe-install-html-utils install-html-utils
28481 maybe-install-html-utils:
28482 @if utils
28483 maybe-install-html-utils: install-html-utils
28485 install-html-utils: \
28486 configure-utils \
28487 html-utils
28488 @: $(MAKE); $(unstage)
28489 @[ -f ./utils/Makefile ] || exit 0; \
28490 r=`${PWD_COMMAND}`; export r; \
28491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28492 $(HOST_EXPORTS) \
28493 for flag in $(EXTRA_HOST_FLAGS) ; do \
28494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28495 done; \
28496 echo "Doing install-html in utils" ; \
28497 (cd $(HOST_SUBDIR)/utils && \
28498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28500 "RANLIB=$${RANLIB}" \
28501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28502 install-html) \
28503 || exit 1
28505 @endif utils
28507 .PHONY: maybe-installcheck-utils installcheck-utils
28508 maybe-installcheck-utils:
28509 @if utils
28510 maybe-installcheck-utils: installcheck-utils
28512 installcheck-utils: \
28513 configure-utils
28514 @: $(MAKE); $(unstage)
28515 @[ -f ./utils/Makefile ] || exit 0; \
28516 r=`${PWD_COMMAND}`; export r; \
28517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28518 $(HOST_EXPORTS) \
28519 for flag in $(EXTRA_HOST_FLAGS) ; do \
28520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28521 done; \
28522 echo "Doing installcheck in utils" ; \
28523 (cd $(HOST_SUBDIR)/utils && \
28524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28526 "RANLIB=$${RANLIB}" \
28527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28528 installcheck) \
28529 || exit 1
28531 @endif utils
28533 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
28534 maybe-mostlyclean-utils:
28535 @if utils
28536 maybe-mostlyclean-utils: mostlyclean-utils
28538 mostlyclean-utils:
28539 @: $(MAKE); $(unstage)
28540 @[ -f ./utils/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 mostlyclean in utils" ; \
28548 (cd $(HOST_SUBDIR)/utils && \
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 mostlyclean) \
28554 || exit 1
28556 @endif utils
28558 .PHONY: maybe-clean-utils clean-utils
28559 maybe-clean-utils:
28560 @if utils
28561 maybe-clean-utils: clean-utils
28563 clean-utils:
28564 @: $(MAKE); $(unstage)
28565 @[ -f ./utils/Makefile ] || exit 0; \
28566 r=`${PWD_COMMAND}`; export r; \
28567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28568 $(HOST_EXPORTS) \
28569 for flag in $(EXTRA_HOST_FLAGS) ; do \
28570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28571 done; \
28572 echo "Doing clean in utils" ; \
28573 (cd $(HOST_SUBDIR)/utils && \
28574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28576 "RANLIB=$${RANLIB}" \
28577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28578 clean) \
28579 || exit 1
28581 @endif utils
28583 .PHONY: maybe-distclean-utils distclean-utils
28584 maybe-distclean-utils:
28585 @if utils
28586 maybe-distclean-utils: distclean-utils
28588 distclean-utils:
28589 @: $(MAKE); $(unstage)
28590 @[ -f ./utils/Makefile ] || exit 0; \
28591 r=`${PWD_COMMAND}`; export r; \
28592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28593 $(HOST_EXPORTS) \
28594 for flag in $(EXTRA_HOST_FLAGS) ; do \
28595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28596 done; \
28597 echo "Doing distclean in utils" ; \
28598 (cd $(HOST_SUBDIR)/utils && \
28599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28601 "RANLIB=$${RANLIB}" \
28602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28603 distclean) \
28604 || exit 1
28606 @endif utils
28608 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
28609 maybe-maintainer-clean-utils:
28610 @if utils
28611 maybe-maintainer-clean-utils: maintainer-clean-utils
28613 maintainer-clean-utils:
28614 @: $(MAKE); $(unstage)
28615 @[ -f ./utils/Makefile ] || exit 0; \
28616 r=`${PWD_COMMAND}`; export r; \
28617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28618 $(HOST_EXPORTS) \
28619 for flag in $(EXTRA_HOST_FLAGS) ; do \
28620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28621 done; \
28622 echo "Doing maintainer-clean in utils" ; \
28623 (cd $(HOST_SUBDIR)/utils && \
28624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28626 "RANLIB=$${RANLIB}" \
28627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28628 maintainer-clean) \
28629 || exit 1
28631 @endif utils
28635 .PHONY: configure-gnattools maybe-configure-gnattools
28636 maybe-configure-gnattools:
28637 @if gcc-bootstrap
28638 configure-gnattools: stage_current
28639 @endif gcc-bootstrap
28640 @if gnattools
28641 maybe-configure-gnattools: configure-gnattools
28642 configure-gnattools:
28643 @: $(MAKE); $(unstage)
28644 @r=`${PWD_COMMAND}`; export r; \
28645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28646 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
28647 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
28648 $(HOST_EXPORTS) \
28649 echo Configuring in $(HOST_SUBDIR)/gnattools; \
28650 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
28651 case $(srcdir) in \
28652 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28653 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
28654 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28655 esac; \
28656 srcdiroption="--srcdir=$${topdir}/gnattools"; \
28657 libsrcdir="$$s/gnattools"; \
28658 $(SHELL) $${libsrcdir}/configure \
28659 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28660 --target=${target_alias} $${srcdiroption} \
28661 || exit 1
28662 @endif gnattools
28668 .PHONY: all-gnattools maybe-all-gnattools
28669 maybe-all-gnattools:
28670 @if gcc-bootstrap
28671 all-gnattools: stage_current
28672 @endif gcc-bootstrap
28673 @if gnattools
28674 TARGET-gnattools=all
28675 maybe-all-gnattools: all-gnattools
28676 all-gnattools: configure-gnattools
28677 @: $(MAKE); $(unstage)
28678 @r=`${PWD_COMMAND}`; export r; \
28679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28680 $(HOST_EXPORTS) \
28681 (cd $(HOST_SUBDIR)/gnattools && \
28682 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
28683 $(TARGET-gnattools))
28684 @endif gnattools
28689 .PHONY: check-gnattools maybe-check-gnattools
28690 maybe-check-gnattools:
28691 @if gnattools
28692 maybe-check-gnattools: check-gnattools
28694 check-gnattools:
28695 @: $(MAKE); $(unstage)
28696 @r=`${PWD_COMMAND}`; export r; \
28697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28698 $(HOST_EXPORTS) \
28699 (cd $(HOST_SUBDIR)/gnattools && \
28700 $(MAKE) $(FLAGS_TO_PASS) check)
28702 @endif gnattools
28704 .PHONY: install-gnattools maybe-install-gnattools
28705 maybe-install-gnattools:
28706 @if gnattools
28707 maybe-install-gnattools: install-gnattools
28709 install-gnattools: installdirs
28710 @: $(MAKE); $(unstage)
28711 @r=`${PWD_COMMAND}`; export r; \
28712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28713 $(HOST_EXPORTS) \
28714 (cd $(HOST_SUBDIR)/gnattools && \
28715 $(MAKE) $(FLAGS_TO_PASS) install)
28717 @endif gnattools
28719 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
28720 maybe-install-strip-gnattools:
28721 @if gnattools
28722 maybe-install-strip-gnattools: install-strip-gnattools
28724 install-strip-gnattools: installdirs
28725 @: $(MAKE); $(unstage)
28726 @r=`${PWD_COMMAND}`; export r; \
28727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28728 $(HOST_EXPORTS) \
28729 (cd $(HOST_SUBDIR)/gnattools && \
28730 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28732 @endif gnattools
28734 # Other targets (info, dvi, pdf, etc.)
28736 .PHONY: maybe-info-gnattools info-gnattools
28737 maybe-info-gnattools:
28738 @if gnattools
28739 maybe-info-gnattools: info-gnattools
28741 info-gnattools: \
28742 configure-gnattools
28743 @: $(MAKE); $(unstage)
28744 @[ -f ./gnattools/Makefile ] || exit 0; \
28745 r=`${PWD_COMMAND}`; export r; \
28746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28747 $(HOST_EXPORTS) \
28748 for flag in $(EXTRA_HOST_FLAGS) ; do \
28749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28750 done; \
28751 echo "Doing info in gnattools" ; \
28752 (cd $(HOST_SUBDIR)/gnattools && \
28753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28755 "RANLIB=$${RANLIB}" \
28756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28757 info) \
28758 || exit 1
28760 @endif gnattools
28762 .PHONY: maybe-dvi-gnattools dvi-gnattools
28763 maybe-dvi-gnattools:
28764 @if gnattools
28765 maybe-dvi-gnattools: dvi-gnattools
28767 dvi-gnattools: \
28768 configure-gnattools
28769 @: $(MAKE); $(unstage)
28770 @[ -f ./gnattools/Makefile ] || exit 0; \
28771 r=`${PWD_COMMAND}`; export r; \
28772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28773 $(HOST_EXPORTS) \
28774 for flag in $(EXTRA_HOST_FLAGS) ; do \
28775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28776 done; \
28777 echo "Doing dvi in gnattools" ; \
28778 (cd $(HOST_SUBDIR)/gnattools && \
28779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28781 "RANLIB=$${RANLIB}" \
28782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28783 dvi) \
28784 || exit 1
28786 @endif gnattools
28788 .PHONY: maybe-pdf-gnattools pdf-gnattools
28789 maybe-pdf-gnattools:
28790 @if gnattools
28791 maybe-pdf-gnattools: pdf-gnattools
28793 pdf-gnattools: \
28794 configure-gnattools
28795 @: $(MAKE); $(unstage)
28796 @[ -f ./gnattools/Makefile ] || exit 0; \
28797 r=`${PWD_COMMAND}`; export r; \
28798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28799 $(HOST_EXPORTS) \
28800 for flag in $(EXTRA_HOST_FLAGS) ; do \
28801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28802 done; \
28803 echo "Doing pdf in gnattools" ; \
28804 (cd $(HOST_SUBDIR)/gnattools && \
28805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28807 "RANLIB=$${RANLIB}" \
28808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28809 pdf) \
28810 || exit 1
28812 @endif gnattools
28814 .PHONY: maybe-html-gnattools html-gnattools
28815 maybe-html-gnattools:
28816 @if gnattools
28817 maybe-html-gnattools: html-gnattools
28819 html-gnattools: \
28820 configure-gnattools
28821 @: $(MAKE); $(unstage)
28822 @[ -f ./gnattools/Makefile ] || exit 0; \
28823 r=`${PWD_COMMAND}`; export r; \
28824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28825 $(HOST_EXPORTS) \
28826 for flag in $(EXTRA_HOST_FLAGS) ; do \
28827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28828 done; \
28829 echo "Doing html in gnattools" ; \
28830 (cd $(HOST_SUBDIR)/gnattools && \
28831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28833 "RANLIB=$${RANLIB}" \
28834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28835 html) \
28836 || exit 1
28838 @endif gnattools
28840 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
28841 maybe-TAGS-gnattools:
28842 @if gnattools
28843 maybe-TAGS-gnattools: TAGS-gnattools
28845 TAGS-gnattools: \
28846 configure-gnattools
28847 @: $(MAKE); $(unstage)
28848 @[ -f ./gnattools/Makefile ] || exit 0; \
28849 r=`${PWD_COMMAND}`; export r; \
28850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28851 $(HOST_EXPORTS) \
28852 for flag in $(EXTRA_HOST_FLAGS) ; do \
28853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28854 done; \
28855 echo "Doing TAGS in gnattools" ; \
28856 (cd $(HOST_SUBDIR)/gnattools && \
28857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28859 "RANLIB=$${RANLIB}" \
28860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28861 TAGS) \
28862 || exit 1
28864 @endif gnattools
28866 .PHONY: maybe-install-info-gnattools install-info-gnattools
28867 maybe-install-info-gnattools:
28868 @if gnattools
28869 maybe-install-info-gnattools: install-info-gnattools
28871 install-info-gnattools: \
28872 configure-gnattools \
28873 info-gnattools
28874 @: $(MAKE); $(unstage)
28875 @[ -f ./gnattools/Makefile ] || exit 0; \
28876 r=`${PWD_COMMAND}`; export r; \
28877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28878 $(HOST_EXPORTS) \
28879 for flag in $(EXTRA_HOST_FLAGS) ; do \
28880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28881 done; \
28882 echo "Doing install-info in gnattools" ; \
28883 (cd $(HOST_SUBDIR)/gnattools && \
28884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28886 "RANLIB=$${RANLIB}" \
28887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28888 install-info) \
28889 || exit 1
28891 @endif gnattools
28893 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
28894 maybe-install-pdf-gnattools:
28895 @if gnattools
28896 maybe-install-pdf-gnattools: install-pdf-gnattools
28898 install-pdf-gnattools: \
28899 configure-gnattools \
28900 pdf-gnattools
28901 @: $(MAKE); $(unstage)
28902 @[ -f ./gnattools/Makefile ] || exit 0; \
28903 r=`${PWD_COMMAND}`; export r; \
28904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28905 $(HOST_EXPORTS) \
28906 for flag in $(EXTRA_HOST_FLAGS) ; do \
28907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28908 done; \
28909 echo "Doing install-pdf in gnattools" ; \
28910 (cd $(HOST_SUBDIR)/gnattools && \
28911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28913 "RANLIB=$${RANLIB}" \
28914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28915 install-pdf) \
28916 || exit 1
28918 @endif gnattools
28920 .PHONY: maybe-install-html-gnattools install-html-gnattools
28921 maybe-install-html-gnattools:
28922 @if gnattools
28923 maybe-install-html-gnattools: install-html-gnattools
28925 install-html-gnattools: \
28926 configure-gnattools \
28927 html-gnattools
28928 @: $(MAKE); $(unstage)
28929 @[ -f ./gnattools/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 install-html in gnattools" ; \
28937 (cd $(HOST_SUBDIR)/gnattools && \
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 install-html) \
28943 || exit 1
28945 @endif gnattools
28947 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
28948 maybe-installcheck-gnattools:
28949 @if gnattools
28950 maybe-installcheck-gnattools: installcheck-gnattools
28952 installcheck-gnattools: \
28953 configure-gnattools
28954 @: $(MAKE); $(unstage)
28955 @[ -f ./gnattools/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 installcheck in gnattools" ; \
28963 (cd $(HOST_SUBDIR)/gnattools && \
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 installcheck) \
28969 || exit 1
28971 @endif gnattools
28973 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
28974 maybe-mostlyclean-gnattools:
28975 @if gnattools
28976 maybe-mostlyclean-gnattools: mostlyclean-gnattools
28978 mostlyclean-gnattools:
28979 @: $(MAKE); $(unstage)
28980 @[ -f ./gnattools/Makefile ] || exit 0; \
28981 r=`${PWD_COMMAND}`; export r; \
28982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28983 $(HOST_EXPORTS) \
28984 for flag in $(EXTRA_HOST_FLAGS) ; do \
28985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28986 done; \
28987 echo "Doing mostlyclean in gnattools" ; \
28988 (cd $(HOST_SUBDIR)/gnattools && \
28989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28991 "RANLIB=$${RANLIB}" \
28992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28993 mostlyclean) \
28994 || exit 1
28996 @endif gnattools
28998 .PHONY: maybe-clean-gnattools clean-gnattools
28999 maybe-clean-gnattools:
29000 @if gnattools
29001 maybe-clean-gnattools: clean-gnattools
29003 clean-gnattools:
29004 @: $(MAKE); $(unstage)
29005 @[ -f ./gnattools/Makefile ] || exit 0; \
29006 r=`${PWD_COMMAND}`; export r; \
29007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29008 $(HOST_EXPORTS) \
29009 for flag in $(EXTRA_HOST_FLAGS) ; do \
29010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29011 done; \
29012 echo "Doing clean in gnattools" ; \
29013 (cd $(HOST_SUBDIR)/gnattools && \
29014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29016 "RANLIB=$${RANLIB}" \
29017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29018 clean) \
29019 || exit 1
29021 @endif gnattools
29023 .PHONY: maybe-distclean-gnattools distclean-gnattools
29024 maybe-distclean-gnattools:
29025 @if gnattools
29026 maybe-distclean-gnattools: distclean-gnattools
29028 distclean-gnattools:
29029 @: $(MAKE); $(unstage)
29030 @[ -f ./gnattools/Makefile ] || exit 0; \
29031 r=`${PWD_COMMAND}`; export r; \
29032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29033 $(HOST_EXPORTS) \
29034 for flag in $(EXTRA_HOST_FLAGS) ; do \
29035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29036 done; \
29037 echo "Doing distclean in gnattools" ; \
29038 (cd $(HOST_SUBDIR)/gnattools && \
29039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29041 "RANLIB=$${RANLIB}" \
29042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29043 distclean) \
29044 || exit 1
29046 @endif gnattools
29048 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
29049 maybe-maintainer-clean-gnattools:
29050 @if gnattools
29051 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
29053 maintainer-clean-gnattools:
29054 @: $(MAKE); $(unstage)
29055 @[ -f ./gnattools/Makefile ] || exit 0; \
29056 r=`${PWD_COMMAND}`; export r; \
29057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29058 $(HOST_EXPORTS) \
29059 for flag in $(EXTRA_HOST_FLAGS) ; do \
29060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29061 done; \
29062 echo "Doing maintainer-clean in gnattools" ; \
29063 (cd $(HOST_SUBDIR)/gnattools && \
29064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29066 "RANLIB=$${RANLIB}" \
29067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29068 maintainer-clean) \
29069 || exit 1
29071 @endif gnattools
29075 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
29076 maybe-configure-lto-plugin:
29077 @if gcc-bootstrap
29078 configure-lto-plugin: stage_current
29079 @endif gcc-bootstrap
29080 @if lto-plugin
29081 maybe-configure-lto-plugin: configure-lto-plugin
29082 configure-lto-plugin:
29083 @r=`${PWD_COMMAND}`; export r; \
29084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29085 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29086 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29087 $(HOST_EXPORTS) \
29088 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
29089 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
29090 case $(srcdir) in \
29091 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29092 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29093 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29094 esac; \
29095 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29096 libsrcdir="$$s/lto-plugin"; \
29097 $(SHELL) $${libsrcdir}/configure \
29098 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29099 --target=${target_alias} $${srcdiroption} --enable-shared \
29100 || exit 1
29101 @endif lto-plugin
29105 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
29106 maybe-configure-stage1-lto-plugin:
29107 @if lto-plugin-bootstrap
29108 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
29109 configure-stage1-lto-plugin:
29110 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29111 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29112 @r=`${PWD_COMMAND}`; export r; \
29113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29114 TFLAGS="$(STAGE1_TFLAGS)"; \
29115 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29116 $(HOST_EXPORTS) \
29117 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
29118 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
29119 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
29120 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin ; \
29121 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29122 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29123 case $(srcdir) in \
29124 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29125 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29126 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29127 esac; \
29128 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29129 libsrcdir="$$s/lto-plugin"; \
29130 $(SHELL) $${libsrcdir}/configure \
29131 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29132 --target=${target_alias} $${srcdiroption} \
29133 $(STAGE1_CONFIGURE_FLAGS) \
29134 --enable-shared
29135 @endif lto-plugin-bootstrap
29137 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
29138 maybe-configure-stage2-lto-plugin:
29139 @if lto-plugin-bootstrap
29140 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
29141 configure-stage2-lto-plugin:
29142 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29143 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29144 @r=`${PWD_COMMAND}`; export r; \
29145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29146 TFLAGS="$(STAGE2_TFLAGS)"; \
29147 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29148 $(HOST_EXPORTS) \
29149 $(POSTSTAGE1_HOST_EXPORTS) \
29150 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
29151 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
29152 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
29153 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin ; \
29154 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29155 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29156 case $(srcdir) in \
29157 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29158 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29159 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29160 esac; \
29161 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29162 libsrcdir="$$s/lto-plugin"; \
29163 $(SHELL) $${libsrcdir}/configure \
29164 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29165 --target=${target_alias} $${srcdiroption} \
29166 --with-build-libsubdir=$(HOST_SUBDIR) \
29167 $(STAGE2_CONFIGURE_FLAGS) \
29168 --enable-shared
29169 @endif lto-plugin-bootstrap
29171 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
29172 maybe-configure-stage3-lto-plugin:
29173 @if lto-plugin-bootstrap
29174 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
29175 configure-stage3-lto-plugin:
29176 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29177 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29178 @r=`${PWD_COMMAND}`; export r; \
29179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29180 TFLAGS="$(STAGE3_TFLAGS)"; \
29181 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29182 $(HOST_EXPORTS) \
29183 $(POSTSTAGE1_HOST_EXPORTS) \
29184 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
29185 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
29186 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
29187 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin ; \
29188 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29189 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29190 case $(srcdir) in \
29191 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29192 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29193 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29194 esac; \
29195 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29196 libsrcdir="$$s/lto-plugin"; \
29197 $(SHELL) $${libsrcdir}/configure \
29198 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29199 --target=${target_alias} $${srcdiroption} \
29200 --with-build-libsubdir=$(HOST_SUBDIR) \
29201 $(STAGE3_CONFIGURE_FLAGS) \
29202 --enable-shared
29203 @endif lto-plugin-bootstrap
29205 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
29206 maybe-configure-stage4-lto-plugin:
29207 @if lto-plugin-bootstrap
29208 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
29209 configure-stage4-lto-plugin:
29210 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29211 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29212 @r=`${PWD_COMMAND}`; export r; \
29213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29214 TFLAGS="$(STAGE4_TFLAGS)"; \
29215 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29216 $(HOST_EXPORTS) \
29217 $(POSTSTAGE1_HOST_EXPORTS) \
29218 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
29219 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
29220 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
29221 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin ; \
29222 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29223 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29224 case $(srcdir) in \
29225 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29226 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29227 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29228 esac; \
29229 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29230 libsrcdir="$$s/lto-plugin"; \
29231 $(SHELL) $${libsrcdir}/configure \
29232 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29233 --target=${target_alias} $${srcdiroption} \
29234 --with-build-libsubdir=$(HOST_SUBDIR) \
29235 $(STAGE4_CONFIGURE_FLAGS) \
29236 --enable-shared
29237 @endif lto-plugin-bootstrap
29239 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
29240 maybe-configure-stageprofile-lto-plugin:
29241 @if lto-plugin-bootstrap
29242 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
29243 configure-stageprofile-lto-plugin:
29244 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29245 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29246 @r=`${PWD_COMMAND}`; export r; \
29247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29248 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29249 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29250 $(HOST_EXPORTS) \
29251 $(POSTSTAGE1_HOST_EXPORTS) \
29252 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
29253 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
29254 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
29255 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin ; \
29256 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29257 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29258 case $(srcdir) in \
29259 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29260 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29261 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29262 esac; \
29263 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29264 libsrcdir="$$s/lto-plugin"; \
29265 $(SHELL) $${libsrcdir}/configure \
29266 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29267 --target=${target_alias} $${srcdiroption} \
29268 --with-build-libsubdir=$(HOST_SUBDIR) \
29269 $(STAGEprofile_CONFIGURE_FLAGS) \
29270 --enable-shared
29271 @endif lto-plugin-bootstrap
29273 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
29274 maybe-configure-stagefeedback-lto-plugin:
29275 @if lto-plugin-bootstrap
29276 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
29277 configure-stagefeedback-lto-plugin:
29278 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29279 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29280 @r=`${PWD_COMMAND}`; export r; \
29281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29282 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29283 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29284 $(HOST_EXPORTS) \
29285 $(POSTSTAGE1_HOST_EXPORTS) \
29286 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
29287 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
29288 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
29289 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin ; \
29290 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29291 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29292 case $(srcdir) in \
29293 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29294 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29295 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29296 esac; \
29297 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29298 libsrcdir="$$s/lto-plugin"; \
29299 $(SHELL) $${libsrcdir}/configure \
29300 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29301 --target=${target_alias} $${srcdiroption} \
29302 --with-build-libsubdir=$(HOST_SUBDIR) \
29303 $(STAGEfeedback_CONFIGURE_FLAGS) \
29304 --enable-shared
29305 @endif lto-plugin-bootstrap
29311 .PHONY: all-lto-plugin maybe-all-lto-plugin
29312 maybe-all-lto-plugin:
29313 @if gcc-bootstrap
29314 all-lto-plugin: stage_current
29315 @endif gcc-bootstrap
29316 @if lto-plugin
29317 TARGET-lto-plugin=all
29318 maybe-all-lto-plugin: all-lto-plugin
29319 all-lto-plugin: configure-lto-plugin
29320 @r=`${PWD_COMMAND}`; export r; \
29321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29322 $(HOST_EXPORTS) \
29323 (cd $(HOST_SUBDIR)/lto-plugin && \
29324 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
29325 $(TARGET-lto-plugin))
29326 @endif lto-plugin
29330 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
29331 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
29332 maybe-all-stage1-lto-plugin:
29333 maybe-clean-stage1-lto-plugin:
29334 @if lto-plugin-bootstrap
29335 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
29336 all-stage1: all-stage1-lto-plugin
29337 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
29338 all-stage1-lto-plugin: configure-stage1-lto-plugin
29339 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29340 @r=`${PWD_COMMAND}`; export r; \
29341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29342 TFLAGS="$(STAGE1_TFLAGS)"; \
29343 $(HOST_EXPORTS) \
29344 cd $(HOST_SUBDIR)/lto-plugin && \
29345 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29346 CFLAGS="$(STAGE1_CFLAGS)" \
29347 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
29348 LIBCFLAGS="$(LIBCFLAGS)" \
29349 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29350 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29351 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29352 $(EXTRA_HOST_FLAGS) \
29353 TFLAGS="$(STAGE1_TFLAGS)" \
29354 $(TARGET-stage1-lto-plugin)
29356 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
29357 clean-stage1: clean-stage1-lto-plugin
29358 clean-stage1-lto-plugin:
29359 @if [ $(current_stage) = stage1 ]; then \
29360 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29361 else \
29362 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
29363 $(MAKE) stage1-start; \
29364 fi; \
29365 cd $(HOST_SUBDIR)/lto-plugin && \
29366 $(MAKE) $(EXTRA_HOST_FLAGS) \
29367 clean
29368 @endif lto-plugin-bootstrap
29371 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
29372 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
29373 maybe-all-stage2-lto-plugin:
29374 maybe-clean-stage2-lto-plugin:
29375 @if lto-plugin-bootstrap
29376 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
29377 all-stage2: all-stage2-lto-plugin
29378 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
29379 all-stage2-lto-plugin: configure-stage2-lto-plugin
29380 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29381 @r=`${PWD_COMMAND}`; export r; \
29382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29383 TFLAGS="$(STAGE2_TFLAGS)"; \
29384 $(HOST_EXPORTS) \
29385 $(POSTSTAGE1_HOST_EXPORTS) \
29386 cd $(HOST_SUBDIR)/lto-plugin && \
29387 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29388 CFLAGS="$(STAGE2_CFLAGS)" \
29389 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
29390 LIBCFLAGS="$(STAGE2_CFLAGS)" \
29391 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29392 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29393 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29394 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29395 TFLAGS="$(STAGE2_TFLAGS)" \
29396 $(TARGET-stage2-lto-plugin)
29398 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
29399 clean-stage2: clean-stage2-lto-plugin
29400 clean-stage2-lto-plugin:
29401 @if [ $(current_stage) = stage2 ]; then \
29402 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29403 else \
29404 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
29405 $(MAKE) stage2-start; \
29406 fi; \
29407 cd $(HOST_SUBDIR)/lto-plugin && \
29408 $(MAKE) $(EXTRA_HOST_FLAGS) \
29409 $(POSTSTAGE1_FLAGS_TO_PASS) \
29410 clean
29411 @endif lto-plugin-bootstrap
29414 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
29415 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
29416 maybe-all-stage3-lto-plugin:
29417 maybe-clean-stage3-lto-plugin:
29418 @if lto-plugin-bootstrap
29419 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
29420 all-stage3: all-stage3-lto-plugin
29421 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
29422 all-stage3-lto-plugin: configure-stage3-lto-plugin
29423 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29424 @r=`${PWD_COMMAND}`; export r; \
29425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29426 TFLAGS="$(STAGE3_TFLAGS)"; \
29427 $(HOST_EXPORTS) \
29428 $(POSTSTAGE1_HOST_EXPORTS) \
29429 cd $(HOST_SUBDIR)/lto-plugin && \
29430 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29431 CFLAGS="$(STAGE3_CFLAGS)" \
29432 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
29433 LIBCFLAGS="$(STAGE3_CFLAGS)" \
29434 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29435 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29436 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29437 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29438 TFLAGS="$(STAGE3_TFLAGS)" \
29439 $(TARGET-stage3-lto-plugin)
29441 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
29442 clean-stage3: clean-stage3-lto-plugin
29443 clean-stage3-lto-plugin:
29444 @if [ $(current_stage) = stage3 ]; then \
29445 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29446 else \
29447 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
29448 $(MAKE) stage3-start; \
29449 fi; \
29450 cd $(HOST_SUBDIR)/lto-plugin && \
29451 $(MAKE) $(EXTRA_HOST_FLAGS) \
29452 $(POSTSTAGE1_FLAGS_TO_PASS) \
29453 clean
29454 @endif lto-plugin-bootstrap
29457 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
29458 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
29459 maybe-all-stage4-lto-plugin:
29460 maybe-clean-stage4-lto-plugin:
29461 @if lto-plugin-bootstrap
29462 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
29463 all-stage4: all-stage4-lto-plugin
29464 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
29465 all-stage4-lto-plugin: configure-stage4-lto-plugin
29466 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29467 @r=`${PWD_COMMAND}`; export r; \
29468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29469 TFLAGS="$(STAGE4_TFLAGS)"; \
29470 $(HOST_EXPORTS) \
29471 $(POSTSTAGE1_HOST_EXPORTS) \
29472 cd $(HOST_SUBDIR)/lto-plugin && \
29473 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29474 CFLAGS="$(STAGE4_CFLAGS)" \
29475 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
29476 LIBCFLAGS="$(STAGE4_CFLAGS)" \
29477 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29478 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29479 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29480 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29481 TFLAGS="$(STAGE4_TFLAGS)" \
29482 $(TARGET-stage4-lto-plugin)
29484 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
29485 clean-stage4: clean-stage4-lto-plugin
29486 clean-stage4-lto-plugin:
29487 @if [ $(current_stage) = stage4 ]; then \
29488 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29489 else \
29490 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
29491 $(MAKE) stage4-start; \
29492 fi; \
29493 cd $(HOST_SUBDIR)/lto-plugin && \
29494 $(MAKE) $(EXTRA_HOST_FLAGS) \
29495 $(POSTSTAGE1_FLAGS_TO_PASS) \
29496 clean
29497 @endif lto-plugin-bootstrap
29500 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
29501 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
29502 maybe-all-stageprofile-lto-plugin:
29503 maybe-clean-stageprofile-lto-plugin:
29504 @if lto-plugin-bootstrap
29505 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
29506 all-stageprofile: all-stageprofile-lto-plugin
29507 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
29508 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
29509 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29510 @r=`${PWD_COMMAND}`; export r; \
29511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29512 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29513 $(HOST_EXPORTS) \
29514 $(POSTSTAGE1_HOST_EXPORTS) \
29515 cd $(HOST_SUBDIR)/lto-plugin && \
29516 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29517 CFLAGS="$(STAGEprofile_CFLAGS)" \
29518 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
29519 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
29520 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29521 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29522 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29523 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29524 TFLAGS="$(STAGEprofile_TFLAGS)" \
29525 $(TARGET-stageprofile-lto-plugin)
29527 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
29528 clean-stageprofile: clean-stageprofile-lto-plugin
29529 clean-stageprofile-lto-plugin:
29530 @if [ $(current_stage) = stageprofile ]; then \
29531 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29532 else \
29533 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
29534 $(MAKE) stageprofile-start; \
29535 fi; \
29536 cd $(HOST_SUBDIR)/lto-plugin && \
29537 $(MAKE) $(EXTRA_HOST_FLAGS) \
29538 $(POSTSTAGE1_FLAGS_TO_PASS) \
29539 clean
29540 @endif lto-plugin-bootstrap
29543 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
29544 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
29545 maybe-all-stagefeedback-lto-plugin:
29546 maybe-clean-stagefeedback-lto-plugin:
29547 @if lto-plugin-bootstrap
29548 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
29549 all-stagefeedback: all-stagefeedback-lto-plugin
29550 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
29551 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
29552 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29553 @r=`${PWD_COMMAND}`; export r; \
29554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29555 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29556 $(HOST_EXPORTS) \
29557 $(POSTSTAGE1_HOST_EXPORTS) \
29558 cd $(HOST_SUBDIR)/lto-plugin && \
29559 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29560 CFLAGS="$(STAGEfeedback_CFLAGS)" \
29561 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
29562 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
29563 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29564 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29565 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29566 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29567 TFLAGS="$(STAGEfeedback_TFLAGS)" \
29568 $(TARGET-stagefeedback-lto-plugin)
29570 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
29571 clean-stagefeedback: clean-stagefeedback-lto-plugin
29572 clean-stagefeedback-lto-plugin:
29573 @if [ $(current_stage) = stagefeedback ]; then \
29574 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29575 else \
29576 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
29577 $(MAKE) stagefeedback-start; \
29578 fi; \
29579 cd $(HOST_SUBDIR)/lto-plugin && \
29580 $(MAKE) $(EXTRA_HOST_FLAGS) \
29581 $(POSTSTAGE1_FLAGS_TO_PASS) \
29582 clean
29583 @endif lto-plugin-bootstrap
29589 .PHONY: check-lto-plugin maybe-check-lto-plugin
29590 maybe-check-lto-plugin:
29591 @if lto-plugin
29592 maybe-check-lto-plugin: check-lto-plugin
29594 check-lto-plugin:
29595 @: $(MAKE); $(unstage)
29596 @r=`${PWD_COMMAND}`; export r; \
29597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29598 $(HOST_EXPORTS) \
29599 (cd $(HOST_SUBDIR)/lto-plugin && \
29600 $(MAKE) $(FLAGS_TO_PASS) check)
29602 @endif lto-plugin
29604 .PHONY: install-lto-plugin maybe-install-lto-plugin
29605 maybe-install-lto-plugin:
29606 @if lto-plugin
29607 maybe-install-lto-plugin: install-lto-plugin
29609 install-lto-plugin: installdirs
29610 @: $(MAKE); $(unstage)
29611 @r=`${PWD_COMMAND}`; export r; \
29612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29613 $(HOST_EXPORTS) \
29614 (cd $(HOST_SUBDIR)/lto-plugin && \
29615 $(MAKE) $(FLAGS_TO_PASS) install)
29617 @endif lto-plugin
29619 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
29620 maybe-install-strip-lto-plugin:
29621 @if lto-plugin
29622 maybe-install-strip-lto-plugin: install-strip-lto-plugin
29624 install-strip-lto-plugin: installdirs
29625 @: $(MAKE); $(unstage)
29626 @r=`${PWD_COMMAND}`; export r; \
29627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29628 $(HOST_EXPORTS) \
29629 (cd $(HOST_SUBDIR)/lto-plugin && \
29630 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29632 @endif lto-plugin
29634 # Other targets (info, dvi, pdf, etc.)
29636 .PHONY: maybe-info-lto-plugin info-lto-plugin
29637 maybe-info-lto-plugin:
29638 @if lto-plugin
29639 maybe-info-lto-plugin: info-lto-plugin
29641 info-lto-plugin: \
29642 configure-lto-plugin
29643 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29644 r=`${PWD_COMMAND}`; export r; \
29645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29646 $(HOST_EXPORTS) \
29647 for flag in $(EXTRA_HOST_FLAGS) ; do \
29648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29649 done; \
29650 echo "Doing info in lto-plugin" ; \
29651 (cd $(HOST_SUBDIR)/lto-plugin && \
29652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29654 "RANLIB=$${RANLIB}" \
29655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29656 info) \
29657 || exit 1
29659 @endif lto-plugin
29661 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
29662 maybe-dvi-lto-plugin:
29663 @if lto-plugin
29664 maybe-dvi-lto-plugin: dvi-lto-plugin
29666 dvi-lto-plugin: \
29667 configure-lto-plugin
29668 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29669 r=`${PWD_COMMAND}`; export r; \
29670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29671 $(HOST_EXPORTS) \
29672 for flag in $(EXTRA_HOST_FLAGS) ; do \
29673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29674 done; \
29675 echo "Doing dvi in lto-plugin" ; \
29676 (cd $(HOST_SUBDIR)/lto-plugin && \
29677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29679 "RANLIB=$${RANLIB}" \
29680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29681 dvi) \
29682 || exit 1
29684 @endif lto-plugin
29686 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
29687 maybe-pdf-lto-plugin:
29688 @if lto-plugin
29689 maybe-pdf-lto-plugin: pdf-lto-plugin
29691 pdf-lto-plugin: \
29692 configure-lto-plugin
29693 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29694 r=`${PWD_COMMAND}`; export r; \
29695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29696 $(HOST_EXPORTS) \
29697 for flag in $(EXTRA_HOST_FLAGS) ; do \
29698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29699 done; \
29700 echo "Doing pdf in lto-plugin" ; \
29701 (cd $(HOST_SUBDIR)/lto-plugin && \
29702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29704 "RANLIB=$${RANLIB}" \
29705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29706 pdf) \
29707 || exit 1
29709 @endif lto-plugin
29711 .PHONY: maybe-html-lto-plugin html-lto-plugin
29712 maybe-html-lto-plugin:
29713 @if lto-plugin
29714 maybe-html-lto-plugin: html-lto-plugin
29716 html-lto-plugin: \
29717 configure-lto-plugin
29718 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29719 r=`${PWD_COMMAND}`; export r; \
29720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29721 $(HOST_EXPORTS) \
29722 for flag in $(EXTRA_HOST_FLAGS) ; do \
29723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29724 done; \
29725 echo "Doing html in lto-plugin" ; \
29726 (cd $(HOST_SUBDIR)/lto-plugin && \
29727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29729 "RANLIB=$${RANLIB}" \
29730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29731 html) \
29732 || exit 1
29734 @endif lto-plugin
29736 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
29737 maybe-TAGS-lto-plugin:
29738 @if lto-plugin
29739 maybe-TAGS-lto-plugin: TAGS-lto-plugin
29741 TAGS-lto-plugin: \
29742 configure-lto-plugin
29743 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29744 r=`${PWD_COMMAND}`; export r; \
29745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29746 $(HOST_EXPORTS) \
29747 for flag in $(EXTRA_HOST_FLAGS) ; do \
29748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29749 done; \
29750 echo "Doing TAGS in lto-plugin" ; \
29751 (cd $(HOST_SUBDIR)/lto-plugin && \
29752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29754 "RANLIB=$${RANLIB}" \
29755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29756 TAGS) \
29757 || exit 1
29759 @endif lto-plugin
29761 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
29762 maybe-install-info-lto-plugin:
29763 @if lto-plugin
29764 maybe-install-info-lto-plugin: install-info-lto-plugin
29766 install-info-lto-plugin: \
29767 configure-lto-plugin \
29768 info-lto-plugin
29769 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29770 r=`${PWD_COMMAND}`; export r; \
29771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29772 $(HOST_EXPORTS) \
29773 for flag in $(EXTRA_HOST_FLAGS) ; do \
29774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29775 done; \
29776 echo "Doing install-info in lto-plugin" ; \
29777 (cd $(HOST_SUBDIR)/lto-plugin && \
29778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29780 "RANLIB=$${RANLIB}" \
29781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29782 install-info) \
29783 || exit 1
29785 @endif lto-plugin
29787 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
29788 maybe-install-pdf-lto-plugin:
29789 @if lto-plugin
29790 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
29792 install-pdf-lto-plugin: \
29793 configure-lto-plugin \
29794 pdf-lto-plugin
29795 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29796 r=`${PWD_COMMAND}`; export r; \
29797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29798 $(HOST_EXPORTS) \
29799 for flag in $(EXTRA_HOST_FLAGS) ; do \
29800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29801 done; \
29802 echo "Doing install-pdf in lto-plugin" ; \
29803 (cd $(HOST_SUBDIR)/lto-plugin && \
29804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29806 "RANLIB=$${RANLIB}" \
29807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29808 install-pdf) \
29809 || exit 1
29811 @endif lto-plugin
29813 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
29814 maybe-install-html-lto-plugin:
29815 @if lto-plugin
29816 maybe-install-html-lto-plugin: install-html-lto-plugin
29818 install-html-lto-plugin: \
29819 configure-lto-plugin \
29820 html-lto-plugin
29821 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29822 r=`${PWD_COMMAND}`; export r; \
29823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29824 $(HOST_EXPORTS) \
29825 for flag in $(EXTRA_HOST_FLAGS) ; do \
29826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29827 done; \
29828 echo "Doing install-html in lto-plugin" ; \
29829 (cd $(HOST_SUBDIR)/lto-plugin && \
29830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29832 "RANLIB=$${RANLIB}" \
29833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29834 install-html) \
29835 || exit 1
29837 @endif lto-plugin
29839 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
29840 maybe-installcheck-lto-plugin:
29841 @if lto-plugin
29842 maybe-installcheck-lto-plugin: installcheck-lto-plugin
29844 installcheck-lto-plugin: \
29845 configure-lto-plugin
29846 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29847 r=`${PWD_COMMAND}`; export r; \
29848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29849 $(HOST_EXPORTS) \
29850 for flag in $(EXTRA_HOST_FLAGS) ; do \
29851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29852 done; \
29853 echo "Doing installcheck in lto-plugin" ; \
29854 (cd $(HOST_SUBDIR)/lto-plugin && \
29855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29857 "RANLIB=$${RANLIB}" \
29858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29859 installcheck) \
29860 || exit 1
29862 @endif lto-plugin
29864 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
29865 maybe-mostlyclean-lto-plugin:
29866 @if lto-plugin
29867 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
29869 mostlyclean-lto-plugin:
29870 @[ -f ./lto-plugin/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 mostlyclean in lto-plugin" ; \
29878 (cd $(HOST_SUBDIR)/lto-plugin && \
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 mostlyclean) \
29884 || exit 1
29886 @endif lto-plugin
29888 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
29889 maybe-clean-lto-plugin:
29890 @if lto-plugin
29891 maybe-clean-lto-plugin: clean-lto-plugin
29893 clean-lto-plugin:
29894 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29895 r=`${PWD_COMMAND}`; export r; \
29896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29897 $(HOST_EXPORTS) \
29898 for flag in $(EXTRA_HOST_FLAGS) ; do \
29899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29900 done; \
29901 echo "Doing clean in lto-plugin" ; \
29902 (cd $(HOST_SUBDIR)/lto-plugin && \
29903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29905 "RANLIB=$${RANLIB}" \
29906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29907 clean) \
29908 || exit 1
29910 @endif lto-plugin
29912 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
29913 maybe-distclean-lto-plugin:
29914 @if lto-plugin
29915 maybe-distclean-lto-plugin: distclean-lto-plugin
29917 distclean-lto-plugin:
29918 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29919 r=`${PWD_COMMAND}`; export r; \
29920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29921 $(HOST_EXPORTS) \
29922 for flag in $(EXTRA_HOST_FLAGS) ; do \
29923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29924 done; \
29925 echo "Doing distclean in lto-plugin" ; \
29926 (cd $(HOST_SUBDIR)/lto-plugin && \
29927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29929 "RANLIB=$${RANLIB}" \
29930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29931 distclean) \
29932 || exit 1
29934 @endif lto-plugin
29936 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
29937 maybe-maintainer-clean-lto-plugin:
29938 @if lto-plugin
29939 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
29941 maintainer-clean-lto-plugin:
29942 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29943 r=`${PWD_COMMAND}`; export r; \
29944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29945 $(HOST_EXPORTS) \
29946 for flag in $(EXTRA_HOST_FLAGS) ; do \
29947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29948 done; \
29949 echo "Doing maintainer-clean in lto-plugin" ; \
29950 (cd $(HOST_SUBDIR)/lto-plugin && \
29951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29953 "RANLIB=$${RANLIB}" \
29954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29955 maintainer-clean) \
29956 || exit 1
29958 @endif lto-plugin
29962 # ---------------------------------------
29963 # Modules which run on the target machine
29964 # ---------------------------------------
29969 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
29970 maybe-configure-target-libstdc++-v3:
29971 @if gcc-bootstrap
29972 configure-target-libstdc++-v3: stage_current
29973 @endif gcc-bootstrap
29974 @if target-libstdc++-v3
29975 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
29976 configure-target-libstdc++-v3:
29977 @r=`${PWD_COMMAND}`; export r; \
29978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29979 echo "Checking multilib configuration for libstdc++-v3..."; \
29980 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
29981 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
29982 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
29983 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
29984 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
29985 else \
29986 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
29987 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
29988 fi; \
29989 else \
29990 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
29991 fi; \
29992 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
29993 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
29994 $(RAW_CXX_TARGET_EXPORTS) \
29995 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
29996 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
29997 case $(srcdir) in \
29998 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29999 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30000 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30001 esac; \
30002 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30003 libsrcdir="$$s/libstdc++-v3"; \
30004 rm -f no-such-file || : ; \
30005 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30006 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30007 --target=${target_alias} $${srcdiroption} \
30008 || exit 1
30009 @endif target-libstdc++-v3
30013 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
30014 maybe-configure-stage1-target-libstdc++-v3:
30015 @if target-libstdc++-v3-bootstrap
30016 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
30017 configure-stage1-target-libstdc++-v3:
30018 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30019 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30020 @r=`${PWD_COMMAND}`; export r; \
30021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30022 TFLAGS="$(STAGE1_TFLAGS)"; \
30023 echo "Checking multilib configuration for libstdc++-v3..."; \
30024 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30025 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30026 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30027 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30028 else \
30029 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30030 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30031 fi; \
30032 else \
30033 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30034 fi; \
30035 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30036 $(RAW_CXX_TARGET_EXPORTS) \
30037 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30038 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30039 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30040 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30041 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30042 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30043 case $(srcdir) in \
30044 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30045 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30046 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30047 esac; \
30048 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30049 libsrcdir="$$s/libstdc++-v3"; \
30050 $(SHELL) $${libsrcdir}/configure \
30051 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30052 --target=${target_alias} $${srcdiroption} \
30053 $(STAGE1_CONFIGURE_FLAGS)
30054 @endif target-libstdc++-v3-bootstrap
30056 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
30057 maybe-configure-stage2-target-libstdc++-v3:
30058 @if target-libstdc++-v3-bootstrap
30059 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
30060 configure-stage2-target-libstdc++-v3:
30061 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30062 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30063 @r=`${PWD_COMMAND}`; export r; \
30064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30065 TFLAGS="$(STAGE2_TFLAGS)"; \
30066 echo "Checking multilib configuration for libstdc++-v3..."; \
30067 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30068 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30069 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30070 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30071 else \
30072 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30073 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30074 fi; \
30075 else \
30076 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30077 fi; \
30078 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30079 $(RAW_CXX_TARGET_EXPORTS) \
30081 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30082 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30083 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30084 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30085 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30086 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30087 case $(srcdir) in \
30088 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30089 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30090 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30091 esac; \
30092 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30093 libsrcdir="$$s/libstdc++-v3"; \
30094 $(SHELL) $${libsrcdir}/configure \
30095 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30096 --target=${target_alias} $${srcdiroption} \
30097 --with-build-libsubdir=$(HOST_SUBDIR) \
30098 $(STAGE2_CONFIGURE_FLAGS)
30099 @endif target-libstdc++-v3-bootstrap
30101 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
30102 maybe-configure-stage3-target-libstdc++-v3:
30103 @if target-libstdc++-v3-bootstrap
30104 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
30105 configure-stage3-target-libstdc++-v3:
30106 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30107 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30108 @r=`${PWD_COMMAND}`; export r; \
30109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30110 TFLAGS="$(STAGE3_TFLAGS)"; \
30111 echo "Checking multilib configuration for libstdc++-v3..."; \
30112 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30113 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30114 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30115 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30116 else \
30117 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30118 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30119 fi; \
30120 else \
30121 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30122 fi; \
30123 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30124 $(RAW_CXX_TARGET_EXPORTS) \
30126 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30127 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30128 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30129 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30130 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30131 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30132 case $(srcdir) in \
30133 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30134 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30135 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30136 esac; \
30137 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30138 libsrcdir="$$s/libstdc++-v3"; \
30139 $(SHELL) $${libsrcdir}/configure \
30140 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30141 --target=${target_alias} $${srcdiroption} \
30142 --with-build-libsubdir=$(HOST_SUBDIR) \
30143 $(STAGE3_CONFIGURE_FLAGS)
30144 @endif target-libstdc++-v3-bootstrap
30146 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
30147 maybe-configure-stage4-target-libstdc++-v3:
30148 @if target-libstdc++-v3-bootstrap
30149 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
30150 configure-stage4-target-libstdc++-v3:
30151 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30152 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30153 @r=`${PWD_COMMAND}`; export r; \
30154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30155 TFLAGS="$(STAGE4_TFLAGS)"; \
30156 echo "Checking multilib configuration for libstdc++-v3..."; \
30157 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30158 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30159 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30160 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30161 else \
30162 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30163 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30164 fi; \
30165 else \
30166 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30167 fi; \
30168 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30169 $(RAW_CXX_TARGET_EXPORTS) \
30171 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30172 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30173 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30174 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30175 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30176 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30177 case $(srcdir) in \
30178 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30179 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30180 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30181 esac; \
30182 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30183 libsrcdir="$$s/libstdc++-v3"; \
30184 $(SHELL) $${libsrcdir}/configure \
30185 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30186 --target=${target_alias} $${srcdiroption} \
30187 --with-build-libsubdir=$(HOST_SUBDIR) \
30188 $(STAGE4_CONFIGURE_FLAGS)
30189 @endif target-libstdc++-v3-bootstrap
30191 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
30192 maybe-configure-stageprofile-target-libstdc++-v3:
30193 @if target-libstdc++-v3-bootstrap
30194 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
30195 configure-stageprofile-target-libstdc++-v3:
30196 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30197 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30198 @r=`${PWD_COMMAND}`; export r; \
30199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30200 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30201 echo "Checking multilib configuration for libstdc++-v3..."; \
30202 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30203 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30204 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30205 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30206 else \
30207 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30208 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30209 fi; \
30210 else \
30211 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30212 fi; \
30213 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30214 $(RAW_CXX_TARGET_EXPORTS) \
30216 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30217 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30218 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30219 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30220 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30221 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30222 case $(srcdir) in \
30223 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30224 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30225 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30226 esac; \
30227 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30228 libsrcdir="$$s/libstdc++-v3"; \
30229 $(SHELL) $${libsrcdir}/configure \
30230 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30231 --target=${target_alias} $${srcdiroption} \
30232 --with-build-libsubdir=$(HOST_SUBDIR) \
30233 $(STAGEprofile_CONFIGURE_FLAGS)
30234 @endif target-libstdc++-v3-bootstrap
30236 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
30237 maybe-configure-stagefeedback-target-libstdc++-v3:
30238 @if target-libstdc++-v3-bootstrap
30239 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
30240 configure-stagefeedback-target-libstdc++-v3:
30241 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30242 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30243 @r=`${PWD_COMMAND}`; export r; \
30244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30245 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30246 echo "Checking multilib configuration for libstdc++-v3..."; \
30247 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30248 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30249 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30250 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30251 else \
30252 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30253 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30254 fi; \
30255 else \
30256 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30257 fi; \
30258 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30259 $(RAW_CXX_TARGET_EXPORTS) \
30261 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30262 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30263 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30264 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30265 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30266 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30267 case $(srcdir) in \
30268 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30269 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30270 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30271 esac; \
30272 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30273 libsrcdir="$$s/libstdc++-v3"; \
30274 $(SHELL) $${libsrcdir}/configure \
30275 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30276 --target=${target_alias} $${srcdiroption} \
30277 --with-build-libsubdir=$(HOST_SUBDIR) \
30278 $(STAGEfeedback_CONFIGURE_FLAGS)
30279 @endif target-libstdc++-v3-bootstrap
30285 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
30286 maybe-all-target-libstdc++-v3:
30287 @if gcc-bootstrap
30288 all-target-libstdc++-v3: stage_current
30289 @endif gcc-bootstrap
30290 @if target-libstdc++-v3
30291 TARGET-target-libstdc++-v3=all
30292 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
30293 all-target-libstdc++-v3: configure-target-libstdc++-v3
30294 @r=`${PWD_COMMAND}`; export r; \
30295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30296 $(RAW_CXX_TARGET_EXPORTS) \
30297 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30298 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30299 $(TARGET-target-libstdc++-v3))
30300 @endif target-libstdc++-v3
30304 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
30305 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
30306 maybe-all-stage1-target-libstdc++-v3:
30307 maybe-clean-stage1-target-libstdc++-v3:
30308 @if target-libstdc++-v3-bootstrap
30309 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
30310 all-stage1: all-stage1-target-libstdc++-v3
30311 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30312 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
30313 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30314 @r=`${PWD_COMMAND}`; export r; \
30315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30316 TFLAGS="$(STAGE1_TFLAGS)"; \
30317 $(RAW_CXX_TARGET_EXPORTS) \
30318 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30319 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30320 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30321 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30322 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30323 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30324 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30325 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30326 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30327 TFLAGS="$(STAGE1_TFLAGS)" \
30328 $(TARGET-stage1-target-libstdc++-v3)
30330 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
30331 clean-stage1: clean-stage1-target-libstdc++-v3
30332 clean-stage1-target-libstdc++-v3:
30333 @if [ $(current_stage) = stage1 ]; then \
30334 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30335 else \
30336 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
30337 $(MAKE) stage1-start; \
30338 fi; \
30339 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30340 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30341 clean
30342 @endif target-libstdc++-v3-bootstrap
30345 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
30346 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
30347 maybe-all-stage2-target-libstdc++-v3:
30348 maybe-clean-stage2-target-libstdc++-v3:
30349 @if target-libstdc++-v3-bootstrap
30350 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
30351 all-stage2: all-stage2-target-libstdc++-v3
30352 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30353 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
30354 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30355 @r=`${PWD_COMMAND}`; export r; \
30356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30357 TFLAGS="$(STAGE2_TFLAGS)"; \
30358 $(RAW_CXX_TARGET_EXPORTS) \
30360 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30361 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30362 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30363 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30364 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30365 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30366 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30367 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30368 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30369 TFLAGS="$(STAGE2_TFLAGS)" \
30370 $(TARGET-stage2-target-libstdc++-v3)
30372 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
30373 clean-stage2: clean-stage2-target-libstdc++-v3
30374 clean-stage2-target-libstdc++-v3:
30375 @if [ $(current_stage) = stage2 ]; then \
30376 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30377 else \
30378 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
30379 $(MAKE) stage2-start; \
30380 fi; \
30381 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30382 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30384 clean
30385 @endif target-libstdc++-v3-bootstrap
30388 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
30389 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
30390 maybe-all-stage3-target-libstdc++-v3:
30391 maybe-clean-stage3-target-libstdc++-v3:
30392 @if target-libstdc++-v3-bootstrap
30393 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
30394 all-stage3: all-stage3-target-libstdc++-v3
30395 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30396 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
30397 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30398 @r=`${PWD_COMMAND}`; export r; \
30399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30400 TFLAGS="$(STAGE3_TFLAGS)"; \
30401 $(RAW_CXX_TARGET_EXPORTS) \
30403 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30404 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30405 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30406 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30407 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30408 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30409 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30410 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30411 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30412 TFLAGS="$(STAGE3_TFLAGS)" \
30413 $(TARGET-stage3-target-libstdc++-v3)
30415 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
30416 clean-stage3: clean-stage3-target-libstdc++-v3
30417 clean-stage3-target-libstdc++-v3:
30418 @if [ $(current_stage) = stage3 ]; then \
30419 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30420 else \
30421 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
30422 $(MAKE) stage3-start; \
30423 fi; \
30424 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30425 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30427 clean
30428 @endif target-libstdc++-v3-bootstrap
30431 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
30432 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
30433 maybe-all-stage4-target-libstdc++-v3:
30434 maybe-clean-stage4-target-libstdc++-v3:
30435 @if target-libstdc++-v3-bootstrap
30436 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
30437 all-stage4: all-stage4-target-libstdc++-v3
30438 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30439 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
30440 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30441 @r=`${PWD_COMMAND}`; export r; \
30442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30443 TFLAGS="$(STAGE4_TFLAGS)"; \
30444 $(RAW_CXX_TARGET_EXPORTS) \
30446 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30447 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30448 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30449 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30450 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30451 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30452 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30453 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30454 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30455 TFLAGS="$(STAGE4_TFLAGS)" \
30456 $(TARGET-stage4-target-libstdc++-v3)
30458 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
30459 clean-stage4: clean-stage4-target-libstdc++-v3
30460 clean-stage4-target-libstdc++-v3:
30461 @if [ $(current_stage) = stage4 ]; then \
30462 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30463 else \
30464 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
30465 $(MAKE) stage4-start; \
30466 fi; \
30467 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30468 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30470 clean
30471 @endif target-libstdc++-v3-bootstrap
30474 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
30475 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
30476 maybe-all-stageprofile-target-libstdc++-v3:
30477 maybe-clean-stageprofile-target-libstdc++-v3:
30478 @if target-libstdc++-v3-bootstrap
30479 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
30480 all-stageprofile: all-stageprofile-target-libstdc++-v3
30481 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30482 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
30483 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30484 @r=`${PWD_COMMAND}`; export r; \
30485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30486 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30487 $(RAW_CXX_TARGET_EXPORTS) \
30489 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30490 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30491 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30492 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30493 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30494 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30495 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30496 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30497 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30498 TFLAGS="$(STAGEprofile_TFLAGS)" \
30499 $(TARGET-stageprofile-target-libstdc++-v3)
30501 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
30502 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
30503 clean-stageprofile-target-libstdc++-v3:
30504 @if [ $(current_stage) = stageprofile ]; then \
30505 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30506 else \
30507 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
30508 $(MAKE) stageprofile-start; \
30509 fi; \
30510 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30511 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30513 clean
30514 @endif target-libstdc++-v3-bootstrap
30517 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
30518 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
30519 maybe-all-stagefeedback-target-libstdc++-v3:
30520 maybe-clean-stagefeedback-target-libstdc++-v3:
30521 @if target-libstdc++-v3-bootstrap
30522 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
30523 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
30524 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30525 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
30526 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30527 @r=`${PWD_COMMAND}`; export r; \
30528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30529 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30530 $(RAW_CXX_TARGET_EXPORTS) \
30532 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30533 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30534 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30535 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30536 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30537 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30538 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30539 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30540 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30541 TFLAGS="$(STAGEfeedback_TFLAGS)" \
30542 $(TARGET-stagefeedback-target-libstdc++-v3)
30544 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
30545 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
30546 clean-stagefeedback-target-libstdc++-v3:
30547 @if [ $(current_stage) = stagefeedback ]; then \
30548 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30549 else \
30550 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
30551 $(MAKE) stagefeedback-start; \
30552 fi; \
30553 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30554 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30556 clean
30557 @endif target-libstdc++-v3-bootstrap
30564 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
30565 maybe-check-target-libstdc++-v3:
30566 @if target-libstdc++-v3
30567 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
30569 check-target-libstdc++-v3:
30570 @: $(MAKE); $(unstage)
30571 @r=`${PWD_COMMAND}`; export r; \
30572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30573 $(RAW_CXX_TARGET_EXPORTS) \
30574 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30575 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
30577 @endif target-libstdc++-v3
30579 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
30580 maybe-install-target-libstdc++-v3:
30581 @if target-libstdc++-v3
30582 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
30584 install-target-libstdc++-v3: installdirs
30585 @: $(MAKE); $(unstage)
30586 @r=`${PWD_COMMAND}`; export r; \
30587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30588 $(RAW_CXX_TARGET_EXPORTS) \
30589 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30590 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30592 @endif target-libstdc++-v3
30594 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
30595 maybe-install-strip-target-libstdc++-v3:
30596 @if target-libstdc++-v3
30597 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
30599 install-strip-target-libstdc++-v3: installdirs
30600 @: $(MAKE); $(unstage)
30601 @r=`${PWD_COMMAND}`; export r; \
30602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30603 $(RAW_CXX_TARGET_EXPORTS) \
30604 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30605 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
30607 @endif target-libstdc++-v3
30609 # Other targets (info, dvi, pdf, etc.)
30611 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
30612 maybe-info-target-libstdc++-v3:
30613 @if target-libstdc++-v3
30614 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
30616 info-target-libstdc++-v3: \
30617 configure-target-libstdc++-v3
30618 @: $(MAKE); $(unstage)
30619 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30620 r=`${PWD_COMMAND}`; export r; \
30621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30622 $(RAW_CXX_TARGET_EXPORTS) \
30623 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30624 for flag in $(EXTRA_TARGET_FLAGS); do \
30625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30626 done; \
30627 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30630 "RANLIB=$${RANLIB}" \
30631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30632 info) \
30633 || exit 1
30635 @endif target-libstdc++-v3
30637 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
30638 maybe-dvi-target-libstdc++-v3:
30639 @if target-libstdc++-v3
30640 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
30642 dvi-target-libstdc++-v3: \
30643 configure-target-libstdc++-v3
30644 @: $(MAKE); $(unstage)
30645 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30646 r=`${PWD_COMMAND}`; export r; \
30647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30648 $(RAW_CXX_TARGET_EXPORTS) \
30649 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30650 for flag in $(EXTRA_TARGET_FLAGS); do \
30651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30652 done; \
30653 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30656 "RANLIB=$${RANLIB}" \
30657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30658 dvi) \
30659 || exit 1
30661 @endif target-libstdc++-v3
30663 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
30664 maybe-pdf-target-libstdc++-v3:
30665 @if target-libstdc++-v3
30666 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
30668 pdf-target-libstdc++-v3: \
30669 configure-target-libstdc++-v3
30670 @: $(MAKE); $(unstage)
30671 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30672 r=`${PWD_COMMAND}`; export r; \
30673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30674 $(RAW_CXX_TARGET_EXPORTS) \
30675 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30676 for flag in $(EXTRA_TARGET_FLAGS); do \
30677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30678 done; \
30679 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30682 "RANLIB=$${RANLIB}" \
30683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30684 pdf) \
30685 || exit 1
30687 @endif target-libstdc++-v3
30689 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
30690 maybe-html-target-libstdc++-v3:
30691 @if target-libstdc++-v3
30692 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
30694 html-target-libstdc++-v3: \
30695 configure-target-libstdc++-v3
30696 @: $(MAKE); $(unstage)
30697 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30698 r=`${PWD_COMMAND}`; export r; \
30699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30700 $(RAW_CXX_TARGET_EXPORTS) \
30701 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30702 for flag in $(EXTRA_TARGET_FLAGS); do \
30703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30704 done; \
30705 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30708 "RANLIB=$${RANLIB}" \
30709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30710 html) \
30711 || exit 1
30713 @endif target-libstdc++-v3
30715 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
30716 maybe-TAGS-target-libstdc++-v3:
30717 @if target-libstdc++-v3
30718 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
30720 TAGS-target-libstdc++-v3: \
30721 configure-target-libstdc++-v3
30722 @: $(MAKE); $(unstage)
30723 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30724 r=`${PWD_COMMAND}`; export r; \
30725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30726 $(RAW_CXX_TARGET_EXPORTS) \
30727 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30728 for flag in $(EXTRA_TARGET_FLAGS); do \
30729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30730 done; \
30731 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30734 "RANLIB=$${RANLIB}" \
30735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30736 TAGS) \
30737 || exit 1
30739 @endif target-libstdc++-v3
30741 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
30742 maybe-install-info-target-libstdc++-v3:
30743 @if target-libstdc++-v3
30744 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
30746 install-info-target-libstdc++-v3: \
30747 configure-target-libstdc++-v3 \
30748 info-target-libstdc++-v3
30749 @: $(MAKE); $(unstage)
30750 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30751 r=`${PWD_COMMAND}`; export r; \
30752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30753 $(RAW_CXX_TARGET_EXPORTS) \
30754 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30755 for flag in $(EXTRA_TARGET_FLAGS); do \
30756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30757 done; \
30758 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30761 "RANLIB=$${RANLIB}" \
30762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30763 install-info) \
30764 || exit 1
30766 @endif target-libstdc++-v3
30768 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
30769 maybe-install-pdf-target-libstdc++-v3:
30770 @if target-libstdc++-v3
30771 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
30773 install-pdf-target-libstdc++-v3: \
30774 configure-target-libstdc++-v3 \
30775 pdf-target-libstdc++-v3
30776 @: $(MAKE); $(unstage)
30777 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30778 r=`${PWD_COMMAND}`; export r; \
30779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30780 $(RAW_CXX_TARGET_EXPORTS) \
30781 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30782 for flag in $(EXTRA_TARGET_FLAGS); do \
30783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30784 done; \
30785 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30788 "RANLIB=$${RANLIB}" \
30789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30790 install-pdf) \
30791 || exit 1
30793 @endif target-libstdc++-v3
30795 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
30796 maybe-install-html-target-libstdc++-v3:
30797 @if target-libstdc++-v3
30798 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
30800 install-html-target-libstdc++-v3: \
30801 configure-target-libstdc++-v3 \
30802 html-target-libstdc++-v3
30803 @: $(MAKE); $(unstage)
30804 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30805 r=`${PWD_COMMAND}`; export r; \
30806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30807 $(RAW_CXX_TARGET_EXPORTS) \
30808 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30809 for flag in $(EXTRA_TARGET_FLAGS); do \
30810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30811 done; \
30812 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30815 "RANLIB=$${RANLIB}" \
30816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30817 install-html) \
30818 || exit 1
30820 @endif target-libstdc++-v3
30822 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
30823 maybe-installcheck-target-libstdc++-v3:
30824 @if target-libstdc++-v3
30825 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
30827 installcheck-target-libstdc++-v3: \
30828 configure-target-libstdc++-v3
30829 @: $(MAKE); $(unstage)
30830 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30831 r=`${PWD_COMMAND}`; export r; \
30832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30833 $(RAW_CXX_TARGET_EXPORTS) \
30834 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30835 for flag in $(EXTRA_TARGET_FLAGS); do \
30836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30837 done; \
30838 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30841 "RANLIB=$${RANLIB}" \
30842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30843 installcheck) \
30844 || exit 1
30846 @endif target-libstdc++-v3
30848 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
30849 maybe-mostlyclean-target-libstdc++-v3:
30850 @if target-libstdc++-v3
30851 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
30853 mostlyclean-target-libstdc++-v3:
30854 @: $(MAKE); $(unstage)
30855 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30856 r=`${PWD_COMMAND}`; export r; \
30857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30858 $(RAW_CXX_TARGET_EXPORTS) \
30859 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30860 for flag in $(EXTRA_TARGET_FLAGS); do \
30861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30862 done; \
30863 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30866 "RANLIB=$${RANLIB}" \
30867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30868 mostlyclean) \
30869 || exit 1
30871 @endif target-libstdc++-v3
30873 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
30874 maybe-clean-target-libstdc++-v3:
30875 @if target-libstdc++-v3
30876 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
30878 clean-target-libstdc++-v3:
30879 @: $(MAKE); $(unstage)
30880 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30881 r=`${PWD_COMMAND}`; export r; \
30882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30883 $(RAW_CXX_TARGET_EXPORTS) \
30884 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30885 for flag in $(EXTRA_TARGET_FLAGS); do \
30886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30887 done; \
30888 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30891 "RANLIB=$${RANLIB}" \
30892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30893 clean) \
30894 || exit 1
30896 @endif target-libstdc++-v3
30898 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
30899 maybe-distclean-target-libstdc++-v3:
30900 @if target-libstdc++-v3
30901 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
30903 distclean-target-libstdc++-v3:
30904 @: $(MAKE); $(unstage)
30905 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30906 r=`${PWD_COMMAND}`; export r; \
30907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30908 $(RAW_CXX_TARGET_EXPORTS) \
30909 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30910 for flag in $(EXTRA_TARGET_FLAGS); do \
30911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30912 done; \
30913 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30916 "RANLIB=$${RANLIB}" \
30917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30918 distclean) \
30919 || exit 1
30921 @endif target-libstdc++-v3
30923 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
30924 maybe-maintainer-clean-target-libstdc++-v3:
30925 @if target-libstdc++-v3
30926 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
30928 maintainer-clean-target-libstdc++-v3:
30929 @: $(MAKE); $(unstage)
30930 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30931 r=`${PWD_COMMAND}`; export r; \
30932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30933 $(RAW_CXX_TARGET_EXPORTS) \
30934 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30935 for flag in $(EXTRA_TARGET_FLAGS); do \
30936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30937 done; \
30938 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30941 "RANLIB=$${RANLIB}" \
30942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30943 maintainer-clean) \
30944 || exit 1
30946 @endif target-libstdc++-v3
30952 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
30953 maybe-configure-target-libmudflap:
30954 @if gcc-bootstrap
30955 configure-target-libmudflap: stage_current
30956 @endif gcc-bootstrap
30957 @if target-libmudflap
30958 maybe-configure-target-libmudflap: configure-target-libmudflap
30959 configure-target-libmudflap:
30960 @: $(MAKE); $(unstage)
30961 @r=`${PWD_COMMAND}`; export r; \
30962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30963 echo "Checking multilib configuration for libmudflap..."; \
30964 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
30965 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
30966 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
30967 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
30968 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
30969 else \
30970 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
30971 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
30972 fi; \
30973 else \
30974 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
30975 fi; \
30976 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
30977 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
30978 $(NORMAL_TARGET_EXPORTS) \
30979 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
30980 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
30981 case $(srcdir) in \
30982 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30983 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
30984 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30985 esac; \
30986 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
30987 libsrcdir="$$s/libmudflap"; \
30988 rm -f no-such-file || : ; \
30989 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30990 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30991 --target=${target_alias} $${srcdiroption} \
30992 || exit 1
30993 @endif target-libmudflap
30999 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
31000 maybe-all-target-libmudflap:
31001 @if gcc-bootstrap
31002 all-target-libmudflap: stage_current
31003 @endif gcc-bootstrap
31004 @if target-libmudflap
31005 TARGET-target-libmudflap=all
31006 maybe-all-target-libmudflap: all-target-libmudflap
31007 all-target-libmudflap: configure-target-libmudflap
31008 @: $(MAKE); $(unstage)
31009 @r=`${PWD_COMMAND}`; export r; \
31010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31011 $(NORMAL_TARGET_EXPORTS) \
31012 (cd $(TARGET_SUBDIR)/libmudflap && \
31013 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
31014 $(TARGET-target-libmudflap))
31015 @endif target-libmudflap
31021 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
31022 maybe-check-target-libmudflap:
31023 @if target-libmudflap
31024 maybe-check-target-libmudflap: check-target-libmudflap
31026 check-target-libmudflap:
31027 @: $(MAKE); $(unstage)
31028 @r=`${PWD_COMMAND}`; export r; \
31029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31030 $(NORMAL_TARGET_EXPORTS) \
31031 (cd $(TARGET_SUBDIR)/libmudflap && \
31032 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31034 @endif target-libmudflap
31036 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
31037 maybe-install-target-libmudflap:
31038 @if target-libmudflap
31039 maybe-install-target-libmudflap: install-target-libmudflap
31041 install-target-libmudflap: installdirs
31042 @: $(MAKE); $(unstage)
31043 @r=`${PWD_COMMAND}`; export r; \
31044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31045 $(NORMAL_TARGET_EXPORTS) \
31046 (cd $(TARGET_SUBDIR)/libmudflap && \
31047 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31049 @endif target-libmudflap
31051 .PHONY: install-strip-target-libmudflap maybe-install-strip-target-libmudflap
31052 maybe-install-strip-target-libmudflap:
31053 @if target-libmudflap
31054 maybe-install-strip-target-libmudflap: install-strip-target-libmudflap
31056 install-strip-target-libmudflap: installdirs
31057 @: $(MAKE); $(unstage)
31058 @r=`${PWD_COMMAND}`; export r; \
31059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31060 $(NORMAL_TARGET_EXPORTS) \
31061 (cd $(TARGET_SUBDIR)/libmudflap && \
31062 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31064 @endif target-libmudflap
31066 # Other targets (info, dvi, pdf, etc.)
31068 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
31069 maybe-info-target-libmudflap:
31070 @if target-libmudflap
31071 maybe-info-target-libmudflap: info-target-libmudflap
31073 info-target-libmudflap: \
31074 configure-target-libmudflap
31075 @: $(MAKE); $(unstage)
31076 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31077 r=`${PWD_COMMAND}`; export r; \
31078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31079 $(NORMAL_TARGET_EXPORTS) \
31080 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
31081 for flag in $(EXTRA_TARGET_FLAGS); do \
31082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31083 done; \
31084 (cd $(TARGET_SUBDIR)/libmudflap && \
31085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31087 "RANLIB=$${RANLIB}" \
31088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31089 info) \
31090 || exit 1
31092 @endif target-libmudflap
31094 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
31095 maybe-dvi-target-libmudflap:
31096 @if target-libmudflap
31097 maybe-dvi-target-libmudflap: dvi-target-libmudflap
31099 dvi-target-libmudflap: \
31100 configure-target-libmudflap
31101 @: $(MAKE); $(unstage)
31102 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31103 r=`${PWD_COMMAND}`; export r; \
31104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31105 $(NORMAL_TARGET_EXPORTS) \
31106 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
31107 for flag in $(EXTRA_TARGET_FLAGS); do \
31108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31109 done; \
31110 (cd $(TARGET_SUBDIR)/libmudflap && \
31111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31113 "RANLIB=$${RANLIB}" \
31114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31115 dvi) \
31116 || exit 1
31118 @endif target-libmudflap
31120 .PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap
31121 maybe-pdf-target-libmudflap:
31122 @if target-libmudflap
31123 maybe-pdf-target-libmudflap: pdf-target-libmudflap
31125 pdf-target-libmudflap: \
31126 configure-target-libmudflap
31127 @: $(MAKE); $(unstage)
31128 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31129 r=`${PWD_COMMAND}`; export r; \
31130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31131 $(NORMAL_TARGET_EXPORTS) \
31132 echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \
31133 for flag in $(EXTRA_TARGET_FLAGS); do \
31134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31135 done; \
31136 (cd $(TARGET_SUBDIR)/libmudflap && \
31137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31139 "RANLIB=$${RANLIB}" \
31140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31141 pdf) \
31142 || exit 1
31144 @endif target-libmudflap
31146 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
31147 maybe-html-target-libmudflap:
31148 @if target-libmudflap
31149 maybe-html-target-libmudflap: html-target-libmudflap
31151 html-target-libmudflap: \
31152 configure-target-libmudflap
31153 @: $(MAKE); $(unstage)
31154 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31155 r=`${PWD_COMMAND}`; export r; \
31156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31157 $(NORMAL_TARGET_EXPORTS) \
31158 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
31159 for flag in $(EXTRA_TARGET_FLAGS); do \
31160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31161 done; \
31162 (cd $(TARGET_SUBDIR)/libmudflap && \
31163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31165 "RANLIB=$${RANLIB}" \
31166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31167 html) \
31168 || exit 1
31170 @endif target-libmudflap
31172 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
31173 maybe-TAGS-target-libmudflap:
31174 @if target-libmudflap
31175 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
31177 TAGS-target-libmudflap: \
31178 configure-target-libmudflap
31179 @: $(MAKE); $(unstage)
31180 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31181 r=`${PWD_COMMAND}`; export r; \
31182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31183 $(NORMAL_TARGET_EXPORTS) \
31184 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
31185 for flag in $(EXTRA_TARGET_FLAGS); do \
31186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31187 done; \
31188 (cd $(TARGET_SUBDIR)/libmudflap && \
31189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31191 "RANLIB=$${RANLIB}" \
31192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31193 TAGS) \
31194 || exit 1
31196 @endif target-libmudflap
31198 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
31199 maybe-install-info-target-libmudflap:
31200 @if target-libmudflap
31201 maybe-install-info-target-libmudflap: install-info-target-libmudflap
31203 install-info-target-libmudflap: \
31204 configure-target-libmudflap \
31205 info-target-libmudflap
31206 @: $(MAKE); $(unstage)
31207 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31208 r=`${PWD_COMMAND}`; export r; \
31209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31210 $(NORMAL_TARGET_EXPORTS) \
31211 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
31212 for flag in $(EXTRA_TARGET_FLAGS); do \
31213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31214 done; \
31215 (cd $(TARGET_SUBDIR)/libmudflap && \
31216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31218 "RANLIB=$${RANLIB}" \
31219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31220 install-info) \
31221 || exit 1
31223 @endif target-libmudflap
31225 .PHONY: maybe-install-pdf-target-libmudflap install-pdf-target-libmudflap
31226 maybe-install-pdf-target-libmudflap:
31227 @if target-libmudflap
31228 maybe-install-pdf-target-libmudflap: install-pdf-target-libmudflap
31230 install-pdf-target-libmudflap: \
31231 configure-target-libmudflap \
31232 pdf-target-libmudflap
31233 @: $(MAKE); $(unstage)
31234 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31235 r=`${PWD_COMMAND}`; export r; \
31236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31237 $(NORMAL_TARGET_EXPORTS) \
31238 echo "Doing install-pdf in $(TARGET_SUBDIR)/libmudflap" ; \
31239 for flag in $(EXTRA_TARGET_FLAGS); do \
31240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31241 done; \
31242 (cd $(TARGET_SUBDIR)/libmudflap && \
31243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31245 "RANLIB=$${RANLIB}" \
31246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31247 install-pdf) \
31248 || exit 1
31250 @endif target-libmudflap
31252 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
31253 maybe-install-html-target-libmudflap:
31254 @if target-libmudflap
31255 maybe-install-html-target-libmudflap: install-html-target-libmudflap
31257 install-html-target-libmudflap: \
31258 configure-target-libmudflap \
31259 html-target-libmudflap
31260 @: $(MAKE); $(unstage)
31261 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31262 r=`${PWD_COMMAND}`; export r; \
31263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31264 $(NORMAL_TARGET_EXPORTS) \
31265 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
31266 for flag in $(EXTRA_TARGET_FLAGS); do \
31267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31268 done; \
31269 (cd $(TARGET_SUBDIR)/libmudflap && \
31270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31272 "RANLIB=$${RANLIB}" \
31273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31274 install-html) \
31275 || exit 1
31277 @endif target-libmudflap
31279 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
31280 maybe-installcheck-target-libmudflap:
31281 @if target-libmudflap
31282 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
31284 installcheck-target-libmudflap: \
31285 configure-target-libmudflap
31286 @: $(MAKE); $(unstage)
31287 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31288 r=`${PWD_COMMAND}`; export r; \
31289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31290 $(NORMAL_TARGET_EXPORTS) \
31291 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
31292 for flag in $(EXTRA_TARGET_FLAGS); do \
31293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31294 done; \
31295 (cd $(TARGET_SUBDIR)/libmudflap && \
31296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31298 "RANLIB=$${RANLIB}" \
31299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31300 installcheck) \
31301 || exit 1
31303 @endif target-libmudflap
31305 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
31306 maybe-mostlyclean-target-libmudflap:
31307 @if target-libmudflap
31308 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
31310 mostlyclean-target-libmudflap:
31311 @: $(MAKE); $(unstage)
31312 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31313 r=`${PWD_COMMAND}`; export r; \
31314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31315 $(NORMAL_TARGET_EXPORTS) \
31316 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
31317 for flag in $(EXTRA_TARGET_FLAGS); do \
31318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31319 done; \
31320 (cd $(TARGET_SUBDIR)/libmudflap && \
31321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31323 "RANLIB=$${RANLIB}" \
31324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31325 mostlyclean) \
31326 || exit 1
31328 @endif target-libmudflap
31330 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
31331 maybe-clean-target-libmudflap:
31332 @if target-libmudflap
31333 maybe-clean-target-libmudflap: clean-target-libmudflap
31335 clean-target-libmudflap:
31336 @: $(MAKE); $(unstage)
31337 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31338 r=`${PWD_COMMAND}`; export r; \
31339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31340 $(NORMAL_TARGET_EXPORTS) \
31341 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
31342 for flag in $(EXTRA_TARGET_FLAGS); do \
31343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31344 done; \
31345 (cd $(TARGET_SUBDIR)/libmudflap && \
31346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31348 "RANLIB=$${RANLIB}" \
31349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31350 clean) \
31351 || exit 1
31353 @endif target-libmudflap
31355 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
31356 maybe-distclean-target-libmudflap:
31357 @if target-libmudflap
31358 maybe-distclean-target-libmudflap: distclean-target-libmudflap
31360 distclean-target-libmudflap:
31361 @: $(MAKE); $(unstage)
31362 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31363 r=`${PWD_COMMAND}`; export r; \
31364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31365 $(NORMAL_TARGET_EXPORTS) \
31366 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
31367 for flag in $(EXTRA_TARGET_FLAGS); do \
31368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31369 done; \
31370 (cd $(TARGET_SUBDIR)/libmudflap && \
31371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31373 "RANLIB=$${RANLIB}" \
31374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31375 distclean) \
31376 || exit 1
31378 @endif target-libmudflap
31380 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
31381 maybe-maintainer-clean-target-libmudflap:
31382 @if target-libmudflap
31383 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
31385 maintainer-clean-target-libmudflap:
31386 @: $(MAKE); $(unstage)
31387 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31388 r=`${PWD_COMMAND}`; export r; \
31389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31390 $(NORMAL_TARGET_EXPORTS) \
31391 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
31392 for flag in $(EXTRA_TARGET_FLAGS); do \
31393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31394 done; \
31395 (cd $(TARGET_SUBDIR)/libmudflap && \
31396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31398 "RANLIB=$${RANLIB}" \
31399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31400 maintainer-clean) \
31401 || exit 1
31403 @endif target-libmudflap
31409 .PHONY: configure-target-libssp maybe-configure-target-libssp
31410 maybe-configure-target-libssp:
31411 @if gcc-bootstrap
31412 configure-target-libssp: stage_current
31413 @endif gcc-bootstrap
31414 @if target-libssp
31415 maybe-configure-target-libssp: configure-target-libssp
31416 configure-target-libssp:
31417 @: $(MAKE); $(unstage)
31418 @r=`${PWD_COMMAND}`; export r; \
31419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31420 echo "Checking multilib configuration for libssp..."; \
31421 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
31422 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
31423 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
31424 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
31425 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
31426 else \
31427 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
31428 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
31429 fi; \
31430 else \
31431 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
31432 fi; \
31433 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
31434 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
31435 $(NORMAL_TARGET_EXPORTS) \
31436 echo Configuring in $(TARGET_SUBDIR)/libssp; \
31437 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
31438 case $(srcdir) in \
31439 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31440 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
31441 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31442 esac; \
31443 srcdiroption="--srcdir=$${topdir}/libssp"; \
31444 libsrcdir="$$s/libssp"; \
31445 rm -f no-such-file || : ; \
31446 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31447 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31448 --target=${target_alias} $${srcdiroption} \
31449 || exit 1
31450 @endif target-libssp
31456 .PHONY: all-target-libssp maybe-all-target-libssp
31457 maybe-all-target-libssp:
31458 @if gcc-bootstrap
31459 all-target-libssp: stage_current
31460 @endif gcc-bootstrap
31461 @if target-libssp
31462 TARGET-target-libssp=all
31463 maybe-all-target-libssp: all-target-libssp
31464 all-target-libssp: configure-target-libssp
31465 @: $(MAKE); $(unstage)
31466 @r=`${PWD_COMMAND}`; export r; \
31467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31468 $(NORMAL_TARGET_EXPORTS) \
31469 (cd $(TARGET_SUBDIR)/libssp && \
31470 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
31471 $(TARGET-target-libssp))
31472 @endif target-libssp
31478 .PHONY: check-target-libssp maybe-check-target-libssp
31479 maybe-check-target-libssp:
31480 @if target-libssp
31481 maybe-check-target-libssp: check-target-libssp
31483 check-target-libssp:
31484 @: $(MAKE); $(unstage)
31485 @r=`${PWD_COMMAND}`; export r; \
31486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31487 $(NORMAL_TARGET_EXPORTS) \
31488 (cd $(TARGET_SUBDIR)/libssp && \
31489 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31491 @endif target-libssp
31493 .PHONY: install-target-libssp maybe-install-target-libssp
31494 maybe-install-target-libssp:
31495 @if target-libssp
31496 maybe-install-target-libssp: install-target-libssp
31498 install-target-libssp: installdirs
31499 @: $(MAKE); $(unstage)
31500 @r=`${PWD_COMMAND}`; export r; \
31501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31502 $(NORMAL_TARGET_EXPORTS) \
31503 (cd $(TARGET_SUBDIR)/libssp && \
31504 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31506 @endif target-libssp
31508 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
31509 maybe-install-strip-target-libssp:
31510 @if target-libssp
31511 maybe-install-strip-target-libssp: install-strip-target-libssp
31513 install-strip-target-libssp: installdirs
31514 @: $(MAKE); $(unstage)
31515 @r=`${PWD_COMMAND}`; export r; \
31516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31517 $(NORMAL_TARGET_EXPORTS) \
31518 (cd $(TARGET_SUBDIR)/libssp && \
31519 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31521 @endif target-libssp
31523 # Other targets (info, dvi, pdf, etc.)
31525 .PHONY: maybe-info-target-libssp info-target-libssp
31526 maybe-info-target-libssp:
31527 @if target-libssp
31528 maybe-info-target-libssp: info-target-libssp
31530 info-target-libssp: \
31531 configure-target-libssp
31532 @: $(MAKE); $(unstage)
31533 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31534 r=`${PWD_COMMAND}`; export r; \
31535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31536 $(NORMAL_TARGET_EXPORTS) \
31537 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
31538 for flag in $(EXTRA_TARGET_FLAGS); do \
31539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31540 done; \
31541 (cd $(TARGET_SUBDIR)/libssp && \
31542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31544 "RANLIB=$${RANLIB}" \
31545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31546 info) \
31547 || exit 1
31549 @endif target-libssp
31551 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
31552 maybe-dvi-target-libssp:
31553 @if target-libssp
31554 maybe-dvi-target-libssp: dvi-target-libssp
31556 dvi-target-libssp: \
31557 configure-target-libssp
31558 @: $(MAKE); $(unstage)
31559 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31560 r=`${PWD_COMMAND}`; export r; \
31561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31562 $(NORMAL_TARGET_EXPORTS) \
31563 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
31564 for flag in $(EXTRA_TARGET_FLAGS); do \
31565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31566 done; \
31567 (cd $(TARGET_SUBDIR)/libssp && \
31568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31570 "RANLIB=$${RANLIB}" \
31571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31572 dvi) \
31573 || exit 1
31575 @endif target-libssp
31577 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
31578 maybe-pdf-target-libssp:
31579 @if target-libssp
31580 maybe-pdf-target-libssp: pdf-target-libssp
31582 pdf-target-libssp: \
31583 configure-target-libssp
31584 @: $(MAKE); $(unstage)
31585 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31586 r=`${PWD_COMMAND}`; export r; \
31587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31588 $(NORMAL_TARGET_EXPORTS) \
31589 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
31590 for flag in $(EXTRA_TARGET_FLAGS); do \
31591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31592 done; \
31593 (cd $(TARGET_SUBDIR)/libssp && \
31594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31596 "RANLIB=$${RANLIB}" \
31597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31598 pdf) \
31599 || exit 1
31601 @endif target-libssp
31603 .PHONY: maybe-html-target-libssp html-target-libssp
31604 maybe-html-target-libssp:
31605 @if target-libssp
31606 maybe-html-target-libssp: html-target-libssp
31608 html-target-libssp: \
31609 configure-target-libssp
31610 @: $(MAKE); $(unstage)
31611 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31612 r=`${PWD_COMMAND}`; export r; \
31613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31614 $(NORMAL_TARGET_EXPORTS) \
31615 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
31616 for flag in $(EXTRA_TARGET_FLAGS); do \
31617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31618 done; \
31619 (cd $(TARGET_SUBDIR)/libssp && \
31620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31622 "RANLIB=$${RANLIB}" \
31623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31624 html) \
31625 || exit 1
31627 @endif target-libssp
31629 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
31630 maybe-TAGS-target-libssp:
31631 @if target-libssp
31632 maybe-TAGS-target-libssp: TAGS-target-libssp
31634 TAGS-target-libssp: \
31635 configure-target-libssp
31636 @: $(MAKE); $(unstage)
31637 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31638 r=`${PWD_COMMAND}`; export r; \
31639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31640 $(NORMAL_TARGET_EXPORTS) \
31641 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
31642 for flag in $(EXTRA_TARGET_FLAGS); do \
31643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31644 done; \
31645 (cd $(TARGET_SUBDIR)/libssp && \
31646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31648 "RANLIB=$${RANLIB}" \
31649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31650 TAGS) \
31651 || exit 1
31653 @endif target-libssp
31655 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
31656 maybe-install-info-target-libssp:
31657 @if target-libssp
31658 maybe-install-info-target-libssp: install-info-target-libssp
31660 install-info-target-libssp: \
31661 configure-target-libssp \
31662 info-target-libssp
31663 @: $(MAKE); $(unstage)
31664 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31665 r=`${PWD_COMMAND}`; export r; \
31666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31667 $(NORMAL_TARGET_EXPORTS) \
31668 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
31669 for flag in $(EXTRA_TARGET_FLAGS); do \
31670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31671 done; \
31672 (cd $(TARGET_SUBDIR)/libssp && \
31673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31675 "RANLIB=$${RANLIB}" \
31676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31677 install-info) \
31678 || exit 1
31680 @endif target-libssp
31682 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
31683 maybe-install-pdf-target-libssp:
31684 @if target-libssp
31685 maybe-install-pdf-target-libssp: install-pdf-target-libssp
31687 install-pdf-target-libssp: \
31688 configure-target-libssp \
31689 pdf-target-libssp
31690 @: $(MAKE); $(unstage)
31691 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31692 r=`${PWD_COMMAND}`; export r; \
31693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31694 $(NORMAL_TARGET_EXPORTS) \
31695 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \
31696 for flag in $(EXTRA_TARGET_FLAGS); do \
31697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31698 done; \
31699 (cd $(TARGET_SUBDIR)/libssp && \
31700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31702 "RANLIB=$${RANLIB}" \
31703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31704 install-pdf) \
31705 || exit 1
31707 @endif target-libssp
31709 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
31710 maybe-install-html-target-libssp:
31711 @if target-libssp
31712 maybe-install-html-target-libssp: install-html-target-libssp
31714 install-html-target-libssp: \
31715 configure-target-libssp \
31716 html-target-libssp
31717 @: $(MAKE); $(unstage)
31718 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31719 r=`${PWD_COMMAND}`; export r; \
31720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31721 $(NORMAL_TARGET_EXPORTS) \
31722 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
31723 for flag in $(EXTRA_TARGET_FLAGS); do \
31724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31725 done; \
31726 (cd $(TARGET_SUBDIR)/libssp && \
31727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31729 "RANLIB=$${RANLIB}" \
31730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31731 install-html) \
31732 || exit 1
31734 @endif target-libssp
31736 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
31737 maybe-installcheck-target-libssp:
31738 @if target-libssp
31739 maybe-installcheck-target-libssp: installcheck-target-libssp
31741 installcheck-target-libssp: \
31742 configure-target-libssp
31743 @: $(MAKE); $(unstage)
31744 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31745 r=`${PWD_COMMAND}`; export r; \
31746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31747 $(NORMAL_TARGET_EXPORTS) \
31748 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
31749 for flag in $(EXTRA_TARGET_FLAGS); do \
31750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31751 done; \
31752 (cd $(TARGET_SUBDIR)/libssp && \
31753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31755 "RANLIB=$${RANLIB}" \
31756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31757 installcheck) \
31758 || exit 1
31760 @endif target-libssp
31762 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
31763 maybe-mostlyclean-target-libssp:
31764 @if target-libssp
31765 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
31767 mostlyclean-target-libssp:
31768 @: $(MAKE); $(unstage)
31769 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31770 r=`${PWD_COMMAND}`; export r; \
31771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31772 $(NORMAL_TARGET_EXPORTS) \
31773 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
31774 for flag in $(EXTRA_TARGET_FLAGS); do \
31775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31776 done; \
31777 (cd $(TARGET_SUBDIR)/libssp && \
31778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31780 "RANLIB=$${RANLIB}" \
31781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31782 mostlyclean) \
31783 || exit 1
31785 @endif target-libssp
31787 .PHONY: maybe-clean-target-libssp clean-target-libssp
31788 maybe-clean-target-libssp:
31789 @if target-libssp
31790 maybe-clean-target-libssp: clean-target-libssp
31792 clean-target-libssp:
31793 @: $(MAKE); $(unstage)
31794 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31795 r=`${PWD_COMMAND}`; export r; \
31796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31797 $(NORMAL_TARGET_EXPORTS) \
31798 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
31799 for flag in $(EXTRA_TARGET_FLAGS); do \
31800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31801 done; \
31802 (cd $(TARGET_SUBDIR)/libssp && \
31803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31805 "RANLIB=$${RANLIB}" \
31806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31807 clean) \
31808 || exit 1
31810 @endif target-libssp
31812 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
31813 maybe-distclean-target-libssp:
31814 @if target-libssp
31815 maybe-distclean-target-libssp: distclean-target-libssp
31817 distclean-target-libssp:
31818 @: $(MAKE); $(unstage)
31819 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31820 r=`${PWD_COMMAND}`; export r; \
31821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31822 $(NORMAL_TARGET_EXPORTS) \
31823 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
31824 for flag in $(EXTRA_TARGET_FLAGS); do \
31825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31826 done; \
31827 (cd $(TARGET_SUBDIR)/libssp && \
31828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31830 "RANLIB=$${RANLIB}" \
31831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31832 distclean) \
31833 || exit 1
31835 @endif target-libssp
31837 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
31838 maybe-maintainer-clean-target-libssp:
31839 @if target-libssp
31840 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
31842 maintainer-clean-target-libssp:
31843 @: $(MAKE); $(unstage)
31844 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31845 r=`${PWD_COMMAND}`; export r; \
31846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31847 $(NORMAL_TARGET_EXPORTS) \
31848 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
31849 for flag in $(EXTRA_TARGET_FLAGS); do \
31850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31851 done; \
31852 (cd $(TARGET_SUBDIR)/libssp && \
31853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31855 "RANLIB=$${RANLIB}" \
31856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31857 maintainer-clean) \
31858 || exit 1
31860 @endif target-libssp
31866 .PHONY: configure-target-newlib maybe-configure-target-newlib
31867 maybe-configure-target-newlib:
31868 @if gcc-bootstrap
31869 configure-target-newlib: stage_current
31870 @endif gcc-bootstrap
31871 @if target-newlib
31872 maybe-configure-target-newlib: configure-target-newlib
31873 configure-target-newlib:
31874 @: $(MAKE); $(unstage)
31875 @r=`${PWD_COMMAND}`; export r; \
31876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31877 echo "Checking multilib configuration for newlib..."; \
31878 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
31879 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
31880 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
31881 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
31882 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
31883 else \
31884 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
31885 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
31886 fi; \
31887 else \
31888 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
31889 fi; \
31890 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
31891 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
31892 $(NORMAL_TARGET_EXPORTS) \
31893 echo Configuring in $(TARGET_SUBDIR)/newlib; \
31894 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
31895 case $(srcdir) in \
31896 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31897 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
31898 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31899 esac; \
31900 srcdiroption="--srcdir=$${topdir}/newlib"; \
31901 libsrcdir="$$s/newlib"; \
31902 rm -f no-such-file || : ; \
31903 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31904 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31905 --target=${target_alias} $${srcdiroption} \
31906 || exit 1
31907 @endif target-newlib
31913 .PHONY: all-target-newlib maybe-all-target-newlib
31914 maybe-all-target-newlib:
31915 @if gcc-bootstrap
31916 all-target-newlib: stage_current
31917 @endif gcc-bootstrap
31918 @if target-newlib
31919 TARGET-target-newlib=all
31920 maybe-all-target-newlib: all-target-newlib
31921 all-target-newlib: configure-target-newlib
31922 @: $(MAKE); $(unstage)
31923 @r=`${PWD_COMMAND}`; export r; \
31924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31925 $(NORMAL_TARGET_EXPORTS) \
31926 (cd $(TARGET_SUBDIR)/newlib && \
31927 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
31928 $(TARGET-target-newlib))
31929 @endif target-newlib
31935 .PHONY: check-target-newlib maybe-check-target-newlib
31936 maybe-check-target-newlib:
31937 @if target-newlib
31938 maybe-check-target-newlib: check-target-newlib
31940 check-target-newlib:
31941 @: $(MAKE); $(unstage)
31942 @r=`${PWD_COMMAND}`; export r; \
31943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31944 $(NORMAL_TARGET_EXPORTS) \
31945 (cd $(TARGET_SUBDIR)/newlib && \
31946 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31948 @endif target-newlib
31950 .PHONY: install-target-newlib maybe-install-target-newlib
31951 maybe-install-target-newlib:
31952 @if target-newlib
31953 maybe-install-target-newlib: install-target-newlib
31955 install-target-newlib: installdirs
31956 @: $(MAKE); $(unstage)
31957 @r=`${PWD_COMMAND}`; export r; \
31958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31959 $(NORMAL_TARGET_EXPORTS) \
31960 (cd $(TARGET_SUBDIR)/newlib && \
31961 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31963 @endif target-newlib
31965 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
31966 maybe-install-strip-target-newlib:
31967 @if target-newlib
31968 maybe-install-strip-target-newlib: install-strip-target-newlib
31970 install-strip-target-newlib: installdirs
31971 @: $(MAKE); $(unstage)
31972 @r=`${PWD_COMMAND}`; export r; \
31973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31974 $(NORMAL_TARGET_EXPORTS) \
31975 (cd $(TARGET_SUBDIR)/newlib && \
31976 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31978 @endif target-newlib
31980 # Other targets (info, dvi, pdf, etc.)
31982 .PHONY: maybe-info-target-newlib info-target-newlib
31983 maybe-info-target-newlib:
31984 @if target-newlib
31985 maybe-info-target-newlib: info-target-newlib
31987 info-target-newlib: \
31988 configure-target-newlib
31989 @: $(MAKE); $(unstage)
31990 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
31991 r=`${PWD_COMMAND}`; export r; \
31992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31993 $(NORMAL_TARGET_EXPORTS) \
31994 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
31995 for flag in $(EXTRA_TARGET_FLAGS); do \
31996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31997 done; \
31998 (cd $(TARGET_SUBDIR)/newlib && \
31999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32001 "RANLIB=$${RANLIB}" \
32002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32003 info) \
32004 || exit 1
32006 @endif target-newlib
32008 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
32009 maybe-dvi-target-newlib:
32010 @if target-newlib
32011 maybe-dvi-target-newlib: dvi-target-newlib
32013 dvi-target-newlib: \
32014 configure-target-newlib
32015 @: $(MAKE); $(unstage)
32016 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32017 r=`${PWD_COMMAND}`; export r; \
32018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32019 $(NORMAL_TARGET_EXPORTS) \
32020 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
32021 for flag in $(EXTRA_TARGET_FLAGS); do \
32022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32023 done; \
32024 (cd $(TARGET_SUBDIR)/newlib && \
32025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32027 "RANLIB=$${RANLIB}" \
32028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32029 dvi) \
32030 || exit 1
32032 @endif target-newlib
32034 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
32035 maybe-pdf-target-newlib:
32036 @if target-newlib
32037 maybe-pdf-target-newlib: pdf-target-newlib
32039 pdf-target-newlib: \
32040 configure-target-newlib
32041 @: $(MAKE); $(unstage)
32042 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32043 r=`${PWD_COMMAND}`; export r; \
32044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32045 $(NORMAL_TARGET_EXPORTS) \
32046 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
32047 for flag in $(EXTRA_TARGET_FLAGS); do \
32048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32049 done; \
32050 (cd $(TARGET_SUBDIR)/newlib && \
32051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32053 "RANLIB=$${RANLIB}" \
32054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32055 pdf) \
32056 || exit 1
32058 @endif target-newlib
32060 .PHONY: maybe-html-target-newlib html-target-newlib
32061 maybe-html-target-newlib:
32062 @if target-newlib
32063 maybe-html-target-newlib: html-target-newlib
32065 html-target-newlib: \
32066 configure-target-newlib
32067 @: $(MAKE); $(unstage)
32068 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32069 r=`${PWD_COMMAND}`; export r; \
32070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32071 $(NORMAL_TARGET_EXPORTS) \
32072 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
32073 for flag in $(EXTRA_TARGET_FLAGS); do \
32074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32075 done; \
32076 (cd $(TARGET_SUBDIR)/newlib && \
32077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32079 "RANLIB=$${RANLIB}" \
32080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32081 html) \
32082 || exit 1
32084 @endif target-newlib
32086 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
32087 maybe-TAGS-target-newlib:
32088 @if target-newlib
32089 maybe-TAGS-target-newlib: TAGS-target-newlib
32091 TAGS-target-newlib: \
32092 configure-target-newlib
32093 @: $(MAKE); $(unstage)
32094 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32095 r=`${PWD_COMMAND}`; export r; \
32096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32097 $(NORMAL_TARGET_EXPORTS) \
32098 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
32099 for flag in $(EXTRA_TARGET_FLAGS); do \
32100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32101 done; \
32102 (cd $(TARGET_SUBDIR)/newlib && \
32103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32105 "RANLIB=$${RANLIB}" \
32106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32107 TAGS) \
32108 || exit 1
32110 @endif target-newlib
32112 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
32113 maybe-install-info-target-newlib:
32114 @if target-newlib
32115 maybe-install-info-target-newlib: install-info-target-newlib
32117 install-info-target-newlib: \
32118 configure-target-newlib \
32119 info-target-newlib
32120 @: $(MAKE); $(unstage)
32121 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32122 r=`${PWD_COMMAND}`; export r; \
32123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32124 $(NORMAL_TARGET_EXPORTS) \
32125 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
32126 for flag in $(EXTRA_TARGET_FLAGS); do \
32127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32128 done; \
32129 (cd $(TARGET_SUBDIR)/newlib && \
32130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32132 "RANLIB=$${RANLIB}" \
32133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32134 install-info) \
32135 || exit 1
32137 @endif target-newlib
32139 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
32140 maybe-install-pdf-target-newlib:
32141 @if target-newlib
32142 maybe-install-pdf-target-newlib: install-pdf-target-newlib
32144 install-pdf-target-newlib: \
32145 configure-target-newlib \
32146 pdf-target-newlib
32147 @: $(MAKE); $(unstage)
32148 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32149 r=`${PWD_COMMAND}`; export r; \
32150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32151 $(NORMAL_TARGET_EXPORTS) \
32152 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \
32153 for flag in $(EXTRA_TARGET_FLAGS); do \
32154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32155 done; \
32156 (cd $(TARGET_SUBDIR)/newlib && \
32157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32159 "RANLIB=$${RANLIB}" \
32160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32161 install-pdf) \
32162 || exit 1
32164 @endif target-newlib
32166 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
32167 maybe-install-html-target-newlib:
32168 @if target-newlib
32169 maybe-install-html-target-newlib: install-html-target-newlib
32171 install-html-target-newlib: \
32172 configure-target-newlib \
32173 html-target-newlib
32174 @: $(MAKE); $(unstage)
32175 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32176 r=`${PWD_COMMAND}`; export r; \
32177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32178 $(NORMAL_TARGET_EXPORTS) \
32179 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
32180 for flag in $(EXTRA_TARGET_FLAGS); do \
32181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32182 done; \
32183 (cd $(TARGET_SUBDIR)/newlib && \
32184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32186 "RANLIB=$${RANLIB}" \
32187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32188 install-html) \
32189 || exit 1
32191 @endif target-newlib
32193 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
32194 maybe-installcheck-target-newlib:
32195 @if target-newlib
32196 maybe-installcheck-target-newlib: installcheck-target-newlib
32198 installcheck-target-newlib: \
32199 configure-target-newlib
32200 @: $(MAKE); $(unstage)
32201 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32202 r=`${PWD_COMMAND}`; export r; \
32203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32204 $(NORMAL_TARGET_EXPORTS) \
32205 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
32206 for flag in $(EXTRA_TARGET_FLAGS); do \
32207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32208 done; \
32209 (cd $(TARGET_SUBDIR)/newlib && \
32210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32212 "RANLIB=$${RANLIB}" \
32213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32214 installcheck) \
32215 || exit 1
32217 @endif target-newlib
32219 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
32220 maybe-mostlyclean-target-newlib:
32221 @if target-newlib
32222 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
32224 mostlyclean-target-newlib:
32225 @: $(MAKE); $(unstage)
32226 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32227 r=`${PWD_COMMAND}`; export r; \
32228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32229 $(NORMAL_TARGET_EXPORTS) \
32230 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
32231 for flag in $(EXTRA_TARGET_FLAGS); do \
32232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32233 done; \
32234 (cd $(TARGET_SUBDIR)/newlib && \
32235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32237 "RANLIB=$${RANLIB}" \
32238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32239 mostlyclean) \
32240 || exit 1
32242 @endif target-newlib
32244 .PHONY: maybe-clean-target-newlib clean-target-newlib
32245 maybe-clean-target-newlib:
32246 @if target-newlib
32247 maybe-clean-target-newlib: clean-target-newlib
32249 clean-target-newlib:
32250 @: $(MAKE); $(unstage)
32251 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32252 r=`${PWD_COMMAND}`; export r; \
32253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32254 $(NORMAL_TARGET_EXPORTS) \
32255 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
32256 for flag in $(EXTRA_TARGET_FLAGS); do \
32257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32258 done; \
32259 (cd $(TARGET_SUBDIR)/newlib && \
32260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32262 "RANLIB=$${RANLIB}" \
32263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32264 clean) \
32265 || exit 1
32267 @endif target-newlib
32269 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
32270 maybe-distclean-target-newlib:
32271 @if target-newlib
32272 maybe-distclean-target-newlib: distclean-target-newlib
32274 distclean-target-newlib:
32275 @: $(MAKE); $(unstage)
32276 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32277 r=`${PWD_COMMAND}`; export r; \
32278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32279 $(NORMAL_TARGET_EXPORTS) \
32280 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
32281 for flag in $(EXTRA_TARGET_FLAGS); do \
32282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32283 done; \
32284 (cd $(TARGET_SUBDIR)/newlib && \
32285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32287 "RANLIB=$${RANLIB}" \
32288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32289 distclean) \
32290 || exit 1
32292 @endif target-newlib
32294 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
32295 maybe-maintainer-clean-target-newlib:
32296 @if target-newlib
32297 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
32299 maintainer-clean-target-newlib:
32300 @: $(MAKE); $(unstage)
32301 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32302 r=`${PWD_COMMAND}`; export r; \
32303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32304 $(NORMAL_TARGET_EXPORTS) \
32305 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
32306 for flag in $(EXTRA_TARGET_FLAGS); do \
32307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32308 done; \
32309 (cd $(TARGET_SUBDIR)/newlib && \
32310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32312 "RANLIB=$${RANLIB}" \
32313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32314 maintainer-clean) \
32315 || exit 1
32317 @endif target-newlib
32323 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
32324 maybe-configure-target-libgcc:
32325 @if gcc-bootstrap
32326 configure-target-libgcc: stage_current
32327 @endif gcc-bootstrap
32328 @if target-libgcc
32329 maybe-configure-target-libgcc: configure-target-libgcc
32330 configure-target-libgcc:
32331 @r=`${PWD_COMMAND}`; export r; \
32332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32333 echo "Checking multilib configuration for libgcc..."; \
32334 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32335 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32336 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32337 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32338 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32339 else \
32340 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32341 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32342 fi; \
32343 else \
32344 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32345 fi; \
32346 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32347 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32348 $(NORMAL_TARGET_EXPORTS) \
32349 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
32350 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
32351 case $(srcdir) in \
32352 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32353 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32354 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32355 esac; \
32356 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32357 libsrcdir="$$s/libgcc"; \
32358 rm -f no-such-file || : ; \
32359 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32360 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32361 --target=${target_alias} $${srcdiroption} \
32362 || exit 1
32363 @endif target-libgcc
32367 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
32368 maybe-configure-stage1-target-libgcc:
32369 @if target-libgcc-bootstrap
32370 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
32371 configure-stage1-target-libgcc:
32372 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32373 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32374 @r=`${PWD_COMMAND}`; export r; \
32375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32376 TFLAGS="$(STAGE1_TFLAGS)"; \
32377 echo "Checking multilib configuration for libgcc..."; \
32378 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32379 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32380 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32381 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32382 else \
32383 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32384 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32385 fi; \
32386 else \
32387 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32388 fi; \
32389 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32390 $(NORMAL_TARGET_EXPORTS) \
32391 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32392 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32393 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32394 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
32395 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32396 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32397 case $(srcdir) in \
32398 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32399 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32400 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32401 esac; \
32402 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32403 libsrcdir="$$s/libgcc"; \
32404 $(SHELL) $${libsrcdir}/configure \
32405 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32406 --target=${target_alias} $${srcdiroption} \
32407 $(STAGE1_CONFIGURE_FLAGS)
32408 @endif target-libgcc-bootstrap
32410 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
32411 maybe-configure-stage2-target-libgcc:
32412 @if target-libgcc-bootstrap
32413 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
32414 configure-stage2-target-libgcc:
32415 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32416 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32417 @r=`${PWD_COMMAND}`; export r; \
32418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32419 TFLAGS="$(STAGE2_TFLAGS)"; \
32420 echo "Checking multilib configuration for libgcc..."; \
32421 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32422 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32423 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32424 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32425 else \
32426 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32427 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32428 fi; \
32429 else \
32430 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32431 fi; \
32432 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32433 $(NORMAL_TARGET_EXPORTS) \
32435 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32436 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32437 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32438 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
32439 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32440 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32441 case $(srcdir) in \
32442 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32443 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32444 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32445 esac; \
32446 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32447 libsrcdir="$$s/libgcc"; \
32448 $(SHELL) $${libsrcdir}/configure \
32449 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32450 --target=${target_alias} $${srcdiroption} \
32451 --with-build-libsubdir=$(HOST_SUBDIR) \
32452 $(STAGE2_CONFIGURE_FLAGS)
32453 @endif target-libgcc-bootstrap
32455 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
32456 maybe-configure-stage3-target-libgcc:
32457 @if target-libgcc-bootstrap
32458 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
32459 configure-stage3-target-libgcc:
32460 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32461 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32462 @r=`${PWD_COMMAND}`; export r; \
32463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32464 TFLAGS="$(STAGE3_TFLAGS)"; \
32465 echo "Checking multilib configuration for libgcc..."; \
32466 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32467 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32468 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32469 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32470 else \
32471 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32472 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32473 fi; \
32474 else \
32475 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32476 fi; \
32477 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32478 $(NORMAL_TARGET_EXPORTS) \
32480 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32481 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32482 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32483 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
32484 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32485 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32486 case $(srcdir) in \
32487 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32488 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32489 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32490 esac; \
32491 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32492 libsrcdir="$$s/libgcc"; \
32493 $(SHELL) $${libsrcdir}/configure \
32494 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32495 --target=${target_alias} $${srcdiroption} \
32496 --with-build-libsubdir=$(HOST_SUBDIR) \
32497 $(STAGE3_CONFIGURE_FLAGS)
32498 @endif target-libgcc-bootstrap
32500 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
32501 maybe-configure-stage4-target-libgcc:
32502 @if target-libgcc-bootstrap
32503 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
32504 configure-stage4-target-libgcc:
32505 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32506 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32507 @r=`${PWD_COMMAND}`; export r; \
32508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32509 TFLAGS="$(STAGE4_TFLAGS)"; \
32510 echo "Checking multilib configuration for libgcc..."; \
32511 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32512 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32513 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32514 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32515 else \
32516 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32517 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32518 fi; \
32519 else \
32520 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32521 fi; \
32522 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32523 $(NORMAL_TARGET_EXPORTS) \
32525 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32526 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32527 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32528 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
32529 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32530 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32531 case $(srcdir) in \
32532 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32533 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32534 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32535 esac; \
32536 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32537 libsrcdir="$$s/libgcc"; \
32538 $(SHELL) $${libsrcdir}/configure \
32539 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32540 --target=${target_alias} $${srcdiroption} \
32541 --with-build-libsubdir=$(HOST_SUBDIR) \
32542 $(STAGE4_CONFIGURE_FLAGS)
32543 @endif target-libgcc-bootstrap
32545 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
32546 maybe-configure-stageprofile-target-libgcc:
32547 @if target-libgcc-bootstrap
32548 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
32549 configure-stageprofile-target-libgcc:
32550 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32551 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32552 @r=`${PWD_COMMAND}`; export r; \
32553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32554 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32555 echo "Checking multilib configuration for libgcc..."; \
32556 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32557 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32558 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32559 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32560 else \
32561 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32562 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32563 fi; \
32564 else \
32565 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32566 fi; \
32567 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32568 $(NORMAL_TARGET_EXPORTS) \
32570 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32571 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32572 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32573 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
32574 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32575 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32576 case $(srcdir) in \
32577 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32578 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32579 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32580 esac; \
32581 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32582 libsrcdir="$$s/libgcc"; \
32583 $(SHELL) $${libsrcdir}/configure \
32584 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32585 --target=${target_alias} $${srcdiroption} \
32586 --with-build-libsubdir=$(HOST_SUBDIR) \
32587 $(STAGEprofile_CONFIGURE_FLAGS)
32588 @endif target-libgcc-bootstrap
32590 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
32591 maybe-configure-stagefeedback-target-libgcc:
32592 @if target-libgcc-bootstrap
32593 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
32594 configure-stagefeedback-target-libgcc:
32595 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32596 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32597 @r=`${PWD_COMMAND}`; export r; \
32598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32599 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32600 echo "Checking multilib configuration for libgcc..."; \
32601 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32602 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32603 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32604 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32605 else \
32606 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32607 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32608 fi; \
32609 else \
32610 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32611 fi; \
32612 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32613 $(NORMAL_TARGET_EXPORTS) \
32615 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32616 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32617 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32618 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
32619 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32620 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32621 case $(srcdir) in \
32622 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32623 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32624 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32625 esac; \
32626 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32627 libsrcdir="$$s/libgcc"; \
32628 $(SHELL) $${libsrcdir}/configure \
32629 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32630 --target=${target_alias} $${srcdiroption} \
32631 --with-build-libsubdir=$(HOST_SUBDIR) \
32632 $(STAGEfeedback_CONFIGURE_FLAGS)
32633 @endif target-libgcc-bootstrap
32639 .PHONY: all-target-libgcc maybe-all-target-libgcc
32640 maybe-all-target-libgcc:
32641 @if gcc-bootstrap
32642 all-target-libgcc: stage_current
32643 @endif gcc-bootstrap
32644 @if target-libgcc
32645 TARGET-target-libgcc=all
32646 maybe-all-target-libgcc: all-target-libgcc
32647 all-target-libgcc: configure-target-libgcc
32648 @r=`${PWD_COMMAND}`; export r; \
32649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32650 $(NORMAL_TARGET_EXPORTS) \
32651 (cd $(TARGET_SUBDIR)/libgcc && \
32652 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
32653 $(TARGET-target-libgcc))
32654 @endif target-libgcc
32658 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
32659 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
32660 maybe-all-stage1-target-libgcc:
32661 maybe-clean-stage1-target-libgcc:
32662 @if target-libgcc-bootstrap
32663 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
32664 all-stage1: all-stage1-target-libgcc
32665 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
32666 all-stage1-target-libgcc: configure-stage1-target-libgcc
32667 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32668 @r=`${PWD_COMMAND}`; export r; \
32669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32670 TFLAGS="$(STAGE1_TFLAGS)"; \
32671 $(NORMAL_TARGET_EXPORTS) \
32672 cd $(TARGET_SUBDIR)/libgcc && \
32673 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32674 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32675 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32676 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32677 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32678 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32679 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32680 $(EXTRA_TARGET_FLAGS) \
32681 TFLAGS="$(STAGE1_TFLAGS)" \
32682 $(TARGET-stage1-target-libgcc)
32684 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
32685 clean-stage1: clean-stage1-target-libgcc
32686 clean-stage1-target-libgcc:
32687 @if [ $(current_stage) = stage1 ]; then \
32688 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32689 else \
32690 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
32691 $(MAKE) stage1-start; \
32692 fi; \
32693 cd $(TARGET_SUBDIR)/libgcc && \
32694 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32695 clean
32696 @endif target-libgcc-bootstrap
32699 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
32700 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
32701 maybe-all-stage2-target-libgcc:
32702 maybe-clean-stage2-target-libgcc:
32703 @if target-libgcc-bootstrap
32704 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
32705 all-stage2: all-stage2-target-libgcc
32706 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
32707 all-stage2-target-libgcc: configure-stage2-target-libgcc
32708 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32709 @r=`${PWD_COMMAND}`; export r; \
32710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32711 TFLAGS="$(STAGE2_TFLAGS)"; \
32712 $(NORMAL_TARGET_EXPORTS) \
32714 cd $(TARGET_SUBDIR)/libgcc && \
32715 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32716 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32717 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32718 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32719 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32720 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32721 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32722 $(EXTRA_TARGET_FLAGS) \
32723 TFLAGS="$(STAGE2_TFLAGS)" \
32724 $(TARGET-stage2-target-libgcc)
32726 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
32727 clean-stage2: clean-stage2-target-libgcc
32728 clean-stage2-target-libgcc:
32729 @if [ $(current_stage) = stage2 ]; then \
32730 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32731 else \
32732 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
32733 $(MAKE) stage2-start; \
32734 fi; \
32735 cd $(TARGET_SUBDIR)/libgcc && \
32736 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32738 clean
32739 @endif target-libgcc-bootstrap
32742 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
32743 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
32744 maybe-all-stage3-target-libgcc:
32745 maybe-clean-stage3-target-libgcc:
32746 @if target-libgcc-bootstrap
32747 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
32748 all-stage3: all-stage3-target-libgcc
32749 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
32750 all-stage3-target-libgcc: configure-stage3-target-libgcc
32751 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32752 @r=`${PWD_COMMAND}`; export r; \
32753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32754 TFLAGS="$(STAGE3_TFLAGS)"; \
32755 $(NORMAL_TARGET_EXPORTS) \
32757 cd $(TARGET_SUBDIR)/libgcc && \
32758 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32759 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32760 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32761 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32762 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32763 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32764 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32765 $(EXTRA_TARGET_FLAGS) \
32766 TFLAGS="$(STAGE3_TFLAGS)" \
32767 $(TARGET-stage3-target-libgcc)
32769 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
32770 clean-stage3: clean-stage3-target-libgcc
32771 clean-stage3-target-libgcc:
32772 @if [ $(current_stage) = stage3 ]; then \
32773 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32774 else \
32775 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
32776 $(MAKE) stage3-start; \
32777 fi; \
32778 cd $(TARGET_SUBDIR)/libgcc && \
32779 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32781 clean
32782 @endif target-libgcc-bootstrap
32785 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
32786 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
32787 maybe-all-stage4-target-libgcc:
32788 maybe-clean-stage4-target-libgcc:
32789 @if target-libgcc-bootstrap
32790 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
32791 all-stage4: all-stage4-target-libgcc
32792 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
32793 all-stage4-target-libgcc: configure-stage4-target-libgcc
32794 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32795 @r=`${PWD_COMMAND}`; export r; \
32796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32797 TFLAGS="$(STAGE4_TFLAGS)"; \
32798 $(NORMAL_TARGET_EXPORTS) \
32800 cd $(TARGET_SUBDIR)/libgcc && \
32801 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32802 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32803 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32804 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32805 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32806 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32807 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32808 $(EXTRA_TARGET_FLAGS) \
32809 TFLAGS="$(STAGE4_TFLAGS)" \
32810 $(TARGET-stage4-target-libgcc)
32812 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
32813 clean-stage4: clean-stage4-target-libgcc
32814 clean-stage4-target-libgcc:
32815 @if [ $(current_stage) = stage4 ]; then \
32816 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32817 else \
32818 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
32819 $(MAKE) stage4-start; \
32820 fi; \
32821 cd $(TARGET_SUBDIR)/libgcc && \
32822 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32824 clean
32825 @endif target-libgcc-bootstrap
32828 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
32829 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
32830 maybe-all-stageprofile-target-libgcc:
32831 maybe-clean-stageprofile-target-libgcc:
32832 @if target-libgcc-bootstrap
32833 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
32834 all-stageprofile: all-stageprofile-target-libgcc
32835 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
32836 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
32837 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32838 @r=`${PWD_COMMAND}`; export r; \
32839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32840 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32841 $(NORMAL_TARGET_EXPORTS) \
32843 cd $(TARGET_SUBDIR)/libgcc && \
32844 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32845 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32846 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32847 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32848 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32849 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32850 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32851 $(EXTRA_TARGET_FLAGS) \
32852 TFLAGS="$(STAGEprofile_TFLAGS)" \
32853 $(TARGET-stageprofile-target-libgcc)
32855 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
32856 clean-stageprofile: clean-stageprofile-target-libgcc
32857 clean-stageprofile-target-libgcc:
32858 @if [ $(current_stage) = stageprofile ]; then \
32859 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32860 else \
32861 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
32862 $(MAKE) stageprofile-start; \
32863 fi; \
32864 cd $(TARGET_SUBDIR)/libgcc && \
32865 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32867 clean
32868 @endif target-libgcc-bootstrap
32871 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
32872 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
32873 maybe-all-stagefeedback-target-libgcc:
32874 maybe-clean-stagefeedback-target-libgcc:
32875 @if target-libgcc-bootstrap
32876 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
32877 all-stagefeedback: all-stagefeedback-target-libgcc
32878 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
32879 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
32880 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32881 @r=`${PWD_COMMAND}`; export r; \
32882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32883 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32884 $(NORMAL_TARGET_EXPORTS) \
32886 cd $(TARGET_SUBDIR)/libgcc && \
32887 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32888 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32889 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32890 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32891 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32892 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32893 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32894 $(EXTRA_TARGET_FLAGS) \
32895 TFLAGS="$(STAGEfeedback_TFLAGS)" \
32896 $(TARGET-stagefeedback-target-libgcc)
32898 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
32899 clean-stagefeedback: clean-stagefeedback-target-libgcc
32900 clean-stagefeedback-target-libgcc:
32901 @if [ $(current_stage) = stagefeedback ]; then \
32902 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32903 else \
32904 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
32905 $(MAKE) stagefeedback-start; \
32906 fi; \
32907 cd $(TARGET_SUBDIR)/libgcc && \
32908 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32910 clean
32911 @endif target-libgcc-bootstrap
32918 .PHONY: check-target-libgcc maybe-check-target-libgcc
32919 maybe-check-target-libgcc:
32920 @if target-libgcc
32921 maybe-check-target-libgcc: check-target-libgcc
32923 # Dummy target for uncheckable module.
32924 check-target-libgcc:
32926 @endif target-libgcc
32928 .PHONY: install-target-libgcc maybe-install-target-libgcc
32929 maybe-install-target-libgcc:
32930 @if target-libgcc
32931 maybe-install-target-libgcc: install-target-libgcc
32933 install-target-libgcc: installdirs
32934 @: $(MAKE); $(unstage)
32935 @r=`${PWD_COMMAND}`; export r; \
32936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32937 $(NORMAL_TARGET_EXPORTS) \
32938 (cd $(TARGET_SUBDIR)/libgcc && \
32939 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32941 @endif target-libgcc
32943 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
32944 maybe-install-strip-target-libgcc:
32945 @if target-libgcc
32946 maybe-install-strip-target-libgcc: install-strip-target-libgcc
32948 install-strip-target-libgcc: installdirs
32949 @: $(MAKE); $(unstage)
32950 @r=`${PWD_COMMAND}`; export r; \
32951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32952 $(NORMAL_TARGET_EXPORTS) \
32953 (cd $(TARGET_SUBDIR)/libgcc && \
32954 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
32956 @endif target-libgcc
32958 # Other targets (info, dvi, pdf, etc.)
32960 .PHONY: maybe-info-target-libgcc info-target-libgcc
32961 maybe-info-target-libgcc:
32962 @if target-libgcc
32963 maybe-info-target-libgcc: info-target-libgcc
32965 info-target-libgcc: \
32966 configure-target-libgcc
32967 @: $(MAKE); $(unstage)
32968 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
32969 r=`${PWD_COMMAND}`; export r; \
32970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32971 $(NORMAL_TARGET_EXPORTS) \
32972 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
32973 for flag in $(EXTRA_TARGET_FLAGS); do \
32974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32975 done; \
32976 (cd $(TARGET_SUBDIR)/libgcc && \
32977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32979 "RANLIB=$${RANLIB}" \
32980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32981 info) \
32982 || exit 1
32984 @endif target-libgcc
32986 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
32987 maybe-dvi-target-libgcc:
32988 @if target-libgcc
32989 maybe-dvi-target-libgcc: dvi-target-libgcc
32991 dvi-target-libgcc: \
32992 configure-target-libgcc
32993 @: $(MAKE); $(unstage)
32994 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
32995 r=`${PWD_COMMAND}`; export r; \
32996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32997 $(NORMAL_TARGET_EXPORTS) \
32998 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
32999 for flag in $(EXTRA_TARGET_FLAGS); do \
33000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33001 done; \
33002 (cd $(TARGET_SUBDIR)/libgcc && \
33003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33005 "RANLIB=$${RANLIB}" \
33006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33007 dvi) \
33008 || exit 1
33010 @endif target-libgcc
33012 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
33013 maybe-pdf-target-libgcc:
33014 @if target-libgcc
33015 maybe-pdf-target-libgcc: pdf-target-libgcc
33017 pdf-target-libgcc: \
33018 configure-target-libgcc
33019 @: $(MAKE); $(unstage)
33020 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33021 r=`${PWD_COMMAND}`; export r; \
33022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33023 $(NORMAL_TARGET_EXPORTS) \
33024 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
33025 for flag in $(EXTRA_TARGET_FLAGS); do \
33026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33027 done; \
33028 (cd $(TARGET_SUBDIR)/libgcc && \
33029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33031 "RANLIB=$${RANLIB}" \
33032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33033 pdf) \
33034 || exit 1
33036 @endif target-libgcc
33038 .PHONY: maybe-html-target-libgcc html-target-libgcc
33039 maybe-html-target-libgcc:
33040 @if target-libgcc
33041 maybe-html-target-libgcc: html-target-libgcc
33043 html-target-libgcc: \
33044 configure-target-libgcc
33045 @: $(MAKE); $(unstage)
33046 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33047 r=`${PWD_COMMAND}`; export r; \
33048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33049 $(NORMAL_TARGET_EXPORTS) \
33050 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
33051 for flag in $(EXTRA_TARGET_FLAGS); do \
33052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33053 done; \
33054 (cd $(TARGET_SUBDIR)/libgcc && \
33055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33057 "RANLIB=$${RANLIB}" \
33058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33059 html) \
33060 || exit 1
33062 @endif target-libgcc
33064 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
33065 maybe-TAGS-target-libgcc:
33066 @if target-libgcc
33067 maybe-TAGS-target-libgcc: TAGS-target-libgcc
33069 TAGS-target-libgcc: \
33070 configure-target-libgcc
33071 @: $(MAKE); $(unstage)
33072 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33073 r=`${PWD_COMMAND}`; export r; \
33074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33075 $(NORMAL_TARGET_EXPORTS) \
33076 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
33077 for flag in $(EXTRA_TARGET_FLAGS); do \
33078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33079 done; \
33080 (cd $(TARGET_SUBDIR)/libgcc && \
33081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33083 "RANLIB=$${RANLIB}" \
33084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33085 TAGS) \
33086 || exit 1
33088 @endif target-libgcc
33090 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
33091 maybe-install-info-target-libgcc:
33092 @if target-libgcc
33093 maybe-install-info-target-libgcc: install-info-target-libgcc
33095 install-info-target-libgcc: \
33096 configure-target-libgcc \
33097 info-target-libgcc
33098 @: $(MAKE); $(unstage)
33099 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33100 r=`${PWD_COMMAND}`; export r; \
33101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33102 $(NORMAL_TARGET_EXPORTS) \
33103 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
33104 for flag in $(EXTRA_TARGET_FLAGS); do \
33105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33106 done; \
33107 (cd $(TARGET_SUBDIR)/libgcc && \
33108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33110 "RANLIB=$${RANLIB}" \
33111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33112 install-info) \
33113 || exit 1
33115 @endif target-libgcc
33117 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
33118 maybe-install-pdf-target-libgcc:
33119 @if target-libgcc
33120 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
33122 install-pdf-target-libgcc: \
33123 configure-target-libgcc \
33124 pdf-target-libgcc
33125 @: $(MAKE); $(unstage)
33126 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33127 r=`${PWD_COMMAND}`; export r; \
33128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33129 $(NORMAL_TARGET_EXPORTS) \
33130 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
33131 for flag in $(EXTRA_TARGET_FLAGS); do \
33132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33133 done; \
33134 (cd $(TARGET_SUBDIR)/libgcc && \
33135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33137 "RANLIB=$${RANLIB}" \
33138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33139 install-pdf) \
33140 || exit 1
33142 @endif target-libgcc
33144 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
33145 maybe-install-html-target-libgcc:
33146 @if target-libgcc
33147 maybe-install-html-target-libgcc: install-html-target-libgcc
33149 install-html-target-libgcc: \
33150 configure-target-libgcc \
33151 html-target-libgcc
33152 @: $(MAKE); $(unstage)
33153 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33154 r=`${PWD_COMMAND}`; export r; \
33155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33156 $(NORMAL_TARGET_EXPORTS) \
33157 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
33158 for flag in $(EXTRA_TARGET_FLAGS); do \
33159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33160 done; \
33161 (cd $(TARGET_SUBDIR)/libgcc && \
33162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33164 "RANLIB=$${RANLIB}" \
33165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33166 install-html) \
33167 || exit 1
33169 @endif target-libgcc
33171 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
33172 maybe-installcheck-target-libgcc:
33173 @if target-libgcc
33174 maybe-installcheck-target-libgcc: installcheck-target-libgcc
33176 installcheck-target-libgcc: \
33177 configure-target-libgcc
33178 @: $(MAKE); $(unstage)
33179 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33180 r=`${PWD_COMMAND}`; export r; \
33181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33182 $(NORMAL_TARGET_EXPORTS) \
33183 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
33184 for flag in $(EXTRA_TARGET_FLAGS); do \
33185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33186 done; \
33187 (cd $(TARGET_SUBDIR)/libgcc && \
33188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33190 "RANLIB=$${RANLIB}" \
33191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33192 installcheck) \
33193 || exit 1
33195 @endif target-libgcc
33197 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
33198 maybe-mostlyclean-target-libgcc:
33199 @if target-libgcc
33200 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
33202 mostlyclean-target-libgcc:
33203 @: $(MAKE); $(unstage)
33204 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33205 r=`${PWD_COMMAND}`; export r; \
33206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33207 $(NORMAL_TARGET_EXPORTS) \
33208 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
33209 for flag in $(EXTRA_TARGET_FLAGS); do \
33210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33211 done; \
33212 (cd $(TARGET_SUBDIR)/libgcc && \
33213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33215 "RANLIB=$${RANLIB}" \
33216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33217 mostlyclean) \
33218 || exit 1
33220 @endif target-libgcc
33222 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
33223 maybe-clean-target-libgcc:
33224 @if target-libgcc
33225 maybe-clean-target-libgcc: clean-target-libgcc
33227 clean-target-libgcc:
33228 @: $(MAKE); $(unstage)
33229 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33230 r=`${PWD_COMMAND}`; export r; \
33231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33232 $(NORMAL_TARGET_EXPORTS) \
33233 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
33234 for flag in $(EXTRA_TARGET_FLAGS); do \
33235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33236 done; \
33237 (cd $(TARGET_SUBDIR)/libgcc && \
33238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33240 "RANLIB=$${RANLIB}" \
33241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33242 clean) \
33243 || exit 1
33245 @endif target-libgcc
33247 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
33248 maybe-distclean-target-libgcc:
33249 @if target-libgcc
33250 maybe-distclean-target-libgcc: distclean-target-libgcc
33252 distclean-target-libgcc:
33253 @: $(MAKE); $(unstage)
33254 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33255 r=`${PWD_COMMAND}`; export r; \
33256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33257 $(NORMAL_TARGET_EXPORTS) \
33258 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
33259 for flag in $(EXTRA_TARGET_FLAGS); do \
33260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33261 done; \
33262 (cd $(TARGET_SUBDIR)/libgcc && \
33263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33265 "RANLIB=$${RANLIB}" \
33266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33267 distclean) \
33268 || exit 1
33270 @endif target-libgcc
33272 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
33273 maybe-maintainer-clean-target-libgcc:
33274 @if target-libgcc
33275 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
33277 maintainer-clean-target-libgcc:
33278 @: $(MAKE); $(unstage)
33279 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33280 r=`${PWD_COMMAND}`; export r; \
33281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33282 $(NORMAL_TARGET_EXPORTS) \
33283 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
33284 for flag in $(EXTRA_TARGET_FLAGS); do \
33285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33286 done; \
33287 (cd $(TARGET_SUBDIR)/libgcc && \
33288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33290 "RANLIB=$${RANLIB}" \
33291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33292 maintainer-clean) \
33293 || exit 1
33295 @endif target-libgcc
33301 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
33302 maybe-configure-target-libquadmath:
33303 @if gcc-bootstrap
33304 configure-target-libquadmath: stage_current
33305 @endif gcc-bootstrap
33306 @if target-libquadmath
33307 maybe-configure-target-libquadmath: configure-target-libquadmath
33308 configure-target-libquadmath:
33309 @: $(MAKE); $(unstage)
33310 @r=`${PWD_COMMAND}`; export r; \
33311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33312 echo "Checking multilib configuration for libquadmath..."; \
33313 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
33314 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null ; \
33315 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
33316 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
33317 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
33318 else \
33319 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
33320 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
33321 fi; \
33322 else \
33323 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
33324 fi; \
33325 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
33326 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
33327 $(NORMAL_TARGET_EXPORTS) \
33328 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
33329 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
33330 case $(srcdir) in \
33331 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33332 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
33333 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33334 esac; \
33335 srcdiroption="--srcdir=$${topdir}/libquadmath"; \
33336 libsrcdir="$$s/libquadmath"; \
33337 rm -f no-such-file || : ; \
33338 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33339 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33340 --target=${target_alias} $${srcdiroption} \
33341 || exit 1
33342 @endif target-libquadmath
33348 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
33349 maybe-all-target-libquadmath:
33350 @if gcc-bootstrap
33351 all-target-libquadmath: stage_current
33352 @endif gcc-bootstrap
33353 @if target-libquadmath
33354 TARGET-target-libquadmath=all
33355 maybe-all-target-libquadmath: all-target-libquadmath
33356 all-target-libquadmath: configure-target-libquadmath
33357 @: $(MAKE); $(unstage)
33358 @r=`${PWD_COMMAND}`; export r; \
33359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33360 $(NORMAL_TARGET_EXPORTS) \
33361 (cd $(TARGET_SUBDIR)/libquadmath && \
33362 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
33363 $(TARGET-target-libquadmath))
33364 @endif target-libquadmath
33370 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
33371 maybe-check-target-libquadmath:
33372 @if target-libquadmath
33373 maybe-check-target-libquadmath: check-target-libquadmath
33375 check-target-libquadmath:
33376 @: $(MAKE); $(unstage)
33377 @r=`${PWD_COMMAND}`; export r; \
33378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33379 $(NORMAL_TARGET_EXPORTS) \
33380 (cd $(TARGET_SUBDIR)/libquadmath && \
33381 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33383 @endif target-libquadmath
33385 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
33386 maybe-install-target-libquadmath:
33387 @if target-libquadmath
33388 maybe-install-target-libquadmath: install-target-libquadmath
33390 install-target-libquadmath: installdirs
33391 @: $(MAKE); $(unstage)
33392 @r=`${PWD_COMMAND}`; export r; \
33393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33394 $(NORMAL_TARGET_EXPORTS) \
33395 (cd $(TARGET_SUBDIR)/libquadmath && \
33396 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33398 @endif target-libquadmath
33400 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
33401 maybe-install-strip-target-libquadmath:
33402 @if target-libquadmath
33403 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
33405 install-strip-target-libquadmath: installdirs
33406 @: $(MAKE); $(unstage)
33407 @r=`${PWD_COMMAND}`; export r; \
33408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33409 $(NORMAL_TARGET_EXPORTS) \
33410 (cd $(TARGET_SUBDIR)/libquadmath && \
33411 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33413 @endif target-libquadmath
33415 # Other targets (info, dvi, pdf, etc.)
33417 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
33418 maybe-info-target-libquadmath:
33419 @if target-libquadmath
33420 maybe-info-target-libquadmath: info-target-libquadmath
33422 info-target-libquadmath: \
33423 configure-target-libquadmath
33424 @: $(MAKE); $(unstage)
33425 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33426 r=`${PWD_COMMAND}`; export r; \
33427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33428 $(NORMAL_TARGET_EXPORTS) \
33429 echo "Doing info in $(TARGET_SUBDIR)/libquadmath" ; \
33430 for flag in $(EXTRA_TARGET_FLAGS); do \
33431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33432 done; \
33433 (cd $(TARGET_SUBDIR)/libquadmath && \
33434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33436 "RANLIB=$${RANLIB}" \
33437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33438 info) \
33439 || exit 1
33441 @endif target-libquadmath
33443 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
33444 maybe-dvi-target-libquadmath:
33445 @if target-libquadmath
33446 maybe-dvi-target-libquadmath: dvi-target-libquadmath
33448 dvi-target-libquadmath: \
33449 configure-target-libquadmath
33450 @: $(MAKE); $(unstage)
33451 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33452 r=`${PWD_COMMAND}`; export r; \
33453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33454 $(NORMAL_TARGET_EXPORTS) \
33455 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath" ; \
33456 for flag in $(EXTRA_TARGET_FLAGS); do \
33457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33458 done; \
33459 (cd $(TARGET_SUBDIR)/libquadmath && \
33460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33462 "RANLIB=$${RANLIB}" \
33463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33464 dvi) \
33465 || exit 1
33467 @endif target-libquadmath
33469 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
33470 maybe-pdf-target-libquadmath:
33471 @if target-libquadmath
33472 maybe-pdf-target-libquadmath: pdf-target-libquadmath
33474 pdf-target-libquadmath: \
33475 configure-target-libquadmath
33476 @: $(MAKE); $(unstage)
33477 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33478 r=`${PWD_COMMAND}`; export r; \
33479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33480 $(NORMAL_TARGET_EXPORTS) \
33481 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath" ; \
33482 for flag in $(EXTRA_TARGET_FLAGS); do \
33483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33484 done; \
33485 (cd $(TARGET_SUBDIR)/libquadmath && \
33486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33488 "RANLIB=$${RANLIB}" \
33489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33490 pdf) \
33491 || exit 1
33493 @endif target-libquadmath
33495 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
33496 maybe-html-target-libquadmath:
33497 @if target-libquadmath
33498 maybe-html-target-libquadmath: html-target-libquadmath
33500 html-target-libquadmath: \
33501 configure-target-libquadmath
33502 @: $(MAKE); $(unstage)
33503 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33504 r=`${PWD_COMMAND}`; export r; \
33505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33506 $(NORMAL_TARGET_EXPORTS) \
33507 echo "Doing html in $(TARGET_SUBDIR)/libquadmath" ; \
33508 for flag in $(EXTRA_TARGET_FLAGS); do \
33509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33510 done; \
33511 (cd $(TARGET_SUBDIR)/libquadmath && \
33512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33514 "RANLIB=$${RANLIB}" \
33515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33516 html) \
33517 || exit 1
33519 @endif target-libquadmath
33521 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
33522 maybe-TAGS-target-libquadmath:
33523 @if target-libquadmath
33524 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
33526 TAGS-target-libquadmath: \
33527 configure-target-libquadmath
33528 @: $(MAKE); $(unstage)
33529 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33530 r=`${PWD_COMMAND}`; export r; \
33531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33532 $(NORMAL_TARGET_EXPORTS) \
33533 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath" ; \
33534 for flag in $(EXTRA_TARGET_FLAGS); do \
33535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33536 done; \
33537 (cd $(TARGET_SUBDIR)/libquadmath && \
33538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33540 "RANLIB=$${RANLIB}" \
33541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33542 TAGS) \
33543 || exit 1
33545 @endif target-libquadmath
33547 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
33548 maybe-install-info-target-libquadmath:
33549 @if target-libquadmath
33550 maybe-install-info-target-libquadmath: install-info-target-libquadmath
33552 install-info-target-libquadmath: \
33553 configure-target-libquadmath \
33554 info-target-libquadmath
33555 @: $(MAKE); $(unstage)
33556 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33557 r=`${PWD_COMMAND}`; export r; \
33558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33559 $(NORMAL_TARGET_EXPORTS) \
33560 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath" ; \
33561 for flag in $(EXTRA_TARGET_FLAGS); do \
33562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33563 done; \
33564 (cd $(TARGET_SUBDIR)/libquadmath && \
33565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33567 "RANLIB=$${RANLIB}" \
33568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33569 install-info) \
33570 || exit 1
33572 @endif target-libquadmath
33574 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
33575 maybe-install-pdf-target-libquadmath:
33576 @if target-libquadmath
33577 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
33579 install-pdf-target-libquadmath: \
33580 configure-target-libquadmath \
33581 pdf-target-libquadmath
33582 @: $(MAKE); $(unstage)
33583 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33584 r=`${PWD_COMMAND}`; export r; \
33585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33586 $(NORMAL_TARGET_EXPORTS) \
33587 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath" ; \
33588 for flag in $(EXTRA_TARGET_FLAGS); do \
33589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33590 done; \
33591 (cd $(TARGET_SUBDIR)/libquadmath && \
33592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33594 "RANLIB=$${RANLIB}" \
33595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33596 install-pdf) \
33597 || exit 1
33599 @endif target-libquadmath
33601 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
33602 maybe-install-html-target-libquadmath:
33603 @if target-libquadmath
33604 maybe-install-html-target-libquadmath: install-html-target-libquadmath
33606 install-html-target-libquadmath: \
33607 configure-target-libquadmath \
33608 html-target-libquadmath
33609 @: $(MAKE); $(unstage)
33610 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33611 r=`${PWD_COMMAND}`; export r; \
33612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33613 $(NORMAL_TARGET_EXPORTS) \
33614 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath" ; \
33615 for flag in $(EXTRA_TARGET_FLAGS); do \
33616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33617 done; \
33618 (cd $(TARGET_SUBDIR)/libquadmath && \
33619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33621 "RANLIB=$${RANLIB}" \
33622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33623 install-html) \
33624 || exit 1
33626 @endif target-libquadmath
33628 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
33629 maybe-installcheck-target-libquadmath:
33630 @if target-libquadmath
33631 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
33633 installcheck-target-libquadmath: \
33634 configure-target-libquadmath
33635 @: $(MAKE); $(unstage)
33636 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33637 r=`${PWD_COMMAND}`; export r; \
33638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33639 $(NORMAL_TARGET_EXPORTS) \
33640 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath" ; \
33641 for flag in $(EXTRA_TARGET_FLAGS); do \
33642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33643 done; \
33644 (cd $(TARGET_SUBDIR)/libquadmath && \
33645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33647 "RANLIB=$${RANLIB}" \
33648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33649 installcheck) \
33650 || exit 1
33652 @endif target-libquadmath
33654 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
33655 maybe-mostlyclean-target-libquadmath:
33656 @if target-libquadmath
33657 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
33659 mostlyclean-target-libquadmath:
33660 @: $(MAKE); $(unstage)
33661 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33662 r=`${PWD_COMMAND}`; export r; \
33663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33664 $(NORMAL_TARGET_EXPORTS) \
33665 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath" ; \
33666 for flag in $(EXTRA_TARGET_FLAGS); do \
33667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33668 done; \
33669 (cd $(TARGET_SUBDIR)/libquadmath && \
33670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33672 "RANLIB=$${RANLIB}" \
33673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33674 mostlyclean) \
33675 || exit 1
33677 @endif target-libquadmath
33679 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
33680 maybe-clean-target-libquadmath:
33681 @if target-libquadmath
33682 maybe-clean-target-libquadmath: clean-target-libquadmath
33684 clean-target-libquadmath:
33685 @: $(MAKE); $(unstage)
33686 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33687 r=`${PWD_COMMAND}`; export r; \
33688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33689 $(NORMAL_TARGET_EXPORTS) \
33690 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath" ; \
33691 for flag in $(EXTRA_TARGET_FLAGS); do \
33692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33693 done; \
33694 (cd $(TARGET_SUBDIR)/libquadmath && \
33695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33697 "RANLIB=$${RANLIB}" \
33698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33699 clean) \
33700 || exit 1
33702 @endif target-libquadmath
33704 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
33705 maybe-distclean-target-libquadmath:
33706 @if target-libquadmath
33707 maybe-distclean-target-libquadmath: distclean-target-libquadmath
33709 distclean-target-libquadmath:
33710 @: $(MAKE); $(unstage)
33711 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33712 r=`${PWD_COMMAND}`; export r; \
33713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33714 $(NORMAL_TARGET_EXPORTS) \
33715 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath" ; \
33716 for flag in $(EXTRA_TARGET_FLAGS); do \
33717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33718 done; \
33719 (cd $(TARGET_SUBDIR)/libquadmath && \
33720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33722 "RANLIB=$${RANLIB}" \
33723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33724 distclean) \
33725 || exit 1
33727 @endif target-libquadmath
33729 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
33730 maybe-maintainer-clean-target-libquadmath:
33731 @if target-libquadmath
33732 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
33734 maintainer-clean-target-libquadmath:
33735 @: $(MAKE); $(unstage)
33736 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33737 r=`${PWD_COMMAND}`; export r; \
33738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33739 $(NORMAL_TARGET_EXPORTS) \
33740 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath" ; \
33741 for flag in $(EXTRA_TARGET_FLAGS); do \
33742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33743 done; \
33744 (cd $(TARGET_SUBDIR)/libquadmath && \
33745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33747 "RANLIB=$${RANLIB}" \
33748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33749 maintainer-clean) \
33750 || exit 1
33752 @endif target-libquadmath
33758 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
33759 maybe-configure-target-libgfortran:
33760 @if gcc-bootstrap
33761 configure-target-libgfortran: stage_current
33762 @endif gcc-bootstrap
33763 @if target-libgfortran
33764 maybe-configure-target-libgfortran: configure-target-libgfortran
33765 configure-target-libgfortran:
33766 @: $(MAKE); $(unstage)
33767 @r=`${PWD_COMMAND}`; export r; \
33768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33769 echo "Checking multilib configuration for libgfortran..."; \
33770 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
33771 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
33772 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
33773 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
33774 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
33775 else \
33776 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
33777 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
33778 fi; \
33779 else \
33780 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
33781 fi; \
33782 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
33783 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
33784 $(NORMAL_TARGET_EXPORTS) \
33785 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
33786 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
33787 case $(srcdir) in \
33788 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33789 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
33790 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33791 esac; \
33792 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
33793 libsrcdir="$$s/libgfortran"; \
33794 rm -f no-such-file || : ; \
33795 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33796 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33797 --target=${target_alias} $${srcdiroption} \
33798 || exit 1
33799 @endif target-libgfortran
33805 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
33806 maybe-all-target-libgfortran:
33807 @if gcc-bootstrap
33808 all-target-libgfortran: stage_current
33809 @endif gcc-bootstrap
33810 @if target-libgfortran
33811 TARGET-target-libgfortran=all
33812 maybe-all-target-libgfortran: all-target-libgfortran
33813 all-target-libgfortran: configure-target-libgfortran
33814 @: $(MAKE); $(unstage)
33815 @r=`${PWD_COMMAND}`; export r; \
33816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33817 $(NORMAL_TARGET_EXPORTS) \
33818 (cd $(TARGET_SUBDIR)/libgfortran && \
33819 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
33820 $(TARGET-target-libgfortran))
33821 @endif target-libgfortran
33827 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
33828 maybe-check-target-libgfortran:
33829 @if target-libgfortran
33830 maybe-check-target-libgfortran: check-target-libgfortran
33832 check-target-libgfortran:
33833 @: $(MAKE); $(unstage)
33834 @r=`${PWD_COMMAND}`; export r; \
33835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33836 $(NORMAL_TARGET_EXPORTS) \
33837 (cd $(TARGET_SUBDIR)/libgfortran && \
33838 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33840 @endif target-libgfortran
33842 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
33843 maybe-install-target-libgfortran:
33844 @if target-libgfortran
33845 maybe-install-target-libgfortran: install-target-libgfortran
33847 install-target-libgfortran: installdirs
33848 @: $(MAKE); $(unstage)
33849 @r=`${PWD_COMMAND}`; export r; \
33850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33851 $(NORMAL_TARGET_EXPORTS) \
33852 (cd $(TARGET_SUBDIR)/libgfortran && \
33853 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33855 @endif target-libgfortran
33857 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
33858 maybe-install-strip-target-libgfortran:
33859 @if target-libgfortran
33860 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
33862 install-strip-target-libgfortran: installdirs
33863 @: $(MAKE); $(unstage)
33864 @r=`${PWD_COMMAND}`; export r; \
33865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33866 $(NORMAL_TARGET_EXPORTS) \
33867 (cd $(TARGET_SUBDIR)/libgfortran && \
33868 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33870 @endif target-libgfortran
33872 # Other targets (info, dvi, pdf, etc.)
33874 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
33875 maybe-info-target-libgfortran:
33876 @if target-libgfortran
33877 maybe-info-target-libgfortran: info-target-libgfortran
33879 info-target-libgfortran: \
33880 configure-target-libgfortran
33881 @: $(MAKE); $(unstage)
33882 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33883 r=`${PWD_COMMAND}`; export r; \
33884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33885 $(NORMAL_TARGET_EXPORTS) \
33886 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
33887 for flag in $(EXTRA_TARGET_FLAGS); do \
33888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33889 done; \
33890 (cd $(TARGET_SUBDIR)/libgfortran && \
33891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33893 "RANLIB=$${RANLIB}" \
33894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33895 info) \
33896 || exit 1
33898 @endif target-libgfortran
33900 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
33901 maybe-dvi-target-libgfortran:
33902 @if target-libgfortran
33903 maybe-dvi-target-libgfortran: dvi-target-libgfortran
33905 dvi-target-libgfortran: \
33906 configure-target-libgfortran
33907 @: $(MAKE); $(unstage)
33908 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33909 r=`${PWD_COMMAND}`; export r; \
33910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33911 $(NORMAL_TARGET_EXPORTS) \
33912 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
33913 for flag in $(EXTRA_TARGET_FLAGS); do \
33914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33915 done; \
33916 (cd $(TARGET_SUBDIR)/libgfortran && \
33917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33919 "RANLIB=$${RANLIB}" \
33920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33921 dvi) \
33922 || exit 1
33924 @endif target-libgfortran
33926 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
33927 maybe-pdf-target-libgfortran:
33928 @if target-libgfortran
33929 maybe-pdf-target-libgfortran: pdf-target-libgfortran
33931 pdf-target-libgfortran: \
33932 configure-target-libgfortran
33933 @: $(MAKE); $(unstage)
33934 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33935 r=`${PWD_COMMAND}`; export r; \
33936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33937 $(NORMAL_TARGET_EXPORTS) \
33938 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
33939 for flag in $(EXTRA_TARGET_FLAGS); do \
33940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33941 done; \
33942 (cd $(TARGET_SUBDIR)/libgfortran && \
33943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33945 "RANLIB=$${RANLIB}" \
33946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33947 pdf) \
33948 || exit 1
33950 @endif target-libgfortran
33952 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
33953 maybe-html-target-libgfortran:
33954 @if target-libgfortran
33955 maybe-html-target-libgfortran: html-target-libgfortran
33957 html-target-libgfortran: \
33958 configure-target-libgfortran
33959 @: $(MAKE); $(unstage)
33960 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33961 r=`${PWD_COMMAND}`; export r; \
33962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33963 $(NORMAL_TARGET_EXPORTS) \
33964 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
33965 for flag in $(EXTRA_TARGET_FLAGS); do \
33966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33967 done; \
33968 (cd $(TARGET_SUBDIR)/libgfortran && \
33969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33971 "RANLIB=$${RANLIB}" \
33972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33973 html) \
33974 || exit 1
33976 @endif target-libgfortran
33978 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
33979 maybe-TAGS-target-libgfortran:
33980 @if target-libgfortran
33981 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
33983 TAGS-target-libgfortran: \
33984 configure-target-libgfortran
33985 @: $(MAKE); $(unstage)
33986 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33987 r=`${PWD_COMMAND}`; export r; \
33988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33989 $(NORMAL_TARGET_EXPORTS) \
33990 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
33991 for flag in $(EXTRA_TARGET_FLAGS); do \
33992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33993 done; \
33994 (cd $(TARGET_SUBDIR)/libgfortran && \
33995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33997 "RANLIB=$${RANLIB}" \
33998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33999 TAGS) \
34000 || exit 1
34002 @endif target-libgfortran
34004 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
34005 maybe-install-info-target-libgfortran:
34006 @if target-libgfortran
34007 maybe-install-info-target-libgfortran: install-info-target-libgfortran
34009 install-info-target-libgfortran: \
34010 configure-target-libgfortran \
34011 info-target-libgfortran
34012 @: $(MAKE); $(unstage)
34013 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34014 r=`${PWD_COMMAND}`; export r; \
34015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34016 $(NORMAL_TARGET_EXPORTS) \
34017 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
34018 for flag in $(EXTRA_TARGET_FLAGS); do \
34019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34020 done; \
34021 (cd $(TARGET_SUBDIR)/libgfortran && \
34022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34024 "RANLIB=$${RANLIB}" \
34025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34026 install-info) \
34027 || exit 1
34029 @endif target-libgfortran
34031 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
34032 maybe-install-pdf-target-libgfortran:
34033 @if target-libgfortran
34034 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
34036 install-pdf-target-libgfortran: \
34037 configure-target-libgfortran \
34038 pdf-target-libgfortran
34039 @: $(MAKE); $(unstage)
34040 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34041 r=`${PWD_COMMAND}`; export r; \
34042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34043 $(NORMAL_TARGET_EXPORTS) \
34044 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
34045 for flag in $(EXTRA_TARGET_FLAGS); do \
34046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34047 done; \
34048 (cd $(TARGET_SUBDIR)/libgfortran && \
34049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34051 "RANLIB=$${RANLIB}" \
34052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34053 install-pdf) \
34054 || exit 1
34056 @endif target-libgfortran
34058 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
34059 maybe-install-html-target-libgfortran:
34060 @if target-libgfortran
34061 maybe-install-html-target-libgfortran: install-html-target-libgfortran
34063 install-html-target-libgfortran: \
34064 configure-target-libgfortran \
34065 html-target-libgfortran
34066 @: $(MAKE); $(unstage)
34067 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34068 r=`${PWD_COMMAND}`; export r; \
34069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34070 $(NORMAL_TARGET_EXPORTS) \
34071 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
34072 for flag in $(EXTRA_TARGET_FLAGS); do \
34073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34074 done; \
34075 (cd $(TARGET_SUBDIR)/libgfortran && \
34076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34078 "RANLIB=$${RANLIB}" \
34079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34080 install-html) \
34081 || exit 1
34083 @endif target-libgfortran
34085 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
34086 maybe-installcheck-target-libgfortran:
34087 @if target-libgfortran
34088 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
34090 installcheck-target-libgfortran: \
34091 configure-target-libgfortran
34092 @: $(MAKE); $(unstage)
34093 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34094 r=`${PWD_COMMAND}`; export r; \
34095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34096 $(NORMAL_TARGET_EXPORTS) \
34097 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
34098 for flag in $(EXTRA_TARGET_FLAGS); do \
34099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34100 done; \
34101 (cd $(TARGET_SUBDIR)/libgfortran && \
34102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34104 "RANLIB=$${RANLIB}" \
34105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34106 installcheck) \
34107 || exit 1
34109 @endif target-libgfortran
34111 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
34112 maybe-mostlyclean-target-libgfortran:
34113 @if target-libgfortran
34114 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
34116 mostlyclean-target-libgfortran:
34117 @: $(MAKE); $(unstage)
34118 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34119 r=`${PWD_COMMAND}`; export r; \
34120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34121 $(NORMAL_TARGET_EXPORTS) \
34122 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
34123 for flag in $(EXTRA_TARGET_FLAGS); do \
34124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34125 done; \
34126 (cd $(TARGET_SUBDIR)/libgfortran && \
34127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34129 "RANLIB=$${RANLIB}" \
34130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34131 mostlyclean) \
34132 || exit 1
34134 @endif target-libgfortran
34136 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
34137 maybe-clean-target-libgfortran:
34138 @if target-libgfortran
34139 maybe-clean-target-libgfortran: clean-target-libgfortran
34141 clean-target-libgfortran:
34142 @: $(MAKE); $(unstage)
34143 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34144 r=`${PWD_COMMAND}`; export r; \
34145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34146 $(NORMAL_TARGET_EXPORTS) \
34147 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
34148 for flag in $(EXTRA_TARGET_FLAGS); do \
34149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34150 done; \
34151 (cd $(TARGET_SUBDIR)/libgfortran && \
34152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34154 "RANLIB=$${RANLIB}" \
34155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34156 clean) \
34157 || exit 1
34159 @endif target-libgfortran
34161 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
34162 maybe-distclean-target-libgfortran:
34163 @if target-libgfortran
34164 maybe-distclean-target-libgfortran: distclean-target-libgfortran
34166 distclean-target-libgfortran:
34167 @: $(MAKE); $(unstage)
34168 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34169 r=`${PWD_COMMAND}`; export r; \
34170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34171 $(NORMAL_TARGET_EXPORTS) \
34172 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
34173 for flag in $(EXTRA_TARGET_FLAGS); do \
34174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34175 done; \
34176 (cd $(TARGET_SUBDIR)/libgfortran && \
34177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34179 "RANLIB=$${RANLIB}" \
34180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34181 distclean) \
34182 || exit 1
34184 @endif target-libgfortran
34186 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
34187 maybe-maintainer-clean-target-libgfortran:
34188 @if target-libgfortran
34189 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
34191 maintainer-clean-target-libgfortran:
34192 @: $(MAKE); $(unstage)
34193 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34194 r=`${PWD_COMMAND}`; export r; \
34195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34196 $(NORMAL_TARGET_EXPORTS) \
34197 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
34198 for flag in $(EXTRA_TARGET_FLAGS); do \
34199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34200 done; \
34201 (cd $(TARGET_SUBDIR)/libgfortran && \
34202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34204 "RANLIB=$${RANLIB}" \
34205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34206 maintainer-clean) \
34207 || exit 1
34209 @endif target-libgfortran
34215 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
34216 maybe-configure-target-libobjc:
34217 @if gcc-bootstrap
34218 configure-target-libobjc: stage_current
34219 @endif gcc-bootstrap
34220 @if target-libobjc
34221 maybe-configure-target-libobjc: configure-target-libobjc
34222 configure-target-libobjc:
34223 @: $(MAKE); $(unstage)
34224 @r=`${PWD_COMMAND}`; export r; \
34225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34226 echo "Checking multilib configuration for libobjc..."; \
34227 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
34228 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
34229 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
34230 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
34231 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
34232 else \
34233 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
34234 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
34235 fi; \
34236 else \
34237 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
34238 fi; \
34239 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
34240 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
34241 $(NORMAL_TARGET_EXPORTS) \
34242 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
34243 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
34244 case $(srcdir) in \
34245 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34246 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
34247 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34248 esac; \
34249 srcdiroption="--srcdir=$${topdir}/libobjc"; \
34250 libsrcdir="$$s/libobjc"; \
34251 rm -f no-such-file || : ; \
34252 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34253 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34254 --target=${target_alias} $${srcdiroption} \
34255 || exit 1
34256 @endif target-libobjc
34262 .PHONY: all-target-libobjc maybe-all-target-libobjc
34263 maybe-all-target-libobjc:
34264 @if gcc-bootstrap
34265 all-target-libobjc: stage_current
34266 @endif gcc-bootstrap
34267 @if target-libobjc
34268 TARGET-target-libobjc=all
34269 maybe-all-target-libobjc: all-target-libobjc
34270 all-target-libobjc: configure-target-libobjc
34271 @: $(MAKE); $(unstage)
34272 @r=`${PWD_COMMAND}`; export r; \
34273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34274 $(NORMAL_TARGET_EXPORTS) \
34275 (cd $(TARGET_SUBDIR)/libobjc && \
34276 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34277 $(TARGET-target-libobjc))
34278 @endif target-libobjc
34284 .PHONY: check-target-libobjc maybe-check-target-libobjc
34285 maybe-check-target-libobjc:
34286 @if target-libobjc
34287 maybe-check-target-libobjc: check-target-libobjc
34289 check-target-libobjc:
34290 @: $(MAKE); $(unstage)
34291 @r=`${PWD_COMMAND}`; export r; \
34292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34293 $(NORMAL_TARGET_EXPORTS) \
34294 (cd $(TARGET_SUBDIR)/libobjc && \
34295 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34297 @endif target-libobjc
34299 .PHONY: install-target-libobjc maybe-install-target-libobjc
34300 maybe-install-target-libobjc:
34301 @if target-libobjc
34302 maybe-install-target-libobjc: install-target-libobjc
34304 install-target-libobjc: installdirs
34305 @: $(MAKE); $(unstage)
34306 @r=`${PWD_COMMAND}`; export r; \
34307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34308 $(NORMAL_TARGET_EXPORTS) \
34309 (cd $(TARGET_SUBDIR)/libobjc && \
34310 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34312 @endif target-libobjc
34314 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
34315 maybe-install-strip-target-libobjc:
34316 @if target-libobjc
34317 maybe-install-strip-target-libobjc: install-strip-target-libobjc
34319 install-strip-target-libobjc: installdirs
34320 @: $(MAKE); $(unstage)
34321 @r=`${PWD_COMMAND}`; export r; \
34322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34323 $(NORMAL_TARGET_EXPORTS) \
34324 (cd $(TARGET_SUBDIR)/libobjc && \
34325 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34327 @endif target-libobjc
34329 # Other targets (info, dvi, pdf, etc.)
34331 .PHONY: maybe-info-target-libobjc info-target-libobjc
34332 maybe-info-target-libobjc:
34333 @if target-libobjc
34334 maybe-info-target-libobjc: info-target-libobjc
34336 info-target-libobjc: \
34337 configure-target-libobjc
34338 @: $(MAKE); $(unstage)
34339 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34340 r=`${PWD_COMMAND}`; export r; \
34341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34342 $(NORMAL_TARGET_EXPORTS) \
34343 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
34344 for flag in $(EXTRA_TARGET_FLAGS); do \
34345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34346 done; \
34347 (cd $(TARGET_SUBDIR)/libobjc && \
34348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34350 "RANLIB=$${RANLIB}" \
34351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34352 info) \
34353 || exit 1
34355 @endif target-libobjc
34357 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
34358 maybe-dvi-target-libobjc:
34359 @if target-libobjc
34360 maybe-dvi-target-libobjc: dvi-target-libobjc
34362 dvi-target-libobjc: \
34363 configure-target-libobjc
34364 @: $(MAKE); $(unstage)
34365 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34366 r=`${PWD_COMMAND}`; export r; \
34367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34368 $(NORMAL_TARGET_EXPORTS) \
34369 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
34370 for flag in $(EXTRA_TARGET_FLAGS); do \
34371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34372 done; \
34373 (cd $(TARGET_SUBDIR)/libobjc && \
34374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34376 "RANLIB=$${RANLIB}" \
34377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34378 dvi) \
34379 || exit 1
34381 @endif target-libobjc
34383 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
34384 maybe-pdf-target-libobjc:
34385 @if target-libobjc
34386 maybe-pdf-target-libobjc: pdf-target-libobjc
34388 pdf-target-libobjc: \
34389 configure-target-libobjc
34390 @: $(MAKE); $(unstage)
34391 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34392 r=`${PWD_COMMAND}`; export r; \
34393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34394 $(NORMAL_TARGET_EXPORTS) \
34395 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
34396 for flag in $(EXTRA_TARGET_FLAGS); do \
34397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34398 done; \
34399 (cd $(TARGET_SUBDIR)/libobjc && \
34400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34402 "RANLIB=$${RANLIB}" \
34403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34404 pdf) \
34405 || exit 1
34407 @endif target-libobjc
34409 .PHONY: maybe-html-target-libobjc html-target-libobjc
34410 maybe-html-target-libobjc:
34411 @if target-libobjc
34412 maybe-html-target-libobjc: html-target-libobjc
34414 html-target-libobjc: \
34415 configure-target-libobjc
34416 @: $(MAKE); $(unstage)
34417 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34418 r=`${PWD_COMMAND}`; export r; \
34419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34420 $(NORMAL_TARGET_EXPORTS) \
34421 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
34422 for flag in $(EXTRA_TARGET_FLAGS); do \
34423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34424 done; \
34425 (cd $(TARGET_SUBDIR)/libobjc && \
34426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34428 "RANLIB=$${RANLIB}" \
34429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34430 html) \
34431 || exit 1
34433 @endif target-libobjc
34435 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
34436 maybe-TAGS-target-libobjc:
34437 @if target-libobjc
34438 maybe-TAGS-target-libobjc: TAGS-target-libobjc
34440 TAGS-target-libobjc: \
34441 configure-target-libobjc
34442 @: $(MAKE); $(unstage)
34443 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34444 r=`${PWD_COMMAND}`; export r; \
34445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34446 $(NORMAL_TARGET_EXPORTS) \
34447 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
34448 for flag in $(EXTRA_TARGET_FLAGS); do \
34449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34450 done; \
34451 (cd $(TARGET_SUBDIR)/libobjc && \
34452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34454 "RANLIB=$${RANLIB}" \
34455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34456 TAGS) \
34457 || exit 1
34459 @endif target-libobjc
34461 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
34462 maybe-install-info-target-libobjc:
34463 @if target-libobjc
34464 maybe-install-info-target-libobjc: install-info-target-libobjc
34466 install-info-target-libobjc: \
34467 configure-target-libobjc \
34468 info-target-libobjc
34469 @: $(MAKE); $(unstage)
34470 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34471 r=`${PWD_COMMAND}`; export r; \
34472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34473 $(NORMAL_TARGET_EXPORTS) \
34474 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
34475 for flag in $(EXTRA_TARGET_FLAGS); do \
34476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34477 done; \
34478 (cd $(TARGET_SUBDIR)/libobjc && \
34479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34481 "RANLIB=$${RANLIB}" \
34482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34483 install-info) \
34484 || exit 1
34486 @endif target-libobjc
34488 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
34489 maybe-install-pdf-target-libobjc:
34490 @if target-libobjc
34491 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
34493 install-pdf-target-libobjc: \
34494 configure-target-libobjc \
34495 pdf-target-libobjc
34496 @: $(MAKE); $(unstage)
34497 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34498 r=`${PWD_COMMAND}`; export r; \
34499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34500 $(NORMAL_TARGET_EXPORTS) \
34501 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
34502 for flag in $(EXTRA_TARGET_FLAGS); do \
34503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34504 done; \
34505 (cd $(TARGET_SUBDIR)/libobjc && \
34506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34508 "RANLIB=$${RANLIB}" \
34509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34510 install-pdf) \
34511 || exit 1
34513 @endif target-libobjc
34515 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
34516 maybe-install-html-target-libobjc:
34517 @if target-libobjc
34518 maybe-install-html-target-libobjc: install-html-target-libobjc
34520 install-html-target-libobjc: \
34521 configure-target-libobjc \
34522 html-target-libobjc
34523 @: $(MAKE); $(unstage)
34524 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34525 r=`${PWD_COMMAND}`; export r; \
34526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34527 $(NORMAL_TARGET_EXPORTS) \
34528 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
34529 for flag in $(EXTRA_TARGET_FLAGS); do \
34530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34531 done; \
34532 (cd $(TARGET_SUBDIR)/libobjc && \
34533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34535 "RANLIB=$${RANLIB}" \
34536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34537 install-html) \
34538 || exit 1
34540 @endif target-libobjc
34542 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
34543 maybe-installcheck-target-libobjc:
34544 @if target-libobjc
34545 maybe-installcheck-target-libobjc: installcheck-target-libobjc
34547 installcheck-target-libobjc: \
34548 configure-target-libobjc
34549 @: $(MAKE); $(unstage)
34550 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34551 r=`${PWD_COMMAND}`; export r; \
34552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34553 $(NORMAL_TARGET_EXPORTS) \
34554 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
34555 for flag in $(EXTRA_TARGET_FLAGS); do \
34556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34557 done; \
34558 (cd $(TARGET_SUBDIR)/libobjc && \
34559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34561 "RANLIB=$${RANLIB}" \
34562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34563 installcheck) \
34564 || exit 1
34566 @endif target-libobjc
34568 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
34569 maybe-mostlyclean-target-libobjc:
34570 @if target-libobjc
34571 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
34573 mostlyclean-target-libobjc:
34574 @: $(MAKE); $(unstage)
34575 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34576 r=`${PWD_COMMAND}`; export r; \
34577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34578 $(NORMAL_TARGET_EXPORTS) \
34579 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
34580 for flag in $(EXTRA_TARGET_FLAGS); do \
34581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34582 done; \
34583 (cd $(TARGET_SUBDIR)/libobjc && \
34584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34586 "RANLIB=$${RANLIB}" \
34587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34588 mostlyclean) \
34589 || exit 1
34591 @endif target-libobjc
34593 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
34594 maybe-clean-target-libobjc:
34595 @if target-libobjc
34596 maybe-clean-target-libobjc: clean-target-libobjc
34598 clean-target-libobjc:
34599 @: $(MAKE); $(unstage)
34600 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34601 r=`${PWD_COMMAND}`; export r; \
34602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34603 $(NORMAL_TARGET_EXPORTS) \
34604 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
34605 for flag in $(EXTRA_TARGET_FLAGS); do \
34606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34607 done; \
34608 (cd $(TARGET_SUBDIR)/libobjc && \
34609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34611 "RANLIB=$${RANLIB}" \
34612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34613 clean) \
34614 || exit 1
34616 @endif target-libobjc
34618 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
34619 maybe-distclean-target-libobjc:
34620 @if target-libobjc
34621 maybe-distclean-target-libobjc: distclean-target-libobjc
34623 distclean-target-libobjc:
34624 @: $(MAKE); $(unstage)
34625 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34626 r=`${PWD_COMMAND}`; export r; \
34627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34628 $(NORMAL_TARGET_EXPORTS) \
34629 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
34630 for flag in $(EXTRA_TARGET_FLAGS); do \
34631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34632 done; \
34633 (cd $(TARGET_SUBDIR)/libobjc && \
34634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34636 "RANLIB=$${RANLIB}" \
34637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34638 distclean) \
34639 || exit 1
34641 @endif target-libobjc
34643 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
34644 maybe-maintainer-clean-target-libobjc:
34645 @if target-libobjc
34646 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
34648 maintainer-clean-target-libobjc:
34649 @: $(MAKE); $(unstage)
34650 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34651 r=`${PWD_COMMAND}`; export r; \
34652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34653 $(NORMAL_TARGET_EXPORTS) \
34654 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
34655 for flag in $(EXTRA_TARGET_FLAGS); do \
34656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34657 done; \
34658 (cd $(TARGET_SUBDIR)/libobjc && \
34659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34661 "RANLIB=$${RANLIB}" \
34662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34663 maintainer-clean) \
34664 || exit 1
34666 @endif target-libobjc
34672 .PHONY: configure-target-libgo maybe-configure-target-libgo
34673 maybe-configure-target-libgo:
34674 @if gcc-bootstrap
34675 configure-target-libgo: stage_current
34676 @endif gcc-bootstrap
34677 @if target-libgo
34678 maybe-configure-target-libgo: configure-target-libgo
34679 configure-target-libgo:
34680 @: $(MAKE); $(unstage)
34681 @r=`${PWD_COMMAND}`; export r; \
34682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34683 echo "Checking multilib configuration for libgo..."; \
34684 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
34685 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null ; \
34686 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
34687 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
34688 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
34689 else \
34690 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
34691 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
34692 fi; \
34693 else \
34694 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
34695 fi; \
34696 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
34697 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
34698 $(NORMAL_TARGET_EXPORTS) \
34699 echo Configuring in $(TARGET_SUBDIR)/libgo; \
34700 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
34701 case $(srcdir) in \
34702 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34703 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
34704 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34705 esac; \
34706 srcdiroption="--srcdir=$${topdir}/libgo"; \
34707 libsrcdir="$$s/libgo"; \
34708 rm -f no-such-file || : ; \
34709 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34710 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34711 --target=${target_alias} $${srcdiroption} \
34712 || exit 1
34713 @endif target-libgo
34719 .PHONY: all-target-libgo maybe-all-target-libgo
34720 maybe-all-target-libgo:
34721 @if gcc-bootstrap
34722 all-target-libgo: stage_current
34723 @endif gcc-bootstrap
34724 @if target-libgo
34725 TARGET-target-libgo=all
34726 maybe-all-target-libgo: all-target-libgo
34727 all-target-libgo: configure-target-libgo
34728 @: $(MAKE); $(unstage)
34729 @r=`${PWD_COMMAND}`; export r; \
34730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34731 $(NORMAL_TARGET_EXPORTS) \
34732 (cd $(TARGET_SUBDIR)/libgo && \
34733 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34734 $(TARGET-target-libgo))
34735 @endif target-libgo
34741 .PHONY: check-target-libgo maybe-check-target-libgo
34742 maybe-check-target-libgo:
34743 @if target-libgo
34744 maybe-check-target-libgo: check-target-libgo
34746 check-target-libgo:
34747 @: $(MAKE); $(unstage)
34748 @r=`${PWD_COMMAND}`; export r; \
34749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34750 $(NORMAL_TARGET_EXPORTS) \
34751 (cd $(TARGET_SUBDIR)/libgo && \
34752 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34754 @endif target-libgo
34756 .PHONY: install-target-libgo maybe-install-target-libgo
34757 maybe-install-target-libgo:
34758 @if target-libgo
34759 maybe-install-target-libgo: install-target-libgo
34761 install-target-libgo: installdirs
34762 @: $(MAKE); $(unstage)
34763 @r=`${PWD_COMMAND}`; export r; \
34764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34765 $(NORMAL_TARGET_EXPORTS) \
34766 (cd $(TARGET_SUBDIR)/libgo && \
34767 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34769 @endif target-libgo
34771 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
34772 maybe-install-strip-target-libgo:
34773 @if target-libgo
34774 maybe-install-strip-target-libgo: install-strip-target-libgo
34776 install-strip-target-libgo: installdirs
34777 @: $(MAKE); $(unstage)
34778 @r=`${PWD_COMMAND}`; export r; \
34779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34780 $(NORMAL_TARGET_EXPORTS) \
34781 (cd $(TARGET_SUBDIR)/libgo && \
34782 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34784 @endif target-libgo
34786 # Other targets (info, dvi, pdf, etc.)
34788 .PHONY: maybe-info-target-libgo info-target-libgo
34789 maybe-info-target-libgo:
34790 @if target-libgo
34791 maybe-info-target-libgo: info-target-libgo
34793 info-target-libgo: \
34794 configure-target-libgo
34795 @: $(MAKE); $(unstage)
34796 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34797 r=`${PWD_COMMAND}`; export r; \
34798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34799 $(NORMAL_TARGET_EXPORTS) \
34800 echo "Doing info in $(TARGET_SUBDIR)/libgo" ; \
34801 for flag in $(EXTRA_TARGET_FLAGS); do \
34802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34803 done; \
34804 (cd $(TARGET_SUBDIR)/libgo && \
34805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34807 "RANLIB=$${RANLIB}" \
34808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34809 info) \
34810 || exit 1
34812 @endif target-libgo
34814 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
34815 maybe-dvi-target-libgo:
34816 @if target-libgo
34817 maybe-dvi-target-libgo: dvi-target-libgo
34819 dvi-target-libgo: \
34820 configure-target-libgo
34821 @: $(MAKE); $(unstage)
34822 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34823 r=`${PWD_COMMAND}`; export r; \
34824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34825 $(NORMAL_TARGET_EXPORTS) \
34826 echo "Doing dvi in $(TARGET_SUBDIR)/libgo" ; \
34827 for flag in $(EXTRA_TARGET_FLAGS); do \
34828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34829 done; \
34830 (cd $(TARGET_SUBDIR)/libgo && \
34831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34833 "RANLIB=$${RANLIB}" \
34834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34835 dvi) \
34836 || exit 1
34838 @endif target-libgo
34840 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
34841 maybe-pdf-target-libgo:
34842 @if target-libgo
34843 maybe-pdf-target-libgo: pdf-target-libgo
34845 pdf-target-libgo: \
34846 configure-target-libgo
34847 @: $(MAKE); $(unstage)
34848 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34849 r=`${PWD_COMMAND}`; export r; \
34850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34851 $(NORMAL_TARGET_EXPORTS) \
34852 echo "Doing pdf in $(TARGET_SUBDIR)/libgo" ; \
34853 for flag in $(EXTRA_TARGET_FLAGS); do \
34854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34855 done; \
34856 (cd $(TARGET_SUBDIR)/libgo && \
34857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34859 "RANLIB=$${RANLIB}" \
34860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34861 pdf) \
34862 || exit 1
34864 @endif target-libgo
34866 .PHONY: maybe-html-target-libgo html-target-libgo
34867 maybe-html-target-libgo:
34868 @if target-libgo
34869 maybe-html-target-libgo: html-target-libgo
34871 html-target-libgo: \
34872 configure-target-libgo
34873 @: $(MAKE); $(unstage)
34874 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34875 r=`${PWD_COMMAND}`; export r; \
34876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34877 $(NORMAL_TARGET_EXPORTS) \
34878 echo "Doing html in $(TARGET_SUBDIR)/libgo" ; \
34879 for flag in $(EXTRA_TARGET_FLAGS); do \
34880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34881 done; \
34882 (cd $(TARGET_SUBDIR)/libgo && \
34883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34885 "RANLIB=$${RANLIB}" \
34886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34887 html) \
34888 || exit 1
34890 @endif target-libgo
34892 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
34893 maybe-TAGS-target-libgo:
34894 @if target-libgo
34895 maybe-TAGS-target-libgo: TAGS-target-libgo
34897 TAGS-target-libgo: \
34898 configure-target-libgo
34899 @: $(MAKE); $(unstage)
34900 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34901 r=`${PWD_COMMAND}`; export r; \
34902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34903 $(NORMAL_TARGET_EXPORTS) \
34904 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo" ; \
34905 for flag in $(EXTRA_TARGET_FLAGS); do \
34906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34907 done; \
34908 (cd $(TARGET_SUBDIR)/libgo && \
34909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34911 "RANLIB=$${RANLIB}" \
34912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34913 TAGS) \
34914 || exit 1
34916 @endif target-libgo
34918 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
34919 maybe-install-info-target-libgo:
34920 @if target-libgo
34921 maybe-install-info-target-libgo: install-info-target-libgo
34923 install-info-target-libgo: \
34924 configure-target-libgo \
34925 info-target-libgo
34926 @: $(MAKE); $(unstage)
34927 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34928 r=`${PWD_COMMAND}`; export r; \
34929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34930 $(NORMAL_TARGET_EXPORTS) \
34931 echo "Doing install-info in $(TARGET_SUBDIR)/libgo" ; \
34932 for flag in $(EXTRA_TARGET_FLAGS); do \
34933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34934 done; \
34935 (cd $(TARGET_SUBDIR)/libgo && \
34936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34938 "RANLIB=$${RANLIB}" \
34939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34940 install-info) \
34941 || exit 1
34943 @endif target-libgo
34945 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
34946 maybe-install-pdf-target-libgo:
34947 @if target-libgo
34948 maybe-install-pdf-target-libgo: install-pdf-target-libgo
34950 install-pdf-target-libgo: \
34951 configure-target-libgo \
34952 pdf-target-libgo
34953 @: $(MAKE); $(unstage)
34954 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34955 r=`${PWD_COMMAND}`; export r; \
34956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34957 $(NORMAL_TARGET_EXPORTS) \
34958 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo" ; \
34959 for flag in $(EXTRA_TARGET_FLAGS); do \
34960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34961 done; \
34962 (cd $(TARGET_SUBDIR)/libgo && \
34963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34965 "RANLIB=$${RANLIB}" \
34966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34967 install-pdf) \
34968 || exit 1
34970 @endif target-libgo
34972 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
34973 maybe-install-html-target-libgo:
34974 @if target-libgo
34975 maybe-install-html-target-libgo: install-html-target-libgo
34977 install-html-target-libgo: \
34978 configure-target-libgo \
34979 html-target-libgo
34980 @: $(MAKE); $(unstage)
34981 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34982 r=`${PWD_COMMAND}`; export r; \
34983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34984 $(NORMAL_TARGET_EXPORTS) \
34985 echo "Doing install-html in $(TARGET_SUBDIR)/libgo" ; \
34986 for flag in $(EXTRA_TARGET_FLAGS); do \
34987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34988 done; \
34989 (cd $(TARGET_SUBDIR)/libgo && \
34990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34992 "RANLIB=$${RANLIB}" \
34993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34994 install-html) \
34995 || exit 1
34997 @endif target-libgo
34999 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
35000 maybe-installcheck-target-libgo:
35001 @if target-libgo
35002 maybe-installcheck-target-libgo: installcheck-target-libgo
35004 installcheck-target-libgo: \
35005 configure-target-libgo
35006 @: $(MAKE); $(unstage)
35007 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35008 r=`${PWD_COMMAND}`; export r; \
35009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35010 $(NORMAL_TARGET_EXPORTS) \
35011 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo" ; \
35012 for flag in $(EXTRA_TARGET_FLAGS); do \
35013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35014 done; \
35015 (cd $(TARGET_SUBDIR)/libgo && \
35016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35018 "RANLIB=$${RANLIB}" \
35019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35020 installcheck) \
35021 || exit 1
35023 @endif target-libgo
35025 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
35026 maybe-mostlyclean-target-libgo:
35027 @if target-libgo
35028 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
35030 mostlyclean-target-libgo:
35031 @: $(MAKE); $(unstage)
35032 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35033 r=`${PWD_COMMAND}`; export r; \
35034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35035 $(NORMAL_TARGET_EXPORTS) \
35036 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo" ; \
35037 for flag in $(EXTRA_TARGET_FLAGS); do \
35038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35039 done; \
35040 (cd $(TARGET_SUBDIR)/libgo && \
35041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35043 "RANLIB=$${RANLIB}" \
35044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35045 mostlyclean) \
35046 || exit 1
35048 @endif target-libgo
35050 .PHONY: maybe-clean-target-libgo clean-target-libgo
35051 maybe-clean-target-libgo:
35052 @if target-libgo
35053 maybe-clean-target-libgo: clean-target-libgo
35055 clean-target-libgo:
35056 @: $(MAKE); $(unstage)
35057 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35058 r=`${PWD_COMMAND}`; export r; \
35059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35060 $(NORMAL_TARGET_EXPORTS) \
35061 echo "Doing clean in $(TARGET_SUBDIR)/libgo" ; \
35062 for flag in $(EXTRA_TARGET_FLAGS); do \
35063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35064 done; \
35065 (cd $(TARGET_SUBDIR)/libgo && \
35066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35068 "RANLIB=$${RANLIB}" \
35069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35070 clean) \
35071 || exit 1
35073 @endif target-libgo
35075 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
35076 maybe-distclean-target-libgo:
35077 @if target-libgo
35078 maybe-distclean-target-libgo: distclean-target-libgo
35080 distclean-target-libgo:
35081 @: $(MAKE); $(unstage)
35082 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35083 r=`${PWD_COMMAND}`; export r; \
35084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35085 $(NORMAL_TARGET_EXPORTS) \
35086 echo "Doing distclean in $(TARGET_SUBDIR)/libgo" ; \
35087 for flag in $(EXTRA_TARGET_FLAGS); do \
35088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35089 done; \
35090 (cd $(TARGET_SUBDIR)/libgo && \
35091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35093 "RANLIB=$${RANLIB}" \
35094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35095 distclean) \
35096 || exit 1
35098 @endif target-libgo
35100 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
35101 maybe-maintainer-clean-target-libgo:
35102 @if target-libgo
35103 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
35105 maintainer-clean-target-libgo:
35106 @: $(MAKE); $(unstage)
35107 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35108 r=`${PWD_COMMAND}`; export r; \
35109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35110 $(NORMAL_TARGET_EXPORTS) \
35111 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo" ; \
35112 for flag in $(EXTRA_TARGET_FLAGS); do \
35113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35114 done; \
35115 (cd $(TARGET_SUBDIR)/libgo && \
35116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35118 "RANLIB=$${RANLIB}" \
35119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35120 maintainer-clean) \
35121 || exit 1
35123 @endif target-libgo
35129 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
35130 maybe-configure-target-libtermcap:
35131 @if gcc-bootstrap
35132 configure-target-libtermcap: stage_current
35133 @endif gcc-bootstrap
35134 @if target-libtermcap
35135 maybe-configure-target-libtermcap: configure-target-libtermcap
35136 configure-target-libtermcap:
35137 @: $(MAKE); $(unstage)
35138 @r=`${PWD_COMMAND}`; export r; \
35139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35140 echo "Checking multilib configuration for libtermcap..."; \
35141 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
35142 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
35143 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
35144 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
35145 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
35146 else \
35147 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
35148 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
35149 fi; \
35150 else \
35151 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
35152 fi; \
35153 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
35154 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
35155 $(NORMAL_TARGET_EXPORTS) \
35156 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
35157 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
35158 case $(srcdir) in \
35159 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35160 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
35161 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35162 esac; \
35163 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
35164 libsrcdir="$$s/libtermcap"; \
35165 rm -f no-such-file || : ; \
35166 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35167 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35168 --target=${target_alias} $${srcdiroption} \
35169 || exit 1
35170 @endif target-libtermcap
35176 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
35177 maybe-all-target-libtermcap:
35178 @if gcc-bootstrap
35179 all-target-libtermcap: stage_current
35180 @endif gcc-bootstrap
35181 @if target-libtermcap
35182 TARGET-target-libtermcap=all
35183 maybe-all-target-libtermcap: all-target-libtermcap
35184 all-target-libtermcap: configure-target-libtermcap
35185 @: $(MAKE); $(unstage)
35186 @r=`${PWD_COMMAND}`; export r; \
35187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35188 $(NORMAL_TARGET_EXPORTS) \
35189 (cd $(TARGET_SUBDIR)/libtermcap && \
35190 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35191 $(TARGET-target-libtermcap))
35192 @endif target-libtermcap
35198 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
35199 maybe-check-target-libtermcap:
35200 @if target-libtermcap
35201 maybe-check-target-libtermcap: check-target-libtermcap
35203 # Dummy target for uncheckable module.
35204 check-target-libtermcap:
35206 @endif target-libtermcap
35208 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
35209 maybe-install-target-libtermcap:
35210 @if target-libtermcap
35211 maybe-install-target-libtermcap: install-target-libtermcap
35213 install-target-libtermcap: installdirs
35214 @: $(MAKE); $(unstage)
35215 @r=`${PWD_COMMAND}`; export r; \
35216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35217 $(NORMAL_TARGET_EXPORTS) \
35218 (cd $(TARGET_SUBDIR)/libtermcap && \
35219 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35221 @endif target-libtermcap
35223 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
35224 maybe-install-strip-target-libtermcap:
35225 @if target-libtermcap
35226 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
35228 install-strip-target-libtermcap: installdirs
35229 @: $(MAKE); $(unstage)
35230 @r=`${PWD_COMMAND}`; export r; \
35231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35232 $(NORMAL_TARGET_EXPORTS) \
35233 (cd $(TARGET_SUBDIR)/libtermcap && \
35234 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35236 @endif target-libtermcap
35238 # Other targets (info, dvi, pdf, etc.)
35240 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
35241 maybe-info-target-libtermcap:
35242 @if target-libtermcap
35243 maybe-info-target-libtermcap: info-target-libtermcap
35245 info-target-libtermcap: \
35246 configure-target-libtermcap
35247 @: $(MAKE); $(unstage)
35248 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35249 r=`${PWD_COMMAND}`; export r; \
35250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35251 $(NORMAL_TARGET_EXPORTS) \
35252 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
35253 for flag in $(EXTRA_TARGET_FLAGS); do \
35254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35255 done; \
35256 (cd $(TARGET_SUBDIR)/libtermcap && \
35257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35259 "RANLIB=$${RANLIB}" \
35260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35261 info) \
35262 || exit 1
35264 @endif target-libtermcap
35266 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
35267 maybe-dvi-target-libtermcap:
35268 @if target-libtermcap
35269 maybe-dvi-target-libtermcap: dvi-target-libtermcap
35271 dvi-target-libtermcap: \
35272 configure-target-libtermcap
35273 @: $(MAKE); $(unstage)
35274 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35275 r=`${PWD_COMMAND}`; export r; \
35276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35277 $(NORMAL_TARGET_EXPORTS) \
35278 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
35279 for flag in $(EXTRA_TARGET_FLAGS); do \
35280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35281 done; \
35282 (cd $(TARGET_SUBDIR)/libtermcap && \
35283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35285 "RANLIB=$${RANLIB}" \
35286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35287 dvi) \
35288 || exit 1
35290 @endif target-libtermcap
35292 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
35293 maybe-pdf-target-libtermcap:
35294 @if target-libtermcap
35295 maybe-pdf-target-libtermcap: pdf-target-libtermcap
35297 pdf-target-libtermcap: \
35298 configure-target-libtermcap
35299 @: $(MAKE); $(unstage)
35300 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35301 r=`${PWD_COMMAND}`; export r; \
35302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35303 $(NORMAL_TARGET_EXPORTS) \
35304 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
35305 for flag in $(EXTRA_TARGET_FLAGS); do \
35306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35307 done; \
35308 (cd $(TARGET_SUBDIR)/libtermcap && \
35309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35311 "RANLIB=$${RANLIB}" \
35312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35313 pdf) \
35314 || exit 1
35316 @endif target-libtermcap
35318 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
35319 maybe-html-target-libtermcap:
35320 @if target-libtermcap
35321 maybe-html-target-libtermcap: html-target-libtermcap
35323 html-target-libtermcap: \
35324 configure-target-libtermcap
35325 @: $(MAKE); $(unstage)
35326 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35327 r=`${PWD_COMMAND}`; export r; \
35328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35329 $(NORMAL_TARGET_EXPORTS) \
35330 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
35331 for flag in $(EXTRA_TARGET_FLAGS); do \
35332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35333 done; \
35334 (cd $(TARGET_SUBDIR)/libtermcap && \
35335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35337 "RANLIB=$${RANLIB}" \
35338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35339 html) \
35340 || exit 1
35342 @endif target-libtermcap
35344 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
35345 maybe-TAGS-target-libtermcap:
35346 @if target-libtermcap
35347 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
35349 TAGS-target-libtermcap: \
35350 configure-target-libtermcap
35351 @: $(MAKE); $(unstage)
35352 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35353 r=`${PWD_COMMAND}`; export r; \
35354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35355 $(NORMAL_TARGET_EXPORTS) \
35356 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
35357 for flag in $(EXTRA_TARGET_FLAGS); do \
35358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35359 done; \
35360 (cd $(TARGET_SUBDIR)/libtermcap && \
35361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35363 "RANLIB=$${RANLIB}" \
35364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35365 TAGS) \
35366 || exit 1
35368 @endif target-libtermcap
35370 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
35371 maybe-install-info-target-libtermcap:
35372 @if target-libtermcap
35373 maybe-install-info-target-libtermcap: install-info-target-libtermcap
35375 install-info-target-libtermcap: \
35376 configure-target-libtermcap \
35377 info-target-libtermcap
35378 @: $(MAKE); $(unstage)
35379 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35380 r=`${PWD_COMMAND}`; export r; \
35381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35382 $(NORMAL_TARGET_EXPORTS) \
35383 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
35384 for flag in $(EXTRA_TARGET_FLAGS); do \
35385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35386 done; \
35387 (cd $(TARGET_SUBDIR)/libtermcap && \
35388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35390 "RANLIB=$${RANLIB}" \
35391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35392 install-info) \
35393 || exit 1
35395 @endif target-libtermcap
35397 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
35398 maybe-install-pdf-target-libtermcap:
35399 @if target-libtermcap
35400 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
35402 install-pdf-target-libtermcap: \
35403 configure-target-libtermcap \
35404 pdf-target-libtermcap
35405 @: $(MAKE); $(unstage)
35406 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35407 r=`${PWD_COMMAND}`; export r; \
35408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35409 $(NORMAL_TARGET_EXPORTS) \
35410 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
35411 for flag in $(EXTRA_TARGET_FLAGS); do \
35412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35413 done; \
35414 (cd $(TARGET_SUBDIR)/libtermcap && \
35415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35417 "RANLIB=$${RANLIB}" \
35418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35419 install-pdf) \
35420 || exit 1
35422 @endif target-libtermcap
35424 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
35425 maybe-install-html-target-libtermcap:
35426 @if target-libtermcap
35427 maybe-install-html-target-libtermcap: install-html-target-libtermcap
35429 install-html-target-libtermcap: \
35430 configure-target-libtermcap \
35431 html-target-libtermcap
35432 @: $(MAKE); $(unstage)
35433 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35434 r=`${PWD_COMMAND}`; export r; \
35435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35436 $(NORMAL_TARGET_EXPORTS) \
35437 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
35438 for flag in $(EXTRA_TARGET_FLAGS); do \
35439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35440 done; \
35441 (cd $(TARGET_SUBDIR)/libtermcap && \
35442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35444 "RANLIB=$${RANLIB}" \
35445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35446 install-html) \
35447 || exit 1
35449 @endif target-libtermcap
35451 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
35452 maybe-installcheck-target-libtermcap:
35453 @if target-libtermcap
35454 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
35456 installcheck-target-libtermcap: \
35457 configure-target-libtermcap
35458 @: $(MAKE); $(unstage)
35459 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35460 r=`${PWD_COMMAND}`; export r; \
35461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35462 $(NORMAL_TARGET_EXPORTS) \
35463 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
35464 for flag in $(EXTRA_TARGET_FLAGS); do \
35465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35466 done; \
35467 (cd $(TARGET_SUBDIR)/libtermcap && \
35468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35470 "RANLIB=$${RANLIB}" \
35471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35472 installcheck) \
35473 || exit 1
35475 @endif target-libtermcap
35477 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
35478 maybe-mostlyclean-target-libtermcap:
35479 @if target-libtermcap
35480 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
35482 # libtermcap doesn't support mostlyclean.
35483 mostlyclean-target-libtermcap:
35485 @endif target-libtermcap
35487 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
35488 maybe-clean-target-libtermcap:
35489 @if target-libtermcap
35490 maybe-clean-target-libtermcap: clean-target-libtermcap
35492 # libtermcap doesn't support clean.
35493 clean-target-libtermcap:
35495 @endif target-libtermcap
35497 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
35498 maybe-distclean-target-libtermcap:
35499 @if target-libtermcap
35500 maybe-distclean-target-libtermcap: distclean-target-libtermcap
35502 # libtermcap doesn't support distclean.
35503 distclean-target-libtermcap:
35505 @endif target-libtermcap
35507 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
35508 maybe-maintainer-clean-target-libtermcap:
35509 @if target-libtermcap
35510 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
35512 # libtermcap doesn't support maintainer-clean.
35513 maintainer-clean-target-libtermcap:
35515 @endif target-libtermcap
35521 .PHONY: configure-target-winsup maybe-configure-target-winsup
35522 maybe-configure-target-winsup:
35523 @if gcc-bootstrap
35524 configure-target-winsup: stage_current
35525 @endif gcc-bootstrap
35526 @if target-winsup
35527 maybe-configure-target-winsup: configure-target-winsup
35528 configure-target-winsup:
35529 @: $(MAKE); $(unstage)
35530 @r=`${PWD_COMMAND}`; export r; \
35531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35532 echo "Checking multilib configuration for winsup..."; \
35533 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
35534 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
35535 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
35536 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
35537 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
35538 else \
35539 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
35540 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
35541 fi; \
35542 else \
35543 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
35544 fi; \
35545 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
35546 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
35547 $(NORMAL_TARGET_EXPORTS) \
35548 echo Configuring in $(TARGET_SUBDIR)/winsup; \
35549 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
35550 case $(srcdir) in \
35551 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35552 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
35553 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35554 esac; \
35555 srcdiroption="--srcdir=$${topdir}/winsup"; \
35556 libsrcdir="$$s/winsup"; \
35557 rm -f no-such-file || : ; \
35558 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35559 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35560 --target=${target_alias} $${srcdiroption} \
35561 || exit 1
35562 @endif target-winsup
35568 .PHONY: all-target-winsup maybe-all-target-winsup
35569 maybe-all-target-winsup:
35570 @if gcc-bootstrap
35571 all-target-winsup: stage_current
35572 @endif gcc-bootstrap
35573 @if target-winsup
35574 TARGET-target-winsup=all
35575 maybe-all-target-winsup: all-target-winsup
35576 all-target-winsup: configure-target-winsup
35577 @: $(MAKE); $(unstage)
35578 @r=`${PWD_COMMAND}`; export r; \
35579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35580 $(NORMAL_TARGET_EXPORTS) \
35581 (cd $(TARGET_SUBDIR)/winsup && \
35582 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35583 $(TARGET-target-winsup))
35584 @endif target-winsup
35590 .PHONY: check-target-winsup maybe-check-target-winsup
35591 maybe-check-target-winsup:
35592 @if target-winsup
35593 maybe-check-target-winsup: check-target-winsup
35595 check-target-winsup:
35596 @: $(MAKE); $(unstage)
35597 @r=`${PWD_COMMAND}`; export r; \
35598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35599 $(NORMAL_TARGET_EXPORTS) \
35600 (cd $(TARGET_SUBDIR)/winsup && \
35601 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35603 @endif target-winsup
35605 .PHONY: install-target-winsup maybe-install-target-winsup
35606 maybe-install-target-winsup:
35607 @if target-winsup
35608 maybe-install-target-winsup: install-target-winsup
35610 install-target-winsup: installdirs
35611 @: $(MAKE); $(unstage)
35612 @r=`${PWD_COMMAND}`; export r; \
35613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35614 $(NORMAL_TARGET_EXPORTS) \
35615 (cd $(TARGET_SUBDIR)/winsup && \
35616 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35618 @endif target-winsup
35620 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
35621 maybe-install-strip-target-winsup:
35622 @if target-winsup
35623 maybe-install-strip-target-winsup: install-strip-target-winsup
35625 install-strip-target-winsup: installdirs
35626 @: $(MAKE); $(unstage)
35627 @r=`${PWD_COMMAND}`; export r; \
35628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35629 $(NORMAL_TARGET_EXPORTS) \
35630 (cd $(TARGET_SUBDIR)/winsup && \
35631 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35633 @endif target-winsup
35635 # Other targets (info, dvi, pdf, etc.)
35637 .PHONY: maybe-info-target-winsup info-target-winsup
35638 maybe-info-target-winsup:
35639 @if target-winsup
35640 maybe-info-target-winsup: info-target-winsup
35642 info-target-winsup: \
35643 configure-target-winsup
35644 @: $(MAKE); $(unstage)
35645 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35646 r=`${PWD_COMMAND}`; export r; \
35647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35648 $(NORMAL_TARGET_EXPORTS) \
35649 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
35650 for flag in $(EXTRA_TARGET_FLAGS); do \
35651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35652 done; \
35653 (cd $(TARGET_SUBDIR)/winsup && \
35654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35656 "RANLIB=$${RANLIB}" \
35657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35658 info) \
35659 || exit 1
35661 @endif target-winsup
35663 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
35664 maybe-dvi-target-winsup:
35665 @if target-winsup
35666 maybe-dvi-target-winsup: dvi-target-winsup
35668 dvi-target-winsup: \
35669 configure-target-winsup
35670 @: $(MAKE); $(unstage)
35671 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35672 r=`${PWD_COMMAND}`; export r; \
35673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35674 $(NORMAL_TARGET_EXPORTS) \
35675 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
35676 for flag in $(EXTRA_TARGET_FLAGS); do \
35677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35678 done; \
35679 (cd $(TARGET_SUBDIR)/winsup && \
35680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35682 "RANLIB=$${RANLIB}" \
35683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35684 dvi) \
35685 || exit 1
35687 @endif target-winsup
35689 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
35690 maybe-pdf-target-winsup:
35691 @if target-winsup
35692 maybe-pdf-target-winsup: pdf-target-winsup
35694 pdf-target-winsup: \
35695 configure-target-winsup
35696 @: $(MAKE); $(unstage)
35697 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35698 r=`${PWD_COMMAND}`; export r; \
35699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35700 $(NORMAL_TARGET_EXPORTS) \
35701 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
35702 for flag in $(EXTRA_TARGET_FLAGS); do \
35703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35704 done; \
35705 (cd $(TARGET_SUBDIR)/winsup && \
35706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35708 "RANLIB=$${RANLIB}" \
35709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35710 pdf) \
35711 || exit 1
35713 @endif target-winsup
35715 .PHONY: maybe-html-target-winsup html-target-winsup
35716 maybe-html-target-winsup:
35717 @if target-winsup
35718 maybe-html-target-winsup: html-target-winsup
35720 html-target-winsup: \
35721 configure-target-winsup
35722 @: $(MAKE); $(unstage)
35723 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35724 r=`${PWD_COMMAND}`; export r; \
35725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35726 $(NORMAL_TARGET_EXPORTS) \
35727 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
35728 for flag in $(EXTRA_TARGET_FLAGS); do \
35729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35730 done; \
35731 (cd $(TARGET_SUBDIR)/winsup && \
35732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35734 "RANLIB=$${RANLIB}" \
35735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35736 html) \
35737 || exit 1
35739 @endif target-winsup
35741 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
35742 maybe-TAGS-target-winsup:
35743 @if target-winsup
35744 maybe-TAGS-target-winsup: TAGS-target-winsup
35746 TAGS-target-winsup: \
35747 configure-target-winsup
35748 @: $(MAKE); $(unstage)
35749 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35750 r=`${PWD_COMMAND}`; export r; \
35751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35752 $(NORMAL_TARGET_EXPORTS) \
35753 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
35754 for flag in $(EXTRA_TARGET_FLAGS); do \
35755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35756 done; \
35757 (cd $(TARGET_SUBDIR)/winsup && \
35758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35760 "RANLIB=$${RANLIB}" \
35761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35762 TAGS) \
35763 || exit 1
35765 @endif target-winsup
35767 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
35768 maybe-install-info-target-winsup:
35769 @if target-winsup
35770 maybe-install-info-target-winsup: install-info-target-winsup
35772 install-info-target-winsup: \
35773 configure-target-winsup \
35774 info-target-winsup
35775 @: $(MAKE); $(unstage)
35776 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35777 r=`${PWD_COMMAND}`; export r; \
35778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35779 $(NORMAL_TARGET_EXPORTS) \
35780 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
35781 for flag in $(EXTRA_TARGET_FLAGS); do \
35782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35783 done; \
35784 (cd $(TARGET_SUBDIR)/winsup && \
35785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35787 "RANLIB=$${RANLIB}" \
35788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35789 install-info) \
35790 || exit 1
35792 @endif target-winsup
35794 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
35795 maybe-install-pdf-target-winsup:
35796 @if target-winsup
35797 maybe-install-pdf-target-winsup: install-pdf-target-winsup
35799 install-pdf-target-winsup: \
35800 configure-target-winsup \
35801 pdf-target-winsup
35802 @: $(MAKE); $(unstage)
35803 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35804 r=`${PWD_COMMAND}`; export r; \
35805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35806 $(NORMAL_TARGET_EXPORTS) \
35807 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
35808 for flag in $(EXTRA_TARGET_FLAGS); do \
35809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35810 done; \
35811 (cd $(TARGET_SUBDIR)/winsup && \
35812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35814 "RANLIB=$${RANLIB}" \
35815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35816 install-pdf) \
35817 || exit 1
35819 @endif target-winsup
35821 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
35822 maybe-install-html-target-winsup:
35823 @if target-winsup
35824 maybe-install-html-target-winsup: install-html-target-winsup
35826 install-html-target-winsup: \
35827 configure-target-winsup \
35828 html-target-winsup
35829 @: $(MAKE); $(unstage)
35830 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35831 r=`${PWD_COMMAND}`; export r; \
35832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35833 $(NORMAL_TARGET_EXPORTS) \
35834 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
35835 for flag in $(EXTRA_TARGET_FLAGS); do \
35836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35837 done; \
35838 (cd $(TARGET_SUBDIR)/winsup && \
35839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35841 "RANLIB=$${RANLIB}" \
35842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35843 install-html) \
35844 || exit 1
35846 @endif target-winsup
35848 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
35849 maybe-installcheck-target-winsup:
35850 @if target-winsup
35851 maybe-installcheck-target-winsup: installcheck-target-winsup
35853 installcheck-target-winsup: \
35854 configure-target-winsup
35855 @: $(MAKE); $(unstage)
35856 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35857 r=`${PWD_COMMAND}`; export r; \
35858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35859 $(NORMAL_TARGET_EXPORTS) \
35860 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
35861 for flag in $(EXTRA_TARGET_FLAGS); do \
35862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35863 done; \
35864 (cd $(TARGET_SUBDIR)/winsup && \
35865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35867 "RANLIB=$${RANLIB}" \
35868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35869 installcheck) \
35870 || exit 1
35872 @endif target-winsup
35874 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
35875 maybe-mostlyclean-target-winsup:
35876 @if target-winsup
35877 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
35879 mostlyclean-target-winsup:
35880 @: $(MAKE); $(unstage)
35881 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35882 r=`${PWD_COMMAND}`; export r; \
35883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35884 $(NORMAL_TARGET_EXPORTS) \
35885 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
35886 for flag in $(EXTRA_TARGET_FLAGS); do \
35887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35888 done; \
35889 (cd $(TARGET_SUBDIR)/winsup && \
35890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35892 "RANLIB=$${RANLIB}" \
35893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35894 mostlyclean) \
35895 || exit 1
35897 @endif target-winsup
35899 .PHONY: maybe-clean-target-winsup clean-target-winsup
35900 maybe-clean-target-winsup:
35901 @if target-winsup
35902 maybe-clean-target-winsup: clean-target-winsup
35904 clean-target-winsup:
35905 @: $(MAKE); $(unstage)
35906 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35907 r=`${PWD_COMMAND}`; export r; \
35908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35909 $(NORMAL_TARGET_EXPORTS) \
35910 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
35911 for flag in $(EXTRA_TARGET_FLAGS); do \
35912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35913 done; \
35914 (cd $(TARGET_SUBDIR)/winsup && \
35915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35917 "RANLIB=$${RANLIB}" \
35918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35919 clean) \
35920 || exit 1
35922 @endif target-winsup
35924 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
35925 maybe-distclean-target-winsup:
35926 @if target-winsup
35927 maybe-distclean-target-winsup: distclean-target-winsup
35929 distclean-target-winsup:
35930 @: $(MAKE); $(unstage)
35931 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35932 r=`${PWD_COMMAND}`; export r; \
35933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35934 $(NORMAL_TARGET_EXPORTS) \
35935 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
35936 for flag in $(EXTRA_TARGET_FLAGS); do \
35937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35938 done; \
35939 (cd $(TARGET_SUBDIR)/winsup && \
35940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35942 "RANLIB=$${RANLIB}" \
35943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35944 distclean) \
35945 || exit 1
35947 @endif target-winsup
35949 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
35950 maybe-maintainer-clean-target-winsup:
35951 @if target-winsup
35952 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
35954 maintainer-clean-target-winsup:
35955 @: $(MAKE); $(unstage)
35956 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35957 r=`${PWD_COMMAND}`; export r; \
35958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35959 $(NORMAL_TARGET_EXPORTS) \
35960 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
35961 for flag in $(EXTRA_TARGET_FLAGS); do \
35962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35963 done; \
35964 (cd $(TARGET_SUBDIR)/winsup && \
35965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35967 "RANLIB=$${RANLIB}" \
35968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35969 maintainer-clean) \
35970 || exit 1
35972 @endif target-winsup
35978 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
35979 maybe-configure-target-libgloss:
35980 @if gcc-bootstrap
35981 configure-target-libgloss: stage_current
35982 @endif gcc-bootstrap
35983 @if target-libgloss
35984 maybe-configure-target-libgloss: configure-target-libgloss
35985 configure-target-libgloss:
35986 @: $(MAKE); $(unstage)
35987 @r=`${PWD_COMMAND}`; export r; \
35988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35989 echo "Checking multilib configuration for libgloss..."; \
35990 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
35991 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
35992 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
35993 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
35994 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
35995 else \
35996 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
35997 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
35998 fi; \
35999 else \
36000 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
36001 fi; \
36002 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
36003 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
36004 $(NORMAL_TARGET_EXPORTS) \
36005 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
36006 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
36007 case $(srcdir) in \
36008 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36009 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
36010 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36011 esac; \
36012 srcdiroption="--srcdir=$${topdir}/libgloss"; \
36013 libsrcdir="$$s/libgloss"; \
36014 rm -f no-such-file || : ; \
36015 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36016 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36017 --target=${target_alias} $${srcdiroption} \
36018 || exit 1
36019 @endif target-libgloss
36025 .PHONY: all-target-libgloss maybe-all-target-libgloss
36026 maybe-all-target-libgloss:
36027 @if gcc-bootstrap
36028 all-target-libgloss: stage_current
36029 @endif gcc-bootstrap
36030 @if target-libgloss
36031 TARGET-target-libgloss=all
36032 maybe-all-target-libgloss: all-target-libgloss
36033 all-target-libgloss: configure-target-libgloss
36034 @: $(MAKE); $(unstage)
36035 @r=`${PWD_COMMAND}`; export r; \
36036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36037 $(NORMAL_TARGET_EXPORTS) \
36038 (cd $(TARGET_SUBDIR)/libgloss && \
36039 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36040 $(TARGET-target-libgloss))
36041 @endif target-libgloss
36047 .PHONY: check-target-libgloss maybe-check-target-libgloss
36048 maybe-check-target-libgloss:
36049 @if target-libgloss
36050 maybe-check-target-libgloss: check-target-libgloss
36052 # Dummy target for uncheckable module.
36053 check-target-libgloss:
36055 @endif target-libgloss
36057 .PHONY: install-target-libgloss maybe-install-target-libgloss
36058 maybe-install-target-libgloss:
36059 @if target-libgloss
36060 maybe-install-target-libgloss: install-target-libgloss
36062 install-target-libgloss: installdirs
36063 @: $(MAKE); $(unstage)
36064 @r=`${PWD_COMMAND}`; export r; \
36065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36066 $(NORMAL_TARGET_EXPORTS) \
36067 (cd $(TARGET_SUBDIR)/libgloss && \
36068 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36070 @endif target-libgloss
36072 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
36073 maybe-install-strip-target-libgloss:
36074 @if target-libgloss
36075 maybe-install-strip-target-libgloss: install-strip-target-libgloss
36077 install-strip-target-libgloss: installdirs
36078 @: $(MAKE); $(unstage)
36079 @r=`${PWD_COMMAND}`; export r; \
36080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36081 $(NORMAL_TARGET_EXPORTS) \
36082 (cd $(TARGET_SUBDIR)/libgloss && \
36083 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36085 @endif target-libgloss
36087 # Other targets (info, dvi, pdf, etc.)
36089 .PHONY: maybe-info-target-libgloss info-target-libgloss
36090 maybe-info-target-libgloss:
36091 @if target-libgloss
36092 maybe-info-target-libgloss: info-target-libgloss
36094 info-target-libgloss: \
36095 configure-target-libgloss
36096 @: $(MAKE); $(unstage)
36097 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36098 r=`${PWD_COMMAND}`; export r; \
36099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36100 $(NORMAL_TARGET_EXPORTS) \
36101 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
36102 for flag in $(EXTRA_TARGET_FLAGS); do \
36103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36104 done; \
36105 (cd $(TARGET_SUBDIR)/libgloss && \
36106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36108 "RANLIB=$${RANLIB}" \
36109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36110 info) \
36111 || exit 1
36113 @endif target-libgloss
36115 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
36116 maybe-dvi-target-libgloss:
36117 @if target-libgloss
36118 maybe-dvi-target-libgloss: dvi-target-libgloss
36120 dvi-target-libgloss: \
36121 configure-target-libgloss
36122 @: $(MAKE); $(unstage)
36123 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36124 r=`${PWD_COMMAND}`; export r; \
36125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36126 $(NORMAL_TARGET_EXPORTS) \
36127 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
36128 for flag in $(EXTRA_TARGET_FLAGS); do \
36129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36130 done; \
36131 (cd $(TARGET_SUBDIR)/libgloss && \
36132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36134 "RANLIB=$${RANLIB}" \
36135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36136 dvi) \
36137 || exit 1
36139 @endif target-libgloss
36141 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
36142 maybe-pdf-target-libgloss:
36143 @if target-libgloss
36144 maybe-pdf-target-libgloss: pdf-target-libgloss
36146 pdf-target-libgloss: \
36147 configure-target-libgloss
36148 @: $(MAKE); $(unstage)
36149 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36150 r=`${PWD_COMMAND}`; export r; \
36151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36152 $(NORMAL_TARGET_EXPORTS) \
36153 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
36154 for flag in $(EXTRA_TARGET_FLAGS); do \
36155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36156 done; \
36157 (cd $(TARGET_SUBDIR)/libgloss && \
36158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36160 "RANLIB=$${RANLIB}" \
36161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36162 pdf) \
36163 || exit 1
36165 @endif target-libgloss
36167 .PHONY: maybe-html-target-libgloss html-target-libgloss
36168 maybe-html-target-libgloss:
36169 @if target-libgloss
36170 maybe-html-target-libgloss: html-target-libgloss
36172 html-target-libgloss: \
36173 configure-target-libgloss
36174 @: $(MAKE); $(unstage)
36175 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36176 r=`${PWD_COMMAND}`; export r; \
36177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36178 $(NORMAL_TARGET_EXPORTS) \
36179 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
36180 for flag in $(EXTRA_TARGET_FLAGS); do \
36181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36182 done; \
36183 (cd $(TARGET_SUBDIR)/libgloss && \
36184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36186 "RANLIB=$${RANLIB}" \
36187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36188 html) \
36189 || exit 1
36191 @endif target-libgloss
36193 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
36194 maybe-TAGS-target-libgloss:
36195 @if target-libgloss
36196 maybe-TAGS-target-libgloss: TAGS-target-libgloss
36198 TAGS-target-libgloss: \
36199 configure-target-libgloss
36200 @: $(MAKE); $(unstage)
36201 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36202 r=`${PWD_COMMAND}`; export r; \
36203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36204 $(NORMAL_TARGET_EXPORTS) \
36205 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
36206 for flag in $(EXTRA_TARGET_FLAGS); do \
36207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36208 done; \
36209 (cd $(TARGET_SUBDIR)/libgloss && \
36210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36212 "RANLIB=$${RANLIB}" \
36213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36214 TAGS) \
36215 || exit 1
36217 @endif target-libgloss
36219 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
36220 maybe-install-info-target-libgloss:
36221 @if target-libgloss
36222 maybe-install-info-target-libgloss: install-info-target-libgloss
36224 install-info-target-libgloss: \
36225 configure-target-libgloss \
36226 info-target-libgloss
36227 @: $(MAKE); $(unstage)
36228 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36229 r=`${PWD_COMMAND}`; export r; \
36230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36231 $(NORMAL_TARGET_EXPORTS) \
36232 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
36233 for flag in $(EXTRA_TARGET_FLAGS); do \
36234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36235 done; \
36236 (cd $(TARGET_SUBDIR)/libgloss && \
36237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36239 "RANLIB=$${RANLIB}" \
36240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36241 install-info) \
36242 || exit 1
36244 @endif target-libgloss
36246 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
36247 maybe-install-pdf-target-libgloss:
36248 @if target-libgloss
36249 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
36251 install-pdf-target-libgloss: \
36252 configure-target-libgloss \
36253 pdf-target-libgloss
36254 @: $(MAKE); $(unstage)
36255 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36256 r=`${PWD_COMMAND}`; export r; \
36257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36258 $(NORMAL_TARGET_EXPORTS) \
36259 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
36260 for flag in $(EXTRA_TARGET_FLAGS); do \
36261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36262 done; \
36263 (cd $(TARGET_SUBDIR)/libgloss && \
36264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36266 "RANLIB=$${RANLIB}" \
36267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36268 install-pdf) \
36269 || exit 1
36271 @endif target-libgloss
36273 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
36274 maybe-install-html-target-libgloss:
36275 @if target-libgloss
36276 maybe-install-html-target-libgloss: install-html-target-libgloss
36278 install-html-target-libgloss: \
36279 configure-target-libgloss \
36280 html-target-libgloss
36281 @: $(MAKE); $(unstage)
36282 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36283 r=`${PWD_COMMAND}`; export r; \
36284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36285 $(NORMAL_TARGET_EXPORTS) \
36286 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
36287 for flag in $(EXTRA_TARGET_FLAGS); do \
36288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36289 done; \
36290 (cd $(TARGET_SUBDIR)/libgloss && \
36291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36293 "RANLIB=$${RANLIB}" \
36294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36295 install-html) \
36296 || exit 1
36298 @endif target-libgloss
36300 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
36301 maybe-installcheck-target-libgloss:
36302 @if target-libgloss
36303 maybe-installcheck-target-libgloss: installcheck-target-libgloss
36305 installcheck-target-libgloss: \
36306 configure-target-libgloss
36307 @: $(MAKE); $(unstage)
36308 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36309 r=`${PWD_COMMAND}`; export r; \
36310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36311 $(NORMAL_TARGET_EXPORTS) \
36312 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
36313 for flag in $(EXTRA_TARGET_FLAGS); do \
36314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36315 done; \
36316 (cd $(TARGET_SUBDIR)/libgloss && \
36317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36319 "RANLIB=$${RANLIB}" \
36320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36321 installcheck) \
36322 || exit 1
36324 @endif target-libgloss
36326 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
36327 maybe-mostlyclean-target-libgloss:
36328 @if target-libgloss
36329 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
36331 mostlyclean-target-libgloss:
36332 @: $(MAKE); $(unstage)
36333 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36334 r=`${PWD_COMMAND}`; export r; \
36335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36336 $(NORMAL_TARGET_EXPORTS) \
36337 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
36338 for flag in $(EXTRA_TARGET_FLAGS); do \
36339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36340 done; \
36341 (cd $(TARGET_SUBDIR)/libgloss && \
36342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36344 "RANLIB=$${RANLIB}" \
36345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36346 mostlyclean) \
36347 || exit 1
36349 @endif target-libgloss
36351 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
36352 maybe-clean-target-libgloss:
36353 @if target-libgloss
36354 maybe-clean-target-libgloss: clean-target-libgloss
36356 clean-target-libgloss:
36357 @: $(MAKE); $(unstage)
36358 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36359 r=`${PWD_COMMAND}`; export r; \
36360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36361 $(NORMAL_TARGET_EXPORTS) \
36362 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
36363 for flag in $(EXTRA_TARGET_FLAGS); do \
36364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36365 done; \
36366 (cd $(TARGET_SUBDIR)/libgloss && \
36367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36369 "RANLIB=$${RANLIB}" \
36370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36371 clean) \
36372 || exit 1
36374 @endif target-libgloss
36376 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
36377 maybe-distclean-target-libgloss:
36378 @if target-libgloss
36379 maybe-distclean-target-libgloss: distclean-target-libgloss
36381 distclean-target-libgloss:
36382 @: $(MAKE); $(unstage)
36383 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36384 r=`${PWD_COMMAND}`; export r; \
36385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36386 $(NORMAL_TARGET_EXPORTS) \
36387 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
36388 for flag in $(EXTRA_TARGET_FLAGS); do \
36389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36390 done; \
36391 (cd $(TARGET_SUBDIR)/libgloss && \
36392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36394 "RANLIB=$${RANLIB}" \
36395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36396 distclean) \
36397 || exit 1
36399 @endif target-libgloss
36401 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
36402 maybe-maintainer-clean-target-libgloss:
36403 @if target-libgloss
36404 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
36406 maintainer-clean-target-libgloss:
36407 @: $(MAKE); $(unstage)
36408 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36409 r=`${PWD_COMMAND}`; export r; \
36410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36411 $(NORMAL_TARGET_EXPORTS) \
36412 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
36413 for flag in $(EXTRA_TARGET_FLAGS); do \
36414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36415 done; \
36416 (cd $(TARGET_SUBDIR)/libgloss && \
36417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36419 "RANLIB=$${RANLIB}" \
36420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36421 maintainer-clean) \
36422 || exit 1
36424 @endif target-libgloss
36430 .PHONY: configure-target-libffi maybe-configure-target-libffi
36431 maybe-configure-target-libffi:
36432 @if gcc-bootstrap
36433 configure-target-libffi: stage_current
36434 @endif gcc-bootstrap
36435 @if target-libffi
36436 maybe-configure-target-libffi: configure-target-libffi
36437 configure-target-libffi:
36438 @: $(MAKE); $(unstage)
36439 @r=`${PWD_COMMAND}`; export r; \
36440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36441 echo "Checking multilib configuration for libffi..."; \
36442 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
36443 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
36444 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
36445 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
36446 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
36447 else \
36448 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
36449 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
36450 fi; \
36451 else \
36452 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
36453 fi; \
36454 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
36455 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
36456 $(NORMAL_TARGET_EXPORTS) \
36457 echo Configuring in $(TARGET_SUBDIR)/libffi; \
36458 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
36459 case $(srcdir) in \
36460 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36461 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
36462 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36463 esac; \
36464 srcdiroption="--srcdir=$${topdir}/libffi"; \
36465 libsrcdir="$$s/libffi"; \
36466 rm -f no-such-file || : ; \
36467 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36468 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36469 --target=${target_alias} $${srcdiroption} \
36470 || exit 1
36471 @endif target-libffi
36477 .PHONY: all-target-libffi maybe-all-target-libffi
36478 maybe-all-target-libffi:
36479 @if gcc-bootstrap
36480 all-target-libffi: stage_current
36481 @endif gcc-bootstrap
36482 @if target-libffi
36483 TARGET-target-libffi=all
36484 maybe-all-target-libffi: all-target-libffi
36485 all-target-libffi: configure-target-libffi
36486 @: $(MAKE); $(unstage)
36487 @r=`${PWD_COMMAND}`; export r; \
36488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36489 $(NORMAL_TARGET_EXPORTS) \
36490 (cd $(TARGET_SUBDIR)/libffi && \
36491 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36492 $(TARGET-target-libffi))
36493 @endif target-libffi
36499 .PHONY: check-target-libffi maybe-check-target-libffi
36500 maybe-check-target-libffi:
36501 @if target-libffi
36502 maybe-check-target-libffi: check-target-libffi
36504 check-target-libffi:
36505 @: $(MAKE); $(unstage)
36506 @r=`${PWD_COMMAND}`; export r; \
36507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36508 $(NORMAL_TARGET_EXPORTS) \
36509 (cd $(TARGET_SUBDIR)/libffi && \
36510 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36512 @endif target-libffi
36514 .PHONY: install-target-libffi maybe-install-target-libffi
36515 maybe-install-target-libffi:
36516 @if target-libffi
36517 maybe-install-target-libffi: install-target-libffi
36519 install-target-libffi: installdirs
36520 @: $(MAKE); $(unstage)
36521 @r=`${PWD_COMMAND}`; export r; \
36522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36523 $(NORMAL_TARGET_EXPORTS) \
36524 (cd $(TARGET_SUBDIR)/libffi && \
36525 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36527 @endif target-libffi
36529 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
36530 maybe-install-strip-target-libffi:
36531 @if target-libffi
36532 maybe-install-strip-target-libffi: install-strip-target-libffi
36534 install-strip-target-libffi: installdirs
36535 @: $(MAKE); $(unstage)
36536 @r=`${PWD_COMMAND}`; export r; \
36537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36538 $(NORMAL_TARGET_EXPORTS) \
36539 (cd $(TARGET_SUBDIR)/libffi && \
36540 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36542 @endif target-libffi
36544 # Other targets (info, dvi, pdf, etc.)
36546 .PHONY: maybe-info-target-libffi info-target-libffi
36547 maybe-info-target-libffi:
36548 @if target-libffi
36549 maybe-info-target-libffi: info-target-libffi
36551 info-target-libffi: \
36552 configure-target-libffi
36553 @: $(MAKE); $(unstage)
36554 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36555 r=`${PWD_COMMAND}`; export r; \
36556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36557 $(NORMAL_TARGET_EXPORTS) \
36558 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
36559 for flag in $(EXTRA_TARGET_FLAGS); do \
36560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36561 done; \
36562 (cd $(TARGET_SUBDIR)/libffi && \
36563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36565 "RANLIB=$${RANLIB}" \
36566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36567 info) \
36568 || exit 1
36570 @endif target-libffi
36572 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
36573 maybe-dvi-target-libffi:
36574 @if target-libffi
36575 maybe-dvi-target-libffi: dvi-target-libffi
36577 dvi-target-libffi: \
36578 configure-target-libffi
36579 @: $(MAKE); $(unstage)
36580 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36581 r=`${PWD_COMMAND}`; export r; \
36582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36583 $(NORMAL_TARGET_EXPORTS) \
36584 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
36585 for flag in $(EXTRA_TARGET_FLAGS); do \
36586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36587 done; \
36588 (cd $(TARGET_SUBDIR)/libffi && \
36589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36591 "RANLIB=$${RANLIB}" \
36592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36593 dvi) \
36594 || exit 1
36596 @endif target-libffi
36598 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
36599 maybe-pdf-target-libffi:
36600 @if target-libffi
36601 maybe-pdf-target-libffi: pdf-target-libffi
36603 pdf-target-libffi: \
36604 configure-target-libffi
36605 @: $(MAKE); $(unstage)
36606 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36607 r=`${PWD_COMMAND}`; export r; \
36608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36609 $(NORMAL_TARGET_EXPORTS) \
36610 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
36611 for flag in $(EXTRA_TARGET_FLAGS); do \
36612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36613 done; \
36614 (cd $(TARGET_SUBDIR)/libffi && \
36615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36617 "RANLIB=$${RANLIB}" \
36618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36619 pdf) \
36620 || exit 1
36622 @endif target-libffi
36624 .PHONY: maybe-html-target-libffi html-target-libffi
36625 maybe-html-target-libffi:
36626 @if target-libffi
36627 maybe-html-target-libffi: html-target-libffi
36629 html-target-libffi: \
36630 configure-target-libffi
36631 @: $(MAKE); $(unstage)
36632 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36633 r=`${PWD_COMMAND}`; export r; \
36634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36635 $(NORMAL_TARGET_EXPORTS) \
36636 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
36637 for flag in $(EXTRA_TARGET_FLAGS); do \
36638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36639 done; \
36640 (cd $(TARGET_SUBDIR)/libffi && \
36641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36643 "RANLIB=$${RANLIB}" \
36644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36645 html) \
36646 || exit 1
36648 @endif target-libffi
36650 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
36651 maybe-TAGS-target-libffi:
36652 @if target-libffi
36653 maybe-TAGS-target-libffi: TAGS-target-libffi
36655 TAGS-target-libffi: \
36656 configure-target-libffi
36657 @: $(MAKE); $(unstage)
36658 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36659 r=`${PWD_COMMAND}`; export r; \
36660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36661 $(NORMAL_TARGET_EXPORTS) \
36662 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
36663 for flag in $(EXTRA_TARGET_FLAGS); do \
36664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36665 done; \
36666 (cd $(TARGET_SUBDIR)/libffi && \
36667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36669 "RANLIB=$${RANLIB}" \
36670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36671 TAGS) \
36672 || exit 1
36674 @endif target-libffi
36676 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
36677 maybe-install-info-target-libffi:
36678 @if target-libffi
36679 maybe-install-info-target-libffi: install-info-target-libffi
36681 install-info-target-libffi: \
36682 configure-target-libffi \
36683 info-target-libffi
36684 @: $(MAKE); $(unstage)
36685 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36686 r=`${PWD_COMMAND}`; export r; \
36687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36688 $(NORMAL_TARGET_EXPORTS) \
36689 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
36690 for flag in $(EXTRA_TARGET_FLAGS); do \
36691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36692 done; \
36693 (cd $(TARGET_SUBDIR)/libffi && \
36694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36696 "RANLIB=$${RANLIB}" \
36697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36698 install-info) \
36699 || exit 1
36701 @endif target-libffi
36703 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
36704 maybe-install-pdf-target-libffi:
36705 @if target-libffi
36706 maybe-install-pdf-target-libffi: install-pdf-target-libffi
36708 install-pdf-target-libffi: \
36709 configure-target-libffi \
36710 pdf-target-libffi
36711 @: $(MAKE); $(unstage)
36712 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36713 r=`${PWD_COMMAND}`; export r; \
36714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36715 $(NORMAL_TARGET_EXPORTS) \
36716 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
36717 for flag in $(EXTRA_TARGET_FLAGS); do \
36718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36719 done; \
36720 (cd $(TARGET_SUBDIR)/libffi && \
36721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36723 "RANLIB=$${RANLIB}" \
36724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36725 install-pdf) \
36726 || exit 1
36728 @endif target-libffi
36730 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
36731 maybe-install-html-target-libffi:
36732 @if target-libffi
36733 maybe-install-html-target-libffi: install-html-target-libffi
36735 install-html-target-libffi: \
36736 configure-target-libffi \
36737 html-target-libffi
36738 @: $(MAKE); $(unstage)
36739 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36740 r=`${PWD_COMMAND}`; export r; \
36741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36742 $(NORMAL_TARGET_EXPORTS) \
36743 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
36744 for flag in $(EXTRA_TARGET_FLAGS); do \
36745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36746 done; \
36747 (cd $(TARGET_SUBDIR)/libffi && \
36748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36750 "RANLIB=$${RANLIB}" \
36751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36752 install-html) \
36753 || exit 1
36755 @endif target-libffi
36757 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
36758 maybe-installcheck-target-libffi:
36759 @if target-libffi
36760 maybe-installcheck-target-libffi: installcheck-target-libffi
36762 installcheck-target-libffi: \
36763 configure-target-libffi
36764 @: $(MAKE); $(unstage)
36765 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36766 r=`${PWD_COMMAND}`; export r; \
36767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36768 $(NORMAL_TARGET_EXPORTS) \
36769 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
36770 for flag in $(EXTRA_TARGET_FLAGS); do \
36771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36772 done; \
36773 (cd $(TARGET_SUBDIR)/libffi && \
36774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36776 "RANLIB=$${RANLIB}" \
36777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36778 installcheck) \
36779 || exit 1
36781 @endif target-libffi
36783 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
36784 maybe-mostlyclean-target-libffi:
36785 @if target-libffi
36786 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
36788 mostlyclean-target-libffi:
36789 @: $(MAKE); $(unstage)
36790 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36791 r=`${PWD_COMMAND}`; export r; \
36792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36793 $(NORMAL_TARGET_EXPORTS) \
36794 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
36795 for flag in $(EXTRA_TARGET_FLAGS); do \
36796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36797 done; \
36798 (cd $(TARGET_SUBDIR)/libffi && \
36799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36801 "RANLIB=$${RANLIB}" \
36802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36803 mostlyclean) \
36804 || exit 1
36806 @endif target-libffi
36808 .PHONY: maybe-clean-target-libffi clean-target-libffi
36809 maybe-clean-target-libffi:
36810 @if target-libffi
36811 maybe-clean-target-libffi: clean-target-libffi
36813 clean-target-libffi:
36814 @: $(MAKE); $(unstage)
36815 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36816 r=`${PWD_COMMAND}`; export r; \
36817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36818 $(NORMAL_TARGET_EXPORTS) \
36819 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
36820 for flag in $(EXTRA_TARGET_FLAGS); do \
36821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36822 done; \
36823 (cd $(TARGET_SUBDIR)/libffi && \
36824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36826 "RANLIB=$${RANLIB}" \
36827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36828 clean) \
36829 || exit 1
36831 @endif target-libffi
36833 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
36834 maybe-distclean-target-libffi:
36835 @if target-libffi
36836 maybe-distclean-target-libffi: distclean-target-libffi
36838 distclean-target-libffi:
36839 @: $(MAKE); $(unstage)
36840 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36841 r=`${PWD_COMMAND}`; export r; \
36842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36843 $(NORMAL_TARGET_EXPORTS) \
36844 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
36845 for flag in $(EXTRA_TARGET_FLAGS); do \
36846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36847 done; \
36848 (cd $(TARGET_SUBDIR)/libffi && \
36849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36851 "RANLIB=$${RANLIB}" \
36852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36853 distclean) \
36854 || exit 1
36856 @endif target-libffi
36858 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
36859 maybe-maintainer-clean-target-libffi:
36860 @if target-libffi
36861 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
36863 maintainer-clean-target-libffi:
36864 @: $(MAKE); $(unstage)
36865 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36866 r=`${PWD_COMMAND}`; export r; \
36867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36868 $(NORMAL_TARGET_EXPORTS) \
36869 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
36870 for flag in $(EXTRA_TARGET_FLAGS); do \
36871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36872 done; \
36873 (cd $(TARGET_SUBDIR)/libffi && \
36874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36876 "RANLIB=$${RANLIB}" \
36877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36878 maintainer-clean) \
36879 || exit 1
36881 @endif target-libffi
36887 .PHONY: configure-target-libjava maybe-configure-target-libjava
36888 maybe-configure-target-libjava:
36889 @if gcc-bootstrap
36890 configure-target-libjava: stage_current
36891 @endif gcc-bootstrap
36892 @if target-libjava
36893 maybe-configure-target-libjava: configure-target-libjava
36894 configure-target-libjava:
36895 @: $(MAKE); $(unstage)
36896 @r=`${PWD_COMMAND}`; export r; \
36897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36898 echo "Checking multilib configuration for libjava..."; \
36899 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
36900 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
36901 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
36902 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
36903 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
36904 else \
36905 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
36906 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
36907 fi; \
36908 else \
36909 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
36910 fi; \
36911 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
36912 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
36913 $(RAW_CXX_TARGET_EXPORTS) \
36914 echo Configuring in $(TARGET_SUBDIR)/libjava; \
36915 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
36916 case $(srcdir) in \
36917 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36918 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
36919 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36920 esac; \
36921 srcdiroption="--srcdir=$${topdir}/libjava"; \
36922 libsrcdir="$$s/libjava"; \
36923 rm -f no-such-file || : ; \
36924 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36925 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36926 --target=${target_alias} $${srcdiroption} $(EXTRA_CONFIGARGS_LIBJAVA) \
36927 || exit 1
36928 @endif target-libjava
36934 .PHONY: all-target-libjava maybe-all-target-libjava
36935 maybe-all-target-libjava:
36936 @if gcc-bootstrap
36937 all-target-libjava: stage_current
36938 @endif gcc-bootstrap
36939 @if target-libjava
36940 TARGET-target-libjava=all
36941 maybe-all-target-libjava: all-target-libjava
36942 all-target-libjava: configure-target-libjava
36943 @: $(MAKE); $(unstage)
36944 @r=`${PWD_COMMAND}`; export r; \
36945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36946 $(RAW_CXX_TARGET_EXPORTS) \
36947 (cd $(TARGET_SUBDIR)/libjava && \
36948 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36949 $(TARGET-target-libjava))
36950 @endif target-libjava
36956 .PHONY: check-target-libjava maybe-check-target-libjava
36957 maybe-check-target-libjava:
36958 @if target-libjava
36959 maybe-check-target-libjava: check-target-libjava
36961 check-target-libjava:
36962 @: $(MAKE); $(unstage)
36963 @r=`${PWD_COMMAND}`; export r; \
36964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36965 $(RAW_CXX_TARGET_EXPORTS) \
36966 (cd $(TARGET_SUBDIR)/libjava && \
36967 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
36969 @endif target-libjava
36971 .PHONY: install-target-libjava maybe-install-target-libjava
36972 maybe-install-target-libjava:
36973 @if target-libjava
36974 maybe-install-target-libjava: install-target-libjava
36976 install-target-libjava: installdirs
36977 @: $(MAKE); $(unstage)
36978 @r=`${PWD_COMMAND}`; export r; \
36979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36980 $(RAW_CXX_TARGET_EXPORTS) \
36981 (cd $(TARGET_SUBDIR)/libjava && \
36982 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36984 @endif target-libjava
36986 .PHONY: install-strip-target-libjava maybe-install-strip-target-libjava
36987 maybe-install-strip-target-libjava:
36988 @if target-libjava
36989 maybe-install-strip-target-libjava: install-strip-target-libjava
36991 install-strip-target-libjava: installdirs
36992 @: $(MAKE); $(unstage)
36993 @r=`${PWD_COMMAND}`; export r; \
36994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36995 $(RAW_CXX_TARGET_EXPORTS) \
36996 (cd $(TARGET_SUBDIR)/libjava && \
36997 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36999 @endif target-libjava
37001 # Other targets (info, dvi, pdf, etc.)
37003 .PHONY: maybe-info-target-libjava info-target-libjava
37004 maybe-info-target-libjava:
37005 @if target-libjava
37006 maybe-info-target-libjava: info-target-libjava
37008 info-target-libjava: \
37009 configure-target-libjava
37010 @: $(MAKE); $(unstage)
37011 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37012 r=`${PWD_COMMAND}`; export r; \
37013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37014 $(RAW_CXX_TARGET_EXPORTS) \
37015 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
37016 for flag in $(EXTRA_TARGET_FLAGS); do \
37017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37018 done; \
37019 (cd $(TARGET_SUBDIR)/libjava && \
37020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37022 "RANLIB=$${RANLIB}" \
37023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37024 info) \
37025 || exit 1
37027 @endif target-libjava
37029 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
37030 maybe-dvi-target-libjava:
37031 @if target-libjava
37032 maybe-dvi-target-libjava: dvi-target-libjava
37034 dvi-target-libjava: \
37035 configure-target-libjava
37036 @: $(MAKE); $(unstage)
37037 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37038 r=`${PWD_COMMAND}`; export r; \
37039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37040 $(RAW_CXX_TARGET_EXPORTS) \
37041 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
37042 for flag in $(EXTRA_TARGET_FLAGS); do \
37043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37044 done; \
37045 (cd $(TARGET_SUBDIR)/libjava && \
37046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37048 "RANLIB=$${RANLIB}" \
37049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37050 dvi) \
37051 || exit 1
37053 @endif target-libjava
37055 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
37056 maybe-pdf-target-libjava:
37057 @if target-libjava
37058 maybe-pdf-target-libjava: pdf-target-libjava
37060 pdf-target-libjava: \
37061 configure-target-libjava
37062 @: $(MAKE); $(unstage)
37063 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37064 r=`${PWD_COMMAND}`; export r; \
37065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37066 $(RAW_CXX_TARGET_EXPORTS) \
37067 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
37068 for flag in $(EXTRA_TARGET_FLAGS); do \
37069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37070 done; \
37071 (cd $(TARGET_SUBDIR)/libjava && \
37072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37074 "RANLIB=$${RANLIB}" \
37075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37076 pdf) \
37077 || exit 1
37079 @endif target-libjava
37081 .PHONY: maybe-html-target-libjava html-target-libjava
37082 maybe-html-target-libjava:
37083 @if target-libjava
37084 maybe-html-target-libjava: html-target-libjava
37086 html-target-libjava: \
37087 configure-target-libjava
37088 @: $(MAKE); $(unstage)
37089 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37090 r=`${PWD_COMMAND}`; export r; \
37091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37092 $(RAW_CXX_TARGET_EXPORTS) \
37093 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
37094 for flag in $(EXTRA_TARGET_FLAGS); do \
37095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37096 done; \
37097 (cd $(TARGET_SUBDIR)/libjava && \
37098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37100 "RANLIB=$${RANLIB}" \
37101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37102 html) \
37103 || exit 1
37105 @endif target-libjava
37107 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
37108 maybe-TAGS-target-libjava:
37109 @if target-libjava
37110 maybe-TAGS-target-libjava: TAGS-target-libjava
37112 TAGS-target-libjava: \
37113 configure-target-libjava
37114 @: $(MAKE); $(unstage)
37115 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37116 r=`${PWD_COMMAND}`; export r; \
37117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37118 $(RAW_CXX_TARGET_EXPORTS) \
37119 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
37120 for flag in $(EXTRA_TARGET_FLAGS); do \
37121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37122 done; \
37123 (cd $(TARGET_SUBDIR)/libjava && \
37124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37126 "RANLIB=$${RANLIB}" \
37127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37128 TAGS) \
37129 || exit 1
37131 @endif target-libjava
37133 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
37134 maybe-install-info-target-libjava:
37135 @if target-libjava
37136 maybe-install-info-target-libjava: install-info-target-libjava
37138 install-info-target-libjava: \
37139 configure-target-libjava \
37140 info-target-libjava
37141 @: $(MAKE); $(unstage)
37142 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37143 r=`${PWD_COMMAND}`; export r; \
37144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37145 $(RAW_CXX_TARGET_EXPORTS) \
37146 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
37147 for flag in $(EXTRA_TARGET_FLAGS); do \
37148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37149 done; \
37150 (cd $(TARGET_SUBDIR)/libjava && \
37151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37153 "RANLIB=$${RANLIB}" \
37154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37155 install-info) \
37156 || exit 1
37158 @endif target-libjava
37160 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
37161 maybe-install-pdf-target-libjava:
37162 @if target-libjava
37163 maybe-install-pdf-target-libjava: install-pdf-target-libjava
37165 install-pdf-target-libjava: \
37166 configure-target-libjava \
37167 pdf-target-libjava
37168 @: $(MAKE); $(unstage)
37169 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37170 r=`${PWD_COMMAND}`; export r; \
37171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37172 $(RAW_CXX_TARGET_EXPORTS) \
37173 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
37174 for flag in $(EXTRA_TARGET_FLAGS); do \
37175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37176 done; \
37177 (cd $(TARGET_SUBDIR)/libjava && \
37178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37180 "RANLIB=$${RANLIB}" \
37181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37182 install-pdf) \
37183 || exit 1
37185 @endif target-libjava
37187 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
37188 maybe-install-html-target-libjava:
37189 @if target-libjava
37190 maybe-install-html-target-libjava: install-html-target-libjava
37192 install-html-target-libjava: \
37193 configure-target-libjava \
37194 html-target-libjava
37195 @: $(MAKE); $(unstage)
37196 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37197 r=`${PWD_COMMAND}`; export r; \
37198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37199 $(RAW_CXX_TARGET_EXPORTS) \
37200 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
37201 for flag in $(EXTRA_TARGET_FLAGS); do \
37202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37203 done; \
37204 (cd $(TARGET_SUBDIR)/libjava && \
37205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37207 "RANLIB=$${RANLIB}" \
37208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37209 install-html) \
37210 || exit 1
37212 @endif target-libjava
37214 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
37215 maybe-installcheck-target-libjava:
37216 @if target-libjava
37217 maybe-installcheck-target-libjava: installcheck-target-libjava
37219 installcheck-target-libjava: \
37220 configure-target-libjava
37221 @: $(MAKE); $(unstage)
37222 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37223 r=`${PWD_COMMAND}`; export r; \
37224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37225 $(RAW_CXX_TARGET_EXPORTS) \
37226 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
37227 for flag in $(EXTRA_TARGET_FLAGS); do \
37228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37229 done; \
37230 (cd $(TARGET_SUBDIR)/libjava && \
37231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37233 "RANLIB=$${RANLIB}" \
37234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37235 installcheck) \
37236 || exit 1
37238 @endif target-libjava
37240 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
37241 maybe-mostlyclean-target-libjava:
37242 @if target-libjava
37243 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
37245 mostlyclean-target-libjava:
37246 @: $(MAKE); $(unstage)
37247 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37248 r=`${PWD_COMMAND}`; export r; \
37249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37250 $(RAW_CXX_TARGET_EXPORTS) \
37251 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
37252 for flag in $(EXTRA_TARGET_FLAGS); do \
37253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37254 done; \
37255 (cd $(TARGET_SUBDIR)/libjava && \
37256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37258 "RANLIB=$${RANLIB}" \
37259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37260 mostlyclean) \
37261 || exit 1
37263 @endif target-libjava
37265 .PHONY: maybe-clean-target-libjava clean-target-libjava
37266 maybe-clean-target-libjava:
37267 @if target-libjava
37268 maybe-clean-target-libjava: clean-target-libjava
37270 clean-target-libjava:
37271 @: $(MAKE); $(unstage)
37272 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37273 r=`${PWD_COMMAND}`; export r; \
37274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37275 $(RAW_CXX_TARGET_EXPORTS) \
37276 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
37277 for flag in $(EXTRA_TARGET_FLAGS); do \
37278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37279 done; \
37280 (cd $(TARGET_SUBDIR)/libjava && \
37281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37283 "RANLIB=$${RANLIB}" \
37284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37285 clean) \
37286 || exit 1
37288 @endif target-libjava
37290 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
37291 maybe-distclean-target-libjava:
37292 @if target-libjava
37293 maybe-distclean-target-libjava: distclean-target-libjava
37295 distclean-target-libjava:
37296 @: $(MAKE); $(unstage)
37297 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37298 r=`${PWD_COMMAND}`; export r; \
37299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37300 $(RAW_CXX_TARGET_EXPORTS) \
37301 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
37302 for flag in $(EXTRA_TARGET_FLAGS); do \
37303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37304 done; \
37305 (cd $(TARGET_SUBDIR)/libjava && \
37306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37308 "RANLIB=$${RANLIB}" \
37309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37310 distclean) \
37311 || exit 1
37313 @endif target-libjava
37315 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
37316 maybe-maintainer-clean-target-libjava:
37317 @if target-libjava
37318 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
37320 maintainer-clean-target-libjava:
37321 @: $(MAKE); $(unstage)
37322 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37323 r=`${PWD_COMMAND}`; export r; \
37324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37325 $(RAW_CXX_TARGET_EXPORTS) \
37326 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
37327 for flag in $(EXTRA_TARGET_FLAGS); do \
37328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37329 done; \
37330 (cd $(TARGET_SUBDIR)/libjava && \
37331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37333 "RANLIB=$${RANLIB}" \
37334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37335 maintainer-clean) \
37336 || exit 1
37338 @endif target-libjava
37344 .PHONY: configure-target-zlib maybe-configure-target-zlib
37345 maybe-configure-target-zlib:
37346 @if gcc-bootstrap
37347 configure-target-zlib: stage_current
37348 @endif gcc-bootstrap
37349 @if target-zlib
37350 maybe-configure-target-zlib: configure-target-zlib
37351 configure-target-zlib:
37352 @: $(MAKE); $(unstage)
37353 @r=`${PWD_COMMAND}`; export r; \
37354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37355 echo "Checking multilib configuration for zlib..."; \
37356 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
37357 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
37358 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
37359 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
37360 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
37361 else \
37362 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
37363 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
37364 fi; \
37365 else \
37366 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
37367 fi; \
37368 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
37369 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
37370 $(NORMAL_TARGET_EXPORTS) \
37371 echo Configuring in $(TARGET_SUBDIR)/zlib; \
37372 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
37373 case $(srcdir) in \
37374 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37375 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
37376 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37377 esac; \
37378 srcdiroption="--srcdir=$${topdir}/zlib"; \
37379 libsrcdir="$$s/zlib"; \
37380 rm -f no-such-file || : ; \
37381 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37382 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37383 --target=${target_alias} $${srcdiroption} \
37384 || exit 1
37385 @endif target-zlib
37391 .PHONY: all-target-zlib maybe-all-target-zlib
37392 maybe-all-target-zlib:
37393 @if gcc-bootstrap
37394 all-target-zlib: stage_current
37395 @endif gcc-bootstrap
37396 @if target-zlib
37397 TARGET-target-zlib=all
37398 maybe-all-target-zlib: all-target-zlib
37399 all-target-zlib: configure-target-zlib
37400 @: $(MAKE); $(unstage)
37401 @r=`${PWD_COMMAND}`; export r; \
37402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37403 $(NORMAL_TARGET_EXPORTS) \
37404 (cd $(TARGET_SUBDIR)/zlib && \
37405 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37406 $(TARGET-target-zlib))
37407 @endif target-zlib
37413 .PHONY: check-target-zlib maybe-check-target-zlib
37414 maybe-check-target-zlib:
37415 @if target-zlib
37416 maybe-check-target-zlib: check-target-zlib
37418 check-target-zlib:
37419 @: $(MAKE); $(unstage)
37420 @r=`${PWD_COMMAND}`; export r; \
37421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37422 $(NORMAL_TARGET_EXPORTS) \
37423 (cd $(TARGET_SUBDIR)/zlib && \
37424 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37426 @endif target-zlib
37428 .PHONY: install-target-zlib maybe-install-target-zlib
37429 maybe-install-target-zlib:
37430 @if target-zlib
37431 maybe-install-target-zlib: install-target-zlib
37433 install-target-zlib: installdirs
37434 @: $(MAKE); $(unstage)
37435 @r=`${PWD_COMMAND}`; export r; \
37436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37437 $(NORMAL_TARGET_EXPORTS) \
37438 (cd $(TARGET_SUBDIR)/zlib && \
37439 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37441 @endif target-zlib
37443 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
37444 maybe-install-strip-target-zlib:
37445 @if target-zlib
37446 maybe-install-strip-target-zlib: install-strip-target-zlib
37448 install-strip-target-zlib: installdirs
37449 @: $(MAKE); $(unstage)
37450 @r=`${PWD_COMMAND}`; export r; \
37451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37452 $(NORMAL_TARGET_EXPORTS) \
37453 (cd $(TARGET_SUBDIR)/zlib && \
37454 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37456 @endif target-zlib
37458 # Other targets (info, dvi, pdf, etc.)
37460 .PHONY: maybe-info-target-zlib info-target-zlib
37461 maybe-info-target-zlib:
37462 @if target-zlib
37463 maybe-info-target-zlib: info-target-zlib
37465 info-target-zlib: \
37466 configure-target-zlib
37467 @: $(MAKE); $(unstage)
37468 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37469 r=`${PWD_COMMAND}`; export r; \
37470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37471 $(NORMAL_TARGET_EXPORTS) \
37472 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
37473 for flag in $(EXTRA_TARGET_FLAGS); do \
37474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37475 done; \
37476 (cd $(TARGET_SUBDIR)/zlib && \
37477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37479 "RANLIB=$${RANLIB}" \
37480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37481 info) \
37482 || exit 1
37484 @endif target-zlib
37486 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
37487 maybe-dvi-target-zlib:
37488 @if target-zlib
37489 maybe-dvi-target-zlib: dvi-target-zlib
37491 dvi-target-zlib: \
37492 configure-target-zlib
37493 @: $(MAKE); $(unstage)
37494 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37495 r=`${PWD_COMMAND}`; export r; \
37496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37497 $(NORMAL_TARGET_EXPORTS) \
37498 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
37499 for flag in $(EXTRA_TARGET_FLAGS); do \
37500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37501 done; \
37502 (cd $(TARGET_SUBDIR)/zlib && \
37503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37505 "RANLIB=$${RANLIB}" \
37506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37507 dvi) \
37508 || exit 1
37510 @endif target-zlib
37512 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
37513 maybe-pdf-target-zlib:
37514 @if target-zlib
37515 maybe-pdf-target-zlib: pdf-target-zlib
37517 pdf-target-zlib: \
37518 configure-target-zlib
37519 @: $(MAKE); $(unstage)
37520 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37521 r=`${PWD_COMMAND}`; export r; \
37522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37523 $(NORMAL_TARGET_EXPORTS) \
37524 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
37525 for flag in $(EXTRA_TARGET_FLAGS); do \
37526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37527 done; \
37528 (cd $(TARGET_SUBDIR)/zlib && \
37529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37531 "RANLIB=$${RANLIB}" \
37532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37533 pdf) \
37534 || exit 1
37536 @endif target-zlib
37538 .PHONY: maybe-html-target-zlib html-target-zlib
37539 maybe-html-target-zlib:
37540 @if target-zlib
37541 maybe-html-target-zlib: html-target-zlib
37543 html-target-zlib: \
37544 configure-target-zlib
37545 @: $(MAKE); $(unstage)
37546 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37547 r=`${PWD_COMMAND}`; export r; \
37548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37549 $(NORMAL_TARGET_EXPORTS) \
37550 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
37551 for flag in $(EXTRA_TARGET_FLAGS); do \
37552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37553 done; \
37554 (cd $(TARGET_SUBDIR)/zlib && \
37555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37557 "RANLIB=$${RANLIB}" \
37558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37559 html) \
37560 || exit 1
37562 @endif target-zlib
37564 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
37565 maybe-TAGS-target-zlib:
37566 @if target-zlib
37567 maybe-TAGS-target-zlib: TAGS-target-zlib
37569 TAGS-target-zlib: \
37570 configure-target-zlib
37571 @: $(MAKE); $(unstage)
37572 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37573 r=`${PWD_COMMAND}`; export r; \
37574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37575 $(NORMAL_TARGET_EXPORTS) \
37576 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
37577 for flag in $(EXTRA_TARGET_FLAGS); do \
37578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37579 done; \
37580 (cd $(TARGET_SUBDIR)/zlib && \
37581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37583 "RANLIB=$${RANLIB}" \
37584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37585 TAGS) \
37586 || exit 1
37588 @endif target-zlib
37590 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
37591 maybe-install-info-target-zlib:
37592 @if target-zlib
37593 maybe-install-info-target-zlib: install-info-target-zlib
37595 install-info-target-zlib: \
37596 configure-target-zlib \
37597 info-target-zlib
37598 @: $(MAKE); $(unstage)
37599 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37600 r=`${PWD_COMMAND}`; export r; \
37601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37602 $(NORMAL_TARGET_EXPORTS) \
37603 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
37604 for flag in $(EXTRA_TARGET_FLAGS); do \
37605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37606 done; \
37607 (cd $(TARGET_SUBDIR)/zlib && \
37608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37610 "RANLIB=$${RANLIB}" \
37611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37612 install-info) \
37613 || exit 1
37615 @endif target-zlib
37617 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
37618 maybe-install-pdf-target-zlib:
37619 @if target-zlib
37620 maybe-install-pdf-target-zlib: install-pdf-target-zlib
37622 install-pdf-target-zlib: \
37623 configure-target-zlib \
37624 pdf-target-zlib
37625 @: $(MAKE); $(unstage)
37626 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37627 r=`${PWD_COMMAND}`; export r; \
37628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37629 $(NORMAL_TARGET_EXPORTS) \
37630 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
37631 for flag in $(EXTRA_TARGET_FLAGS); do \
37632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37633 done; \
37634 (cd $(TARGET_SUBDIR)/zlib && \
37635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37637 "RANLIB=$${RANLIB}" \
37638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37639 install-pdf) \
37640 || exit 1
37642 @endif target-zlib
37644 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
37645 maybe-install-html-target-zlib:
37646 @if target-zlib
37647 maybe-install-html-target-zlib: install-html-target-zlib
37649 install-html-target-zlib: \
37650 configure-target-zlib \
37651 html-target-zlib
37652 @: $(MAKE); $(unstage)
37653 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37654 r=`${PWD_COMMAND}`; export r; \
37655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37656 $(NORMAL_TARGET_EXPORTS) \
37657 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
37658 for flag in $(EXTRA_TARGET_FLAGS); do \
37659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37660 done; \
37661 (cd $(TARGET_SUBDIR)/zlib && \
37662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37664 "RANLIB=$${RANLIB}" \
37665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37666 install-html) \
37667 || exit 1
37669 @endif target-zlib
37671 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
37672 maybe-installcheck-target-zlib:
37673 @if target-zlib
37674 maybe-installcheck-target-zlib: installcheck-target-zlib
37676 installcheck-target-zlib: \
37677 configure-target-zlib
37678 @: $(MAKE); $(unstage)
37679 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37680 r=`${PWD_COMMAND}`; export r; \
37681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37682 $(NORMAL_TARGET_EXPORTS) \
37683 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
37684 for flag in $(EXTRA_TARGET_FLAGS); do \
37685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37686 done; \
37687 (cd $(TARGET_SUBDIR)/zlib && \
37688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37690 "RANLIB=$${RANLIB}" \
37691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37692 installcheck) \
37693 || exit 1
37695 @endif target-zlib
37697 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
37698 maybe-mostlyclean-target-zlib:
37699 @if target-zlib
37700 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
37702 mostlyclean-target-zlib:
37703 @: $(MAKE); $(unstage)
37704 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37705 r=`${PWD_COMMAND}`; export r; \
37706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37707 $(NORMAL_TARGET_EXPORTS) \
37708 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
37709 for flag in $(EXTRA_TARGET_FLAGS); do \
37710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37711 done; \
37712 (cd $(TARGET_SUBDIR)/zlib && \
37713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37715 "RANLIB=$${RANLIB}" \
37716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37717 mostlyclean) \
37718 || exit 1
37720 @endif target-zlib
37722 .PHONY: maybe-clean-target-zlib clean-target-zlib
37723 maybe-clean-target-zlib:
37724 @if target-zlib
37725 maybe-clean-target-zlib: clean-target-zlib
37727 clean-target-zlib:
37728 @: $(MAKE); $(unstage)
37729 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37730 r=`${PWD_COMMAND}`; export r; \
37731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37732 $(NORMAL_TARGET_EXPORTS) \
37733 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
37734 for flag in $(EXTRA_TARGET_FLAGS); do \
37735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37736 done; \
37737 (cd $(TARGET_SUBDIR)/zlib && \
37738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37740 "RANLIB=$${RANLIB}" \
37741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37742 clean) \
37743 || exit 1
37745 @endif target-zlib
37747 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
37748 maybe-distclean-target-zlib:
37749 @if target-zlib
37750 maybe-distclean-target-zlib: distclean-target-zlib
37752 distclean-target-zlib:
37753 @: $(MAKE); $(unstage)
37754 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37755 r=`${PWD_COMMAND}`; export r; \
37756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37757 $(NORMAL_TARGET_EXPORTS) \
37758 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
37759 for flag in $(EXTRA_TARGET_FLAGS); do \
37760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37761 done; \
37762 (cd $(TARGET_SUBDIR)/zlib && \
37763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37765 "RANLIB=$${RANLIB}" \
37766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37767 distclean) \
37768 || exit 1
37770 @endif target-zlib
37772 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
37773 maybe-maintainer-clean-target-zlib:
37774 @if target-zlib
37775 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
37777 maintainer-clean-target-zlib:
37778 @: $(MAKE); $(unstage)
37779 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37780 r=`${PWD_COMMAND}`; export r; \
37781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37782 $(NORMAL_TARGET_EXPORTS) \
37783 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
37784 for flag in $(EXTRA_TARGET_FLAGS); do \
37785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37786 done; \
37787 (cd $(TARGET_SUBDIR)/zlib && \
37788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37790 "RANLIB=$${RANLIB}" \
37791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37792 maintainer-clean) \
37793 || exit 1
37795 @endif target-zlib
37801 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
37802 maybe-configure-target-boehm-gc:
37803 @if gcc-bootstrap
37804 configure-target-boehm-gc: stage_current
37805 @endif gcc-bootstrap
37806 @if target-boehm-gc
37807 maybe-configure-target-boehm-gc: configure-target-boehm-gc
37808 configure-target-boehm-gc:
37809 @: $(MAKE); $(unstage)
37810 @r=`${PWD_COMMAND}`; export r; \
37811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37812 echo "Checking multilib configuration for boehm-gc..."; \
37813 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
37814 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
37815 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
37816 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
37817 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
37818 else \
37819 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
37820 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
37821 fi; \
37822 else \
37823 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
37824 fi; \
37825 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
37826 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
37827 $(NORMAL_TARGET_EXPORTS) \
37828 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
37829 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
37830 case $(srcdir) in \
37831 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37832 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
37833 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37834 esac; \
37835 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
37836 libsrcdir="$$s/boehm-gc"; \
37837 rm -f no-such-file || : ; \
37838 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37839 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37840 --target=${target_alias} $${srcdiroption} \
37841 || exit 1
37842 @endif target-boehm-gc
37848 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
37849 maybe-all-target-boehm-gc:
37850 @if gcc-bootstrap
37851 all-target-boehm-gc: stage_current
37852 @endif gcc-bootstrap
37853 @if target-boehm-gc
37854 TARGET-target-boehm-gc=all
37855 maybe-all-target-boehm-gc: all-target-boehm-gc
37856 all-target-boehm-gc: configure-target-boehm-gc
37857 @: $(MAKE); $(unstage)
37858 @r=`${PWD_COMMAND}`; export r; \
37859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37860 $(NORMAL_TARGET_EXPORTS) \
37861 (cd $(TARGET_SUBDIR)/boehm-gc && \
37862 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37863 $(TARGET-target-boehm-gc))
37864 @endif target-boehm-gc
37870 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
37871 maybe-check-target-boehm-gc:
37872 @if target-boehm-gc
37873 maybe-check-target-boehm-gc: check-target-boehm-gc
37875 check-target-boehm-gc:
37876 @: $(MAKE); $(unstage)
37877 @r=`${PWD_COMMAND}`; export r; \
37878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37879 $(NORMAL_TARGET_EXPORTS) \
37880 (cd $(TARGET_SUBDIR)/boehm-gc && \
37881 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37883 @endif target-boehm-gc
37885 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
37886 maybe-install-target-boehm-gc:
37887 @if target-boehm-gc
37888 maybe-install-target-boehm-gc: install-target-boehm-gc
37890 install-target-boehm-gc: installdirs
37891 @: $(MAKE); $(unstage)
37892 @r=`${PWD_COMMAND}`; export r; \
37893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37894 $(NORMAL_TARGET_EXPORTS) \
37895 (cd $(TARGET_SUBDIR)/boehm-gc && \
37896 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37898 @endif target-boehm-gc
37900 .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
37901 maybe-install-strip-target-boehm-gc:
37902 @if target-boehm-gc
37903 maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
37905 install-strip-target-boehm-gc: installdirs
37906 @: $(MAKE); $(unstage)
37907 @r=`${PWD_COMMAND}`; export r; \
37908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37909 $(NORMAL_TARGET_EXPORTS) \
37910 (cd $(TARGET_SUBDIR)/boehm-gc && \
37911 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37913 @endif target-boehm-gc
37915 # Other targets (info, dvi, pdf, etc.)
37917 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
37918 maybe-info-target-boehm-gc:
37919 @if target-boehm-gc
37920 maybe-info-target-boehm-gc: info-target-boehm-gc
37922 info-target-boehm-gc: \
37923 configure-target-boehm-gc
37924 @: $(MAKE); $(unstage)
37925 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37926 r=`${PWD_COMMAND}`; export r; \
37927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37928 $(NORMAL_TARGET_EXPORTS) \
37929 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
37930 for flag in $(EXTRA_TARGET_FLAGS); do \
37931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37932 done; \
37933 (cd $(TARGET_SUBDIR)/boehm-gc && \
37934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37936 "RANLIB=$${RANLIB}" \
37937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37938 info) \
37939 || exit 1
37941 @endif target-boehm-gc
37943 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
37944 maybe-dvi-target-boehm-gc:
37945 @if target-boehm-gc
37946 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
37948 dvi-target-boehm-gc: \
37949 configure-target-boehm-gc
37950 @: $(MAKE); $(unstage)
37951 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37952 r=`${PWD_COMMAND}`; export r; \
37953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37954 $(NORMAL_TARGET_EXPORTS) \
37955 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
37956 for flag in $(EXTRA_TARGET_FLAGS); do \
37957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37958 done; \
37959 (cd $(TARGET_SUBDIR)/boehm-gc && \
37960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37962 "RANLIB=$${RANLIB}" \
37963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37964 dvi) \
37965 || exit 1
37967 @endif target-boehm-gc
37969 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
37970 maybe-pdf-target-boehm-gc:
37971 @if target-boehm-gc
37972 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
37974 pdf-target-boehm-gc: \
37975 configure-target-boehm-gc
37976 @: $(MAKE); $(unstage)
37977 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37978 r=`${PWD_COMMAND}`; export r; \
37979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37980 $(NORMAL_TARGET_EXPORTS) \
37981 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
37982 for flag in $(EXTRA_TARGET_FLAGS); do \
37983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37984 done; \
37985 (cd $(TARGET_SUBDIR)/boehm-gc && \
37986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37988 "RANLIB=$${RANLIB}" \
37989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37990 pdf) \
37991 || exit 1
37993 @endif target-boehm-gc
37995 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
37996 maybe-html-target-boehm-gc:
37997 @if target-boehm-gc
37998 maybe-html-target-boehm-gc: html-target-boehm-gc
38000 html-target-boehm-gc: \
38001 configure-target-boehm-gc
38002 @: $(MAKE); $(unstage)
38003 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38004 r=`${PWD_COMMAND}`; export r; \
38005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38006 $(NORMAL_TARGET_EXPORTS) \
38007 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
38008 for flag in $(EXTRA_TARGET_FLAGS); do \
38009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38010 done; \
38011 (cd $(TARGET_SUBDIR)/boehm-gc && \
38012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38014 "RANLIB=$${RANLIB}" \
38015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38016 html) \
38017 || exit 1
38019 @endif target-boehm-gc
38021 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
38022 maybe-TAGS-target-boehm-gc:
38023 @if target-boehm-gc
38024 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
38026 TAGS-target-boehm-gc: \
38027 configure-target-boehm-gc
38028 @: $(MAKE); $(unstage)
38029 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38030 r=`${PWD_COMMAND}`; export r; \
38031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38032 $(NORMAL_TARGET_EXPORTS) \
38033 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
38034 for flag in $(EXTRA_TARGET_FLAGS); do \
38035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38036 done; \
38037 (cd $(TARGET_SUBDIR)/boehm-gc && \
38038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38040 "RANLIB=$${RANLIB}" \
38041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38042 TAGS) \
38043 || exit 1
38045 @endif target-boehm-gc
38047 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
38048 maybe-install-info-target-boehm-gc:
38049 @if target-boehm-gc
38050 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
38052 install-info-target-boehm-gc: \
38053 configure-target-boehm-gc \
38054 info-target-boehm-gc
38055 @: $(MAKE); $(unstage)
38056 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38057 r=`${PWD_COMMAND}`; export r; \
38058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38059 $(NORMAL_TARGET_EXPORTS) \
38060 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
38061 for flag in $(EXTRA_TARGET_FLAGS); do \
38062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38063 done; \
38064 (cd $(TARGET_SUBDIR)/boehm-gc && \
38065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38067 "RANLIB=$${RANLIB}" \
38068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38069 install-info) \
38070 || exit 1
38072 @endif target-boehm-gc
38074 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
38075 maybe-install-pdf-target-boehm-gc:
38076 @if target-boehm-gc
38077 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
38079 install-pdf-target-boehm-gc: \
38080 configure-target-boehm-gc \
38081 pdf-target-boehm-gc
38082 @: $(MAKE); $(unstage)
38083 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38084 r=`${PWD_COMMAND}`; export r; \
38085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38086 $(NORMAL_TARGET_EXPORTS) \
38087 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
38088 for flag in $(EXTRA_TARGET_FLAGS); do \
38089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38090 done; \
38091 (cd $(TARGET_SUBDIR)/boehm-gc && \
38092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38094 "RANLIB=$${RANLIB}" \
38095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38096 install-pdf) \
38097 || exit 1
38099 @endif target-boehm-gc
38101 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
38102 maybe-install-html-target-boehm-gc:
38103 @if target-boehm-gc
38104 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
38106 install-html-target-boehm-gc: \
38107 configure-target-boehm-gc \
38108 html-target-boehm-gc
38109 @: $(MAKE); $(unstage)
38110 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38111 r=`${PWD_COMMAND}`; export r; \
38112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38113 $(NORMAL_TARGET_EXPORTS) \
38114 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
38115 for flag in $(EXTRA_TARGET_FLAGS); do \
38116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38117 done; \
38118 (cd $(TARGET_SUBDIR)/boehm-gc && \
38119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38121 "RANLIB=$${RANLIB}" \
38122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38123 install-html) \
38124 || exit 1
38126 @endif target-boehm-gc
38128 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
38129 maybe-installcheck-target-boehm-gc:
38130 @if target-boehm-gc
38131 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
38133 installcheck-target-boehm-gc: \
38134 configure-target-boehm-gc
38135 @: $(MAKE); $(unstage)
38136 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38137 r=`${PWD_COMMAND}`; export r; \
38138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38139 $(NORMAL_TARGET_EXPORTS) \
38140 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
38141 for flag in $(EXTRA_TARGET_FLAGS); do \
38142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38143 done; \
38144 (cd $(TARGET_SUBDIR)/boehm-gc && \
38145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38147 "RANLIB=$${RANLIB}" \
38148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38149 installcheck) \
38150 || exit 1
38152 @endif target-boehm-gc
38154 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
38155 maybe-mostlyclean-target-boehm-gc:
38156 @if target-boehm-gc
38157 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
38159 mostlyclean-target-boehm-gc:
38160 @: $(MAKE); $(unstage)
38161 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38162 r=`${PWD_COMMAND}`; export r; \
38163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38164 $(NORMAL_TARGET_EXPORTS) \
38165 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
38166 for flag in $(EXTRA_TARGET_FLAGS); do \
38167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38168 done; \
38169 (cd $(TARGET_SUBDIR)/boehm-gc && \
38170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38172 "RANLIB=$${RANLIB}" \
38173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38174 mostlyclean) \
38175 || exit 1
38177 @endif target-boehm-gc
38179 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
38180 maybe-clean-target-boehm-gc:
38181 @if target-boehm-gc
38182 maybe-clean-target-boehm-gc: clean-target-boehm-gc
38184 clean-target-boehm-gc:
38185 @: $(MAKE); $(unstage)
38186 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38187 r=`${PWD_COMMAND}`; export r; \
38188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38189 $(NORMAL_TARGET_EXPORTS) \
38190 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
38191 for flag in $(EXTRA_TARGET_FLAGS); do \
38192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38193 done; \
38194 (cd $(TARGET_SUBDIR)/boehm-gc && \
38195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38197 "RANLIB=$${RANLIB}" \
38198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38199 clean) \
38200 || exit 1
38202 @endif target-boehm-gc
38204 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
38205 maybe-distclean-target-boehm-gc:
38206 @if target-boehm-gc
38207 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
38209 distclean-target-boehm-gc:
38210 @: $(MAKE); $(unstage)
38211 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38212 r=`${PWD_COMMAND}`; export r; \
38213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38214 $(NORMAL_TARGET_EXPORTS) \
38215 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
38216 for flag in $(EXTRA_TARGET_FLAGS); do \
38217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38218 done; \
38219 (cd $(TARGET_SUBDIR)/boehm-gc && \
38220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38222 "RANLIB=$${RANLIB}" \
38223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38224 distclean) \
38225 || exit 1
38227 @endif target-boehm-gc
38229 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
38230 maybe-maintainer-clean-target-boehm-gc:
38231 @if target-boehm-gc
38232 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
38234 maintainer-clean-target-boehm-gc:
38235 @: $(MAKE); $(unstage)
38236 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38237 r=`${PWD_COMMAND}`; export r; \
38238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38239 $(NORMAL_TARGET_EXPORTS) \
38240 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
38241 for flag in $(EXTRA_TARGET_FLAGS); do \
38242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38243 done; \
38244 (cd $(TARGET_SUBDIR)/boehm-gc && \
38245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38247 "RANLIB=$${RANLIB}" \
38248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38249 maintainer-clean) \
38250 || exit 1
38252 @endif target-boehm-gc
38258 .PHONY: configure-target-rda maybe-configure-target-rda
38259 maybe-configure-target-rda:
38260 @if gcc-bootstrap
38261 configure-target-rda: stage_current
38262 @endif gcc-bootstrap
38263 @if target-rda
38264 maybe-configure-target-rda: configure-target-rda
38265 configure-target-rda:
38266 @: $(MAKE); $(unstage)
38267 @r=`${PWD_COMMAND}`; export r; \
38268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38269 echo "Checking multilib configuration for rda..."; \
38270 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
38271 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
38272 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
38273 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
38274 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
38275 else \
38276 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
38277 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
38278 fi; \
38279 else \
38280 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
38281 fi; \
38282 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
38283 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
38284 $(NORMAL_TARGET_EXPORTS) \
38285 echo Configuring in $(TARGET_SUBDIR)/rda; \
38286 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
38287 case $(srcdir) in \
38288 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38289 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
38290 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38291 esac; \
38292 srcdiroption="--srcdir=$${topdir}/rda"; \
38293 libsrcdir="$$s/rda"; \
38294 rm -f no-such-file || : ; \
38295 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38296 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38297 --target=${target_alias} $${srcdiroption} \
38298 || exit 1
38299 @endif target-rda
38305 .PHONY: all-target-rda maybe-all-target-rda
38306 maybe-all-target-rda:
38307 @if gcc-bootstrap
38308 all-target-rda: stage_current
38309 @endif gcc-bootstrap
38310 @if target-rda
38311 TARGET-target-rda=all
38312 maybe-all-target-rda: all-target-rda
38313 all-target-rda: configure-target-rda
38314 @: $(MAKE); $(unstage)
38315 @r=`${PWD_COMMAND}`; export r; \
38316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38317 $(NORMAL_TARGET_EXPORTS) \
38318 (cd $(TARGET_SUBDIR)/rda && \
38319 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38320 $(TARGET-target-rda))
38321 @endif target-rda
38327 .PHONY: check-target-rda maybe-check-target-rda
38328 maybe-check-target-rda:
38329 @if target-rda
38330 maybe-check-target-rda: check-target-rda
38332 check-target-rda:
38333 @: $(MAKE); $(unstage)
38334 @r=`${PWD_COMMAND}`; export r; \
38335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38336 $(NORMAL_TARGET_EXPORTS) \
38337 (cd $(TARGET_SUBDIR)/rda && \
38338 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38340 @endif target-rda
38342 .PHONY: install-target-rda maybe-install-target-rda
38343 maybe-install-target-rda:
38344 @if target-rda
38345 maybe-install-target-rda: install-target-rda
38347 install-target-rda: installdirs
38348 @: $(MAKE); $(unstage)
38349 @r=`${PWD_COMMAND}`; export r; \
38350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38351 $(NORMAL_TARGET_EXPORTS) \
38352 (cd $(TARGET_SUBDIR)/rda && \
38353 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38355 @endif target-rda
38357 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
38358 maybe-install-strip-target-rda:
38359 @if target-rda
38360 maybe-install-strip-target-rda: install-strip-target-rda
38362 install-strip-target-rda: installdirs
38363 @: $(MAKE); $(unstage)
38364 @r=`${PWD_COMMAND}`; export r; \
38365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38366 $(NORMAL_TARGET_EXPORTS) \
38367 (cd $(TARGET_SUBDIR)/rda && \
38368 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38370 @endif target-rda
38372 # Other targets (info, dvi, pdf, etc.)
38374 .PHONY: maybe-info-target-rda info-target-rda
38375 maybe-info-target-rda:
38376 @if target-rda
38377 maybe-info-target-rda: info-target-rda
38379 info-target-rda: \
38380 configure-target-rda
38381 @: $(MAKE); $(unstage)
38382 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38383 r=`${PWD_COMMAND}`; export r; \
38384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38385 $(NORMAL_TARGET_EXPORTS) \
38386 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
38387 for flag in $(EXTRA_TARGET_FLAGS); do \
38388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38389 done; \
38390 (cd $(TARGET_SUBDIR)/rda && \
38391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38393 "RANLIB=$${RANLIB}" \
38394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38395 info) \
38396 || exit 1
38398 @endif target-rda
38400 .PHONY: maybe-dvi-target-rda dvi-target-rda
38401 maybe-dvi-target-rda:
38402 @if target-rda
38403 maybe-dvi-target-rda: dvi-target-rda
38405 dvi-target-rda: \
38406 configure-target-rda
38407 @: $(MAKE); $(unstage)
38408 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38409 r=`${PWD_COMMAND}`; export r; \
38410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38411 $(NORMAL_TARGET_EXPORTS) \
38412 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
38413 for flag in $(EXTRA_TARGET_FLAGS); do \
38414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38415 done; \
38416 (cd $(TARGET_SUBDIR)/rda && \
38417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38419 "RANLIB=$${RANLIB}" \
38420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38421 dvi) \
38422 || exit 1
38424 @endif target-rda
38426 .PHONY: maybe-pdf-target-rda pdf-target-rda
38427 maybe-pdf-target-rda:
38428 @if target-rda
38429 maybe-pdf-target-rda: pdf-target-rda
38431 pdf-target-rda: \
38432 configure-target-rda
38433 @: $(MAKE); $(unstage)
38434 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38435 r=`${PWD_COMMAND}`; export r; \
38436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38437 $(NORMAL_TARGET_EXPORTS) \
38438 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
38439 for flag in $(EXTRA_TARGET_FLAGS); do \
38440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38441 done; \
38442 (cd $(TARGET_SUBDIR)/rda && \
38443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38445 "RANLIB=$${RANLIB}" \
38446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38447 pdf) \
38448 || exit 1
38450 @endif target-rda
38452 .PHONY: maybe-html-target-rda html-target-rda
38453 maybe-html-target-rda:
38454 @if target-rda
38455 maybe-html-target-rda: html-target-rda
38457 html-target-rda: \
38458 configure-target-rda
38459 @: $(MAKE); $(unstage)
38460 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38461 r=`${PWD_COMMAND}`; export r; \
38462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38463 $(NORMAL_TARGET_EXPORTS) \
38464 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
38465 for flag in $(EXTRA_TARGET_FLAGS); do \
38466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38467 done; \
38468 (cd $(TARGET_SUBDIR)/rda && \
38469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38471 "RANLIB=$${RANLIB}" \
38472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38473 html) \
38474 || exit 1
38476 @endif target-rda
38478 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
38479 maybe-TAGS-target-rda:
38480 @if target-rda
38481 maybe-TAGS-target-rda: TAGS-target-rda
38483 TAGS-target-rda: \
38484 configure-target-rda
38485 @: $(MAKE); $(unstage)
38486 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38487 r=`${PWD_COMMAND}`; export r; \
38488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38489 $(NORMAL_TARGET_EXPORTS) \
38490 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
38491 for flag in $(EXTRA_TARGET_FLAGS); do \
38492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38493 done; \
38494 (cd $(TARGET_SUBDIR)/rda && \
38495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38497 "RANLIB=$${RANLIB}" \
38498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38499 TAGS) \
38500 || exit 1
38502 @endif target-rda
38504 .PHONY: maybe-install-info-target-rda install-info-target-rda
38505 maybe-install-info-target-rda:
38506 @if target-rda
38507 maybe-install-info-target-rda: install-info-target-rda
38509 install-info-target-rda: \
38510 configure-target-rda \
38511 info-target-rda
38512 @: $(MAKE); $(unstage)
38513 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38514 r=`${PWD_COMMAND}`; export r; \
38515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38516 $(NORMAL_TARGET_EXPORTS) \
38517 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
38518 for flag in $(EXTRA_TARGET_FLAGS); do \
38519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38520 done; \
38521 (cd $(TARGET_SUBDIR)/rda && \
38522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38524 "RANLIB=$${RANLIB}" \
38525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38526 install-info) \
38527 || exit 1
38529 @endif target-rda
38531 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
38532 maybe-install-pdf-target-rda:
38533 @if target-rda
38534 maybe-install-pdf-target-rda: install-pdf-target-rda
38536 install-pdf-target-rda: \
38537 configure-target-rda \
38538 pdf-target-rda
38539 @: $(MAKE); $(unstage)
38540 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38541 r=`${PWD_COMMAND}`; export r; \
38542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38543 $(NORMAL_TARGET_EXPORTS) \
38544 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
38545 for flag in $(EXTRA_TARGET_FLAGS); do \
38546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38547 done; \
38548 (cd $(TARGET_SUBDIR)/rda && \
38549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38551 "RANLIB=$${RANLIB}" \
38552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38553 install-pdf) \
38554 || exit 1
38556 @endif target-rda
38558 .PHONY: maybe-install-html-target-rda install-html-target-rda
38559 maybe-install-html-target-rda:
38560 @if target-rda
38561 maybe-install-html-target-rda: install-html-target-rda
38563 install-html-target-rda: \
38564 configure-target-rda \
38565 html-target-rda
38566 @: $(MAKE); $(unstage)
38567 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38568 r=`${PWD_COMMAND}`; export r; \
38569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38570 $(NORMAL_TARGET_EXPORTS) \
38571 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
38572 for flag in $(EXTRA_TARGET_FLAGS); do \
38573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38574 done; \
38575 (cd $(TARGET_SUBDIR)/rda && \
38576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38578 "RANLIB=$${RANLIB}" \
38579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38580 install-html) \
38581 || exit 1
38583 @endif target-rda
38585 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
38586 maybe-installcheck-target-rda:
38587 @if target-rda
38588 maybe-installcheck-target-rda: installcheck-target-rda
38590 installcheck-target-rda: \
38591 configure-target-rda
38592 @: $(MAKE); $(unstage)
38593 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38594 r=`${PWD_COMMAND}`; export r; \
38595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38596 $(NORMAL_TARGET_EXPORTS) \
38597 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
38598 for flag in $(EXTRA_TARGET_FLAGS); do \
38599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38600 done; \
38601 (cd $(TARGET_SUBDIR)/rda && \
38602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38604 "RANLIB=$${RANLIB}" \
38605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38606 installcheck) \
38607 || exit 1
38609 @endif target-rda
38611 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
38612 maybe-mostlyclean-target-rda:
38613 @if target-rda
38614 maybe-mostlyclean-target-rda: mostlyclean-target-rda
38616 mostlyclean-target-rda:
38617 @: $(MAKE); $(unstage)
38618 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38619 r=`${PWD_COMMAND}`; export r; \
38620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38621 $(NORMAL_TARGET_EXPORTS) \
38622 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
38623 for flag in $(EXTRA_TARGET_FLAGS); do \
38624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38625 done; \
38626 (cd $(TARGET_SUBDIR)/rda && \
38627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38629 "RANLIB=$${RANLIB}" \
38630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38631 mostlyclean) \
38632 || exit 1
38634 @endif target-rda
38636 .PHONY: maybe-clean-target-rda clean-target-rda
38637 maybe-clean-target-rda:
38638 @if target-rda
38639 maybe-clean-target-rda: clean-target-rda
38641 clean-target-rda:
38642 @: $(MAKE); $(unstage)
38643 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38644 r=`${PWD_COMMAND}`; export r; \
38645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38646 $(NORMAL_TARGET_EXPORTS) \
38647 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
38648 for flag in $(EXTRA_TARGET_FLAGS); do \
38649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38650 done; \
38651 (cd $(TARGET_SUBDIR)/rda && \
38652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38654 "RANLIB=$${RANLIB}" \
38655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38656 clean) \
38657 || exit 1
38659 @endif target-rda
38661 .PHONY: maybe-distclean-target-rda distclean-target-rda
38662 maybe-distclean-target-rda:
38663 @if target-rda
38664 maybe-distclean-target-rda: distclean-target-rda
38666 distclean-target-rda:
38667 @: $(MAKE); $(unstage)
38668 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38669 r=`${PWD_COMMAND}`; export r; \
38670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38671 $(NORMAL_TARGET_EXPORTS) \
38672 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
38673 for flag in $(EXTRA_TARGET_FLAGS); do \
38674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38675 done; \
38676 (cd $(TARGET_SUBDIR)/rda && \
38677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38679 "RANLIB=$${RANLIB}" \
38680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38681 distclean) \
38682 || exit 1
38684 @endif target-rda
38686 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
38687 maybe-maintainer-clean-target-rda:
38688 @if target-rda
38689 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
38691 maintainer-clean-target-rda:
38692 @: $(MAKE); $(unstage)
38693 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38694 r=`${PWD_COMMAND}`; export r; \
38695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38696 $(NORMAL_TARGET_EXPORTS) \
38697 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
38698 for flag in $(EXTRA_TARGET_FLAGS); do \
38699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38700 done; \
38701 (cd $(TARGET_SUBDIR)/rda && \
38702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38704 "RANLIB=$${RANLIB}" \
38705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38706 maintainer-clean) \
38707 || exit 1
38709 @endif target-rda
38715 .PHONY: configure-target-libada maybe-configure-target-libada
38716 maybe-configure-target-libada:
38717 @if gcc-bootstrap
38718 configure-target-libada: stage_current
38719 @endif gcc-bootstrap
38720 @if target-libada
38721 maybe-configure-target-libada: configure-target-libada
38722 configure-target-libada:
38723 @: $(MAKE); $(unstage)
38724 @r=`${PWD_COMMAND}`; export r; \
38725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38726 echo "Checking multilib configuration for libada..."; \
38727 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
38728 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
38729 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
38730 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
38731 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
38732 else \
38733 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
38734 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
38735 fi; \
38736 else \
38737 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
38738 fi; \
38739 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
38740 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
38741 $(NORMAL_TARGET_EXPORTS) \
38742 echo Configuring in $(TARGET_SUBDIR)/libada; \
38743 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
38744 case $(srcdir) in \
38745 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38746 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
38747 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38748 esac; \
38749 srcdiroption="--srcdir=$${topdir}/libada"; \
38750 libsrcdir="$$s/libada"; \
38751 rm -f no-such-file || : ; \
38752 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38753 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38754 --target=${target_alias} $${srcdiroption} \
38755 || exit 1
38756 @endif target-libada
38762 .PHONY: all-target-libada maybe-all-target-libada
38763 maybe-all-target-libada:
38764 @if gcc-bootstrap
38765 all-target-libada: stage_current
38766 @endif gcc-bootstrap
38767 @if target-libada
38768 TARGET-target-libada=all
38769 maybe-all-target-libada: all-target-libada
38770 all-target-libada: configure-target-libada
38771 @: $(MAKE); $(unstage)
38772 @r=`${PWD_COMMAND}`; export r; \
38773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38774 $(NORMAL_TARGET_EXPORTS) \
38775 (cd $(TARGET_SUBDIR)/libada && \
38776 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38777 $(TARGET-target-libada))
38778 @endif target-libada
38784 .PHONY: check-target-libada maybe-check-target-libada
38785 maybe-check-target-libada:
38786 @if target-libada
38787 maybe-check-target-libada: check-target-libada
38789 check-target-libada:
38790 @: $(MAKE); $(unstage)
38791 @r=`${PWD_COMMAND}`; export r; \
38792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38793 $(NORMAL_TARGET_EXPORTS) \
38794 (cd $(TARGET_SUBDIR)/libada && \
38795 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38797 @endif target-libada
38799 .PHONY: install-target-libada maybe-install-target-libada
38800 maybe-install-target-libada:
38801 @if target-libada
38802 maybe-install-target-libada: install-target-libada
38804 install-target-libada: installdirs
38805 @: $(MAKE); $(unstage)
38806 @r=`${PWD_COMMAND}`; export r; \
38807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38808 $(NORMAL_TARGET_EXPORTS) \
38809 (cd $(TARGET_SUBDIR)/libada && \
38810 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38812 @endif target-libada
38814 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
38815 maybe-install-strip-target-libada:
38816 @if target-libada
38817 maybe-install-strip-target-libada: install-strip-target-libada
38819 install-strip-target-libada: installdirs
38820 @: $(MAKE); $(unstage)
38821 @r=`${PWD_COMMAND}`; export r; \
38822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38823 $(NORMAL_TARGET_EXPORTS) \
38824 (cd $(TARGET_SUBDIR)/libada && \
38825 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38827 @endif target-libada
38829 # Other targets (info, dvi, pdf, etc.)
38831 .PHONY: maybe-info-target-libada info-target-libada
38832 maybe-info-target-libada:
38833 @if target-libada
38834 maybe-info-target-libada: info-target-libada
38836 info-target-libada: \
38837 configure-target-libada
38838 @: $(MAKE); $(unstage)
38839 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38840 r=`${PWD_COMMAND}`; export r; \
38841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38842 $(NORMAL_TARGET_EXPORTS) \
38843 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
38844 for flag in $(EXTRA_TARGET_FLAGS); do \
38845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38846 done; \
38847 (cd $(TARGET_SUBDIR)/libada && \
38848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38850 "RANLIB=$${RANLIB}" \
38851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38852 info) \
38853 || exit 1
38855 @endif target-libada
38857 .PHONY: maybe-dvi-target-libada dvi-target-libada
38858 maybe-dvi-target-libada:
38859 @if target-libada
38860 maybe-dvi-target-libada: dvi-target-libada
38862 dvi-target-libada: \
38863 configure-target-libada
38864 @: $(MAKE); $(unstage)
38865 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38866 r=`${PWD_COMMAND}`; export r; \
38867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38868 $(NORMAL_TARGET_EXPORTS) \
38869 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
38870 for flag in $(EXTRA_TARGET_FLAGS); do \
38871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38872 done; \
38873 (cd $(TARGET_SUBDIR)/libada && \
38874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38876 "RANLIB=$${RANLIB}" \
38877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38878 dvi) \
38879 || exit 1
38881 @endif target-libada
38883 .PHONY: maybe-pdf-target-libada pdf-target-libada
38884 maybe-pdf-target-libada:
38885 @if target-libada
38886 maybe-pdf-target-libada: pdf-target-libada
38888 pdf-target-libada: \
38889 configure-target-libada
38890 @: $(MAKE); $(unstage)
38891 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38892 r=`${PWD_COMMAND}`; export r; \
38893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38894 $(NORMAL_TARGET_EXPORTS) \
38895 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
38896 for flag in $(EXTRA_TARGET_FLAGS); do \
38897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38898 done; \
38899 (cd $(TARGET_SUBDIR)/libada && \
38900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38902 "RANLIB=$${RANLIB}" \
38903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38904 pdf) \
38905 || exit 1
38907 @endif target-libada
38909 .PHONY: maybe-html-target-libada html-target-libada
38910 maybe-html-target-libada:
38911 @if target-libada
38912 maybe-html-target-libada: html-target-libada
38914 html-target-libada: \
38915 configure-target-libada
38916 @: $(MAKE); $(unstage)
38917 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38918 r=`${PWD_COMMAND}`; export r; \
38919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38920 $(NORMAL_TARGET_EXPORTS) \
38921 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
38922 for flag in $(EXTRA_TARGET_FLAGS); do \
38923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38924 done; \
38925 (cd $(TARGET_SUBDIR)/libada && \
38926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38928 "RANLIB=$${RANLIB}" \
38929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38930 html) \
38931 || exit 1
38933 @endif target-libada
38935 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
38936 maybe-TAGS-target-libada:
38937 @if target-libada
38938 maybe-TAGS-target-libada: TAGS-target-libada
38940 TAGS-target-libada: \
38941 configure-target-libada
38942 @: $(MAKE); $(unstage)
38943 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38944 r=`${PWD_COMMAND}`; export r; \
38945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38946 $(NORMAL_TARGET_EXPORTS) \
38947 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
38948 for flag in $(EXTRA_TARGET_FLAGS); do \
38949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38950 done; \
38951 (cd $(TARGET_SUBDIR)/libada && \
38952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38954 "RANLIB=$${RANLIB}" \
38955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38956 TAGS) \
38957 || exit 1
38959 @endif target-libada
38961 .PHONY: maybe-install-info-target-libada install-info-target-libada
38962 maybe-install-info-target-libada:
38963 @if target-libada
38964 maybe-install-info-target-libada: install-info-target-libada
38966 install-info-target-libada: \
38967 configure-target-libada \
38968 info-target-libada
38969 @: $(MAKE); $(unstage)
38970 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38971 r=`${PWD_COMMAND}`; export r; \
38972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38973 $(NORMAL_TARGET_EXPORTS) \
38974 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
38975 for flag in $(EXTRA_TARGET_FLAGS); do \
38976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38977 done; \
38978 (cd $(TARGET_SUBDIR)/libada && \
38979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38981 "RANLIB=$${RANLIB}" \
38982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38983 install-info) \
38984 || exit 1
38986 @endif target-libada
38988 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
38989 maybe-install-pdf-target-libada:
38990 @if target-libada
38991 maybe-install-pdf-target-libada: install-pdf-target-libada
38993 install-pdf-target-libada: \
38994 configure-target-libada \
38995 pdf-target-libada
38996 @: $(MAKE); $(unstage)
38997 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38998 r=`${PWD_COMMAND}`; export r; \
38999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39000 $(NORMAL_TARGET_EXPORTS) \
39001 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
39002 for flag in $(EXTRA_TARGET_FLAGS); do \
39003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39004 done; \
39005 (cd $(TARGET_SUBDIR)/libada && \
39006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39008 "RANLIB=$${RANLIB}" \
39009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39010 install-pdf) \
39011 || exit 1
39013 @endif target-libada
39015 .PHONY: maybe-install-html-target-libada install-html-target-libada
39016 maybe-install-html-target-libada:
39017 @if target-libada
39018 maybe-install-html-target-libada: install-html-target-libada
39020 install-html-target-libada: \
39021 configure-target-libada \
39022 html-target-libada
39023 @: $(MAKE); $(unstage)
39024 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39025 r=`${PWD_COMMAND}`; export r; \
39026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39027 $(NORMAL_TARGET_EXPORTS) \
39028 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
39029 for flag in $(EXTRA_TARGET_FLAGS); do \
39030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39031 done; \
39032 (cd $(TARGET_SUBDIR)/libada && \
39033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39035 "RANLIB=$${RANLIB}" \
39036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39037 install-html) \
39038 || exit 1
39040 @endif target-libada
39042 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
39043 maybe-installcheck-target-libada:
39044 @if target-libada
39045 maybe-installcheck-target-libada: installcheck-target-libada
39047 installcheck-target-libada: \
39048 configure-target-libada
39049 @: $(MAKE); $(unstage)
39050 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39051 r=`${PWD_COMMAND}`; export r; \
39052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39053 $(NORMAL_TARGET_EXPORTS) \
39054 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
39055 for flag in $(EXTRA_TARGET_FLAGS); do \
39056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39057 done; \
39058 (cd $(TARGET_SUBDIR)/libada && \
39059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39061 "RANLIB=$${RANLIB}" \
39062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39063 installcheck) \
39064 || exit 1
39066 @endif target-libada
39068 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
39069 maybe-mostlyclean-target-libada:
39070 @if target-libada
39071 maybe-mostlyclean-target-libada: mostlyclean-target-libada
39073 mostlyclean-target-libada:
39074 @: $(MAKE); $(unstage)
39075 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39076 r=`${PWD_COMMAND}`; export r; \
39077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39078 $(NORMAL_TARGET_EXPORTS) \
39079 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
39080 for flag in $(EXTRA_TARGET_FLAGS); do \
39081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39082 done; \
39083 (cd $(TARGET_SUBDIR)/libada && \
39084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39086 "RANLIB=$${RANLIB}" \
39087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39088 mostlyclean) \
39089 || exit 1
39091 @endif target-libada
39093 .PHONY: maybe-clean-target-libada clean-target-libada
39094 maybe-clean-target-libada:
39095 @if target-libada
39096 maybe-clean-target-libada: clean-target-libada
39098 clean-target-libada:
39099 @: $(MAKE); $(unstage)
39100 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39101 r=`${PWD_COMMAND}`; export r; \
39102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39103 $(NORMAL_TARGET_EXPORTS) \
39104 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
39105 for flag in $(EXTRA_TARGET_FLAGS); do \
39106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39107 done; \
39108 (cd $(TARGET_SUBDIR)/libada && \
39109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39111 "RANLIB=$${RANLIB}" \
39112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39113 clean) \
39114 || exit 1
39116 @endif target-libada
39118 .PHONY: maybe-distclean-target-libada distclean-target-libada
39119 maybe-distclean-target-libada:
39120 @if target-libada
39121 maybe-distclean-target-libada: distclean-target-libada
39123 distclean-target-libada:
39124 @: $(MAKE); $(unstage)
39125 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39126 r=`${PWD_COMMAND}`; export r; \
39127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39128 $(NORMAL_TARGET_EXPORTS) \
39129 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
39130 for flag in $(EXTRA_TARGET_FLAGS); do \
39131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39132 done; \
39133 (cd $(TARGET_SUBDIR)/libada && \
39134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39136 "RANLIB=$${RANLIB}" \
39137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39138 distclean) \
39139 || exit 1
39141 @endif target-libada
39143 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
39144 maybe-maintainer-clean-target-libada:
39145 @if target-libada
39146 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
39148 maintainer-clean-target-libada:
39149 @: $(MAKE); $(unstage)
39150 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39151 r=`${PWD_COMMAND}`; export r; \
39152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39153 $(NORMAL_TARGET_EXPORTS) \
39154 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
39155 for flag in $(EXTRA_TARGET_FLAGS); do \
39156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39157 done; \
39158 (cd $(TARGET_SUBDIR)/libada && \
39159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39161 "RANLIB=$${RANLIB}" \
39162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39163 maintainer-clean) \
39164 || exit 1
39166 @endif target-libada
39172 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
39173 maybe-configure-target-libgomp:
39174 @if gcc-bootstrap
39175 configure-target-libgomp: stage_current
39176 @endif gcc-bootstrap
39177 @if target-libgomp
39178 maybe-configure-target-libgomp: configure-target-libgomp
39179 configure-target-libgomp:
39180 @r=`${PWD_COMMAND}`; export r; \
39181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39182 echo "Checking multilib configuration for libgomp..."; \
39183 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39184 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39185 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39186 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39187 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39188 else \
39189 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39190 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39191 fi; \
39192 else \
39193 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39194 fi; \
39195 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39196 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39197 $(NORMAL_TARGET_EXPORTS) \
39198 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
39199 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
39200 case $(srcdir) in \
39201 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39202 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39203 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39204 esac; \
39205 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39206 libsrcdir="$$s/libgomp"; \
39207 rm -f no-such-file || : ; \
39208 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39209 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39210 --target=${target_alias} $${srcdiroption} \
39211 || exit 1
39212 @endif target-libgomp
39216 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
39217 maybe-configure-stage1-target-libgomp:
39218 @if target-libgomp-bootstrap
39219 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
39220 configure-stage1-target-libgomp:
39221 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39222 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39223 @r=`${PWD_COMMAND}`; export r; \
39224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39225 TFLAGS="$(STAGE1_TFLAGS)"; \
39226 echo "Checking multilib configuration for libgomp..."; \
39227 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39228 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39229 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39230 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39231 else \
39232 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39233 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39234 fi; \
39235 else \
39236 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39237 fi; \
39238 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39239 $(NORMAL_TARGET_EXPORTS) \
39240 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39241 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39242 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39243 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \
39244 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39245 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39246 case $(srcdir) in \
39247 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39248 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39249 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39250 esac; \
39251 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39252 libsrcdir="$$s/libgomp"; \
39253 $(SHELL) $${libsrcdir}/configure \
39254 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39255 --target=${target_alias} $${srcdiroption} \
39256 $(STAGE1_CONFIGURE_FLAGS)
39257 @endif target-libgomp-bootstrap
39259 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
39260 maybe-configure-stage2-target-libgomp:
39261 @if target-libgomp-bootstrap
39262 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
39263 configure-stage2-target-libgomp:
39264 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39265 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39266 @r=`${PWD_COMMAND}`; export r; \
39267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39268 TFLAGS="$(STAGE2_TFLAGS)"; \
39269 echo "Checking multilib configuration for libgomp..."; \
39270 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39271 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39272 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39273 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39274 else \
39275 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39276 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39277 fi; \
39278 else \
39279 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39280 fi; \
39281 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39282 $(NORMAL_TARGET_EXPORTS) \
39284 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39285 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39286 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39287 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \
39288 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39289 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39290 case $(srcdir) in \
39291 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39292 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39293 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39294 esac; \
39295 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39296 libsrcdir="$$s/libgomp"; \
39297 $(SHELL) $${libsrcdir}/configure \
39298 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39299 --target=${target_alias} $${srcdiroption} \
39300 --with-build-libsubdir=$(HOST_SUBDIR) \
39301 $(STAGE2_CONFIGURE_FLAGS)
39302 @endif target-libgomp-bootstrap
39304 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
39305 maybe-configure-stage3-target-libgomp:
39306 @if target-libgomp-bootstrap
39307 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
39308 configure-stage3-target-libgomp:
39309 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39310 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39311 @r=`${PWD_COMMAND}`; export r; \
39312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39313 TFLAGS="$(STAGE3_TFLAGS)"; \
39314 echo "Checking multilib configuration for libgomp..."; \
39315 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39316 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39317 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39318 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39319 else \
39320 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39321 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39322 fi; \
39323 else \
39324 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39325 fi; \
39326 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39327 $(NORMAL_TARGET_EXPORTS) \
39329 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39330 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39331 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39332 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \
39333 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39334 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39335 case $(srcdir) in \
39336 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39337 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39338 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39339 esac; \
39340 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39341 libsrcdir="$$s/libgomp"; \
39342 $(SHELL) $${libsrcdir}/configure \
39343 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39344 --target=${target_alias} $${srcdiroption} \
39345 --with-build-libsubdir=$(HOST_SUBDIR) \
39346 $(STAGE3_CONFIGURE_FLAGS)
39347 @endif target-libgomp-bootstrap
39349 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
39350 maybe-configure-stage4-target-libgomp:
39351 @if target-libgomp-bootstrap
39352 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
39353 configure-stage4-target-libgomp:
39354 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39355 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39356 @r=`${PWD_COMMAND}`; export r; \
39357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39358 TFLAGS="$(STAGE4_TFLAGS)"; \
39359 echo "Checking multilib configuration for libgomp..."; \
39360 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39361 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39362 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39363 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39364 else \
39365 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39366 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39367 fi; \
39368 else \
39369 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39370 fi; \
39371 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39372 $(NORMAL_TARGET_EXPORTS) \
39374 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39375 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39376 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39377 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \
39378 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39379 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39380 case $(srcdir) in \
39381 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39382 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39383 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39384 esac; \
39385 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39386 libsrcdir="$$s/libgomp"; \
39387 $(SHELL) $${libsrcdir}/configure \
39388 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39389 --target=${target_alias} $${srcdiroption} \
39390 --with-build-libsubdir=$(HOST_SUBDIR) \
39391 $(STAGE4_CONFIGURE_FLAGS)
39392 @endif target-libgomp-bootstrap
39394 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
39395 maybe-configure-stageprofile-target-libgomp:
39396 @if target-libgomp-bootstrap
39397 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
39398 configure-stageprofile-target-libgomp:
39399 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39400 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39401 @r=`${PWD_COMMAND}`; export r; \
39402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39403 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39404 echo "Checking multilib configuration for libgomp..."; \
39405 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39406 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39407 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39408 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39409 else \
39410 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39411 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39412 fi; \
39413 else \
39414 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39415 fi; \
39416 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39417 $(NORMAL_TARGET_EXPORTS) \
39419 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39420 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39421 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39422 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \
39423 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39424 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39425 case $(srcdir) in \
39426 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39427 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39428 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39429 esac; \
39430 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39431 libsrcdir="$$s/libgomp"; \
39432 $(SHELL) $${libsrcdir}/configure \
39433 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39434 --target=${target_alias} $${srcdiroption} \
39435 --with-build-libsubdir=$(HOST_SUBDIR) \
39436 $(STAGEprofile_CONFIGURE_FLAGS)
39437 @endif target-libgomp-bootstrap
39439 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
39440 maybe-configure-stagefeedback-target-libgomp:
39441 @if target-libgomp-bootstrap
39442 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
39443 configure-stagefeedback-target-libgomp:
39444 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39445 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39446 @r=`${PWD_COMMAND}`; export r; \
39447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39448 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39449 echo "Checking multilib configuration for libgomp..."; \
39450 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39451 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39452 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39453 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39454 else \
39455 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39456 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39457 fi; \
39458 else \
39459 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39460 fi; \
39461 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39462 $(NORMAL_TARGET_EXPORTS) \
39464 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39465 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39466 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39467 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \
39468 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39469 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39470 case $(srcdir) in \
39471 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39472 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39473 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39474 esac; \
39475 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39476 libsrcdir="$$s/libgomp"; \
39477 $(SHELL) $${libsrcdir}/configure \
39478 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39479 --target=${target_alias} $${srcdiroption} \
39480 --with-build-libsubdir=$(HOST_SUBDIR) \
39481 $(STAGEfeedback_CONFIGURE_FLAGS)
39482 @endif target-libgomp-bootstrap
39488 .PHONY: all-target-libgomp maybe-all-target-libgomp
39489 maybe-all-target-libgomp:
39490 @if gcc-bootstrap
39491 all-target-libgomp: stage_current
39492 @endif gcc-bootstrap
39493 @if target-libgomp
39494 TARGET-target-libgomp=all
39495 maybe-all-target-libgomp: all-target-libgomp
39496 all-target-libgomp: configure-target-libgomp
39497 @r=`${PWD_COMMAND}`; export r; \
39498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39499 $(NORMAL_TARGET_EXPORTS) \
39500 (cd $(TARGET_SUBDIR)/libgomp && \
39501 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39502 $(TARGET-target-libgomp))
39503 @endif target-libgomp
39507 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
39508 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
39509 maybe-all-stage1-target-libgomp:
39510 maybe-clean-stage1-target-libgomp:
39511 @if target-libgomp-bootstrap
39512 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
39513 all-stage1: all-stage1-target-libgomp
39514 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
39515 all-stage1-target-libgomp: configure-stage1-target-libgomp
39516 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39517 @r=`${PWD_COMMAND}`; export r; \
39518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39519 TFLAGS="$(STAGE1_TFLAGS)"; \
39520 $(NORMAL_TARGET_EXPORTS) \
39521 cd $(TARGET_SUBDIR)/libgomp && \
39522 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39523 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39524 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39525 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39526 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39527 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39528 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39529 $(EXTRA_TARGET_FLAGS) \
39530 TFLAGS="$(STAGE1_TFLAGS)" \
39531 $(TARGET-stage1-target-libgomp)
39533 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
39534 clean-stage1: clean-stage1-target-libgomp
39535 clean-stage1-target-libgomp:
39536 @if [ $(current_stage) = stage1 ]; then \
39537 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39538 else \
39539 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
39540 $(MAKE) stage1-start; \
39541 fi; \
39542 cd $(TARGET_SUBDIR)/libgomp && \
39543 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39544 clean
39545 @endif target-libgomp-bootstrap
39548 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
39549 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
39550 maybe-all-stage2-target-libgomp:
39551 maybe-clean-stage2-target-libgomp:
39552 @if target-libgomp-bootstrap
39553 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
39554 all-stage2: all-stage2-target-libgomp
39555 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
39556 all-stage2-target-libgomp: configure-stage2-target-libgomp
39557 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39558 @r=`${PWD_COMMAND}`; export r; \
39559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39560 TFLAGS="$(STAGE2_TFLAGS)"; \
39561 $(NORMAL_TARGET_EXPORTS) \
39563 cd $(TARGET_SUBDIR)/libgomp && \
39564 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39565 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39566 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39567 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39568 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39569 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39570 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39571 $(EXTRA_TARGET_FLAGS) \
39572 TFLAGS="$(STAGE2_TFLAGS)" \
39573 $(TARGET-stage2-target-libgomp)
39575 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
39576 clean-stage2: clean-stage2-target-libgomp
39577 clean-stage2-target-libgomp:
39578 @if [ $(current_stage) = stage2 ]; then \
39579 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39580 else \
39581 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
39582 $(MAKE) stage2-start; \
39583 fi; \
39584 cd $(TARGET_SUBDIR)/libgomp && \
39585 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39587 clean
39588 @endif target-libgomp-bootstrap
39591 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
39592 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
39593 maybe-all-stage3-target-libgomp:
39594 maybe-clean-stage3-target-libgomp:
39595 @if target-libgomp-bootstrap
39596 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
39597 all-stage3: all-stage3-target-libgomp
39598 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
39599 all-stage3-target-libgomp: configure-stage3-target-libgomp
39600 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39601 @r=`${PWD_COMMAND}`; export r; \
39602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39603 TFLAGS="$(STAGE3_TFLAGS)"; \
39604 $(NORMAL_TARGET_EXPORTS) \
39606 cd $(TARGET_SUBDIR)/libgomp && \
39607 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39608 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39609 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39610 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39611 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39612 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39613 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39614 $(EXTRA_TARGET_FLAGS) \
39615 TFLAGS="$(STAGE3_TFLAGS)" \
39616 $(TARGET-stage3-target-libgomp)
39618 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
39619 clean-stage3: clean-stage3-target-libgomp
39620 clean-stage3-target-libgomp:
39621 @if [ $(current_stage) = stage3 ]; then \
39622 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39623 else \
39624 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
39625 $(MAKE) stage3-start; \
39626 fi; \
39627 cd $(TARGET_SUBDIR)/libgomp && \
39628 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39630 clean
39631 @endif target-libgomp-bootstrap
39634 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
39635 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
39636 maybe-all-stage4-target-libgomp:
39637 maybe-clean-stage4-target-libgomp:
39638 @if target-libgomp-bootstrap
39639 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
39640 all-stage4: all-stage4-target-libgomp
39641 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
39642 all-stage4-target-libgomp: configure-stage4-target-libgomp
39643 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39644 @r=`${PWD_COMMAND}`; export r; \
39645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39646 TFLAGS="$(STAGE4_TFLAGS)"; \
39647 $(NORMAL_TARGET_EXPORTS) \
39649 cd $(TARGET_SUBDIR)/libgomp && \
39650 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39651 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39652 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39653 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39654 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39655 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39656 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39657 $(EXTRA_TARGET_FLAGS) \
39658 TFLAGS="$(STAGE4_TFLAGS)" \
39659 $(TARGET-stage4-target-libgomp)
39661 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
39662 clean-stage4: clean-stage4-target-libgomp
39663 clean-stage4-target-libgomp:
39664 @if [ $(current_stage) = stage4 ]; then \
39665 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39666 else \
39667 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
39668 $(MAKE) stage4-start; \
39669 fi; \
39670 cd $(TARGET_SUBDIR)/libgomp && \
39671 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39673 clean
39674 @endif target-libgomp-bootstrap
39677 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
39678 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
39679 maybe-all-stageprofile-target-libgomp:
39680 maybe-clean-stageprofile-target-libgomp:
39681 @if target-libgomp-bootstrap
39682 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
39683 all-stageprofile: all-stageprofile-target-libgomp
39684 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
39685 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
39686 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39687 @r=`${PWD_COMMAND}`; export r; \
39688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39689 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39690 $(NORMAL_TARGET_EXPORTS) \
39692 cd $(TARGET_SUBDIR)/libgomp && \
39693 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39694 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39695 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39696 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39697 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39698 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39699 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39700 $(EXTRA_TARGET_FLAGS) \
39701 TFLAGS="$(STAGEprofile_TFLAGS)" \
39702 $(TARGET-stageprofile-target-libgomp)
39704 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
39705 clean-stageprofile: clean-stageprofile-target-libgomp
39706 clean-stageprofile-target-libgomp:
39707 @if [ $(current_stage) = stageprofile ]; then \
39708 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39709 else \
39710 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
39711 $(MAKE) stageprofile-start; \
39712 fi; \
39713 cd $(TARGET_SUBDIR)/libgomp && \
39714 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39716 clean
39717 @endif target-libgomp-bootstrap
39720 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
39721 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
39722 maybe-all-stagefeedback-target-libgomp:
39723 maybe-clean-stagefeedback-target-libgomp:
39724 @if target-libgomp-bootstrap
39725 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
39726 all-stagefeedback: all-stagefeedback-target-libgomp
39727 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
39728 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
39729 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39730 @r=`${PWD_COMMAND}`; export r; \
39731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39732 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39733 $(NORMAL_TARGET_EXPORTS) \
39735 cd $(TARGET_SUBDIR)/libgomp && \
39736 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39737 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39738 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39739 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39740 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39741 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39742 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39743 $(EXTRA_TARGET_FLAGS) \
39744 TFLAGS="$(STAGEfeedback_TFLAGS)" \
39745 $(TARGET-stagefeedback-target-libgomp)
39747 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
39748 clean-stagefeedback: clean-stagefeedback-target-libgomp
39749 clean-stagefeedback-target-libgomp:
39750 @if [ $(current_stage) = stagefeedback ]; then \
39751 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39752 else \
39753 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
39754 $(MAKE) stagefeedback-start; \
39755 fi; \
39756 cd $(TARGET_SUBDIR)/libgomp && \
39757 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39759 clean
39760 @endif target-libgomp-bootstrap
39767 .PHONY: check-target-libgomp maybe-check-target-libgomp
39768 maybe-check-target-libgomp:
39769 @if target-libgomp
39770 maybe-check-target-libgomp: check-target-libgomp
39772 check-target-libgomp:
39773 @: $(MAKE); $(unstage)
39774 @r=`${PWD_COMMAND}`; export r; \
39775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39776 $(NORMAL_TARGET_EXPORTS) \
39777 (cd $(TARGET_SUBDIR)/libgomp && \
39778 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39780 @endif target-libgomp
39782 .PHONY: install-target-libgomp maybe-install-target-libgomp
39783 maybe-install-target-libgomp:
39784 @if target-libgomp
39785 maybe-install-target-libgomp: install-target-libgomp
39787 install-target-libgomp: installdirs
39788 @: $(MAKE); $(unstage)
39789 @r=`${PWD_COMMAND}`; export r; \
39790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39791 $(NORMAL_TARGET_EXPORTS) \
39792 (cd $(TARGET_SUBDIR)/libgomp && \
39793 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39795 @endif target-libgomp
39797 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
39798 maybe-install-strip-target-libgomp:
39799 @if target-libgomp
39800 maybe-install-strip-target-libgomp: install-strip-target-libgomp
39802 install-strip-target-libgomp: installdirs
39803 @: $(MAKE); $(unstage)
39804 @r=`${PWD_COMMAND}`; export r; \
39805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39806 $(NORMAL_TARGET_EXPORTS) \
39807 (cd $(TARGET_SUBDIR)/libgomp && \
39808 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39810 @endif target-libgomp
39812 # Other targets (info, dvi, pdf, etc.)
39814 .PHONY: maybe-info-target-libgomp info-target-libgomp
39815 maybe-info-target-libgomp:
39816 @if target-libgomp
39817 maybe-info-target-libgomp: info-target-libgomp
39819 info-target-libgomp: \
39820 configure-target-libgomp
39821 @: $(MAKE); $(unstage)
39822 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39823 r=`${PWD_COMMAND}`; export r; \
39824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39825 $(NORMAL_TARGET_EXPORTS) \
39826 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
39827 for flag in $(EXTRA_TARGET_FLAGS); do \
39828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39829 done; \
39830 (cd $(TARGET_SUBDIR)/libgomp && \
39831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39833 "RANLIB=$${RANLIB}" \
39834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39835 info) \
39836 || exit 1
39838 @endif target-libgomp
39840 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
39841 maybe-dvi-target-libgomp:
39842 @if target-libgomp
39843 maybe-dvi-target-libgomp: dvi-target-libgomp
39845 dvi-target-libgomp: \
39846 configure-target-libgomp
39847 @: $(MAKE); $(unstage)
39848 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39849 r=`${PWD_COMMAND}`; export r; \
39850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39851 $(NORMAL_TARGET_EXPORTS) \
39852 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
39853 for flag in $(EXTRA_TARGET_FLAGS); do \
39854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39855 done; \
39856 (cd $(TARGET_SUBDIR)/libgomp && \
39857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39859 "RANLIB=$${RANLIB}" \
39860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39861 dvi) \
39862 || exit 1
39864 @endif target-libgomp
39866 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
39867 maybe-pdf-target-libgomp:
39868 @if target-libgomp
39869 maybe-pdf-target-libgomp: pdf-target-libgomp
39871 pdf-target-libgomp: \
39872 configure-target-libgomp
39873 @: $(MAKE); $(unstage)
39874 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39875 r=`${PWD_COMMAND}`; export r; \
39876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39877 $(NORMAL_TARGET_EXPORTS) \
39878 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
39879 for flag in $(EXTRA_TARGET_FLAGS); do \
39880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39881 done; \
39882 (cd $(TARGET_SUBDIR)/libgomp && \
39883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39885 "RANLIB=$${RANLIB}" \
39886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39887 pdf) \
39888 || exit 1
39890 @endif target-libgomp
39892 .PHONY: maybe-html-target-libgomp html-target-libgomp
39893 maybe-html-target-libgomp:
39894 @if target-libgomp
39895 maybe-html-target-libgomp: html-target-libgomp
39897 html-target-libgomp: \
39898 configure-target-libgomp
39899 @: $(MAKE); $(unstage)
39900 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39901 r=`${PWD_COMMAND}`; export r; \
39902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39903 $(NORMAL_TARGET_EXPORTS) \
39904 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
39905 for flag in $(EXTRA_TARGET_FLAGS); do \
39906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39907 done; \
39908 (cd $(TARGET_SUBDIR)/libgomp && \
39909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39911 "RANLIB=$${RANLIB}" \
39912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39913 html) \
39914 || exit 1
39916 @endif target-libgomp
39918 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
39919 maybe-TAGS-target-libgomp:
39920 @if target-libgomp
39921 maybe-TAGS-target-libgomp: TAGS-target-libgomp
39923 TAGS-target-libgomp: \
39924 configure-target-libgomp
39925 @: $(MAKE); $(unstage)
39926 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39927 r=`${PWD_COMMAND}`; export r; \
39928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39929 $(NORMAL_TARGET_EXPORTS) \
39930 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
39931 for flag in $(EXTRA_TARGET_FLAGS); do \
39932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39933 done; \
39934 (cd $(TARGET_SUBDIR)/libgomp && \
39935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39937 "RANLIB=$${RANLIB}" \
39938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39939 TAGS) \
39940 || exit 1
39942 @endif target-libgomp
39944 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
39945 maybe-install-info-target-libgomp:
39946 @if target-libgomp
39947 maybe-install-info-target-libgomp: install-info-target-libgomp
39949 install-info-target-libgomp: \
39950 configure-target-libgomp \
39951 info-target-libgomp
39952 @: $(MAKE); $(unstage)
39953 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39954 r=`${PWD_COMMAND}`; export r; \
39955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39956 $(NORMAL_TARGET_EXPORTS) \
39957 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
39958 for flag in $(EXTRA_TARGET_FLAGS); do \
39959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39960 done; \
39961 (cd $(TARGET_SUBDIR)/libgomp && \
39962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39964 "RANLIB=$${RANLIB}" \
39965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39966 install-info) \
39967 || exit 1
39969 @endif target-libgomp
39971 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
39972 maybe-install-pdf-target-libgomp:
39973 @if target-libgomp
39974 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
39976 install-pdf-target-libgomp: \
39977 configure-target-libgomp \
39978 pdf-target-libgomp
39979 @: $(MAKE); $(unstage)
39980 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39981 r=`${PWD_COMMAND}`; export r; \
39982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39983 $(NORMAL_TARGET_EXPORTS) \
39984 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
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)/libgomp && \
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 install-pdf) \
39994 || exit 1
39996 @endif target-libgomp
39998 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
39999 maybe-install-html-target-libgomp:
40000 @if target-libgomp
40001 maybe-install-html-target-libgomp: install-html-target-libgomp
40003 install-html-target-libgomp: \
40004 configure-target-libgomp \
40005 html-target-libgomp
40006 @: $(MAKE); $(unstage)
40007 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40008 r=`${PWD_COMMAND}`; export r; \
40009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40010 $(NORMAL_TARGET_EXPORTS) \
40011 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
40012 for flag in $(EXTRA_TARGET_FLAGS); do \
40013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40014 done; \
40015 (cd $(TARGET_SUBDIR)/libgomp && \
40016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40018 "RANLIB=$${RANLIB}" \
40019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40020 install-html) \
40021 || exit 1
40023 @endif target-libgomp
40025 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
40026 maybe-installcheck-target-libgomp:
40027 @if target-libgomp
40028 maybe-installcheck-target-libgomp: installcheck-target-libgomp
40030 installcheck-target-libgomp: \
40031 configure-target-libgomp
40032 @: $(MAKE); $(unstage)
40033 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40034 r=`${PWD_COMMAND}`; export r; \
40035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40036 $(NORMAL_TARGET_EXPORTS) \
40037 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
40038 for flag in $(EXTRA_TARGET_FLAGS); do \
40039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40040 done; \
40041 (cd $(TARGET_SUBDIR)/libgomp && \
40042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40044 "RANLIB=$${RANLIB}" \
40045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40046 installcheck) \
40047 || exit 1
40049 @endif target-libgomp
40051 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
40052 maybe-mostlyclean-target-libgomp:
40053 @if target-libgomp
40054 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
40056 mostlyclean-target-libgomp:
40057 @: $(MAKE); $(unstage)
40058 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40059 r=`${PWD_COMMAND}`; export r; \
40060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40061 $(NORMAL_TARGET_EXPORTS) \
40062 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
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)/libgomp && \
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 mostlyclean) \
40072 || exit 1
40074 @endif target-libgomp
40076 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
40077 maybe-clean-target-libgomp:
40078 @if target-libgomp
40079 maybe-clean-target-libgomp: clean-target-libgomp
40081 clean-target-libgomp:
40082 @: $(MAKE); $(unstage)
40083 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40084 r=`${PWD_COMMAND}`; export r; \
40085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40086 $(NORMAL_TARGET_EXPORTS) \
40087 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
40088 for flag in $(EXTRA_TARGET_FLAGS); do \
40089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40090 done; \
40091 (cd $(TARGET_SUBDIR)/libgomp && \
40092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40094 "RANLIB=$${RANLIB}" \
40095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40096 clean) \
40097 || exit 1
40099 @endif target-libgomp
40101 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
40102 maybe-distclean-target-libgomp:
40103 @if target-libgomp
40104 maybe-distclean-target-libgomp: distclean-target-libgomp
40106 distclean-target-libgomp:
40107 @: $(MAKE); $(unstage)
40108 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40109 r=`${PWD_COMMAND}`; export r; \
40110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40111 $(NORMAL_TARGET_EXPORTS) \
40112 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
40113 for flag in $(EXTRA_TARGET_FLAGS); do \
40114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40115 done; \
40116 (cd $(TARGET_SUBDIR)/libgomp && \
40117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40119 "RANLIB=$${RANLIB}" \
40120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40121 distclean) \
40122 || exit 1
40124 @endif target-libgomp
40126 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
40127 maybe-maintainer-clean-target-libgomp:
40128 @if target-libgomp
40129 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
40131 maintainer-clean-target-libgomp:
40132 @: $(MAKE); $(unstage)
40133 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40134 r=`${PWD_COMMAND}`; export r; \
40135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40136 $(NORMAL_TARGET_EXPORTS) \
40137 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
40138 for flag in $(EXTRA_TARGET_FLAGS); do \
40139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40140 done; \
40141 (cd $(TARGET_SUBDIR)/libgomp && \
40142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40144 "RANLIB=$${RANLIB}" \
40145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40146 maintainer-clean) \
40147 || exit 1
40149 @endif target-libgomp
40153 @if target-libmudflap
40154 .PHONY: check-target-libmudflap-c++
40155 check-target-libmudflap-c++:
40156 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++frags.exp" check-target-libmudflap
40158 @endif target-libmudflap
40160 # ----------
40161 # GCC module
40162 # ----------
40164 @if gcc-no-bootstrap
40165 .PHONY: cross
40166 cross: all-build all-gas all-ld
40167 @r=`${PWD_COMMAND}`; export r; \
40168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40169 $(HOST_EXPORTS) \
40170 echo "Building the C and C++ compiler"; \
40171 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
40172 @r=`${PWD_COMMAND}`; export r; \
40173 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
40174 echo "Building runtime libraries"; \
40175 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
40176 @endif gcc-no-bootstrap
40178 @if gcc
40180 .PHONY: check-gcc-c check-c
40181 check-gcc-c:
40182 r=`${PWD_COMMAND}`; export r; \
40183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40184 $(HOST_EXPORTS) \
40185 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
40186 check-c: check-gcc-c
40188 .PHONY: check-gcc-c++ check-c++
40189 check-gcc-c++:
40190 r=`${PWD_COMMAND}`; export r; \
40191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40192 $(HOST_EXPORTS) \
40193 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++ check-c++0x);
40194 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libmudflap-c++
40196 .PHONY: check-gcc-fortran check-fortran
40197 check-gcc-fortran:
40198 r=`${PWD_COMMAND}`; export r; \
40199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40200 $(HOST_EXPORTS) \
40201 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
40202 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
40204 .PHONY: check-gcc-java check-java
40205 check-gcc-java:
40206 r=`${PWD_COMMAND}`; export r; \
40207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40208 $(HOST_EXPORTS) \
40209 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
40210 check-java: check-gcc-java check-target-libjava
40212 .PHONY: check-gcc-ada check-ada
40213 check-gcc-ada:
40214 r=`${PWD_COMMAND}`; export r; \
40215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40216 $(HOST_EXPORTS) \
40217 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
40218 check-ada: check-gcc-ada check-target-libada
40220 .PHONY: check-gcc-objc check-objc
40221 check-gcc-objc:
40222 r=`${PWD_COMMAND}`; export r; \
40223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40224 $(HOST_EXPORTS) \
40225 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
40226 check-objc: check-gcc-objc check-target-libobjc
40228 .PHONY: check-gcc-obj-c++ check-obj-c++
40229 check-gcc-obj-c++:
40230 r=`${PWD_COMMAND}`; export r; \
40231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40232 $(HOST_EXPORTS) \
40233 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
40234 check-obj-c++: check-gcc-obj-c++
40236 .PHONY: check-gcc-go check-go
40237 check-gcc-go:
40238 r=`${PWD_COMMAND}`; export r; \
40239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40240 $(HOST_EXPORTS) \
40241 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
40242 check-go: check-gcc-go check-target-libgo
40245 # Install the gcc headers files, but not the fixed include files,
40246 # which Cygnus is not allowed to distribute. This rule is very
40247 # dependent on the workings of the gcc Makefile.in.
40248 .PHONY: gcc-no-fixedincludes
40249 gcc-no-fixedincludes:
40250 @if [ -f ./gcc/Makefile ]; then \
40251 rm -rf gcc/tmp-include; \
40252 mv gcc/include gcc/tmp-include 2>/dev/null; \
40253 mkdir gcc/include; \
40254 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
40255 touch gcc/stmp-fixinc gcc/include/fixed; \
40256 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
40257 r=`${PWD_COMMAND}`; export r; \
40258 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
40259 $(HOST_EXPORTS) \
40260 (cd ./gcc && \
40261 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
40262 rm -rf gcc/include; \
40263 mv gcc/tmp-include gcc/include 2>/dev/null; \
40264 else true; fi
40265 @endif gcc
40267 # ---------------------
40268 # GCC bootstrap support
40269 # ---------------------
40271 # We track the current stage (the one in 'gcc') in the stage_current file.
40272 # stage_last instead tracks the stage that was built last. These targets
40273 # are dummy when toplevel bootstrap is not active.
40275 # While making host and target tools, symlinks to the final stage must be
40276 # there, so $(unstage) should be run at various points. To avoid excessive
40277 # recursive invocations of make, we "inline" them using a variable. These
40278 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
40279 # to avoid warnings from the GNU Make job server.
40281 unstage = :
40282 stage = :
40283 current_stage = ""
40285 @if gcc-bootstrap
40286 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
40287 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
40288 current_stage = "`cat stage_current 2> /dev/null`"
40289 @endif gcc-bootstrap
40291 .PHONY: unstage stage
40292 unstage:
40293 @: $(MAKE); $(unstage)
40294 stage:
40295 @: $(MAKE); $(stage)
40297 # Disable commands for lean bootstrap.
40298 LEAN = false
40300 # We name the build directories for the various stages "stage1-gcc",
40301 # "stage2-gcc","stage3-gcc", etc.
40303 # Since the 'compare' process will fail (on debugging information) if any
40304 # directory names are different, we need to link the gcc directory for
40305 # the previous stage to a constant name ('prev-gcc'), and to make the name of
40306 # the build directories constant as well. For the latter, we use naked names
40307 # like 'gcc', because the scripts in that directory assume it. We use
40308 # mv on platforms where symlinks to directories do not work or are not
40309 # reliable.
40311 # 'touch' doesn't work right on some platforms.
40312 STAMP = echo timestamp >
40314 # We only want to compare .o files, so set this!
40315 objext = .o
40318 .PHONY: stage1-start stage1-end
40320 stage1-start::
40321 @: $(MAKE); $(stage); \
40322 echo stage1 > stage_current ; \
40323 echo stage1 > stage_last; \
40324 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
40325 @if bfd
40326 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
40327 mkdir stage1-bfd; \
40328 mv stage1-bfd bfd
40329 @endif bfd
40330 @if opcodes
40331 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
40332 mkdir stage1-opcodes; \
40333 mv stage1-opcodes opcodes
40334 @endif opcodes
40335 @if binutils
40336 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
40337 mkdir stage1-binutils; \
40338 mv stage1-binutils binutils
40339 @endif binutils
40340 @if gas
40341 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
40342 mkdir stage1-gas; \
40343 mv stage1-gas gas
40344 @endif gas
40345 @if gcc
40346 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
40347 mkdir stage1-gcc; \
40348 mv stage1-gcc gcc
40349 @endif gcc
40350 @if gmp
40351 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
40352 mkdir stage1-gmp; \
40353 mv stage1-gmp gmp
40354 @endif gmp
40355 @if mpfr
40356 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
40357 mkdir stage1-mpfr; \
40358 mv stage1-mpfr mpfr
40359 @endif mpfr
40360 @if mpc
40361 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
40362 mkdir stage1-mpc; \
40363 mv stage1-mpc mpc
40364 @endif mpc
40365 @if ppl
40366 @cd $(HOST_SUBDIR); [ -d stage1-ppl ] || \
40367 mkdir stage1-ppl; \
40368 mv stage1-ppl ppl
40369 @endif ppl
40370 @if cloog
40371 @cd $(HOST_SUBDIR); [ -d stage1-cloog ] || \
40372 mkdir stage1-cloog; \
40373 mv stage1-cloog cloog
40374 @endif cloog
40375 @if libelf
40376 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
40377 mkdir stage1-libelf; \
40378 mv stage1-libelf libelf
40379 @endif libelf
40380 @if gold
40381 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
40382 mkdir stage1-gold; \
40383 mv stage1-gold gold
40384 @endif gold
40385 @if intl
40386 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
40387 mkdir stage1-intl; \
40388 mv stage1-intl intl
40389 @endif intl
40390 @if ld
40391 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
40392 mkdir stage1-ld; \
40393 mv stage1-ld ld
40394 @endif ld
40395 @if libcpp
40396 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
40397 mkdir stage1-libcpp; \
40398 mv stage1-libcpp libcpp
40399 @endif libcpp
40400 @if libdecnumber
40401 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
40402 mkdir stage1-libdecnumber; \
40403 mv stage1-libdecnumber libdecnumber
40404 @endif libdecnumber
40405 @if libiberty
40406 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
40407 mkdir stage1-libiberty; \
40408 mv stage1-libiberty libiberty
40409 @endif libiberty
40410 @if zlib
40411 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
40412 mkdir stage1-zlib; \
40413 mv stage1-zlib zlib
40414 @endif zlib
40415 @if lto-plugin
40416 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
40417 mkdir stage1-lto-plugin; \
40418 mv stage1-lto-plugin lto-plugin
40419 @endif lto-plugin
40420 @[ -d stage1-$(TARGET_SUBDIR) ] || \
40421 mkdir stage1-$(TARGET_SUBDIR); \
40422 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
40424 stage1-end::
40425 @if bfd
40426 @if test -d $(HOST_SUBDIR)/bfd ; then \
40427 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
40429 @endif bfd
40430 @if opcodes
40431 @if test -d $(HOST_SUBDIR)/opcodes ; then \
40432 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
40434 @endif opcodes
40435 @if binutils
40436 @if test -d $(HOST_SUBDIR)/binutils ; then \
40437 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
40439 @endif binutils
40440 @if gas
40441 @if test -d $(HOST_SUBDIR)/gas ; then \
40442 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
40444 @endif gas
40445 @if gcc
40446 @if test -d $(HOST_SUBDIR)/gcc ; then \
40447 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
40449 @endif gcc
40450 @if gmp
40451 @if test -d $(HOST_SUBDIR)/gmp ; then \
40452 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
40454 @endif gmp
40455 @if mpfr
40456 @if test -d $(HOST_SUBDIR)/mpfr ; then \
40457 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
40459 @endif mpfr
40460 @if mpc
40461 @if test -d $(HOST_SUBDIR)/mpc ; then \
40462 cd $(HOST_SUBDIR); mv mpc stage1-mpc ; \
40464 @endif mpc
40465 @if ppl
40466 @if test -d $(HOST_SUBDIR)/ppl ; then \
40467 cd $(HOST_SUBDIR); mv ppl stage1-ppl ; \
40469 @endif ppl
40470 @if cloog
40471 @if test -d $(HOST_SUBDIR)/cloog ; then \
40472 cd $(HOST_SUBDIR); mv cloog stage1-cloog ; \
40474 @endif cloog
40475 @if libelf
40476 @if test -d $(HOST_SUBDIR)/libelf ; then \
40477 cd $(HOST_SUBDIR); mv libelf stage1-libelf ; \
40479 @endif libelf
40480 @if gold
40481 @if test -d $(HOST_SUBDIR)/gold ; then \
40482 cd $(HOST_SUBDIR); mv gold stage1-gold ; \
40484 @endif gold
40485 @if intl
40486 @if test -d $(HOST_SUBDIR)/intl ; then \
40487 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
40489 @endif intl
40490 @if ld
40491 @if test -d $(HOST_SUBDIR)/ld ; then \
40492 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
40494 @endif ld
40495 @if libcpp
40496 @if test -d $(HOST_SUBDIR)/libcpp ; then \
40497 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
40499 @endif libcpp
40500 @if libdecnumber
40501 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
40502 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
40504 @endif libdecnumber
40505 @if libiberty
40506 @if test -d $(HOST_SUBDIR)/libiberty ; then \
40507 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
40509 @endif libiberty
40510 @if zlib
40511 @if test -d $(HOST_SUBDIR)/zlib ; then \
40512 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
40514 @endif zlib
40515 @if lto-plugin
40516 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
40517 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \
40519 @endif lto-plugin
40520 @if test -d $(TARGET_SUBDIR) ; then \
40521 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
40523 rm -f stage_current
40525 # Bubble a bug fix through all the stages up to stage 1. They are
40526 # remade, but not reconfigured. The next stage (if any) will not be
40527 # reconfigured either.
40528 .PHONY: stage1-bubble
40529 stage1-bubble::
40530 @r=`${PWD_COMMAND}`; export r; \
40531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40532 if test -f stage1-lean ; then \
40533 echo Skipping rebuild of stage1 ; \
40534 else \
40535 $(MAKE) stage1-start; \
40536 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
40539 .PHONY: all-stage1 clean-stage1
40540 do-clean: clean-stage1
40542 # FIXME: Will not need to be conditional when toplevel bootstrap is the
40543 # only possibility, but now it conflicts with no-bootstrap rules
40544 @if gcc-bootstrap
40549 # Rules to wipe a stage and all the following ones, also used for cleanstrap
40551 .PHONY: distclean-stage1
40552 distclean-stage1::
40553 @: $(MAKE); $(stage)
40554 @test "`cat stage_last`" != stage1 || rm -f stage_last
40555 rm -rf stage1-*
40558 @endif gcc-bootstrap
40561 .PHONY: stage2-start stage2-end
40563 stage2-start::
40564 @: $(MAKE); $(stage); \
40565 echo stage2 > stage_current ; \
40566 echo stage2 > stage_last; \
40567 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
40568 @if bfd
40569 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
40570 mkdir stage2-bfd; \
40571 mv stage2-bfd bfd ; \
40572 mv stage1-bfd prev-bfd || test -f stage1-lean
40573 @endif bfd
40574 @if opcodes
40575 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
40576 mkdir stage2-opcodes; \
40577 mv stage2-opcodes opcodes ; \
40578 mv stage1-opcodes prev-opcodes || test -f stage1-lean
40579 @endif opcodes
40580 @if binutils
40581 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
40582 mkdir stage2-binutils; \
40583 mv stage2-binutils binutils ; \
40584 mv stage1-binutils prev-binutils || test -f stage1-lean
40585 @endif binutils
40586 @if gas
40587 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
40588 mkdir stage2-gas; \
40589 mv stage2-gas gas ; \
40590 mv stage1-gas prev-gas || test -f stage1-lean
40591 @endif gas
40592 @if gcc
40593 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
40594 mkdir stage2-gcc; \
40595 mv stage2-gcc gcc ; \
40596 mv stage1-gcc prev-gcc || test -f stage1-lean
40597 @endif gcc
40598 @if gmp
40599 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
40600 mkdir stage2-gmp; \
40601 mv stage2-gmp gmp ; \
40602 mv stage1-gmp prev-gmp || test -f stage1-lean
40603 @endif gmp
40604 @if mpfr
40605 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
40606 mkdir stage2-mpfr; \
40607 mv stage2-mpfr mpfr ; \
40608 mv stage1-mpfr prev-mpfr || test -f stage1-lean
40609 @endif mpfr
40610 @if mpc
40611 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
40612 mkdir stage2-mpc; \
40613 mv stage2-mpc mpc ; \
40614 mv stage1-mpc prev-mpc || test -f stage1-lean
40615 @endif mpc
40616 @if ppl
40617 @cd $(HOST_SUBDIR); [ -d stage2-ppl ] || \
40618 mkdir stage2-ppl; \
40619 mv stage2-ppl ppl ; \
40620 mv stage1-ppl prev-ppl || test -f stage1-lean
40621 @endif ppl
40622 @if cloog
40623 @cd $(HOST_SUBDIR); [ -d stage2-cloog ] || \
40624 mkdir stage2-cloog; \
40625 mv stage2-cloog cloog ; \
40626 mv stage1-cloog prev-cloog || test -f stage1-lean
40627 @endif cloog
40628 @if libelf
40629 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
40630 mkdir stage2-libelf; \
40631 mv stage2-libelf libelf ; \
40632 mv stage1-libelf prev-libelf || test -f stage1-lean
40633 @endif libelf
40634 @if gold
40635 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
40636 mkdir stage2-gold; \
40637 mv stage2-gold gold ; \
40638 mv stage1-gold prev-gold || test -f stage1-lean
40639 @endif gold
40640 @if intl
40641 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
40642 mkdir stage2-intl; \
40643 mv stage2-intl intl ; \
40644 mv stage1-intl prev-intl || test -f stage1-lean
40645 @endif intl
40646 @if ld
40647 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
40648 mkdir stage2-ld; \
40649 mv stage2-ld ld ; \
40650 mv stage1-ld prev-ld || test -f stage1-lean
40651 @endif ld
40652 @if libcpp
40653 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
40654 mkdir stage2-libcpp; \
40655 mv stage2-libcpp libcpp ; \
40656 mv stage1-libcpp prev-libcpp || test -f stage1-lean
40657 @endif libcpp
40658 @if libdecnumber
40659 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
40660 mkdir stage2-libdecnumber; \
40661 mv stage2-libdecnumber libdecnumber ; \
40662 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
40663 @endif libdecnumber
40664 @if libiberty
40665 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
40666 mkdir stage2-libiberty; \
40667 mv stage2-libiberty libiberty ; \
40668 mv stage1-libiberty prev-libiberty || test -f stage1-lean
40669 @endif libiberty
40670 @if zlib
40671 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
40672 mkdir stage2-zlib; \
40673 mv stage2-zlib zlib ; \
40674 mv stage1-zlib prev-zlib || test -f stage1-lean
40675 @endif zlib
40676 @if lto-plugin
40677 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
40678 mkdir stage2-lto-plugin; \
40679 mv stage2-lto-plugin lto-plugin ; \
40680 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
40681 @endif lto-plugin
40682 @[ -d stage2-$(TARGET_SUBDIR) ] || \
40683 mkdir stage2-$(TARGET_SUBDIR); \
40684 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
40685 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
40687 stage2-end::
40688 @if bfd
40689 @if test -d $(HOST_SUBDIR)/bfd ; then \
40690 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
40691 mv prev-bfd stage1-bfd ; : ; \
40693 @endif bfd
40694 @if opcodes
40695 @if test -d $(HOST_SUBDIR)/opcodes ; then \
40696 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
40697 mv prev-opcodes stage1-opcodes ; : ; \
40699 @endif opcodes
40700 @if binutils
40701 @if test -d $(HOST_SUBDIR)/binutils ; then \
40702 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
40703 mv prev-binutils stage1-binutils ; : ; \
40705 @endif binutils
40706 @if gas
40707 @if test -d $(HOST_SUBDIR)/gas ; then \
40708 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
40709 mv prev-gas stage1-gas ; : ; \
40711 @endif gas
40712 @if gcc
40713 @if test -d $(HOST_SUBDIR)/gcc ; then \
40714 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
40715 mv prev-gcc stage1-gcc ; : ; \
40717 @endif gcc
40718 @if gmp
40719 @if test -d $(HOST_SUBDIR)/gmp ; then \
40720 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
40721 mv prev-gmp stage1-gmp ; : ; \
40723 @endif gmp
40724 @if mpfr
40725 @if test -d $(HOST_SUBDIR)/mpfr ; then \
40726 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
40727 mv prev-mpfr stage1-mpfr ; : ; \
40729 @endif mpfr
40730 @if mpc
40731 @if test -d $(HOST_SUBDIR)/mpc ; then \
40732 cd $(HOST_SUBDIR); mv mpc stage2-mpc ; \
40733 mv prev-mpc stage1-mpc ; : ; \
40735 @endif mpc
40736 @if ppl
40737 @if test -d $(HOST_SUBDIR)/ppl ; then \
40738 cd $(HOST_SUBDIR); mv ppl stage2-ppl ; \
40739 mv prev-ppl stage1-ppl ; : ; \
40741 @endif ppl
40742 @if cloog
40743 @if test -d $(HOST_SUBDIR)/cloog ; then \
40744 cd $(HOST_SUBDIR); mv cloog stage2-cloog ; \
40745 mv prev-cloog stage1-cloog ; : ; \
40747 @endif cloog
40748 @if libelf
40749 @if test -d $(HOST_SUBDIR)/libelf ; then \
40750 cd $(HOST_SUBDIR); mv libelf stage2-libelf ; \
40751 mv prev-libelf stage1-libelf ; : ; \
40753 @endif libelf
40754 @if gold
40755 @if test -d $(HOST_SUBDIR)/gold ; then \
40756 cd $(HOST_SUBDIR); mv gold stage2-gold ; \
40757 mv prev-gold stage1-gold ; : ; \
40759 @endif gold
40760 @if intl
40761 @if test -d $(HOST_SUBDIR)/intl ; then \
40762 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
40763 mv prev-intl stage1-intl ; : ; \
40765 @endif intl
40766 @if ld
40767 @if test -d $(HOST_SUBDIR)/ld ; then \
40768 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
40769 mv prev-ld stage1-ld ; : ; \
40771 @endif ld
40772 @if libcpp
40773 @if test -d $(HOST_SUBDIR)/libcpp ; then \
40774 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
40775 mv prev-libcpp stage1-libcpp ; : ; \
40777 @endif libcpp
40778 @if libdecnumber
40779 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
40780 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
40781 mv prev-libdecnumber stage1-libdecnumber ; : ; \
40783 @endif libdecnumber
40784 @if libiberty
40785 @if test -d $(HOST_SUBDIR)/libiberty ; then \
40786 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
40787 mv prev-libiberty stage1-libiberty ; : ; \
40789 @endif libiberty
40790 @if zlib
40791 @if test -d $(HOST_SUBDIR)/zlib ; then \
40792 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
40793 mv prev-zlib stage1-zlib ; : ; \
40795 @endif zlib
40796 @if lto-plugin
40797 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
40798 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin ; \
40799 mv prev-lto-plugin stage1-lto-plugin ; : ; \
40801 @endif lto-plugin
40802 @if test -d $(TARGET_SUBDIR) ; then \
40803 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
40804 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
40806 rm -f stage_current
40808 # Bubble a bug fix through all the stages up to stage 2. They are
40809 # remade, but not reconfigured. The next stage (if any) will not be
40810 # reconfigured either.
40811 .PHONY: stage2-bubble
40812 stage2-bubble:: stage1-bubble
40813 @r=`${PWD_COMMAND}`; export r; \
40814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40815 if test -f stage2-lean || test -f stage1-lean ; then \
40816 echo Skipping rebuild of stage2 ; \
40817 else \
40818 $(MAKE) stage2-start; \
40819 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
40822 .PHONY: all-stage2 clean-stage2
40823 do-clean: clean-stage2
40825 # FIXME: Will not need to be conditional when toplevel bootstrap is the
40826 # only possibility, but now it conflicts with no-bootstrap rules
40827 @if gcc-bootstrap
40831 .PHONY: bootstrap2 bootstrap2-lean
40832 bootstrap2:
40833 echo stage2 > stage_final
40834 @r=`${PWD_COMMAND}`; export r; \
40835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40836 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
40837 @: $(MAKE); $(unstage)
40838 @r=`${PWD_COMMAND}`; export r; \
40839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40840 TFLAGS="$(STAGE2_TFLAGS)"; \
40841 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
40843 bootstrap2-lean:
40844 echo stage2 > stage_final
40845 @r=`${PWD_COMMAND}`; export r; \
40846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40847 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
40848 @: $(MAKE); $(unstage)
40849 @r=`${PWD_COMMAND}`; export r; \
40850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40851 TFLAGS="$(STAGE2_TFLAGS)"; \
40852 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
40855 # Rules to wipe a stage and all the following ones, also used for cleanstrap
40856 distclean-stage1:: distclean-stage2
40857 .PHONY: distclean-stage2
40858 distclean-stage2::
40859 @: $(MAKE); $(stage)
40860 @test "`cat stage_last`" != stage2 || rm -f stage_last
40861 rm -rf stage2-*
40864 @endif gcc-bootstrap
40867 .PHONY: stage3-start stage3-end
40869 stage3-start::
40870 @: $(MAKE); $(stage); \
40871 echo stage3 > stage_current ; \
40872 echo stage3 > stage_last; \
40873 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
40874 @if bfd
40875 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
40876 mkdir stage3-bfd; \
40877 mv stage3-bfd bfd ; \
40878 mv stage2-bfd prev-bfd || test -f stage2-lean
40879 @endif bfd
40880 @if opcodes
40881 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
40882 mkdir stage3-opcodes; \
40883 mv stage3-opcodes opcodes ; \
40884 mv stage2-opcodes prev-opcodes || test -f stage2-lean
40885 @endif opcodes
40886 @if binutils
40887 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
40888 mkdir stage3-binutils; \
40889 mv stage3-binutils binutils ; \
40890 mv stage2-binutils prev-binutils || test -f stage2-lean
40891 @endif binutils
40892 @if gas
40893 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
40894 mkdir stage3-gas; \
40895 mv stage3-gas gas ; \
40896 mv stage2-gas prev-gas || test -f stage2-lean
40897 @endif gas
40898 @if gcc
40899 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
40900 mkdir stage3-gcc; \
40901 mv stage3-gcc gcc ; \
40902 mv stage2-gcc prev-gcc || test -f stage2-lean
40903 @endif gcc
40904 @if gmp
40905 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
40906 mkdir stage3-gmp; \
40907 mv stage3-gmp gmp ; \
40908 mv stage2-gmp prev-gmp || test -f stage2-lean
40909 @endif gmp
40910 @if mpfr
40911 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
40912 mkdir stage3-mpfr; \
40913 mv stage3-mpfr mpfr ; \
40914 mv stage2-mpfr prev-mpfr || test -f stage2-lean
40915 @endif mpfr
40916 @if mpc
40917 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
40918 mkdir stage3-mpc; \
40919 mv stage3-mpc mpc ; \
40920 mv stage2-mpc prev-mpc || test -f stage2-lean
40921 @endif mpc
40922 @if ppl
40923 @cd $(HOST_SUBDIR); [ -d stage3-ppl ] || \
40924 mkdir stage3-ppl; \
40925 mv stage3-ppl ppl ; \
40926 mv stage2-ppl prev-ppl || test -f stage2-lean
40927 @endif ppl
40928 @if cloog
40929 @cd $(HOST_SUBDIR); [ -d stage3-cloog ] || \
40930 mkdir stage3-cloog; \
40931 mv stage3-cloog cloog ; \
40932 mv stage2-cloog prev-cloog || test -f stage2-lean
40933 @endif cloog
40934 @if libelf
40935 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
40936 mkdir stage3-libelf; \
40937 mv stage3-libelf libelf ; \
40938 mv stage2-libelf prev-libelf || test -f stage2-lean
40939 @endif libelf
40940 @if gold
40941 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
40942 mkdir stage3-gold; \
40943 mv stage3-gold gold ; \
40944 mv stage2-gold prev-gold || test -f stage2-lean
40945 @endif gold
40946 @if intl
40947 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
40948 mkdir stage3-intl; \
40949 mv stage3-intl intl ; \
40950 mv stage2-intl prev-intl || test -f stage2-lean
40951 @endif intl
40952 @if ld
40953 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
40954 mkdir stage3-ld; \
40955 mv stage3-ld ld ; \
40956 mv stage2-ld prev-ld || test -f stage2-lean
40957 @endif ld
40958 @if libcpp
40959 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
40960 mkdir stage3-libcpp; \
40961 mv stage3-libcpp libcpp ; \
40962 mv stage2-libcpp prev-libcpp || test -f stage2-lean
40963 @endif libcpp
40964 @if libdecnumber
40965 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
40966 mkdir stage3-libdecnumber; \
40967 mv stage3-libdecnumber libdecnumber ; \
40968 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
40969 @endif libdecnumber
40970 @if libiberty
40971 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
40972 mkdir stage3-libiberty; \
40973 mv stage3-libiberty libiberty ; \
40974 mv stage2-libiberty prev-libiberty || test -f stage2-lean
40975 @endif libiberty
40976 @if zlib
40977 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
40978 mkdir stage3-zlib; \
40979 mv stage3-zlib zlib ; \
40980 mv stage2-zlib prev-zlib || test -f stage2-lean
40981 @endif zlib
40982 @if lto-plugin
40983 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
40984 mkdir stage3-lto-plugin; \
40985 mv stage3-lto-plugin lto-plugin ; \
40986 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
40987 @endif lto-plugin
40988 @[ -d stage3-$(TARGET_SUBDIR) ] || \
40989 mkdir stage3-$(TARGET_SUBDIR); \
40990 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
40991 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
40993 stage3-end::
40994 @if bfd
40995 @if test -d $(HOST_SUBDIR)/bfd ; then \
40996 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
40997 mv prev-bfd stage2-bfd ; : ; \
40999 @endif bfd
41000 @if opcodes
41001 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41002 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
41003 mv prev-opcodes stage2-opcodes ; : ; \
41005 @endif opcodes
41006 @if binutils
41007 @if test -d $(HOST_SUBDIR)/binutils ; then \
41008 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
41009 mv prev-binutils stage2-binutils ; : ; \
41011 @endif binutils
41012 @if gas
41013 @if test -d $(HOST_SUBDIR)/gas ; then \
41014 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
41015 mv prev-gas stage2-gas ; : ; \
41017 @endif gas
41018 @if gcc
41019 @if test -d $(HOST_SUBDIR)/gcc ; then \
41020 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
41021 mv prev-gcc stage2-gcc ; : ; \
41023 @endif gcc
41024 @if gmp
41025 @if test -d $(HOST_SUBDIR)/gmp ; then \
41026 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
41027 mv prev-gmp stage2-gmp ; : ; \
41029 @endif gmp
41030 @if mpfr
41031 @if test -d $(HOST_SUBDIR)/mpfr ; then \
41032 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
41033 mv prev-mpfr stage2-mpfr ; : ; \
41035 @endif mpfr
41036 @if mpc
41037 @if test -d $(HOST_SUBDIR)/mpc ; then \
41038 cd $(HOST_SUBDIR); mv mpc stage3-mpc ; \
41039 mv prev-mpc stage2-mpc ; : ; \
41041 @endif mpc
41042 @if ppl
41043 @if test -d $(HOST_SUBDIR)/ppl ; then \
41044 cd $(HOST_SUBDIR); mv ppl stage3-ppl ; \
41045 mv prev-ppl stage2-ppl ; : ; \
41047 @endif ppl
41048 @if cloog
41049 @if test -d $(HOST_SUBDIR)/cloog ; then \
41050 cd $(HOST_SUBDIR); mv cloog stage3-cloog ; \
41051 mv prev-cloog stage2-cloog ; : ; \
41053 @endif cloog
41054 @if libelf
41055 @if test -d $(HOST_SUBDIR)/libelf ; then \
41056 cd $(HOST_SUBDIR); mv libelf stage3-libelf ; \
41057 mv prev-libelf stage2-libelf ; : ; \
41059 @endif libelf
41060 @if gold
41061 @if test -d $(HOST_SUBDIR)/gold ; then \
41062 cd $(HOST_SUBDIR); mv gold stage3-gold ; \
41063 mv prev-gold stage2-gold ; : ; \
41065 @endif gold
41066 @if intl
41067 @if test -d $(HOST_SUBDIR)/intl ; then \
41068 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
41069 mv prev-intl stage2-intl ; : ; \
41071 @endif intl
41072 @if ld
41073 @if test -d $(HOST_SUBDIR)/ld ; then \
41074 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
41075 mv prev-ld stage2-ld ; : ; \
41077 @endif ld
41078 @if libcpp
41079 @if test -d $(HOST_SUBDIR)/libcpp ; then \
41080 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
41081 mv prev-libcpp stage2-libcpp ; : ; \
41083 @endif libcpp
41084 @if libdecnumber
41085 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
41086 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
41087 mv prev-libdecnumber stage2-libdecnumber ; : ; \
41089 @endif libdecnumber
41090 @if libiberty
41091 @if test -d $(HOST_SUBDIR)/libiberty ; then \
41092 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
41093 mv prev-libiberty stage2-libiberty ; : ; \
41095 @endif libiberty
41096 @if zlib
41097 @if test -d $(HOST_SUBDIR)/zlib ; then \
41098 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
41099 mv prev-zlib stage2-zlib ; : ; \
41101 @endif zlib
41102 @if lto-plugin
41103 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
41104 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin ; \
41105 mv prev-lto-plugin stage2-lto-plugin ; : ; \
41107 @endif lto-plugin
41108 @if test -d $(TARGET_SUBDIR) ; then \
41109 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
41110 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
41112 rm -f stage_current
41114 # Bubble a bug fix through all the stages up to stage 3. They are
41115 # remade, but not reconfigured. The next stage (if any) will not be
41116 # reconfigured either.
41117 .PHONY: stage3-bubble
41118 stage3-bubble:: stage2-bubble
41119 @r=`${PWD_COMMAND}`; export r; \
41120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41121 if test -f stage3-lean || test -f stage2-lean ; then \
41122 echo Skipping rebuild of stage3 ; \
41123 else \
41124 $(MAKE) stage3-start; \
41125 if $(LEAN); then \
41126 rm -rf stage1-* ; \
41127 $(STAMP) stage1-lean ; \
41128 fi; \
41129 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
41131 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
41133 .PHONY: all-stage3 clean-stage3
41134 do-clean: clean-stage3
41136 # FIXME: Will not need to be conditional when toplevel bootstrap is the
41137 # only possibility, but now it conflicts with no-bootstrap rules
41138 @if gcc-bootstrap
41140 compare:
41141 @r=`${PWD_COMMAND}`; export r; \
41142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41143 if test -f stage2-lean; then \
41144 echo Cannot compare object files as stage 2 was deleted. ; \
41145 exit 0 ; \
41146 fi; \
41147 : $(MAKE); $(stage); \
41148 rm -f .bad_compare ; \
41149 echo Comparing stages 2 and 3 ; \
41150 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
41151 files=`find stage3-* -name "*$(objext)" -print | \
41152 sed -n s,^stage$$sed-,,p` ; \
41153 for file in $${files} ; do \
41154 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
41155 if test ! -f $$f1; then continue; fi; \
41156 $(do-compare) > /dev/null 2>&1; \
41157 if test $$? -eq 1; then \
41158 case $$file in \
41159 @compare_exclusions@) \
41160 echo warning: $$file differs ;; \
41161 *) \
41162 echo $$file differs >> .bad_compare ;; \
41163 esac ; \
41164 fi ; \
41165 done ; \
41166 if [ -f .bad_compare ]; then \
41167 echo "Bootstrap comparison failure!"; \
41168 cat .bad_compare; \
41169 exit 1; \
41170 else \
41171 echo Comparison successful.; \
41172 fi ; \
41173 $(STAMP) compare
41174 if $(LEAN); then \
41175 rm -rf stage2-*; \
41176 $(STAMP) stage2-lean; \
41181 .PHONY: bootstrap bootstrap-lean
41182 bootstrap:
41183 echo stage3 > stage_final
41184 @r=`${PWD_COMMAND}`; export r; \
41185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41186 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
41187 @: $(MAKE); $(unstage)
41188 @r=`${PWD_COMMAND}`; export r; \
41189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41190 TFLAGS="$(STAGE3_TFLAGS)"; \
41191 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41193 bootstrap-lean:
41194 echo stage3 > stage_final
41195 @r=`${PWD_COMMAND}`; export r; \
41196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41197 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
41198 @: $(MAKE); $(unstage)
41199 @r=`${PWD_COMMAND}`; export r; \
41200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41201 TFLAGS="$(STAGE3_TFLAGS)"; \
41202 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41205 # Rules to wipe a stage and all the following ones, also used for cleanstrap
41206 distclean-stage2:: distclean-stage3
41207 .PHONY: distclean-stage3
41208 distclean-stage3::
41209 @: $(MAKE); $(stage)
41210 @test "`cat stage_last`" != stage3 || rm -f stage_last
41211 rm -rf stage3-* compare
41214 .PHONY: cleanstrap
41215 cleanstrap: do-distclean local-clean
41216 echo stage3 > stage_final
41217 @r=`${PWD_COMMAND}`; export r; \
41218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41219 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
41220 @: $(MAKE); $(unstage)
41221 @r=`${PWD_COMMAND}`; export r; \
41222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41223 TFLAGS="$(STAGE3_TFLAGS)"; \
41224 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41226 @endif gcc-bootstrap
41229 .PHONY: stage4-start stage4-end
41231 stage4-start::
41232 @: $(MAKE); $(stage); \
41233 echo stage4 > stage_current ; \
41234 echo stage4 > stage_last; \
41235 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41236 @if bfd
41237 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
41238 mkdir stage4-bfd; \
41239 mv stage4-bfd bfd ; \
41240 mv stage3-bfd prev-bfd || test -f stage3-lean
41241 @endif bfd
41242 @if opcodes
41243 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
41244 mkdir stage4-opcodes; \
41245 mv stage4-opcodes opcodes ; \
41246 mv stage3-opcodes prev-opcodes || test -f stage3-lean
41247 @endif opcodes
41248 @if binutils
41249 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
41250 mkdir stage4-binutils; \
41251 mv stage4-binutils binutils ; \
41252 mv stage3-binutils prev-binutils || test -f stage3-lean
41253 @endif binutils
41254 @if gas
41255 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
41256 mkdir stage4-gas; \
41257 mv stage4-gas gas ; \
41258 mv stage3-gas prev-gas || test -f stage3-lean
41259 @endif gas
41260 @if gcc
41261 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
41262 mkdir stage4-gcc; \
41263 mv stage4-gcc gcc ; \
41264 mv stage3-gcc prev-gcc || test -f stage3-lean
41265 @endif gcc
41266 @if gmp
41267 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
41268 mkdir stage4-gmp; \
41269 mv stage4-gmp gmp ; \
41270 mv stage3-gmp prev-gmp || test -f stage3-lean
41271 @endif gmp
41272 @if mpfr
41273 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
41274 mkdir stage4-mpfr; \
41275 mv stage4-mpfr mpfr ; \
41276 mv stage3-mpfr prev-mpfr || test -f stage3-lean
41277 @endif mpfr
41278 @if mpc
41279 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
41280 mkdir stage4-mpc; \
41281 mv stage4-mpc mpc ; \
41282 mv stage3-mpc prev-mpc || test -f stage3-lean
41283 @endif mpc
41284 @if ppl
41285 @cd $(HOST_SUBDIR); [ -d stage4-ppl ] || \
41286 mkdir stage4-ppl; \
41287 mv stage4-ppl ppl ; \
41288 mv stage3-ppl prev-ppl || test -f stage3-lean
41289 @endif ppl
41290 @if cloog
41291 @cd $(HOST_SUBDIR); [ -d stage4-cloog ] || \
41292 mkdir stage4-cloog; \
41293 mv stage4-cloog cloog ; \
41294 mv stage3-cloog prev-cloog || test -f stage3-lean
41295 @endif cloog
41296 @if libelf
41297 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
41298 mkdir stage4-libelf; \
41299 mv stage4-libelf libelf ; \
41300 mv stage3-libelf prev-libelf || test -f stage3-lean
41301 @endif libelf
41302 @if gold
41303 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
41304 mkdir stage4-gold; \
41305 mv stage4-gold gold ; \
41306 mv stage3-gold prev-gold || test -f stage3-lean
41307 @endif gold
41308 @if intl
41309 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
41310 mkdir stage4-intl; \
41311 mv stage4-intl intl ; \
41312 mv stage3-intl prev-intl || test -f stage3-lean
41313 @endif intl
41314 @if ld
41315 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
41316 mkdir stage4-ld; \
41317 mv stage4-ld ld ; \
41318 mv stage3-ld prev-ld || test -f stage3-lean
41319 @endif ld
41320 @if libcpp
41321 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
41322 mkdir stage4-libcpp; \
41323 mv stage4-libcpp libcpp ; \
41324 mv stage3-libcpp prev-libcpp || test -f stage3-lean
41325 @endif libcpp
41326 @if libdecnumber
41327 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
41328 mkdir stage4-libdecnumber; \
41329 mv stage4-libdecnumber libdecnumber ; \
41330 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
41331 @endif libdecnumber
41332 @if libiberty
41333 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
41334 mkdir stage4-libiberty; \
41335 mv stage4-libiberty libiberty ; \
41336 mv stage3-libiberty prev-libiberty || test -f stage3-lean
41337 @endif libiberty
41338 @if zlib
41339 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
41340 mkdir stage4-zlib; \
41341 mv stage4-zlib zlib ; \
41342 mv stage3-zlib prev-zlib || test -f stage3-lean
41343 @endif zlib
41344 @if lto-plugin
41345 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
41346 mkdir stage4-lto-plugin; \
41347 mv stage4-lto-plugin lto-plugin ; \
41348 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
41349 @endif lto-plugin
41350 @[ -d stage4-$(TARGET_SUBDIR) ] || \
41351 mkdir stage4-$(TARGET_SUBDIR); \
41352 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
41353 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
41355 stage4-end::
41356 @if bfd
41357 @if test -d $(HOST_SUBDIR)/bfd ; then \
41358 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
41359 mv prev-bfd stage3-bfd ; : ; \
41361 @endif bfd
41362 @if opcodes
41363 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41364 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
41365 mv prev-opcodes stage3-opcodes ; : ; \
41367 @endif opcodes
41368 @if binutils
41369 @if test -d $(HOST_SUBDIR)/binutils ; then \
41370 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
41371 mv prev-binutils stage3-binutils ; : ; \
41373 @endif binutils
41374 @if gas
41375 @if test -d $(HOST_SUBDIR)/gas ; then \
41376 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
41377 mv prev-gas stage3-gas ; : ; \
41379 @endif gas
41380 @if gcc
41381 @if test -d $(HOST_SUBDIR)/gcc ; then \
41382 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
41383 mv prev-gcc stage3-gcc ; : ; \
41385 @endif gcc
41386 @if gmp
41387 @if test -d $(HOST_SUBDIR)/gmp ; then \
41388 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
41389 mv prev-gmp stage3-gmp ; : ; \
41391 @endif gmp
41392 @if mpfr
41393 @if test -d $(HOST_SUBDIR)/mpfr ; then \
41394 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
41395 mv prev-mpfr stage3-mpfr ; : ; \
41397 @endif mpfr
41398 @if mpc
41399 @if test -d $(HOST_SUBDIR)/mpc ; then \
41400 cd $(HOST_SUBDIR); mv mpc stage4-mpc ; \
41401 mv prev-mpc stage3-mpc ; : ; \
41403 @endif mpc
41404 @if ppl
41405 @if test -d $(HOST_SUBDIR)/ppl ; then \
41406 cd $(HOST_SUBDIR); mv ppl stage4-ppl ; \
41407 mv prev-ppl stage3-ppl ; : ; \
41409 @endif ppl
41410 @if cloog
41411 @if test -d $(HOST_SUBDIR)/cloog ; then \
41412 cd $(HOST_SUBDIR); mv cloog stage4-cloog ; \
41413 mv prev-cloog stage3-cloog ; : ; \
41415 @endif cloog
41416 @if libelf
41417 @if test -d $(HOST_SUBDIR)/libelf ; then \
41418 cd $(HOST_SUBDIR); mv libelf stage4-libelf ; \
41419 mv prev-libelf stage3-libelf ; : ; \
41421 @endif libelf
41422 @if gold
41423 @if test -d $(HOST_SUBDIR)/gold ; then \
41424 cd $(HOST_SUBDIR); mv gold stage4-gold ; \
41425 mv prev-gold stage3-gold ; : ; \
41427 @endif gold
41428 @if intl
41429 @if test -d $(HOST_SUBDIR)/intl ; then \
41430 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
41431 mv prev-intl stage3-intl ; : ; \
41433 @endif intl
41434 @if ld
41435 @if test -d $(HOST_SUBDIR)/ld ; then \
41436 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
41437 mv prev-ld stage3-ld ; : ; \
41439 @endif ld
41440 @if libcpp
41441 @if test -d $(HOST_SUBDIR)/libcpp ; then \
41442 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
41443 mv prev-libcpp stage3-libcpp ; : ; \
41445 @endif libcpp
41446 @if libdecnumber
41447 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
41448 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
41449 mv prev-libdecnumber stage3-libdecnumber ; : ; \
41451 @endif libdecnumber
41452 @if libiberty
41453 @if test -d $(HOST_SUBDIR)/libiberty ; then \
41454 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
41455 mv prev-libiberty stage3-libiberty ; : ; \
41457 @endif libiberty
41458 @if zlib
41459 @if test -d $(HOST_SUBDIR)/zlib ; then \
41460 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
41461 mv prev-zlib stage3-zlib ; : ; \
41463 @endif zlib
41464 @if lto-plugin
41465 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
41466 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin ; \
41467 mv prev-lto-plugin stage3-lto-plugin ; : ; \
41469 @endif lto-plugin
41470 @if test -d $(TARGET_SUBDIR) ; then \
41471 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
41472 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
41474 rm -f stage_current
41476 # Bubble a bug fix through all the stages up to stage 4. They are
41477 # remade, but not reconfigured. The next stage (if any) will not be
41478 # reconfigured either.
41479 .PHONY: stage4-bubble
41480 stage4-bubble:: stage3-bubble
41481 @r=`${PWD_COMMAND}`; export r; \
41482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41483 if test -f stage4-lean || test -f stage3-lean ; then \
41484 echo Skipping rebuild of stage4 ; \
41485 else \
41486 $(MAKE) stage4-start; \
41487 if $(LEAN); then \
41488 rm -rf stage2-* ; \
41489 $(STAMP) stage2-lean ; \
41490 fi; \
41491 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
41493 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
41495 .PHONY: all-stage4 clean-stage4
41496 do-clean: clean-stage4
41498 # FIXME: Will not need to be conditional when toplevel bootstrap is the
41499 # only possibility, but now it conflicts with no-bootstrap rules
41500 @if gcc-bootstrap
41502 compare3:
41503 @r=`${PWD_COMMAND}`; export r; \
41504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41505 if test -f stage3-lean; then \
41506 echo Cannot compare object files as stage 3 was deleted. ; \
41507 exit 0 ; \
41508 fi; \
41509 : $(MAKE); $(stage); \
41510 rm -f .bad_compare ; \
41511 echo Comparing stages 3 and 4 ; \
41512 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
41513 files=`find stage4-* -name "*$(objext)" -print | \
41514 sed -n s,^stage$$sed-,,p` ; \
41515 for file in $${files} ; do \
41516 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
41517 if test ! -f $$f1; then continue; fi; \
41518 $(do-compare3) > /dev/null 2>&1; \
41519 if test $$? -eq 1; then \
41520 case $$file in \
41521 @compare_exclusions@) \
41522 echo warning: $$file differs ;; \
41523 *) \
41524 echo $$file differs >> .bad_compare ;; \
41525 esac ; \
41526 fi ; \
41527 done ; \
41528 if [ -f .bad_compare ]; then \
41529 echo "Bootstrap comparison failure!"; \
41530 cat .bad_compare; \
41531 exit 1; \
41532 else \
41533 echo Comparison successful.; \
41534 fi ; \
41535 $(STAMP) compare3
41536 if $(LEAN); then \
41537 rm -rf stage3-*; \
41538 $(STAMP) stage3-lean; \
41543 .PHONY: bootstrap4 bootstrap4-lean
41544 bootstrap4:
41545 echo stage4 > stage_final
41546 @r=`${PWD_COMMAND}`; export r; \
41547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41548 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
41549 @: $(MAKE); $(unstage)
41550 @r=`${PWD_COMMAND}`; export r; \
41551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41552 TFLAGS="$(STAGE4_TFLAGS)"; \
41553 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41555 bootstrap4-lean:
41556 echo stage4 > stage_final
41557 @r=`${PWD_COMMAND}`; export r; \
41558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41559 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
41560 @: $(MAKE); $(unstage)
41561 @r=`${PWD_COMMAND}`; export r; \
41562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41563 TFLAGS="$(STAGE4_TFLAGS)"; \
41564 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41567 # Rules to wipe a stage and all the following ones, also used for cleanstrap
41568 distclean-stage3:: distclean-stage4
41569 .PHONY: distclean-stage4
41570 distclean-stage4::
41571 @: $(MAKE); $(stage)
41572 @test "`cat stage_last`" != stage4 || rm -f stage_last
41573 rm -rf stage4-* compare3
41576 @endif gcc-bootstrap
41579 .PHONY: stageprofile-start stageprofile-end
41581 stageprofile-start::
41582 @: $(MAKE); $(stage); \
41583 echo stageprofile > stage_current ; \
41584 echo stageprofile > stage_last; \
41585 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41586 @if bfd
41587 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
41588 mkdir stageprofile-bfd; \
41589 mv stageprofile-bfd bfd ; \
41590 mv stage1-bfd prev-bfd || test -f stage1-lean
41591 @endif bfd
41592 @if opcodes
41593 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
41594 mkdir stageprofile-opcodes; \
41595 mv stageprofile-opcodes opcodes ; \
41596 mv stage1-opcodes prev-opcodes || test -f stage1-lean
41597 @endif opcodes
41598 @if binutils
41599 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
41600 mkdir stageprofile-binutils; \
41601 mv stageprofile-binutils binutils ; \
41602 mv stage1-binutils prev-binutils || test -f stage1-lean
41603 @endif binutils
41604 @if gas
41605 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
41606 mkdir stageprofile-gas; \
41607 mv stageprofile-gas gas ; \
41608 mv stage1-gas prev-gas || test -f stage1-lean
41609 @endif gas
41610 @if gcc
41611 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
41612 mkdir stageprofile-gcc; \
41613 mv stageprofile-gcc gcc ; \
41614 mv stage1-gcc prev-gcc || test -f stage1-lean
41615 @endif gcc
41616 @if gmp
41617 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
41618 mkdir stageprofile-gmp; \
41619 mv stageprofile-gmp gmp ; \
41620 mv stage1-gmp prev-gmp || test -f stage1-lean
41621 @endif gmp
41622 @if mpfr
41623 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
41624 mkdir stageprofile-mpfr; \
41625 mv stageprofile-mpfr mpfr ; \
41626 mv stage1-mpfr prev-mpfr || test -f stage1-lean
41627 @endif mpfr
41628 @if mpc
41629 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
41630 mkdir stageprofile-mpc; \
41631 mv stageprofile-mpc mpc ; \
41632 mv stage1-mpc prev-mpc || test -f stage1-lean
41633 @endif mpc
41634 @if ppl
41635 @cd $(HOST_SUBDIR); [ -d stageprofile-ppl ] || \
41636 mkdir stageprofile-ppl; \
41637 mv stageprofile-ppl ppl ; \
41638 mv stage1-ppl prev-ppl || test -f stage1-lean
41639 @endif ppl
41640 @if cloog
41641 @cd $(HOST_SUBDIR); [ -d stageprofile-cloog ] || \
41642 mkdir stageprofile-cloog; \
41643 mv stageprofile-cloog cloog ; \
41644 mv stage1-cloog prev-cloog || test -f stage1-lean
41645 @endif cloog
41646 @if libelf
41647 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
41648 mkdir stageprofile-libelf; \
41649 mv stageprofile-libelf libelf ; \
41650 mv stage1-libelf prev-libelf || test -f stage1-lean
41651 @endif libelf
41652 @if gold
41653 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
41654 mkdir stageprofile-gold; \
41655 mv stageprofile-gold gold ; \
41656 mv stage1-gold prev-gold || test -f stage1-lean
41657 @endif gold
41658 @if intl
41659 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
41660 mkdir stageprofile-intl; \
41661 mv stageprofile-intl intl ; \
41662 mv stage1-intl prev-intl || test -f stage1-lean
41663 @endif intl
41664 @if ld
41665 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
41666 mkdir stageprofile-ld; \
41667 mv stageprofile-ld ld ; \
41668 mv stage1-ld prev-ld || test -f stage1-lean
41669 @endif ld
41670 @if libcpp
41671 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
41672 mkdir stageprofile-libcpp; \
41673 mv stageprofile-libcpp libcpp ; \
41674 mv stage1-libcpp prev-libcpp || test -f stage1-lean
41675 @endif libcpp
41676 @if libdecnumber
41677 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
41678 mkdir stageprofile-libdecnumber; \
41679 mv stageprofile-libdecnumber libdecnumber ; \
41680 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
41681 @endif libdecnumber
41682 @if libiberty
41683 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
41684 mkdir stageprofile-libiberty; \
41685 mv stageprofile-libiberty libiberty ; \
41686 mv stage1-libiberty prev-libiberty || test -f stage1-lean
41687 @endif libiberty
41688 @if zlib
41689 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
41690 mkdir stageprofile-zlib; \
41691 mv stageprofile-zlib zlib ; \
41692 mv stage1-zlib prev-zlib || test -f stage1-lean
41693 @endif zlib
41694 @if lto-plugin
41695 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
41696 mkdir stageprofile-lto-plugin; \
41697 mv stageprofile-lto-plugin lto-plugin ; \
41698 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
41699 @endif lto-plugin
41700 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
41701 mkdir stageprofile-$(TARGET_SUBDIR); \
41702 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
41703 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
41705 stageprofile-end::
41706 @if bfd
41707 @if test -d $(HOST_SUBDIR)/bfd ; then \
41708 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
41709 mv prev-bfd stage1-bfd ; : ; \
41711 @endif bfd
41712 @if opcodes
41713 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41714 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
41715 mv prev-opcodes stage1-opcodes ; : ; \
41717 @endif opcodes
41718 @if binutils
41719 @if test -d $(HOST_SUBDIR)/binutils ; then \
41720 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
41721 mv prev-binutils stage1-binutils ; : ; \
41723 @endif binutils
41724 @if gas
41725 @if test -d $(HOST_SUBDIR)/gas ; then \
41726 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
41727 mv prev-gas stage1-gas ; : ; \
41729 @endif gas
41730 @if gcc
41731 @if test -d $(HOST_SUBDIR)/gcc ; then \
41732 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
41733 mv prev-gcc stage1-gcc ; : ; \
41735 @endif gcc
41736 @if gmp
41737 @if test -d $(HOST_SUBDIR)/gmp ; then \
41738 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
41739 mv prev-gmp stage1-gmp ; : ; \
41741 @endif gmp
41742 @if mpfr
41743 @if test -d $(HOST_SUBDIR)/mpfr ; then \
41744 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
41745 mv prev-mpfr stage1-mpfr ; : ; \
41747 @endif mpfr
41748 @if mpc
41749 @if test -d $(HOST_SUBDIR)/mpc ; then \
41750 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc ; \
41751 mv prev-mpc stage1-mpc ; : ; \
41753 @endif mpc
41754 @if ppl
41755 @if test -d $(HOST_SUBDIR)/ppl ; then \
41756 cd $(HOST_SUBDIR); mv ppl stageprofile-ppl ; \
41757 mv prev-ppl stage1-ppl ; : ; \
41759 @endif ppl
41760 @if cloog
41761 @if test -d $(HOST_SUBDIR)/cloog ; then \
41762 cd $(HOST_SUBDIR); mv cloog stageprofile-cloog ; \
41763 mv prev-cloog stage1-cloog ; : ; \
41765 @endif cloog
41766 @if libelf
41767 @if test -d $(HOST_SUBDIR)/libelf ; then \
41768 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf ; \
41769 mv prev-libelf stage1-libelf ; : ; \
41771 @endif libelf
41772 @if gold
41773 @if test -d $(HOST_SUBDIR)/gold ; then \
41774 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
41775 mv prev-gold stage1-gold ; : ; \
41777 @endif gold
41778 @if intl
41779 @if test -d $(HOST_SUBDIR)/intl ; then \
41780 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
41781 mv prev-intl stage1-intl ; : ; \
41783 @endif intl
41784 @if ld
41785 @if test -d $(HOST_SUBDIR)/ld ; then \
41786 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
41787 mv prev-ld stage1-ld ; : ; \
41789 @endif ld
41790 @if libcpp
41791 @if test -d $(HOST_SUBDIR)/libcpp ; then \
41792 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
41793 mv prev-libcpp stage1-libcpp ; : ; \
41795 @endif libcpp
41796 @if libdecnumber
41797 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
41798 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
41799 mv prev-libdecnumber stage1-libdecnumber ; : ; \
41801 @endif libdecnumber
41802 @if libiberty
41803 @if test -d $(HOST_SUBDIR)/libiberty ; then \
41804 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
41805 mv prev-libiberty stage1-libiberty ; : ; \
41807 @endif libiberty
41808 @if zlib
41809 @if test -d $(HOST_SUBDIR)/zlib ; then \
41810 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
41811 mv prev-zlib stage1-zlib ; : ; \
41813 @endif zlib
41814 @if lto-plugin
41815 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
41816 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin ; \
41817 mv prev-lto-plugin stage1-lto-plugin ; : ; \
41819 @endif lto-plugin
41820 @if test -d $(TARGET_SUBDIR) ; then \
41821 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
41822 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
41824 rm -f stage_current
41826 # Bubble a bug fix through all the stages up to stage profile. They are
41827 # remade, but not reconfigured. The next stage (if any) will not be
41828 # reconfigured either.
41829 .PHONY: stageprofile-bubble
41830 stageprofile-bubble:: stage1-bubble
41831 @r=`${PWD_COMMAND}`; export r; \
41832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41833 if test -f stageprofile-lean || test -f stage1-lean ; then \
41834 echo Skipping rebuild of stageprofile ; \
41835 else \
41836 $(MAKE) stageprofile-start; \
41837 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
41840 .PHONY: all-stageprofile clean-stageprofile
41841 do-clean: clean-stageprofile
41843 # FIXME: Will not need to be conditional when toplevel bootstrap is the
41844 # only possibility, but now it conflicts with no-bootstrap rules
41845 @if gcc-bootstrap
41850 # Rules to wipe a stage and all the following ones, also used for cleanstrap
41851 distclean-stage1:: distclean-stageprofile
41852 .PHONY: distclean-stageprofile
41853 distclean-stageprofile::
41854 @: $(MAKE); $(stage)
41855 @test "`cat stage_last`" != stageprofile || rm -f stage_last
41856 rm -rf stageprofile-*
41859 @endif gcc-bootstrap
41862 .PHONY: stagefeedback-start stagefeedback-end
41864 stagefeedback-start::
41865 @: $(MAKE); $(stage); \
41866 echo stagefeedback > stage_current ; \
41867 echo stagefeedback > stage_last; \
41868 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41869 @if bfd
41870 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
41871 mkdir stagefeedback-bfd; \
41872 mv stagefeedback-bfd bfd ; \
41873 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
41874 @endif bfd
41875 @if opcodes
41876 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
41877 mkdir stagefeedback-opcodes; \
41878 mv stagefeedback-opcodes opcodes ; \
41879 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
41880 @endif opcodes
41881 @if binutils
41882 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
41883 mkdir stagefeedback-binutils; \
41884 mv stagefeedback-binutils binutils ; \
41885 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
41886 @endif binutils
41887 @if gas
41888 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
41889 mkdir stagefeedback-gas; \
41890 mv stagefeedback-gas gas ; \
41891 mv stageprofile-gas prev-gas || test -f stageprofile-lean
41892 @endif gas
41893 @if gcc
41894 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
41895 mkdir stagefeedback-gcc; \
41896 mv stagefeedback-gcc gcc ; \
41897 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
41898 @endif gcc
41899 @if gmp
41900 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
41901 mkdir stagefeedback-gmp; \
41902 mv stagefeedback-gmp gmp ; \
41903 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
41904 @endif gmp
41905 @if mpfr
41906 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
41907 mkdir stagefeedback-mpfr; \
41908 mv stagefeedback-mpfr mpfr ; \
41909 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
41910 @endif mpfr
41911 @if mpc
41912 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
41913 mkdir stagefeedback-mpc; \
41914 mv stagefeedback-mpc mpc ; \
41915 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
41916 @endif mpc
41917 @if ppl
41918 @cd $(HOST_SUBDIR); [ -d stagefeedback-ppl ] || \
41919 mkdir stagefeedback-ppl; \
41920 mv stagefeedback-ppl ppl ; \
41921 mv stageprofile-ppl prev-ppl || test -f stageprofile-lean
41922 @endif ppl
41923 @if cloog
41924 @cd $(HOST_SUBDIR); [ -d stagefeedback-cloog ] || \
41925 mkdir stagefeedback-cloog; \
41926 mv stagefeedback-cloog cloog ; \
41927 mv stageprofile-cloog prev-cloog || test -f stageprofile-lean
41928 @endif cloog
41929 @if libelf
41930 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
41931 mkdir stagefeedback-libelf; \
41932 mv stagefeedback-libelf libelf ; \
41933 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
41934 @endif libelf
41935 @if gold
41936 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
41937 mkdir stagefeedback-gold; \
41938 mv stagefeedback-gold gold ; \
41939 mv stageprofile-gold prev-gold || test -f stageprofile-lean
41940 @endif gold
41941 @if intl
41942 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
41943 mkdir stagefeedback-intl; \
41944 mv stagefeedback-intl intl ; \
41945 mv stageprofile-intl prev-intl || test -f stageprofile-lean
41946 @endif intl
41947 @if ld
41948 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
41949 mkdir stagefeedback-ld; \
41950 mv stagefeedback-ld ld ; \
41951 mv stageprofile-ld prev-ld || test -f stageprofile-lean
41952 @endif ld
41953 @if libcpp
41954 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
41955 mkdir stagefeedback-libcpp; \
41956 mv stagefeedback-libcpp libcpp ; \
41957 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
41958 @endif libcpp
41959 @if libdecnumber
41960 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
41961 mkdir stagefeedback-libdecnumber; \
41962 mv stagefeedback-libdecnumber libdecnumber ; \
41963 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
41964 @endif libdecnumber
41965 @if libiberty
41966 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
41967 mkdir stagefeedback-libiberty; \
41968 mv stagefeedback-libiberty libiberty ; \
41969 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
41970 @endif libiberty
41971 @if zlib
41972 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
41973 mkdir stagefeedback-zlib; \
41974 mv stagefeedback-zlib zlib ; \
41975 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
41976 @endif zlib
41977 @if lto-plugin
41978 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
41979 mkdir stagefeedback-lto-plugin; \
41980 mv stagefeedback-lto-plugin lto-plugin ; \
41981 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
41982 @endif lto-plugin
41983 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
41984 mkdir stagefeedback-$(TARGET_SUBDIR); \
41985 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
41986 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
41988 stagefeedback-end::
41989 @if bfd
41990 @if test -d $(HOST_SUBDIR)/bfd ; then \
41991 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
41992 mv prev-bfd stageprofile-bfd ; : ; \
41994 @endif bfd
41995 @if opcodes
41996 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41997 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
41998 mv prev-opcodes stageprofile-opcodes ; : ; \
42000 @endif opcodes
42001 @if binutils
42002 @if test -d $(HOST_SUBDIR)/binutils ; then \
42003 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
42004 mv prev-binutils stageprofile-binutils ; : ; \
42006 @endif binutils
42007 @if gas
42008 @if test -d $(HOST_SUBDIR)/gas ; then \
42009 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
42010 mv prev-gas stageprofile-gas ; : ; \
42012 @endif gas
42013 @if gcc
42014 @if test -d $(HOST_SUBDIR)/gcc ; then \
42015 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
42016 mv prev-gcc stageprofile-gcc ; : ; \
42018 @endif gcc
42019 @if gmp
42020 @if test -d $(HOST_SUBDIR)/gmp ; then \
42021 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
42022 mv prev-gmp stageprofile-gmp ; : ; \
42024 @endif gmp
42025 @if mpfr
42026 @if test -d $(HOST_SUBDIR)/mpfr ; then \
42027 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
42028 mv prev-mpfr stageprofile-mpfr ; : ; \
42030 @endif mpfr
42031 @if mpc
42032 @if test -d $(HOST_SUBDIR)/mpc ; then \
42033 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc ; \
42034 mv prev-mpc stageprofile-mpc ; : ; \
42036 @endif mpc
42037 @if ppl
42038 @if test -d $(HOST_SUBDIR)/ppl ; then \
42039 cd $(HOST_SUBDIR); mv ppl stagefeedback-ppl ; \
42040 mv prev-ppl stageprofile-ppl ; : ; \
42042 @endif ppl
42043 @if cloog
42044 @if test -d $(HOST_SUBDIR)/cloog ; then \
42045 cd $(HOST_SUBDIR); mv cloog stagefeedback-cloog ; \
42046 mv prev-cloog stageprofile-cloog ; : ; \
42048 @endif cloog
42049 @if libelf
42050 @if test -d $(HOST_SUBDIR)/libelf ; then \
42051 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf ; \
42052 mv prev-libelf stageprofile-libelf ; : ; \
42054 @endif libelf
42055 @if gold
42056 @if test -d $(HOST_SUBDIR)/gold ; then \
42057 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
42058 mv prev-gold stageprofile-gold ; : ; \
42060 @endif gold
42061 @if intl
42062 @if test -d $(HOST_SUBDIR)/intl ; then \
42063 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
42064 mv prev-intl stageprofile-intl ; : ; \
42066 @endif intl
42067 @if ld
42068 @if test -d $(HOST_SUBDIR)/ld ; then \
42069 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
42070 mv prev-ld stageprofile-ld ; : ; \
42072 @endif ld
42073 @if libcpp
42074 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42075 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
42076 mv prev-libcpp stageprofile-libcpp ; : ; \
42078 @endif libcpp
42079 @if libdecnumber
42080 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42081 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
42082 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
42084 @endif libdecnumber
42085 @if libiberty
42086 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42087 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
42088 mv prev-libiberty stageprofile-libiberty ; : ; \
42090 @endif libiberty
42091 @if zlib
42092 @if test -d $(HOST_SUBDIR)/zlib ; then \
42093 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
42094 mv prev-zlib stageprofile-zlib ; : ; \
42096 @endif zlib
42097 @if lto-plugin
42098 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
42099 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin ; \
42100 mv prev-lto-plugin stageprofile-lto-plugin ; : ; \
42102 @endif lto-plugin
42103 @if test -d $(TARGET_SUBDIR) ; then \
42104 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
42105 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
42107 rm -f stage_current
42109 # Bubble a bug fix through all the stages up to stage feedback. They are
42110 # remade, but not reconfigured. The next stage (if any) will not be
42111 # reconfigured either.
42112 .PHONY: stagefeedback-bubble
42113 stagefeedback-bubble:: stageprofile-bubble
42114 @r=`${PWD_COMMAND}`; export r; \
42115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42116 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
42117 echo Skipping rebuild of stagefeedback ; \
42118 else \
42119 $(MAKE) stagefeedback-start; \
42120 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
42123 .PHONY: all-stagefeedback clean-stagefeedback
42124 do-clean: clean-stagefeedback
42126 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42127 # only possibility, but now it conflicts with no-bootstrap rules
42128 @if gcc-bootstrap
42132 .PHONY: profiledbootstrap profiledbootstrap-lean
42133 profiledbootstrap:
42134 echo stagefeedback > stage_final
42135 @r=`${PWD_COMMAND}`; export r; \
42136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42137 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
42138 @: $(MAKE); $(unstage)
42139 @r=`${PWD_COMMAND}`; export r; \
42140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42141 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
42142 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42144 profiledbootstrap-lean:
42145 echo stagefeedback > stage_final
42146 @r=`${PWD_COMMAND}`; export r; \
42147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42148 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
42149 @: $(MAKE); $(unstage)
42150 @r=`${PWD_COMMAND}`; export r; \
42151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42152 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
42153 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42156 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42157 distclean-stageprofile:: distclean-stagefeedback
42158 .PHONY: distclean-stagefeedback
42159 distclean-stagefeedback::
42160 @: $(MAKE); $(stage)
42161 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
42162 rm -rf stagefeedback-*
42165 @endif gcc-bootstrap
42169 stageprofile-end::
42170 $(MAKE) distclean-stagefeedback
42172 stagefeedback-start::
42173 @r=`${PWD_COMMAND}`; export r; \
42174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42175 for i in prev-*; do \
42176 j=`echo $$i | sed s/^prev-//` ; \
42177 cd $$r/$$i && \
42178 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
42179 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
42180 done
42182 @if gcc-bootstrap
42183 do-distclean: distclean-stage1
42185 # Provide a GCC build when we're building target libraries. This does
42186 # not work as a dependency, just as the minimum necessary to avoid errors.
42187 stage_last:
42188 @r=`${PWD_COMMAND}`; export r; \
42189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42190 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
42192 # Same as unstage, but not phony and defaulting to stage1-start. We place
42193 # it in the dependency so that for example `make -j3 all-gcc' works.
42194 stage_current:
42195 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
42197 .PHONY: restrap
42198 restrap::
42199 @: $(MAKE); $(stage)
42200 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
42201 restrap:: all
42202 @endif gcc-bootstrap
42204 # --------------------------------------
42205 # Dependencies between different modules
42206 # --------------------------------------
42208 # Generic dependencies for target modules on host stuff, especially gcc
42209 @if gcc-bootstrap
42210 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
42211 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
42212 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
42213 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
42214 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
42215 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
42216 configure-target-libmudflap: stage_last
42217 configure-target-libssp: stage_last
42218 configure-target-newlib: stage_last
42219 configure-stage1-target-libgcc: maybe-all-stage1-gcc
42220 configure-stage2-target-libgcc: maybe-all-stage2-gcc
42221 configure-stage3-target-libgcc: maybe-all-stage3-gcc
42222 configure-stage4-target-libgcc: maybe-all-stage4-gcc
42223 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
42224 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
42225 configure-target-libquadmath: stage_last
42226 configure-target-libgfortran: stage_last
42227 configure-target-libobjc: stage_last
42228 configure-target-libgo: stage_last
42229 configure-target-libtermcap: stage_last
42230 configure-target-winsup: stage_last
42231 configure-target-libgloss: stage_last
42232 configure-target-libffi: stage_last
42233 configure-target-libjava: stage_last
42234 configure-target-zlib: stage_last
42235 configure-target-boehm-gc: stage_last
42236 configure-target-rda: stage_last
42237 configure-target-libada: stage_last
42238 configure-stage1-target-libgomp: maybe-all-stage1-gcc
42239 configure-stage2-target-libgomp: maybe-all-stage2-gcc
42240 configure-stage3-target-libgomp: maybe-all-stage3-gcc
42241 configure-stage4-target-libgomp: maybe-all-stage4-gcc
42242 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
42243 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
42244 @endif gcc-bootstrap
42246 @if gcc-no-bootstrap
42247 configure-target-libstdc++-v3: maybe-all-gcc
42248 configure-target-libmudflap: maybe-all-gcc
42249 configure-target-libssp: maybe-all-gcc
42250 configure-target-newlib: maybe-all-gcc
42251 configure-target-libgcc: maybe-all-gcc
42252 configure-target-libquadmath: maybe-all-gcc
42253 configure-target-libgfortran: maybe-all-gcc
42254 configure-target-libobjc: maybe-all-gcc
42255 configure-target-libgo: maybe-all-gcc
42256 configure-target-libtermcap: maybe-all-gcc
42257 configure-target-winsup: maybe-all-gcc
42258 configure-target-libgloss: maybe-all-gcc
42259 configure-target-libffi: maybe-all-gcc
42260 configure-target-libjava: maybe-all-gcc
42261 configure-target-zlib: maybe-all-gcc
42262 configure-target-boehm-gc: maybe-all-gcc
42263 configure-target-rda: maybe-all-gcc
42264 configure-target-libada: maybe-all-gcc
42265 configure-target-libgomp: maybe-all-gcc
42266 @endif gcc-no-bootstrap
42269 # There are two types of dependencies here: 'hard' dependencies, where one
42270 # module simply won't build without the other; and 'soft' dependencies, where
42271 # if the depended-on module is missing, the depending module will do without
42272 # or find a substitute somewhere (perhaps installed). Soft dependencies
42273 # are made here to depend on a 'maybe-' target. If you're not sure,
42274 # it's safer to use a soft dependency.
42281 # With all the machinery above in place, it is pretty easy to generate
42282 # dependencies. Host dependencies are a bit more complex because we have
42283 # to check for bootstrap/prebootstrap dependencies. To resolve
42284 # prebootstrap dependencies, prebootstrap modules are gathered in
42285 # a hash table.
42286 all-build-bison: maybe-all-build-texinfo
42287 all-build-flex: maybe-all-build-texinfo
42288 all-build-flex: maybe-all-build-bison
42289 all-build-flex: maybe-all-build-m4
42290 all-build-libiberty: maybe-all-build-texinfo
42291 all-build-m4: maybe-all-build-texinfo
42292 all-build-fixincludes: maybe-all-build-libiberty
42293 configure-gcc: maybe-configure-intl
42295 configure-stage1-gcc: maybe-configure-stage1-intl
42296 configure-stage2-gcc: maybe-configure-stage2-intl
42297 configure-stage3-gcc: maybe-configure-stage3-intl
42298 configure-stage4-gcc: maybe-configure-stage4-intl
42299 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
42300 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
42301 configure-gcc: maybe-all-lto-plugin
42303 configure-stage1-gcc: maybe-all-stage1-lto-plugin
42304 configure-stage2-gcc: maybe-all-stage2-lto-plugin
42305 configure-stage3-gcc: maybe-all-stage3-lto-plugin
42306 configure-stage4-gcc: maybe-all-stage4-lto-plugin
42307 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
42308 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
42309 configure-gcc: maybe-all-binutils
42311 configure-stage1-gcc: maybe-all-stage1-binutils
42312 configure-stage2-gcc: maybe-all-stage2-binutils
42313 configure-stage3-gcc: maybe-all-stage3-binutils
42314 configure-stage4-gcc: maybe-all-stage4-binutils
42315 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
42316 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
42317 configure-gcc: maybe-all-gas
42319 configure-stage1-gcc: maybe-all-stage1-gas
42320 configure-stage2-gcc: maybe-all-stage2-gas
42321 configure-stage3-gcc: maybe-all-stage3-gas
42322 configure-stage4-gcc: maybe-all-stage4-gas
42323 configure-stageprofile-gcc: maybe-all-stageprofile-gas
42324 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
42325 configure-gcc: maybe-all-ld
42327 configure-stage1-gcc: maybe-all-stage1-ld
42328 configure-stage2-gcc: maybe-all-stage2-ld
42329 configure-stage3-gcc: maybe-all-stage3-ld
42330 configure-stage4-gcc: maybe-all-stage4-ld
42331 configure-stageprofile-gcc: maybe-all-stageprofile-ld
42332 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
42333 configure-gcc: maybe-all-gold
42335 configure-stage1-gcc: maybe-all-stage1-gold
42336 configure-stage2-gcc: maybe-all-stage2-gold
42337 configure-stage3-gcc: maybe-all-stage3-gold
42338 configure-stage4-gcc: maybe-all-stage4-gold
42339 configure-stageprofile-gcc: maybe-all-stageprofile-gold
42340 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
42341 configure-gcc: maybe-all-libelf
42343 configure-stage1-gcc: maybe-all-stage1-libelf
42344 configure-stage2-gcc: maybe-all-stage2-libelf
42345 configure-stage3-gcc: maybe-all-stage3-libelf
42346 configure-stage4-gcc: maybe-all-stage4-libelf
42347 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
42348 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
42349 all-gcc: all-libiberty
42351 all-stage1-gcc: all-stage1-libiberty
42352 all-stage2-gcc: all-stage2-libiberty
42353 all-stage3-gcc: all-stage3-libiberty
42354 all-stage4-gcc: all-stage4-libiberty
42355 all-stageprofile-gcc: all-stageprofile-libiberty
42356 all-stagefeedback-gcc: all-stagefeedback-libiberty
42357 all-gcc: maybe-all-gmp
42359 all-stage1-gcc: maybe-all-stage1-gmp
42360 all-stage2-gcc: maybe-all-stage2-gmp
42361 all-stage3-gcc: maybe-all-stage3-gmp
42362 all-stage4-gcc: maybe-all-stage4-gmp
42363 all-stageprofile-gcc: maybe-all-stageprofile-gmp
42364 all-stagefeedback-gcc: maybe-all-stagefeedback-gmp
42365 all-gcc: maybe-all-intl
42367 all-stage1-gcc: maybe-all-stage1-intl
42368 all-stage2-gcc: maybe-all-stage2-intl
42369 all-stage3-gcc: maybe-all-stage3-intl
42370 all-stage4-gcc: maybe-all-stage4-intl
42371 all-stageprofile-gcc: maybe-all-stageprofile-intl
42372 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
42373 all-gcc: maybe-all-mpfr
42375 all-stage1-gcc: maybe-all-stage1-mpfr
42376 all-stage2-gcc: maybe-all-stage2-mpfr
42377 all-stage3-gcc: maybe-all-stage3-mpfr
42378 all-stage4-gcc: maybe-all-stage4-mpfr
42379 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
42380 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
42381 all-gcc: maybe-all-mpc
42383 all-stage1-gcc: maybe-all-stage1-mpc
42384 all-stage2-gcc: maybe-all-stage2-mpc
42385 all-stage3-gcc: maybe-all-stage3-mpc
42386 all-stage4-gcc: maybe-all-stage4-mpc
42387 all-stageprofile-gcc: maybe-all-stageprofile-mpc
42388 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
42389 all-gcc: maybe-all-ppl
42391 all-stage1-gcc: maybe-all-stage1-ppl
42392 all-stage2-gcc: maybe-all-stage2-ppl
42393 all-stage3-gcc: maybe-all-stage3-ppl
42394 all-stage4-gcc: maybe-all-stage4-ppl
42395 all-stageprofile-gcc: maybe-all-stageprofile-ppl
42396 all-stagefeedback-gcc: maybe-all-stagefeedback-ppl
42397 all-gcc: maybe-all-cloog
42399 all-stage1-gcc: maybe-all-stage1-cloog
42400 all-stage2-gcc: maybe-all-stage2-cloog
42401 all-stage3-gcc: maybe-all-stage3-cloog
42402 all-stage4-gcc: maybe-all-stage4-cloog
42403 all-stageprofile-gcc: maybe-all-stageprofile-cloog
42404 all-stagefeedback-gcc: maybe-all-stagefeedback-cloog
42405 all-gcc: maybe-all-build-texinfo
42407 all-stage1-gcc: maybe-all-build-texinfo
42408 all-stage2-gcc: maybe-all-build-texinfo
42409 all-stage3-gcc: maybe-all-build-texinfo
42410 all-stage4-gcc: maybe-all-build-texinfo
42411 all-stageprofile-gcc: maybe-all-build-texinfo
42412 all-stagefeedback-gcc: maybe-all-build-texinfo
42413 all-gcc: maybe-all-build-bison
42415 all-stage1-gcc: maybe-all-build-bison
42416 all-stage2-gcc: maybe-all-build-bison
42417 all-stage3-gcc: maybe-all-build-bison
42418 all-stage4-gcc: maybe-all-build-bison
42419 all-stageprofile-gcc: maybe-all-build-bison
42420 all-stagefeedback-gcc: maybe-all-build-bison
42421 all-gcc: maybe-all-build-flex
42423 all-stage1-gcc: maybe-all-build-flex
42424 all-stage2-gcc: maybe-all-build-flex
42425 all-stage3-gcc: maybe-all-build-flex
42426 all-stage4-gcc: maybe-all-build-flex
42427 all-stageprofile-gcc: maybe-all-build-flex
42428 all-stagefeedback-gcc: maybe-all-build-flex
42429 all-gcc: maybe-all-build-libiberty
42431 all-stage1-gcc: maybe-all-build-libiberty
42432 all-stage2-gcc: maybe-all-build-libiberty
42433 all-stage3-gcc: maybe-all-build-libiberty
42434 all-stage4-gcc: maybe-all-build-libiberty
42435 all-stageprofile-gcc: maybe-all-build-libiberty
42436 all-stagefeedback-gcc: maybe-all-build-libiberty
42437 all-gcc: maybe-all-build-fixincludes
42439 all-stage1-gcc: maybe-all-build-fixincludes
42440 all-stage2-gcc: maybe-all-build-fixincludes
42441 all-stage3-gcc: maybe-all-build-fixincludes
42442 all-stage4-gcc: maybe-all-build-fixincludes
42443 all-stageprofile-gcc: maybe-all-build-fixincludes
42444 all-stagefeedback-gcc: maybe-all-build-fixincludes
42445 all-gcc: maybe-all-zlib
42447 all-stage1-gcc: maybe-all-stage1-zlib
42448 all-stage2-gcc: maybe-all-stage2-zlib
42449 all-stage3-gcc: maybe-all-stage3-zlib
42450 all-stage4-gcc: maybe-all-stage4-zlib
42451 all-stageprofile-gcc: maybe-all-stageprofile-zlib
42452 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
42453 all-gcc: all-libcpp
42455 all-stage1-gcc: all-stage1-libcpp
42456 all-stage2-gcc: all-stage2-libcpp
42457 all-stage3-gcc: all-stage3-libcpp
42458 all-stage4-gcc: all-stage4-libcpp
42459 all-stageprofile-gcc: all-stageprofile-libcpp
42460 all-stagefeedback-gcc: all-stagefeedback-libcpp
42461 all-gcc: all-libdecnumber
42463 all-stage1-gcc: all-stage1-libdecnumber
42464 all-stage2-gcc: all-stage2-libdecnumber
42465 all-stage3-gcc: all-stage3-libdecnumber
42466 all-stage4-gcc: all-stage4-libdecnumber
42467 all-stageprofile-gcc: all-stageprofile-libdecnumber
42468 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
42469 all-gcc: maybe-all-libiberty
42471 all-stage1-gcc: maybe-all-stage1-libiberty
42472 all-stage2-gcc: maybe-all-stage2-libiberty
42473 all-stage3-gcc: maybe-all-stage3-libiberty
42474 all-stage4-gcc: maybe-all-stage4-libiberty
42475 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
42476 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
42477 all-gcc: maybe-all-fixincludes
42478 all-gcc: maybe-all-lto-plugin
42480 all-stage1-gcc: maybe-all-stage1-lto-plugin
42481 all-stage2-gcc: maybe-all-stage2-lto-plugin
42482 all-stage3-gcc: maybe-all-stage3-lto-plugin
42483 all-stage4-gcc: maybe-all-stage4-lto-plugin
42484 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
42485 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
42486 info-gcc: maybe-all-build-libiberty
42488 info-stage1-gcc: maybe-all-build-libiberty
42489 info-stage2-gcc: maybe-all-build-libiberty
42490 info-stage3-gcc: maybe-all-build-libiberty
42491 info-stage4-gcc: maybe-all-build-libiberty
42492 info-stageprofile-gcc: maybe-all-build-libiberty
42493 info-stagefeedback-gcc: maybe-all-build-libiberty
42494 dvi-gcc: maybe-all-build-libiberty
42496 dvi-stage1-gcc: maybe-all-build-libiberty
42497 dvi-stage2-gcc: maybe-all-build-libiberty
42498 dvi-stage3-gcc: maybe-all-build-libiberty
42499 dvi-stage4-gcc: maybe-all-build-libiberty
42500 dvi-stageprofile-gcc: maybe-all-build-libiberty
42501 dvi-stagefeedback-gcc: maybe-all-build-libiberty
42502 pdf-gcc: maybe-all-build-libiberty
42504 pdf-stage1-gcc: maybe-all-build-libiberty
42505 pdf-stage2-gcc: maybe-all-build-libiberty
42506 pdf-stage3-gcc: maybe-all-build-libiberty
42507 pdf-stage4-gcc: maybe-all-build-libiberty
42508 pdf-stageprofile-gcc: maybe-all-build-libiberty
42509 pdf-stagefeedback-gcc: maybe-all-build-libiberty
42510 html-gcc: maybe-all-build-libiberty
42512 html-stage1-gcc: maybe-all-build-libiberty
42513 html-stage2-gcc: maybe-all-build-libiberty
42514 html-stage3-gcc: maybe-all-build-libiberty
42515 html-stage4-gcc: maybe-all-build-libiberty
42516 html-stageprofile-gcc: maybe-all-build-libiberty
42517 html-stagefeedback-gcc: maybe-all-build-libiberty
42518 install-gcc: maybe-install-fixincludes
42519 install-gcc: maybe-install-lto-plugin
42520 install-strip-gcc: maybe-install-strip-fixincludes
42521 configure-libcpp: configure-libiberty
42523 configure-stage1-libcpp: configure-stage1-libiberty
42524 configure-stage2-libcpp: configure-stage2-libiberty
42525 configure-stage3-libcpp: configure-stage3-libiberty
42526 configure-stage4-libcpp: configure-stage4-libiberty
42527 configure-stageprofile-libcpp: configure-stageprofile-libiberty
42528 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
42529 configure-libcpp: maybe-configure-intl
42531 configure-stage1-libcpp: maybe-configure-stage1-intl
42532 configure-stage2-libcpp: maybe-configure-stage2-intl
42533 configure-stage3-libcpp: maybe-configure-stage3-intl
42534 configure-stage4-libcpp: maybe-configure-stage4-intl
42535 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
42536 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
42537 all-libcpp: all-libiberty
42539 all-stage1-libcpp: all-stage1-libiberty
42540 all-stage2-libcpp: all-stage2-libiberty
42541 all-stage3-libcpp: all-stage3-libiberty
42542 all-stage4-libcpp: all-stage4-libiberty
42543 all-stageprofile-libcpp: all-stageprofile-libiberty
42544 all-stagefeedback-libcpp: all-stagefeedback-libiberty
42545 all-libcpp: maybe-all-intl
42547 all-stage1-libcpp: maybe-all-stage1-intl
42548 all-stage2-libcpp: maybe-all-stage2-intl
42549 all-stage3-libcpp: maybe-all-stage3-intl
42550 all-stage4-libcpp: maybe-all-stage4-intl
42551 all-stageprofile-libcpp: maybe-all-stageprofile-intl
42552 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
42553 all-fixincludes: maybe-all-libiberty
42554 all-gnattools: maybe-all-target-libada
42555 all-lto-plugin: maybe-all-libiberty
42557 all-stage1-lto-plugin: maybe-all-stage1-libiberty
42558 all-stage2-lto-plugin: maybe-all-stage2-libiberty
42559 all-stage3-lto-plugin: maybe-all-stage3-libiberty
42560 all-stage4-lto-plugin: maybe-all-stage4-libiberty
42561 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
42562 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
42563 all-utils: maybe-all-libiberty
42564 configure-mpfr: maybe-all-gmp
42566 configure-stage1-mpfr: maybe-all-stage1-gmp
42567 configure-stage2-mpfr: maybe-all-stage2-gmp
42568 configure-stage3-mpfr: maybe-all-stage3-gmp
42569 configure-stage4-mpfr: maybe-all-stage4-gmp
42570 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
42571 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
42572 configure-mpc: maybe-all-mpfr
42574 configure-stage1-mpc: maybe-all-stage1-mpfr
42575 configure-stage2-mpc: maybe-all-stage2-mpfr
42576 configure-stage3-mpc: maybe-all-stage3-mpfr
42577 configure-stage4-mpc: maybe-all-stage4-mpfr
42578 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
42579 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
42580 configure-ppl: maybe-all-gmp
42582 configure-stage1-ppl: maybe-all-stage1-gmp
42583 configure-stage2-ppl: maybe-all-stage2-gmp
42584 configure-stage3-ppl: maybe-all-stage3-gmp
42585 configure-stage4-ppl: maybe-all-stage4-gmp
42586 configure-stageprofile-ppl: maybe-all-stageprofile-gmp
42587 configure-stagefeedback-ppl: maybe-all-stagefeedback-gmp
42588 configure-ppl: maybe-all-mpfr
42590 configure-stage1-ppl: maybe-all-stage1-mpfr
42591 configure-stage2-ppl: maybe-all-stage2-mpfr
42592 configure-stage3-ppl: maybe-all-stage3-mpfr
42593 configure-stage4-ppl: maybe-all-stage4-mpfr
42594 configure-stageprofile-ppl: maybe-all-stageprofile-mpfr
42595 configure-stagefeedback-ppl: maybe-all-stagefeedback-mpfr
42596 configure-cloog: maybe-all-ppl
42598 configure-stage1-cloog: maybe-all-stage1-ppl
42599 configure-stage2-cloog: maybe-all-stage2-ppl
42600 configure-stage3-cloog: maybe-all-stage3-ppl
42601 configure-stage4-cloog: maybe-all-stage4-ppl
42602 configure-stageprofile-cloog: maybe-all-stageprofile-ppl
42603 configure-stagefeedback-cloog: maybe-all-stagefeedback-ppl
42604 configure-gdb: maybe-all-intl
42605 configure-gdb: maybe-configure-sim
42606 configure-gdb: maybe-all-bfd
42607 configure-gdb: maybe-all-libiconv
42608 all-gdb: maybe-all-libiberty
42609 all-gdb: maybe-all-libiconv
42610 all-gdb: maybe-all-opcodes
42611 all-gdb: maybe-all-readline
42612 all-gdb: maybe-all-build-bison
42613 all-gdb: maybe-all-sim
42614 all-gdb: maybe-all-libdecnumber
42615 all-gdb: maybe-all-libtermcap
42616 configure-libgui: maybe-configure-tcl
42617 configure-libgui: maybe-configure-tk
42618 all-libgui: maybe-all-tcl
42619 all-libgui: maybe-all-tk
42620 all-libgui: maybe-all-itcl
42621 configure-bfd: configure-libiberty
42623 configure-stage1-bfd: configure-stage1-libiberty
42624 configure-stage2-bfd: configure-stage2-libiberty
42625 configure-stage3-bfd: configure-stage3-libiberty
42626 configure-stage4-bfd: configure-stage4-libiberty
42627 configure-stageprofile-bfd: configure-stageprofile-libiberty
42628 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
42629 configure-bfd: maybe-configure-intl
42631 configure-stage1-bfd: maybe-configure-stage1-intl
42632 configure-stage2-bfd: maybe-configure-stage2-intl
42633 configure-stage3-bfd: maybe-configure-stage3-intl
42634 configure-stage4-bfd: maybe-configure-stage4-intl
42635 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
42636 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
42637 all-bfd: maybe-all-libiberty
42639 all-stage1-bfd: maybe-all-stage1-libiberty
42640 all-stage2-bfd: maybe-all-stage2-libiberty
42641 all-stage3-bfd: maybe-all-stage3-libiberty
42642 all-stage4-bfd: maybe-all-stage4-libiberty
42643 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
42644 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
42645 all-bfd: maybe-all-intl
42647 all-stage1-bfd: maybe-all-stage1-intl
42648 all-stage2-bfd: maybe-all-stage2-intl
42649 all-stage3-bfd: maybe-all-stage3-intl
42650 all-stage4-bfd: maybe-all-stage4-intl
42651 all-stageprofile-bfd: maybe-all-stageprofile-intl
42652 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
42653 configure-opcodes: configure-libiberty
42655 configure-stage1-opcodes: configure-stage1-libiberty
42656 configure-stage2-opcodes: configure-stage2-libiberty
42657 configure-stage3-opcodes: configure-stage3-libiberty
42658 configure-stage4-opcodes: configure-stage4-libiberty
42659 configure-stageprofile-opcodes: configure-stageprofile-libiberty
42660 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
42661 all-opcodes: maybe-all-libiberty
42663 all-stage1-opcodes: maybe-all-stage1-libiberty
42664 all-stage2-opcodes: maybe-all-stage2-libiberty
42665 all-stage3-opcodes: maybe-all-stage3-libiberty
42666 all-stage4-opcodes: maybe-all-stage4-libiberty
42667 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
42668 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
42669 configure-binutils: maybe-configure-intl
42671 configure-stage1-binutils: maybe-configure-stage1-intl
42672 configure-stage2-binutils: maybe-configure-stage2-intl
42673 configure-stage3-binutils: maybe-configure-stage3-intl
42674 configure-stage4-binutils: maybe-configure-stage4-intl
42675 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
42676 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
42677 all-binutils: maybe-all-libiberty
42679 all-stage1-binutils: maybe-all-stage1-libiberty
42680 all-stage2-binutils: maybe-all-stage2-libiberty
42681 all-stage3-binutils: maybe-all-stage3-libiberty
42682 all-stage4-binutils: maybe-all-stage4-libiberty
42683 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
42684 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
42685 all-binutils: maybe-all-opcodes
42687 all-stage1-binutils: maybe-all-stage1-opcodes
42688 all-stage2-binutils: maybe-all-stage2-opcodes
42689 all-stage3-binutils: maybe-all-stage3-opcodes
42690 all-stage4-binutils: maybe-all-stage4-opcodes
42691 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
42692 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
42693 all-binutils: maybe-all-bfd
42695 all-stage1-binutils: maybe-all-stage1-bfd
42696 all-stage2-binutils: maybe-all-stage2-bfd
42697 all-stage3-binutils: maybe-all-stage3-bfd
42698 all-stage4-binutils: maybe-all-stage4-bfd
42699 all-stageprofile-binutils: maybe-all-stageprofile-bfd
42700 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
42701 all-binutils: maybe-all-build-flex
42703 all-stage1-binutils: maybe-all-build-flex
42704 all-stage2-binutils: maybe-all-build-flex
42705 all-stage3-binutils: maybe-all-build-flex
42706 all-stage4-binutils: maybe-all-build-flex
42707 all-stageprofile-binutils: maybe-all-build-flex
42708 all-stagefeedback-binutils: maybe-all-build-flex
42709 all-binutils: maybe-all-build-bison
42711 all-stage1-binutils: maybe-all-build-bison
42712 all-stage2-binutils: maybe-all-build-bison
42713 all-stage3-binutils: maybe-all-build-bison
42714 all-stage4-binutils: maybe-all-build-bison
42715 all-stageprofile-binutils: maybe-all-build-bison
42716 all-stagefeedback-binutils: maybe-all-build-bison
42717 all-binutils: maybe-all-intl
42719 all-stage1-binutils: maybe-all-stage1-intl
42720 all-stage2-binutils: maybe-all-stage2-intl
42721 all-stage3-binutils: maybe-all-stage3-intl
42722 all-stage4-binutils: maybe-all-stage4-intl
42723 all-stageprofile-binutils: maybe-all-stageprofile-intl
42724 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
42725 install-binutils: maybe-install-opcodes
42726 install-strip-binutils: maybe-install-strip-opcodes
42727 install-opcodes: maybe-install-bfd
42728 install-strip-opcodes: maybe-install-strip-bfd
42729 configure-gas: maybe-configure-intl
42731 configure-stage1-gas: maybe-configure-stage1-intl
42732 configure-stage2-gas: maybe-configure-stage2-intl
42733 configure-stage3-gas: maybe-configure-stage3-intl
42734 configure-stage4-gas: maybe-configure-stage4-intl
42735 configure-stageprofile-gas: maybe-configure-stageprofile-intl
42736 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
42737 all-gas: maybe-all-libiberty
42739 all-stage1-gas: maybe-all-stage1-libiberty
42740 all-stage2-gas: maybe-all-stage2-libiberty
42741 all-stage3-gas: maybe-all-stage3-libiberty
42742 all-stage4-gas: maybe-all-stage4-libiberty
42743 all-stageprofile-gas: maybe-all-stageprofile-libiberty
42744 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
42745 all-gas: maybe-all-opcodes
42747 all-stage1-gas: maybe-all-stage1-opcodes
42748 all-stage2-gas: maybe-all-stage2-opcodes
42749 all-stage3-gas: maybe-all-stage3-opcodes
42750 all-stage4-gas: maybe-all-stage4-opcodes
42751 all-stageprofile-gas: maybe-all-stageprofile-opcodes
42752 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
42753 all-gas: maybe-all-bfd
42755 all-stage1-gas: maybe-all-stage1-bfd
42756 all-stage2-gas: maybe-all-stage2-bfd
42757 all-stage3-gas: maybe-all-stage3-bfd
42758 all-stage4-gas: maybe-all-stage4-bfd
42759 all-stageprofile-gas: maybe-all-stageprofile-bfd
42760 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
42761 all-gas: maybe-all-intl
42763 all-stage1-gas: maybe-all-stage1-intl
42764 all-stage2-gas: maybe-all-stage2-intl
42765 all-stage3-gas: maybe-all-stage3-intl
42766 all-stage4-gas: maybe-all-stage4-intl
42767 all-stageprofile-gas: maybe-all-stageprofile-intl
42768 all-stagefeedback-gas: maybe-all-stagefeedback-intl
42769 configure-gprof: maybe-configure-intl
42770 all-gprof: maybe-all-libiberty
42771 all-gprof: maybe-all-bfd
42772 all-gprof: maybe-all-opcodes
42773 all-gprof: maybe-all-intl
42774 configure-ld: maybe-configure-intl
42776 configure-stage1-ld: maybe-configure-stage1-intl
42777 configure-stage2-ld: maybe-configure-stage2-intl
42778 configure-stage3-ld: maybe-configure-stage3-intl
42779 configure-stage4-ld: maybe-configure-stage4-intl
42780 configure-stageprofile-ld: maybe-configure-stageprofile-intl
42781 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
42782 all-ld: maybe-all-libiberty
42784 all-stage1-ld: maybe-all-stage1-libiberty
42785 all-stage2-ld: maybe-all-stage2-libiberty
42786 all-stage3-ld: maybe-all-stage3-libiberty
42787 all-stage4-ld: maybe-all-stage4-libiberty
42788 all-stageprofile-ld: maybe-all-stageprofile-libiberty
42789 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
42790 all-ld: maybe-all-bfd
42792 all-stage1-ld: maybe-all-stage1-bfd
42793 all-stage2-ld: maybe-all-stage2-bfd
42794 all-stage3-ld: maybe-all-stage3-bfd
42795 all-stage4-ld: maybe-all-stage4-bfd
42796 all-stageprofile-ld: maybe-all-stageprofile-bfd
42797 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
42798 all-ld: maybe-all-opcodes
42800 all-stage1-ld: maybe-all-stage1-opcodes
42801 all-stage2-ld: maybe-all-stage2-opcodes
42802 all-stage3-ld: maybe-all-stage3-opcodes
42803 all-stage4-ld: maybe-all-stage4-opcodes
42804 all-stageprofile-ld: maybe-all-stageprofile-opcodes
42805 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
42806 all-ld: maybe-all-build-bison
42808 all-stage1-ld: maybe-all-build-bison
42809 all-stage2-ld: maybe-all-build-bison
42810 all-stage3-ld: maybe-all-build-bison
42811 all-stage4-ld: maybe-all-build-bison
42812 all-stageprofile-ld: maybe-all-build-bison
42813 all-stagefeedback-ld: maybe-all-build-bison
42814 all-ld: maybe-all-build-flex
42816 all-stage1-ld: maybe-all-build-flex
42817 all-stage2-ld: maybe-all-build-flex
42818 all-stage3-ld: maybe-all-build-flex
42819 all-stage4-ld: maybe-all-build-flex
42820 all-stageprofile-ld: maybe-all-build-flex
42821 all-stagefeedback-ld: maybe-all-build-flex
42822 all-ld: maybe-all-intl
42824 all-stage1-ld: maybe-all-stage1-intl
42825 all-stage2-ld: maybe-all-stage2-intl
42826 all-stage3-ld: maybe-all-stage3-intl
42827 all-stage4-ld: maybe-all-stage4-intl
42828 all-stageprofile-ld: maybe-all-stageprofile-intl
42829 all-stagefeedback-ld: maybe-all-stagefeedback-intl
42830 install-ld: maybe-install-gold
42831 install-strip-ld: maybe-install-strip-gold
42832 configure-gold: maybe-configure-intl
42834 configure-stage1-gold: maybe-configure-stage1-intl
42835 configure-stage2-gold: maybe-configure-stage2-intl
42836 configure-stage3-gold: maybe-configure-stage3-intl
42837 configure-stage4-gold: maybe-configure-stage4-intl
42838 configure-stageprofile-gold: maybe-configure-stageprofile-intl
42839 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
42840 all-gold: maybe-all-libiberty
42842 all-stage1-gold: maybe-all-stage1-libiberty
42843 all-stage2-gold: maybe-all-stage2-libiberty
42844 all-stage3-gold: maybe-all-stage3-libiberty
42845 all-stage4-gold: maybe-all-stage4-libiberty
42846 all-stageprofile-gold: maybe-all-stageprofile-libiberty
42847 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
42848 all-gold: maybe-all-intl
42850 all-stage1-gold: maybe-all-stage1-intl
42851 all-stage2-gold: maybe-all-stage2-intl
42852 all-stage3-gold: maybe-all-stage3-intl
42853 all-stage4-gold: maybe-all-stage4-intl
42854 all-stageprofile-gold: maybe-all-stageprofile-intl
42855 all-stagefeedback-gold: maybe-all-stagefeedback-intl
42856 all-gold: maybe-all-bfd
42858 all-stage1-gold: maybe-all-stage1-bfd
42859 all-stage2-gold: maybe-all-stage2-bfd
42860 all-stage3-gold: maybe-all-stage3-bfd
42861 all-stage4-gold: maybe-all-stage4-bfd
42862 all-stageprofile-gold: maybe-all-stageprofile-bfd
42863 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
42864 all-gold: maybe-all-build-bison
42866 all-stage1-gold: maybe-all-build-bison
42867 all-stage2-gold: maybe-all-build-bison
42868 all-stage3-gold: maybe-all-build-bison
42869 all-stage4-gold: maybe-all-build-bison
42870 all-stageprofile-gold: maybe-all-build-bison
42871 all-stagefeedback-gold: maybe-all-build-bison
42872 check-gold: maybe-all-binutils
42874 check-stage1-gold: maybe-all-stage1-binutils
42875 check-stage2-gold: maybe-all-stage2-binutils
42876 check-stage3-gold: maybe-all-stage3-binutils
42877 check-stage4-gold: maybe-all-stage4-binutils
42878 check-stageprofile-gold: maybe-all-stageprofile-binutils
42879 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
42880 check-gold: maybe-all-gas
42882 check-stage1-gold: maybe-all-stage1-gas
42883 check-stage2-gold: maybe-all-stage2-gas
42884 check-stage3-gold: maybe-all-stage3-gas
42885 check-stage4-gold: maybe-all-stage4-gas
42886 check-stageprofile-gold: maybe-all-stageprofile-gas
42887 check-stagefeedback-gold: maybe-all-stagefeedback-gas
42888 configure-opcodes: maybe-configure-intl
42890 configure-stage1-opcodes: maybe-configure-stage1-intl
42891 configure-stage2-opcodes: maybe-configure-stage2-intl
42892 configure-stage3-opcodes: maybe-configure-stage3-intl
42893 configure-stage4-opcodes: maybe-configure-stage4-intl
42894 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
42895 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
42896 all-opcodes: maybe-all-bfd
42898 all-stage1-opcodes: maybe-all-stage1-bfd
42899 all-stage2-opcodes: maybe-all-stage2-bfd
42900 all-stage3-opcodes: maybe-all-stage3-bfd
42901 all-stage4-opcodes: maybe-all-stage4-bfd
42902 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
42903 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
42904 all-opcodes: maybe-all-libiberty
42906 all-stage1-opcodes: maybe-all-stage1-libiberty
42907 all-stage2-opcodes: maybe-all-stage2-libiberty
42908 all-stage3-opcodes: maybe-all-stage3-libiberty
42909 all-stage4-opcodes: maybe-all-stage4-libiberty
42910 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
42911 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
42912 all-opcodes: maybe-all-intl
42914 all-stage1-opcodes: maybe-all-stage1-intl
42915 all-stage2-opcodes: maybe-all-stage2-intl
42916 all-stage3-opcodes: maybe-all-stage3-intl
42917 all-stage4-opcodes: maybe-all-stage4-intl
42918 all-stageprofile-opcodes: maybe-all-stageprofile-intl
42919 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
42920 all-dejagnu: maybe-all-tcl
42921 all-dejagnu: maybe-all-expect
42922 all-dejagnu: maybe-all-tk
42923 configure-expect: maybe-configure-tcl
42924 configure-expect: maybe-configure-tk
42925 all-expect: maybe-all-tcl
42926 all-expect: maybe-all-tk
42927 configure-itcl: maybe-configure-tcl
42928 configure-itcl: maybe-configure-tk
42929 all-itcl: maybe-all-tcl
42930 all-itcl: maybe-all-tk
42931 install-itcl: maybe-install-tcl
42932 install-strip-itcl: maybe-install-strip-tcl
42933 configure-tk: maybe-configure-tcl
42934 all-tk: maybe-all-tcl
42935 all-sid: maybe-all-libiberty
42936 all-sid: maybe-all-bfd
42937 all-sid: maybe-all-opcodes
42938 all-sid: maybe-all-tcl
42939 all-sid: maybe-all-tk
42940 install-sid: maybe-install-tcl
42941 install-strip-sid: maybe-install-strip-tcl
42942 install-sid: maybe-install-tk
42943 install-strip-sid: maybe-install-strip-tk
42944 configure-sim: maybe-configure-intl
42945 all-sim: maybe-all-intl
42946 all-sim: maybe-all-libiberty
42947 all-sim: maybe-all-bfd
42948 all-sim: maybe-all-opcodes
42949 all-sim: maybe-all-readline
42950 all-sim: maybe-configure-gdb
42951 all-fastjar: maybe-all-zlib
42952 all-fastjar: maybe-all-build-texinfo
42953 all-fastjar: maybe-all-libiberty
42954 all-bison: maybe-all-intl
42955 all-bison: maybe-all-build-texinfo
42956 all-flex: maybe-all-build-bison
42957 all-flex: maybe-all-intl
42958 all-flex: maybe-all-m4
42959 all-flex: maybe-all-build-texinfo
42960 all-m4: maybe-all-intl
42961 all-m4: maybe-all-build-texinfo
42962 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
42963 configure-target-fastjar: maybe-configure-target-zlib
42964 all-target-fastjar: maybe-all-target-zlib
42965 configure-target-libgo: maybe-configure-target-libffi
42966 configure-target-libgo: maybe-all-target-libstdc++-v3
42967 all-target-libgo: maybe-all-target-libffi
42968 configure-target-libjava: maybe-configure-target-zlib
42969 configure-target-libjava: maybe-configure-target-boehm-gc
42970 configure-target-libjava: maybe-configure-target-libffi
42971 all-target-libjava: maybe-all-fastjar
42972 all-target-libjava: maybe-all-target-zlib
42973 all-target-libjava: maybe-all-target-boehm-gc
42974 all-target-libjava: maybe-all-target-libffi
42975 configure-target-libobjc: maybe-configure-target-boehm-gc
42976 all-target-libobjc: maybe-all-target-boehm-gc
42977 configure-target-libstdc++-v3: maybe-configure-target-libgomp
42979 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
42980 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
42981 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
42982 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
42983 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
42984 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
42985 all-target-libstdc++-v3: maybe-configure-target-libgomp
42987 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
42988 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
42989 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
42990 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
42991 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
42992 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
42993 all-target-libgloss: maybe-all-target-newlib
42994 all-target-winsup: maybe-all-target-libtermcap
42995 configure-target-newlib: maybe-all-binutils
42996 configure-target-newlib: maybe-all-ld
42997 configure-target-libgfortran: maybe-all-target-libquadmath
43000 # Dependencies for target modules on other target modules are
43001 # described by lang_env_dependencies; the defaults apply to anything
43002 # not mentioned there.
43005 @if gcc-bootstrap
43006 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
43007 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
43008 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
43009 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
43010 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
43011 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
43012 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
43013 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
43014 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
43015 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
43016 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
43017 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
43018 @endif gcc-bootstrap
43020 @if gcc-no-bootstrap
43021 configure-target-libstdc++-v3: maybe-all-target-libgcc
43022 configure-target-libmudflap: maybe-all-target-libgcc
43023 configure-target-libssp: maybe-all-target-libgcc
43024 configure-target-newlib: maybe-all-target-libgcc
43025 configure-target-libquadmath: maybe-all-target-libgcc
43026 configure-target-libgfortran: maybe-all-target-libgcc
43027 configure-target-libobjc: maybe-all-target-libgcc
43028 configure-target-libgo: maybe-all-target-libgcc
43029 configure-target-libtermcap: maybe-all-target-libgcc
43030 configure-target-winsup: maybe-all-target-libgcc
43031 configure-target-libgloss: maybe-all-target-libgcc
43032 configure-target-libffi: maybe-all-target-libgcc
43033 configure-target-libjava: maybe-all-target-libgcc
43034 configure-target-zlib: maybe-all-target-libgcc
43035 configure-target-boehm-gc: maybe-all-target-libgcc
43036 configure-target-rda: maybe-all-target-libgcc
43037 configure-target-libada: maybe-all-target-libgcc
43038 configure-target-libgomp: maybe-all-target-libgcc
43039 @endif gcc-no-bootstrap
43042 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
43044 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
43046 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
43050 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
43052 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
43054 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
43056 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
43058 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
43060 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
43063 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
43065 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
43066 configure-target-libjava: maybe-all-target-libstdc++-v3
43068 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
43070 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
43072 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
43074 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
43076 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
43079 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
43080 GDB_TK = @GDB_TK@
43081 INSTALL_GDB_TK = @INSTALL_GDB_TK@
43082 configure-gdb: $(CONFIGURE_GDB_TK)
43083 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
43084 install-gdb: $(INSTALL_GDB_TK)
43086 # Serialization dependencies. Host configures don't work well in parallel to
43087 # each other, due to contention over config.cache. Target configures and
43088 # build configures are similar.
43089 @serialization_dependencies@
43091 # --------------------------------
43092 # Regenerating top level configury
43093 # --------------------------------
43095 # Rebuilding Makefile.in, using autogen.
43096 AUTOGEN = autogen
43097 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
43098 cd $(srcdir) && $(AUTOGEN) Makefile.def
43100 # Rebuilding Makefile.
43101 Makefile: $(srcdir)/Makefile.in config.status
43102 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
43104 config.status: configure
43105 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
43107 # Rebuilding configure.
43108 AUTOCONF = autoconf
43109 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
43110 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
43111 cd $(srcdir) && $(AUTOCONF)
43113 # ------------------------------
43114 # Special directives to GNU Make
43115 # ------------------------------
43117 # Don't pass command-line variables to submakes.
43118 .NOEXPORT:
43119 MAKEOVERRIDES=
43121 # end of Makefile.in